@srimandir/pitru-paksh-common 2.62.0 → 2.63.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.
|
@@ -5978,7 +5978,7 @@ function zl(t) {
|
|
|
5978
5978
|
pooja_usecase: c?.pooja_usecase ?? "",
|
|
5979
5979
|
pooja_specificity: c?.pooja_specificity ?? "",
|
|
5980
5980
|
dateLabel: c?.process_date ?? "",
|
|
5981
|
-
locationLabel: c?.location ?? "",
|
|
5981
|
+
locationLabel: d?.location_name ?? c?.location ?? "",
|
|
5982
5982
|
detailTempleSignificance: o?.name ? {
|
|
5983
5983
|
question: o.name,
|
|
5984
5984
|
imageUrl: o.image,
|
|
@@ -11,4 +11,4 @@ Check the top-level render call using <`+C+">.")}return b}}function Ua(s,b){{if(
|
|
|
11
11
|
<%s {...props} />
|
|
12
12
|
React keys must be passed directly to JSX without using spread:
|
|
13
13
|
let props = %s;
|
|
14
|
-
<%s key={someKey} {...props} />`,gt,be,Bn,be),Ka[be+gt]=!0}}return s===n?An(q):Tn(q),q}}function En(s,b,C){return Ya(s,b,C,!0)}function On(s,b,C){return Ya(s,b,C,!1)}var Rn=On,Mn=En;Ae.Fragment=n,Ae.jsx=Rn,Ae.jsxs=Mn})()),Ae}var Nt;function rr(){return Nt||(Nt=1,process.env.NODE_ENV==="production"?Ie.exports=tr():Ie.exports=ar()),Ie.exports}var e=rr(),wt={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ct=g.createContext&&g.createContext(wt),sr=["attr","size","title"];function nr(t,a){if(t==null)return{};var r,n,l=lr(t,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],a.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(l[r]=t[r])}return l}function lr(t,a){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(a.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function De(){return De=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},De.apply(null,arguments)}function Lt(t,a){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);a&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),r.push.apply(r,n)}return r}function ze(t){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?Lt(Object(r),!0).forEach(function(n){ir(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ir(t,a,r){return(a=or(a))in t?Object.defineProperty(t,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[a]=r,t}function or(t){var a=cr(t,"string");return typeof a=="symbol"?a:a+""}function cr(t,a){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,a);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function kt(t){return t&&t.map((a,r)=>g.createElement(a.tag,ze({key:r},a.attr),kt(a.child)))}function O(t){return a=>g.createElement(dr,De({attr:ze({},t.attr)},a),kt(t.child))}function dr(t){var a=r=>{var n=t.attr,l=t.size,i=t.title,c=nr(t,sr),o=l||r.size||"1em",d;return r.className&&(d=r.className),t.className&&(d=(d?d+" ":"")+t.className),g.createElement("svg",De({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,c,{className:d,style:ze(ze({color:t.color||r.color},r.style),t.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),i&&g.createElement("title",null,i),t.children)};return Ct!==void 0?g.createElement(Ct.Consumer,null,r=>a(r)):a(wt)}function ur(t){return O({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"},child:[]}]})(t)}function fr(t){return O({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"},child:[]}]})(t)}function xr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440"},child:[]}]})(t)}function St(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(t)}function pr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(t)}function mr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m80 224h-64v64a16 16 0 0 1-32 0v-64h-64a16 16 0 0 1 0-32h64v-64a16 16 0 0 1 32 0v64h64a16 16 0 0 1 0 32"},child:[]}]})(t)}function hr({isOpen:t,onClose:a,closeButtonAriaLabel:r="Close",heading:n,items:l,totalLabel:i,totalAmount:c}){return t?e.jsxs("div",{className:"fixed inset-0 z-[1200] mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-3 overflow-hidden rounded-t-[20px] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center justify-between border-b border-black/5 p-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-[#f6f5ff]",children:e.jsx(fr,{className:"size-6 text-[#f18912]","aria-hidden":!0})}),e.jsx("p",{className:"min-w-0 flex-1 truncate text-base font-bold leading-[22px] text-gray-700",children:n})]}),e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"flex size-5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:e.jsx(St,{className:"size-5 text-[#1d2125]","aria-hidden":!0})})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-4 p-4",children:[l.map((o,d)=>e.jsxs("div",{className:"flex w-full items-start justify-between",children:[e.jsxs("div",{className:"flex w-45 flex-col items-start gap-1",children:[e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-700",children:o.name}),e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:o.subtitle})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-start justify-center gap-1.5 whitespace-nowrap",children:[o.quantityLabel&&e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:o.quantityLabel}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[o.originalLineTotal&&e.jsx("p",{className:"text-xs font-medium leading-4 text-[#d93640] line-through",children:o.originalLineTotal}),e.jsx("p",{className:"text-sm font-semibold leading-5 text-gray-700",children:o.lineTotal})]})]})]},`${o.name}-${d}`)),e.jsxs("div",{className:"flex w-full items-center justify-between border-t border-gray-200 pt-3",children:[e.jsx("p",{className:"text-base font-bold leading-[22px] text-[#22272b]",children:i}),e.jsx("p",{className:"text-xl font-bold leading-7 text-[#159169]",children:c})]})]})]})]}):null}const br={primary:"border border-transparent pl-3 pr-4 text-white",secondary:"border border-[#159169] px-3 text-[#159169]",accent:"border border-transparent px-4 text-white"},gr={md:"h-10 gap-2 rounded-lg text-xs font-semibold leading-4",lg:"h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"},jr={primary:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #159169)"},secondary:{backgroundImage:"linear-gradient(to bottom, #ffffff, #edf5f2)"},accent:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"}};function _t({variant:t="primary",size:a="md",leftIcon:r,children:n,className:l="",style:i,type:c="button",...o}){return e.jsxs("button",{type:c,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${gr[a]} ${br[t]} ${l}`,style:{...jr[t],...i},...o,children:[r,n]})}function vr({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V9.25H17.5C17.9142 9.25 18.25 9.58579 18.25 10C18.25 10.4142 17.9142 10.75 17.5 10.75H10.75V17.5C10.75 17.9142 10.4142 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V10.75H2.5C2.08579 10.75 1.75 10.4142 1.75 10C1.75 9.58579 2.08579 9.25 2.5 9.25H9.25V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z",fill:"currentColor"})})}function yr({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.1361 4.88627C16.4289 4.59345 16.9037 4.59355 17.1966 4.88627C17.4895 5.17916 17.4895 5.65394 17.1966 5.94682L8.03059 15.1138C7.89003 15.2544 7.6991 15.3334 7.50032 15.3335C7.30158 15.3335 7.11066 15.2542 6.97004 15.1138L2.80305 10.9468C2.51016 10.6539 2.51016 10.1792 2.80305 9.88627C3.09595 9.59339 3.57071 9.59338 3.8636 9.88627L7.49934 13.522L16.1361 4.88627Z",fill:"currentColor"})})}const Pt="https://srm-cdn.a4b.io/yoda/1788257859347.webp",Tt="https://srm-cdn.a4b.io/yoda/1788257796338.webp";function Nr({isOpen:t,avatarUrl:a=Tt,messagePrefix:r,highlightedNames:n,messageSuffix:l="",confirmLabel:i,cancelLabel:c,onConfirm:o,onCancel:d}){return t?e.jsxs("div",{className:"fixed inset-0 z-[60] mx-auto flex w-full max-w-md items-center justify-center px-8",children:[e.jsx("button",{type:"button","aria-label":c,onClick:d,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:Pt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:a,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsxs("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:[r,e.jsx("span",{className:"text-[#cf6c09]",children:n}),l]}),e.jsxs("div",{className:"flex w-full items-center gap-6",children:[e.jsx("button",{type:"button",onClick:o,className:"h-10 flex-1 rounded-lg border border-[#f75e22] bg-white text-sm font-bold leading-5 text-[#f75e22]",children:i}),e.jsx("button",{type:"button",onClick:d,className:"h-10 flex-1 rounded-lg border-0 text-sm font-bold leading-5 text-white",style:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"},children:c})]})]})]}):null}function wr({isOpen:t,onClose:a,avatarUrl:r=Tt,question:n,ancestors:l,onToggle:i,confirmLabel:c,onConfirmClick:o,addAgainLabel:d,removeLabel:v,removeWarningMessagePrefix:p,removeWarningMessageSuffix:u="?",removeWarningConfirmLabel:m,removeWarningCancelLabel:j}){const[h,L]=g.useState(null);if(!t)return null;const N=h!=null?l[h]:null;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"fixed inset-0 z-50 mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":c,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-t-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:Pt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:r,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsx("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:n}),e.jsx("div",{className:"flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4",children:l.map((y,w)=>e.jsxs("div",{className:"flex w-full items-center justify-between gap-3",children:[e.jsxs("p",{className:`min-w-0 flex-1 text-base font-semibold leading-[22px] ${y.isActive?"text-[#22272b]":"text-[#22272b]/50"}`,children:[y.name," ",e.jsx("span",{className:"text-xs font-medium leading-4 text-gray-500",children:y.tithi})]}),y.isActive?e.jsxs("button",{type:"button",onClick:()=>L(w),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-gray-500 underline",children:[v,e.jsx(pr,{"aria-hidden":!0,className:"size-3 text-[#9CA3AF]"})]}):e.jsxs("button",{type:"button",onClick:()=>i(w),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-[#159169] underline",children:[d,e.jsx(mr,{"aria-hidden":!0,className:"size-3 text-[#159169]"})]})]},y.id))}),e.jsx(_t,{variant:"accent",size:"lg",className:"w-full",onClick:o,children:c})]})]}),e.jsx(Nr,{isOpen:N!=null,avatarUrl:r,messagePrefix:p,highlightedNames:N?N.name:"",messageSuffix:u,confirmLabel:m,cancelLabel:j,onConfirm:()=>{h!=null&&i(h),L(null)},onCancel:()=>L(null)})]})}function Cr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(t)}function Lr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]}]})(t)}function At(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function kr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"16"},child:[]},{tag:"line",attr:{x1:"8",y1:"12",x2:"16",y2:"12"},child:[]}]})(t)}function Sr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function xe(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(t)}function Et(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"},child:[]}]})(t)}function _r(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(t)}function Pr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"},child:[]}]})(t)}function Ee(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(t)}function Ze(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(t)}function Tr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 11 12 14 22 4"},child:[]},{tag:"path",attr:{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"},child:[]}]})(t)}function Ot(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(t)}function ge(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(t)}function qe(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(t)}function Ar({totalPrice:t,ritualCountLabel:a,proceedLabel:r,onPriceInfoClick:n,onProceedClick:l,disabled:i}){const{t:c}=fe();return e.jsxs("div",{className:"sticky bottom-0 z-20 flex w-full items-start justify-center gap-3 px-4 pb-5 pt-4 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",style:{backgroundImage:"linear-gradient(to bottom, #fff9e9, #fcccdf)"},children:[e.jsxs("div",{className:"flex shrink-0 flex-col items-center rounded-xl py-1 pr-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#141414]",children:t}),n&&e.jsx("button",{type:"button",className:"flex size-[18px] shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:n,"aria-label":c("outcomeStickyCtaPriceInfoAriaLabel"),children:e.jsx(xe,{"aria-hidden":!0,className:"size-full text-[#E6327A]"})})]}),e.jsx("p",{className:"w-full truncate text-xs font-medium leading-4 text-gray-500",children:a})]}),e.jsxs("button",{type:"button",onClick:l,disabled:i,className:"flex h-14 flex-1 items-center justify-center gap-1 overflow-hidden rounded-xl py-4 pl-4 pr-3 text-sm font-bold leading-5 text-white disabled:cursor-not-allowed disabled:opacity-50",style:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #087955)"},children:[r??c("outcomeStickyCtaProceedLabel"),e.jsx(ge,{"aria-hidden":!0,className:"size-[18px] text-white"})]})]})}const Er="https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";function Or(){const{t}=fe();return e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 rounded-[20px] border border-[#e5e3fd] bg-white p-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]",children:[e.jsx("img",{src:Er,alt:"","aria-hidden":!0,className:"size-6"}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-1",children:[e.jsx("p",{className:"w-full text-center text-sm font-bold leading-5 text-gray-700",children:t("outcomeEmptyRitualsTitle")}),e.jsx("p",{className:"w-full text-center text-xs font-normal leading-4 text-gray-500",children:t("outcomeEmptyRitualsSubtitle")})]})]})}const Rr="https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp",Mr="https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp",Rt="https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg",Br="linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";function Ir(){const{t}=fe();return e.jsxs("section",{className:"flex w-full flex-col gap-6 px-5 py-6",style:{backgroundImage:Br},children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsxs("div",{className:"relative h-39 w-full overflow-hidden rounded-xl",children:[e.jsx("img",{src:Rr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full scale-110 object-cover opacity-80 blur-[1px]"}),e.jsx("div",{className:"absolute",style:{top:"29.79%",right:"0.12%",bottom:0,left:"34.65%"},children:e.jsx("img",{src:Mr,alt:"","aria-hidden":!0,className:"size-full object-contain object-bottom"})})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsx("p",{className:"text-xl font-bold leading-7 text-[#200c14]",children:t("landingOnlinePujaTitle")}),e.jsxs("p",{className:"text-sm leading-5 text-gray-500",children:[t("landingOnlinePujaBodyPrefix"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart1")}),t("landingOnlinePujaBodyPart2"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart3")}),t("landingOnlinePujaBodyPart4")]})]})]}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-2 rounded-xl border border-[#fccf9a] bg-[#feefe9] p-6",children:[e.jsx("img",{src:Rt,alt:"","aria-hidden":!0,className:"absolute left-2.25 top-2.75 h-4.4 w-6.5"}),e.jsx("p",{className:"text-center text-base font-semibold italic leading-[22px] text-[#ad540a]",children:t("landingOnlinePujaQuote")}),e.jsx("img",{src:Rt,alt:"","aria-hidden":!0,className:"absolute bottom-2.75 right-2.25 h-4.4 w-6.5",style:{transform:"rotate(180deg)"}})]})]})}const Mt="https://srm-cdn.a4b.io/yoda/1788322995409.svg",Bt="https://srm-cdn.a4b.io/yoda/1788323009444.svg",Dr=[{key:"guarantee",ribbon:"https://srm-cdn.a4b.io/yoda/1788323418513.svg",icon:"https://srm-cdn.a4b.io/yoda/1789552092952.webp",labelKey:"whySriMandirGuaranteeLabel"},{key:"temples",ribbon:"https://srm-cdn.a4b.io/yoda/1788323405680.svg",icon:"https://srm-cdn.a4b.io/yoda/1789552092953.webp",labelKey:"whySriMandirTemplesLabel"},{key:"support",ribbon:"https://srm-cdn.a4b.io/yoda/1788323390415.svg",icon:"https://srm-cdn.a4b.io/yoda/1789552092951.webp",labelKey:"whySriMandirSupportLabel"}];function zr(){const{t}=fe();return e.jsxs("section",{className:"flex w-full flex-col items-center justify-center gap-5 px-4 py-8",children:[e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Mt,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:Bt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("whySriMandirHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Bt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:Mt,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"grid w-full grid-cols-3 items-start gap-3",children:Dr.map(a=>e.jsxs("div",{className:"flex min-w-0 flex-col items-center gap-2",children:[e.jsx("div",{className:"relative size-16 shrink-0",children:e.jsx("img",{src:a.icon,alt:"","aria-hidden":!0,className:"size-full object-cover"})}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-gray-700",children:t(a.labelKey)})]},a.key))})]})}const It="https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg",Dt="https://srm-sbox-cdn.a4b.io/yoda/1788261913205.svg",Fr=[{key:"nameGotra",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262091738.webp",titleKey:"processNameGotraTitle",descriptionKey:"processNameGotraDescription"},{key:"liveUpdates",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262066955.webp",titleKey:"processLiveUpdatesTitle",descriptionKey:"processLiveUpdatesDescription"},{key:"mantras",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262081237.webp",titleKey:"processMantrasTitle",descriptionKey:"processMantrasDescription"},{key:"video",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262102550.webp",titleKey:"processVideoTitle",descriptionKey:"processVideoDescription",isVideo:!0}];function Hr(){const{t}=fe();return e.jsxs("section",{className:"flex w-full flex-col items-center gap-4 py-4",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:It,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:Dt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("processInvolvedHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Dt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:It,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"flex w-full flex-col items-start gap-4 px-4",children:Fr.map(a=>e.jsxs("div",{className:"flex h-24 w-full items-center overflow-hidden rounded-xl border border-gray-100",children:[e.jsxs("div",{className:"relative h-full w-22 shrink-0",children:[e.jsx("img",{src:a.image,alt:"","aria-hidden":!0,className:"size-full object-cover"}),a.isVideo&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"flex size-8 items-center justify-center rounded-full bg-black/40",children:e.jsx(xr,{"aria-hidden":!0,className:"size-4 text-[#F9FAFB]"})})})]}),e.jsxs("div",{className:"flex h-full min-w-0 flex-1 flex-col justify-center gap-2 bg-gray-50 px-3 py-2",children:[e.jsx("p",{className:"text-sm font-bold leading-5 text-gray-700",children:t(a.titleKey)}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:t(a.descriptionKey)})]})]},a.key))})]})}const Vr="https://srm-cdn.a4b.io/yoda/1788253585577.svg",$r="https://srm-cdn.a4b.io/yoda/1788323562516.svg";function Gr({images:t,useCase:a,title:r,specificity:n,dateLabel:l,locationLabel:i}){const[c,o]=g.useState(0),d=g.useRef(null),v=()=>{const p=d.current;if(!p||p.children.length===0)return;const u=p.children[0].offsetWidth+16;o(Math.round(p.scrollLeft/u))};return e.jsxs("div",{className:"flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4",children:[e.jsx("div",{ref:d,onScroll:v,className:`flex w-full snap-x snap-mandatory gap-4 overflow-x-auto ${t.length===1?"justify-center":""}`,children:t.map((p,u)=>e.jsx("img",{src:p,alt:"","aria-hidden":u!==0,className:`h-52 shrink-0 snap-center rounded-2xl object-cover ${t.length===1?"w-full":"w-78"}`},`${p}-${u}`))}),t.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5",children:t.map((p,u)=>e.jsx("span",{className:`size-1.5 rounded-full ${u===c?"bg-[#e6327a]":"bg-gray-200"}`},`${p}-${u}`))}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-3",children:[a&&e.jsx("p",{className:"w-full text-xs font-semibold uppercase leading-4 text-[#e6327a]",children:a}),e.jsx("p",{className:"w-full text-xl font-bold leading-7 text-[#361407]",children:r}),n&&e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-500",children:n}),(l||i)&&e.jsx("img",{src:$r,alt:"","aria-hidden":!0,className:"h-px w-full"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[l&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ot,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:l})]}),i&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Vr,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:i})]})]})]})]})}const Ur="https://srm-cdn.a4b.io/yoda/1788323512851.webp";function Wr({heading:t,benefits:a}){return e.jsxs("section",{className:"flex w-full flex-col items-start gap-5 p-4",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-[#22272b]",children:t}),e.jsx("div",{className:"flex w-full flex-col gap-5",children:a.map((r,n)=>e.jsxs("div",{className:"flex w-full items-start gap-3",children:[e.jsx("img",{src:r.icon??Ur,alt:"","aria-hidden":!0,className:"size-12 shrink-0 rounded-md object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-3",children:[e.jsx("p",{className:"w-full text-base font-semibold leading-[22px] text-[#242424]",children:r.title}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:r.description})]})]},`${r.title}-${n}`))})]})}function Kr(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(t)}function zt(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"},child:[]}]})(t)}const Yr=168;function Zr({question:t,imageUrl:a,imageAlt:r="",paragraphs:n}){const{t:l}=fe(),[i,c]=g.useState(!1);return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white px-4 py-4",children:[e.jsx("p",{className:"w-full text-lg font-bold leading-6 text-[#242424]",children:t}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-4",children:[a&&e.jsx("img",{src:a,alt:r,className:"h-61.25 w-full rounded-xl object-cover"}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-3",children:[e.jsx("div",{className:"flex w-full flex-col gap-4 overflow-hidden text-justify text-sm font-normal leading-5 text-gray-500",style:i?void 0:{maxHeight:Yr},children:n.map((o,d)=>e.jsx("p",{className:"w-full",children:o},`${o}-${d}`))}),e.jsxs("button",{type:"button",onClick:()=>c(o=>!o),className:"flex items-center gap-1 border-0 bg-transparent pt-2",children:[e.jsx("span",{className:"text-sm font-bold leading-[21px] text-[#f18912]",children:l(i?"templeSignificanceReadLessLabel":"templeSignificanceReadMoreLabel")}),e.jsx(zt,{"aria-hidden":!0,className:`size-3 text-[#f18912] ${i?"rotate-180":""}`})]})]})]})]})}function qr(t){return O({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"},child:[]}]})(t)}function Qr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"},child:[]}]})(t)}function Xr(t){return O({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(t)}function Jr(t){return O({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(t)}function Qe(t){return O({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(t)}function Ft(t){return O({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"},child:[]}]})(t)}function es(t){return O({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"},child:[]}]})(t)}function ts(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"},child:[]}]})(t)}const Ht=3;function as({heading:t,subtitle:a,reviews:r,reviewMedia:n,seeMoreLabel:l,onSeeMoreClick:i}){const[c,o]=g.useState(!1),d=c?r:r.slice(0,Ht),[v,p]=g.useState(0),u=g.useRef(null),m=()=>{const j=u.current;if(!j||j.children.length===0)return;const h=j.children[0].offsetWidth+12;p(Math.round(j.scrollLeft/h))};return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white pb-6 pt-7",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 px-4 py-2",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-gray-900",children:t}),e.jsx("p",{className:"w-full text-base font-normal leading-[22px] text-black",children:a})]}),n!=null&&n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:u,onScroll:m,className:`flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length===1?"justify-center":""}`,children:n.map((j,h)=>e.jsxs("div",{className:"flex w-60 shrink-0 snap-start flex-col gap-3",children:[e.jsx("div",{className:"h-40 w-full overflow-hidden rounded-xl",children:j.videoUrl?e.jsx("video",{src:j.videoUrl,poster:j.thumbnailUrl,controls:!0,className:"size-full object-cover"}):e.jsx("img",{src:j.imageUrl,alt:"","aria-hidden":!0,className:"size-full object-cover"})}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:j.avatarUrl,alt:"","aria-hidden":!0,className:"size-10 shrink-0 rounded-full object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-sm font-bold leading-5 text-black",children:j.name}),e.jsx("p",{className:"truncate text-xs font-medium leading-4 text-gray-500",children:j.location})]})]})]},`${j.name}-${h}`))}),n.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5 pt-3",children:n.map((j,h)=>e.jsx("span",{className:`size-2 rounded ${h===v?"bg-[#f18912]":"bg-gray-300"}`},`${j.name}-${h}`))})]}),e.jsx("div",{className:"flex w-full flex-col items-start pt-5",children:d.map((j,h)=>e.jsxs("div",{className:"flex w-full flex-col items-start",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4 pt-4",children:[j.avatarUrl?e.jsx("img",{src:j.avatarUrl,alt:"","aria-hidden":!0,className:"size-11 shrink-0 rounded-full object-cover"}):e.jsx(ts,{"aria-hidden":!0,className:"size-11 shrink-0 text-gray-300"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-base font-semibold leading-[22px] text-[#111928]",children:j.name}),e.jsx("p",{className:"truncate text-sm font-medium leading-5 text-gray-500",children:j.date})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2 px-4 pt-3",children:[e.jsx("div",{className:"flex items-center gap-2",children:Array.from({length:j.stars}).map((L,N)=>e.jsx(Qe,{"aria-hidden":!0,className:"size-5 text-[#F06A16]"},N))}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:j.text})]}),h<d.length-1&&e.jsx("hr",{className:"mt-6 w-full border-t border-gray-200"})]},`${j.name}-${j.date}-${h}`))}),!c&&r.length>Ht&&l&&e.jsx("div",{className:"flex w-full flex-col items-center px-4 pt-5",children:e.jsx("button",{type:"button",onClick:()=>{o(!0),i?.()},className:"flex h-10 w-full items-center justify-center rounded-lg border border-[#e6e4eb] bg-white text-base font-medium leading-[22px] text-[#1573df]",children:l})})]})}const rs=[{variant:"pandits",textKey:"outcomeTrustPanditsText"},{variant:"gotra",textKey:"outcomeTrustGotraText"},{variant:"video",textKey:"outcomeTrustVideoText"}];function ss(t){return O({attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"},child:[]}]})(t)}const Vt=Za.cva("group appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",{variants:{variant:{primary:"border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white! hover:opacity-90 disabled:bg-none! disabled:bg-[#9ca3af]!",secondary:"border border-[#f75e22] bg-white! text-[#f75e22]! hover:bg-orange-50",outline:"border border-gray-300 bg-transparent! text-gray-900! hover:bg-gray-50",ghost:"border-0 bg-transparent! text-gray-900! hover:bg-gray-100"},size:{xs:"h-6 px-2 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-5 text-base",xl:"h-14 px-6 text-base"},iconOnly:{true:"rounded-full p-0",false:""}},compoundVariants:[{iconOnly:!0,size:"xs",className:"w-6"},{iconOnly:!0,size:"sm",className:"w-8"},{iconOnly:!0,size:"md",className:"w-10"},{iconOnly:!0,size:"lg",className:"w-12"},{iconOnly:!0,size:"xl",className:"w-14"}],defaultVariants:{variant:"primary",size:"lg",iconOnly:!1}}),Y=Xa.forwardRef(({className:t,variant:a,size:r,iconOnly:n,loading:l=!1,disabled:i,leftIcon:c,rightIcon:o,children:d,type:v="button",...p},u)=>e.jsx("button",{ref:u,type:v,disabled:i||l,className:f.cn(Vt({variant:a,size:r,iconOnly:n}),t),...p,children:l?e.jsx(ss,{className:"animate-spin","aria-hidden":!0}):e.jsxs("span",{className:"inline-flex items-center gap-2",children:[c,d,o]})}));Y.displayName="Button";function je(t){return t.isOpen?e.jsx("div",{className:"fixed inset-0 mx-auto w-full max-w-md",style:{transform:"translateZ(0)",maxWidth:"var(--pitru-paksh-sheet-overlay-max-width, 28rem)",zIndex:1100},children:e.jsx(f.BottomSheet,{...t})}):null}const ns=({quote:t,authorName:a,authorAvatarUrl:r,meta:n,rating:l=5,className:i="",...c})=>e.jsxs("div",{className:f.cn("flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",i),...c,children:[e.jsx("p",{className:"w-full wrap-break-word text-xs font-normal text-[#1d2125]",children:t}),e.jsxs("div",{className:"flex w-full items-start gap-x-2.5",children:[r?e.jsx("img",{src:r,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"size-8 shrink-0 rounded-full",style:{background:"linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%)"},"aria-hidden":!0}),e.jsxs("div",{className:"flex flex-col min-w-0 flex-1 gap-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.75",children:[e.jsx("span",{className:"truncate text-sm font-bold text-[#1d2125]",children:a}),e.jsx("span",{className:"flex items-center gap-1 text-amber-500","aria-hidden":!0,children:Array.from({length:Math.max(0,Math.min(5,l))},(o,d)=>e.jsx(Qe,{size:14},d))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]}),$t=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:r=6,showCta:n=!0,defaultExpanded:l=!1,ctaExpandLabel:i="और देखें",ctaCollapseLabel:c="कम देखें",defaultOpenIndex:o=-1,className:d="",showTitleAccent:v=!1,titleClassName:p})=>{const[u,m]=g.useState(l),[j,h]=g.useState(o),L=n&&a.length>r,N=L&&!u?a.slice(0,r):a;return e.jsxs("div",{className:f.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",d),children:[v?e.jsxs("h2",{className:f.cn("flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]",p),children:[e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),t]}):e.jsx("h2",{className:f.cn("w-full text-base font-bold text-[#1d2125]",p),children:t}),e.jsx("div",{className:"flex w-full flex-col gap-3",children:N.map((y,w)=>{const T=j===w;return e.jsxs("div",{className:"w-full overflow-hidden rounded-lg border border-[#f3f4f6]",children:[e.jsxs("button",{type:"button",className:f.cn("flex w-full items-center justify-between gap-2 p-3 text-left",T?"bg-[#f7f8f9]":"bg-white"),onClick:()=>h(T?-1:w),"aria-expanded":T,"aria-controls":`faq-answer-${w}`,id:`faq-question-${w}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#22272b]",children:y.question}),e.jsx(Ee,{size:24,className:f.cn("shrink-0 transition-transform duration-200",T?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${w}`,role:"region","aria-labelledby":`faq-question-${w}`,hidden:!T,className:"bg-white p-3",children:e.jsx("p",{className:"text-sm text-[#374151]",children:y.answer})})]},w)})}),L&&e.jsx(Y,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>m(y=>!y),"aria-expanded":u,rightIcon:e.jsx(Ee,{size:24,className:f.cn("shrink-0 transition-transform duration-200",u?"rotate-180":""),"aria-hidden":!0}),children:u?c:i})]})},ls=({title:t="Frequently Asked Questions",showTitleAccent:a=!0,items:r,initialVisibleCount:n=6,showCta:l=!0,defaultExpanded:i=!1,ctaExpandLabel:c="See more",ctaCollapseLabel:o="See less",defaultOpenIndex:d=-1,className:v=""})=>{const[p,u]=g.useState(i),[m,j]=g.useState(d),h=l&&r.length>n,L=h&&!p?r.slice(0,n):r;return e.jsxs("div",{className:f.cn("flex flex-col gap-3 bg-white px-4 py-6",v),children:[e.jsxs("h2",{className:"flex items-center gap-2 text-sm font-bold text-[#374151]",children:[a&&e.jsx("span",{"aria-hidden":!0,className:"block h-[18px] w-[3px] shrink-0 bg-[#f75e22]"}),t]}),e.jsx("div",{className:"flex w-full flex-col",children:L.map((N,y)=>{const w=m===y,T=w?_r:Ee;return e.jsxs("div",{className:"w-full border-b border-[#f3f4f6] py-3 last:border-b-0",children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 text-left",onClick:()=>j(w?-1:y),"aria-expanded":w,"aria-controls":`faq-accordion-answer-${y}`,id:`faq-accordion-question-${y}`,children:[e.jsx("span",{className:"flex-1 text-sm font-semibold text-[#22272b]",children:N.question}),e.jsx(T,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0})]}),e.jsx("div",{id:`faq-accordion-answer-${y}`,role:"region","aria-labelledby":`faq-accordion-question-${y}`,hidden:!w,children:e.jsx("p",{className:"mt-2 text-xs text-[#374151]",children:N.answer})})]},y)})}),h&&e.jsx(Y,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>u(N=>!N),"aria-expanded":p,rightIcon:e.jsx(Ee,{size:24,className:f.cn("shrink-0 transition-transform duration-200",p?"rotate-180":""),"aria-hidden":!0}),children:p?o:c})]})},Gt=g.forwardRef(({src:t,poster:a,className:r="",rounded:n=!0,inlineOnly:l=!1,width:i,height:c,aspectRatio:o,fill:d=!1,autoPlay:v=!1,onPlayToggle:p},u)=>{const[m,j]=g.useState(!1),[h,L]=g.useState(!0),[N,y]=g.useState(!1),[w,T]=g.useState(0),[D,W]=g.useState(0),[I,z]=g.useState(!0),F=g.useRef(null),H=g.useRef(null),U=g.useRef(()=>{}),_=g.useRef(null);g.useEffect(()=>{v&&(j(!0),y(!1))},[v]);const S=g.useCallback(()=>{_.current&&clearTimeout(_.current),_.current=setTimeout(()=>z(!1),1500)},[]);g.useEffect(()=>{if(!m||!h){_.current&&clearTimeout(_.current),z(!0);return}return S(),()=>{_.current&&clearTimeout(_.current)}},[m,h,S]);const V=i!==void 0||c!==void 0,J=!V&&o!==void 0,G=f.cn("block w-full",(V||J||d)&&"h-full object-cover object-center"),ne=g.useCallback(A=>{F.current=A,typeof u=="function"?u(A):u&&(u.current=A)},[u]),Z=g.useCallback(()=>{if(!l||!H.current)return;const A=H.current,M=document.fullscreenElement;M&&F.current?.contains(M)&&document.exitFullscreen?.().catch(()=>{}),document.pictureInPictureElement===A&&document.exitPictureInPicture?.().catch(()=>{}),A.webkitSetPresentationMode?.("inline"),A.webkitDisplayingFullscreen&&A.webkitExitFullscreen?.()},[l]),ae=g.useCallback(A=>{if(U.current(),U.current=()=>{},H.current=A,!l||!A)return;const M=A;M.playsInline=!0,M.disablePictureInPicture=!0,M.disableRemotePlayback=!0,M.setAttribute("playsinline",""),M.setAttribute("webkit-playsinline","true"),M.setAttribute("x5-playsinline","true"),M.setAttribute("x5-video-player-type","h5-page"),M.setAttribute("x5-video-player-fullscreen","false"),M.setAttribute("controlslist","nofullscreen noremoteplayback nodownload"),M.addEventListener("webkitbeginfullscreen",Z),document.addEventListener("fullscreenchange",Z),U.current=()=>{M.removeEventListener("webkitbeginfullscreen",Z),document.removeEventListener("fullscreenchange",Z)}},[l,Z]);g.useEffect(()=>()=>{U.current()},[]),g.useEffect(()=>{if(!m)return;const A=F.current;if(!A||typeof IntersectionObserver>"u")return;const M=new IntersectionObserver(([oe])=>{oe.isIntersecting||L(!1)},{threshold:0});return M.observe(A),()=>M.disconnect()},[m]);const le=A=>{const M=Number(A.target.value);T(M),H.current&&(H.current.currentTime=M)};return e.jsx("div",{ref:ne,style:V?{width:i,height:c}:{aspectRatio:o},className:f.cn("relative w-full overflow-hidden",n&&"rounded-2xl",r),onClick:()=>{m&&!I&&(z(!0),h&&S())},children:m?e.jsxs(e.Fragment,{children:[e.jsx(qa,{ref:ae,src:t,poster:a,playing:h,muted:N,controls:!1,pip:!1,playsInline:!0,disablePictureInPicture:l,disableRemotePlayback:l,onPlay:Z,onPlaying:Z,onDoubleClick:A=>{l&&A.preventDefault()},onContextMenu:A=>{l&&A.preventDefault()},autoPlay:v,width:i,height:c,className:G,onTimeUpdate:A=>T(A.currentTarget.currentTime),onDurationChange:A=>W(A.currentTarget.duration),onPause:()=>L(!1),onEnded:()=>L(!1)}),I&&e.jsxs(e.Fragment,{children:[e.jsx(Y,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":h?"Pause":"Play",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white! backdrop-blur-sm hover:bg-black/50",onClick:()=>L(A=>(p?.(!A),!A)),children:h?e.jsx(es,{size:16}):e.jsx(Ft,{size:16,style:{transform:"translateX(1px)"}})}),e.jsx(Y,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":N?"Unmute":"Mute",className:"absolute left-2 top-2 text-white! hover:bg-white/10",onClick:()=>y(A=>!A),children:N?e.jsx(Qr,{size:14}):e.jsx(qr,{size:14})}),e.jsx("input",{type:"range",min:0,max:D||0,step:.1,value:w,onChange:le,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:a,alt:"",className:G}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(Y,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":"Play video",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white! backdrop-blur-sm hover:bg-black/50",onClick:()=>{j(!0),p?.(!0)},children:e.jsx(Ft,{size:16,style:{transform:"translateX(1px)"}})})]})})});Gt.displayName="VideoPlayer";const is=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),Xe=g.forwardRef(({options:t,value:a,onChange:r,defaultOpen:n=!1,open:l,onOpenChange:i,className:c="",triggerClassName:o="",menuClassName:d="",...v},p)=>{const[u,m]=g.useState(n),j=l!==void 0,h=j?l:u,L=g.useCallback(w=>{j||m(w),i?.(w)},[j,i]),N=g.useRef(null);g.useImperativeHandle(p,()=>N.current),g.useEffect(()=>{if(!h)return;const w=D=>{N.current?.contains(D.target)||L(!1)},T=D=>{D.key==="Escape"&&L(!1)};return document.addEventListener("mousedown",w),document.addEventListener("keydown",T),()=>{document.removeEventListener("mousedown",w),document.removeEventListener("keydown",T)}},[h,L]);const y=w=>{r?.(w.value),L(!1)};return e.jsxs("div",{ref:N,className:f.cn("relative inline-block",c),...v,children:[e.jsxs("button",{type:"button",onClick:()=>L(!h),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":h,className:f.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",o),children:[e.jsx(is,{}),e.jsx(Ee,{size:24,className:f.cn("transition-transform duration-200",h?"rotate-180":""),"aria-hidden":!0})]}),h&&e.jsx("ul",{role:"listbox",className:f.cn("absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",d),children:t.map(w=>{const T=w.value===a;return e.jsx("li",{role:"option","aria-selected":T,children:e.jsx("button",{type:"button",onClick:()=>y(w),className:f.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",T?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:w.label})},w.value)})})]})});Xe.displayName="LanguageSwitcher";function os({onBackClick:t,backButtonAriaLabel:a="Go back",locale:r,localeOptions:n,onLocaleChange:l,className:i}){return e.jsxs("div",{className:f.cn("mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",i),children:[t?e.jsx("button",{type:"button",onClick:t,"aria-label":a,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}):e.jsx("div",{className:"size-8 shrink-0","aria-hidden":!0}),n.length>0&&e.jsx(Xe,{options:n,value:r,onChange:l,menuClassName:"left-auto right-0"})]})}const Ut=g.forwardRef(({label:t,selected:a=!1,onClick:r,icon:n,className:l,type:i="button",...c},o)=>e.jsxs("button",{ref:o,type:i,onClick:r,"aria-pressed":a,className:f.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",a?"border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white":"border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",l),...c,children:[n,t]}));Ut.displayName="Chip";const cs=({quote:t,currentStep:a,totalSteps:r,className:n,...l})=>{const i=r>0?Math.min(100,Math.max(0,a/r*100)):0;return e.jsxs("div",{className:f.cn("step-progress-header",n),...l,children:[e.jsxs("div",{className:"step-progress-header__column",children:[e.jsx("p",{className:"step-progress-header__quote",children:t}),e.jsxs("div",{className:"step-progress-header__track",children:[e.jsx("div",{className:"step-progress-header__track-fill",style:{width:`${i}%`}}),e.jsx("div",{className:"step-progress-header__track-marker",style:{left:`${i}%`},children:e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163246556.svg",alt:"",width:21,height:21})})]})]}),e.jsxs("p",{className:"step-progress-header__count",children:[a,"/",r]})]})};function ds(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z"},child:[]},{tag:"path",attr:{d:"M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z"},child:[]}]})(t)}function us(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z"},child:[]}]})(t)}const Wt=1.25,Kt=[{x:11.02,y:6.38,height:5.28},{x:16.3,y:6.38,height:5.28},{x:8.36,y:3.8,height:10.44},{x:13.68,y:4.8,height:8.4},{x:5.73,y:2.84,height:12.32},{x:3.07,y:6,height:6.03},{x:.45,y:7.29,height:3.37}],fs=({animate:t,iconIndex:a})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:Kt.map((r,n)=>e.jsx("rect",{x:r.x,y:r.y,width:Wt,height:r.height,rx:Wt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(a*Kt.length+n)*60}ms`}},n))}),xs=({avatarUrl:t,question:a,description:r,audioSrc:n,onMuteToggle:l,className:i,...c})=>{const o=g.useRef(null),d=g.useRef(!1),[v,p]=g.useState(!1),[u,m]=g.useState(!1);g.useEffect(()=>{!n||d.current||(d.current=!0,o.current?.play().catch(()=>{}))},[n]);const j=()=>{const h=o.current;h&&(h.muted=!h.muted,p(h.muted),l?.(h.muted))};return e.jsxs("div",{className:f.cn("flex w-full items-start gap-3 px-4 pb-6",i),...c,children:[e.jsxs("div",{className:"relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]",children:[e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163138113.svg",alt:"",className:"absolute"}),e.jsx("img",{src:t,alt:"",className:"absolute top-1 size-[73.92px] object-contain"})]}),e.jsxs("div",{className:"flex min-w-0 flex-1 items-start",children:[e.jsx("svg",{viewBox:"0 0 18.7767 32.5742",fill:"none","aria-hidden":!0,className:"h-[32.574px] w-[18.777px] shrink-0 -mr-2",children:e.jsx("path",{d:"M0 16.2871L14.0826 7.37821L14.0826 25.196L0 16.2871Z",fill:"white"})}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]",children:[e.jsx("p",{className:"text-base",children:a}),e.jsx("p",{className:"text-[10px]",children:r}),n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:o,src:n,onPlay:()=>m(!0),onPause:()=>m(!1),onEnded:()=>m(!1)}),e.jsx("button",{type:"button",onClick:j,"aria-label":v?"Unmute":"Mute","aria-pressed":v,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:v?e.jsx(us,{size:18,className:"text-[#f75e22]"}):e.jsx(ds,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(h=>e.jsx(fs,{animate:u&&!v,iconIndex:h},h))})]})]})]})]})},ps={sm:"size-9",md:"size-11",lg:"size-16"},ve=g.forwardRef(({icon:t,avatarUrl:a,alt:r="",size:n="md",className:l,...i},c)=>e.jsx("div",{ref:c,className:f.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",ps[n],!a&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",l),"aria-hidden":a?void 0:!0,...i,children:a?e.jsx("img",{src:a,alt:r,className:"size-full object-cover"}):t}));ve.displayName="IconBadge";const Fe=g.forwardRef(({selected:t=!1,onSelect:a,icon:r,avatarUrl:n,iconSize:l="md",iconClassName:i,title:c,description:o,badge:d,showRadio:v=!0,radioVariant:p="dot",radioClassName:u,tag:m,tagClassName:j,children:h,note:L,noteClassName:N,className:y,disabled:w,type:T="button",...D},W)=>{const I=e.jsxs("div",{className:f.cn("relative overflow-visible rounded-xl border transition-colors",t?"border-[#F38415] bg-[#FEF5E9]":"border-gray-200 bg-white",w&&"opacity-50",y),children:[m&&e.jsx("span",{className:f.cn("absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",j),children:m}),e.jsxs("button",{ref:W,type:T,role:"radio","aria-checked":t,disabled:w,onClick:a,className:f.cn("flex w-full items-center gap-3 overflow-hidden rounded-xl px-3 py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",m&&"pt-7"),...D,children:[(r||n)&&e.jsx(ve,{icon:r,avatarUrl:n,size:l,className:i}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#1d2125]",children:c}),o&&!h&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:o})]}),d&&e.jsx("span",{className:"shrink-0",children:d}),v&&e.jsxs("span",{"aria-hidden":!0,className:f.cn("inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",t?p==="check"?f.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",u):"border-[#F75E22]":"border-gray-300"),children:[t&&p==="dot"&&e.jsx("span",{className:f.cn("size-4 rounded-full bg-[#F75E22]",u)}),t&&p==="check"&&e.jsx(Ze,{size:14,"aria-hidden":!0})]})]}),h]});return L?e.jsxs("div",{className:"overflow-hidden rounded-xl bg-[#FCCF9A]",children:[I,e.jsx("div",{className:f.cn("px-4 py-1 text-center text-[10px] leading-3.5 font-medium bg-[#fccf9a] text-[#632E06]",N),children:L})]}):I});Fe.displayName="SelectorCard";const ms=({value:t,onClick:a,className:r,...n})=>e.jsxs("div",{role:a?"button":void 0,tabIndex:a?0:void 0,onClick:a,className:f.cn("mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",a&&"cursor-pointer",r),...n,children:[e.jsx(Et,{size:16,className:"shrink-0 text-gray-900","aria-hidden":!0}),e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t})]}),hs=({value:t,onInfoClick:a,infoLabel:r="More info",className:n,...l})=>e.jsxs("div",{className:f.cn("mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",n),...l,children:[e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t}),a?e.jsx("button",{type:"button",onClick:a,"aria-label":r,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(xe,{size:18,"aria-hidden":!0})}):e.jsx(xe,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Yt=({value:t,className:a,...r})=>e.jsx("span",{className:f.cn("inline-flex items-center rounded-full bg-white px-1.5 py-1 text-sm font-medium text-[#159169]",a),...r,children:t}),bs=({className:t,children:a,...r})=>e.jsx("div",{className:f.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",t),...r,children:a}),gs=({value:t,onIncrement:a,onDecrement:r,min:n=0,max:l,addLabel:i="Add",className:c})=>t<=n?e.jsxs("button",{type:"button",onClick:a,className:f.cn("inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",c),children:[e.jsx(At,{size:20,"aria-hidden":!0}),i]}):e.jsxs("div",{className:f.cn("inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",c),children:[e.jsx("button",{type:"button",onClick:r,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx(Sr,{size:18,"aria-hidden":!0})}),e.jsx("span",{className:"min-w-[1ch] text-center text-base font-bold",children:t}),e.jsx("button",{type:"button",onClick:a,disabled:l!==void 0&&t>=l,"aria-label":"Increase quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",children:e.jsx(At,{size:18,"aria-hidden":!0})})]}),Zt={en:{backButtonAriaLabel:"Go back",headerTitle:"Review your booking",addonsTitle:"Add services for all ancestors",addonsDescription:"These pujas will be performed on the day of Sarva Pitru Amavasya",addedLabel:"Added",addLabel:"Add",mandapTitle:"Mandap Arrangement Fee",mandapDescription:"This fee covers the temple space, mandap, and essential arrangements required for the puja.",checkoutProceedLabel:"Proceed to fill details",checkoutRitualSingular:"Ritual",checkoutRitualPlural:"Rituals"},hi:{backButtonAriaLabel:"वापस जाएं",headerTitle:"अपनी बुकिंग की समीक्षा करें",addonsTitle:"सभी पितरों के लिए सेवाएं जोड़ें",addonsDescription:"ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",addedLabel:"जोड़ा गया",addLabel:"जोड़ें",mandapTitle:"मंदिर और मंडप शुल्क",mandapDescription:"मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए",checkoutProceedLabel:"आगे बढ़ें, और डिटेल्स भरें",checkoutRitualSingular:"पूजा-विधि",checkoutRitualPlural:"पूजा-विधि"},kn:{backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",headerTitle:"ನಿಮ್ಮ ಬುಕಿಂಗ್ ಪರಿಶೀಲಿಸಿ",addonsTitle:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ ಸೇವೆಗಳನ್ನು ಸೇರಿಸಿ",addonsDescription:"ಈ ಪೂಜೆಗಳನ್ನು ಸರ್ವ ಪಿತೃ ಅಮಾವಾಸ್ಯೆಯ ದಿನದಂದು ನೆರವೇರಿಸಲಾಗುತ್ತದೆ",addedLabel:"ಸೇರಿಸಲಾಗಿದೆ",addLabel:"ಸೇರಿಸಿ",mandapTitle:"ಮಂಟಪ ಸಿದ್ಧತಾ ಶುಲ್ಕ",mandapDescription:"ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ ಪ್ರಮುಖ ವ್ಯವಸ್ಥೆಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.",checkoutProceedLabel:"ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",checkoutRitualSingular:"ಪೂಜೆ",checkoutRitualPlural:"ಪೂಜೆಗಳು"},te:{backButtonAriaLabel:"వెనుకకు వెళ్లండి",headerTitle:"మీ బుకింగ్ను సమీక్షించండి",addonsTitle:"అందరి పితరుల కోసం సేవలను జోడించండి",addonsDescription:"ఈ పూజలు సర్వ పితృ అమావాస్య రోజున జరుగుతాయి",addedLabel:"జోడించబడింది",addLabel:"జోడించండి",mandapTitle:"మండప ఏర్పాటు రుసుము",mandapDescription:"ఆలయంలో స్థలం, మండపం మరియు అవసరమైన పూజ ఏర్పాట్లు చేయడానికి",checkoutProceedLabel:"ముందుకు సాగండి",checkoutRitualSingular:"పూజ",checkoutRitualPlural:"పూజలు"}},He=t=>Zt[t]??Zt.en,Je=({title:t,description:a,price:r,originalPrice:n,action:l,className:i,...c})=>e.jsx("div",{className:f.cn("rounded-2xl border border-gray-200 bg-white p-4",i),...c,children:e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[15px] leading-5 font-bold text-[#1d2125]",children:t}),a&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:a})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-2",children:[e.jsxs("div",{className:"flex items-baseline gap-1.5 whitespace-nowrap",children:[n&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:n}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:r})]}),l]})]})}),qt=({locale:t="en",...a})=>{const{mandapTitle:r,mandapDescription:n}=He(t);return e.jsx(Je,{title:r,description:n,...a})},js=({children:t="Change",className:a,type:r="button",...n})=>e.jsxs("button",{type:r,className:f.cn("inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900! transition-colors hover:bg-gray-50",a),...n,children:[e.jsx(Et,{size:14,"aria-hidden":!0}),t]}),vs=({locale:t="en",isAdded:a=!0,children:r,className:n,type:l="button",...i})=>e.jsxs("button",{type:l,className:f.cn("inline-flex items-center gap-1.5 rounded-full border border-[#159169] bg-white px-3 py-1.5 text-sm font-semibold text-[#159169]! transition-colors hover:bg-[#edf5f2]",n),...i,children:[a&&e.jsx(Ze,{size:14,"aria-hidden":!0}),r??(a?He(t).addedLabel:He(t).addLabel)]}),te={contentBlock:"_contentBlock_2nhli_8",imageWrap:"_imageWrap_2nhli_18",image:"_image_2nhli_18",tag:"_tag_2nhli_32",info:"_info_2nhli_47",title:"_title_2nhli_54",description:"_description_2nhli_61",footer:"_footer_2nhli_68",priceRow:"_priceRow_2nhli_77",price:"_price_2nhli_77",basePrice:"_basePrice_2nhli_92",savedBadge:"_savedBadge_2nhli_101",actionWrap:"_actionWrap_2nhli_122"},Qt=({isOpen:t,onClose:a,ariaLabel:r,image:n,imageAlt:l="",tag:i,tagClassName:c,title:o,description:d,descriptionHtml:v,price:p,basePrice:u,currencySymbol:m="₹",showSavedBadge:j,savedLabel:h,action:L})=>{const N=typeof u=="number"&&u>p,y=N?Math.round((u-p)/u*100):0,w=(j??N)&&y>0;return e.jsx(je,{isOpen:t,onClose:a,ariaLabel:r,showCloseButton:!0,closeButtonOutside:!0,footer:e.jsxs("div",{className:te.footer,children:[e.jsxs("div",{className:te.priceRow,children:[e.jsxs("span",{className:te.price,children:[m,p]}),N&&e.jsxs("span",{className:te.basePrice,children:[m,u]}),w&&e.jsx("span",{className:te.savedBadge,children:h??`Save ${y}%`})]}),L&&e.jsx("div",{className:te.actionWrap,children:L})]}),children:e.jsxs("div",{className:te.contentBlock,children:[e.jsx("div",{className:te.imageWrap,children:e.jsx("img",{src:n,alt:l,className:te.image})}),i&&e.jsx("div",{className:f.cn(te.tag,c),children:i}),e.jsxs("div",{className:te.info,children:[e.jsx("p",{className:te.title,children:o}),v?e.jsx("div",{className:te.description,dangerouslySetInnerHTML:{__html:v}}):d&&e.jsx("p",{className:te.description,children:d})]})]})})},X={card:"_card_19yuv_11",tappable:"_tappable_19yuv_19",tag:"_tag_19yuv_23",content:"_content_19yuv_37",info:"_info_19yuv_44",textGroup:"_textGroup_19yuv_53",title:"_title_19yuv_59",description:"_description_19yuv_66",descriptionClamp:"_descriptionClamp_19yuv_78",readMoreToggleBlock:"_readMoreToggleBlock_19yuv_89",readMoreToggle:"_readMoreToggle_19yuv_89",priceRow:"_priceRow_19yuv_106",price:"_price_19yuv_106",originalPrice:"_originalPrice_19yuv_121",imageWrap:"_imageWrap_19yuv_127",image:"_image_19yuv_127",actionWrap:"_actionWrap_19yuv_141"},ys=t=>t.replace(/<[^>]*>/g,"").trim(),Xt=({image:t,imageAlt:a="",sheetImage:r,title:n,description:l,descriptionHtml:i,descriptionClampLines:c=2,descriptionMaxLength:o=40,locale:d="en",readMoreLabel:v=Ye(d,"templeSignificanceReadMoreLabel"),readLessLabel:p=Ye(d,"templeSignificanceReadLessLabel"),price:u,originalPrice:m,tag:j,tagClassName:h,action:L,sheetPrice:N,sheetBasePrice:y,sheetCurrencySymbol:w,sheetShowSavedBadge:T,sheetSavedLabel:D,sheetAriaLabel:W,onReadMoreClick:I,className:z,...F})=>{const[H,U]=g.useState(!1),[_,S]=g.useState(!1),V=i?ys(i).length>o:typeof l=="string"&&l.length>o,J=V&&!i&&!H?`${l.slice(0,o).trimEnd()}... `:l,G=typeof N=="number",ne=!!i&&V&&!H,Z=V&&e.jsx("button",{type:"button",onClick:ae=>{ae.stopPropagation(),G?(S(!0),I?.(!0)):U(le=>(I?.(!le),!le))},className:f.cn(X.readMoreToggle,i&&X.readMoreToggleBlock),children:G?v:H?p:v});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:f.cn(X.card,G&&X.tappable,z),onClick:G?()=>S(!0):void 0,...F,children:[j&&e.jsx("div",{className:f.cn(X.tag,h),children:j}),e.jsxs("div",{className:X.content,children:[e.jsxs("div",{className:X.info,children:[e.jsxs("div",{className:X.textGroup,children:[e.jsx("p",{className:X.title,children:n}),i?e.jsxs("div",{className:X.description,children:[e.jsx("div",{className:f.cn(ne&&X.descriptionClamp),style:ne?{WebkitLineClamp:c}:void 0,dangerouslySetInnerHTML:{__html:i}}),Z]}):l&&e.jsxs("p",{className:X.description,children:[J,Z]})]}),e.jsxs("div",{className:X.priceRow,children:[e.jsx("span",{className:X.price,children:u}),m&&e.jsx("span",{className:X.originalPrice,children:m})]})]}),e.jsxs("div",{className:X.imageWrap,children:[e.jsx("img",{src:t,alt:a,className:X.image}),L&&e.jsx("div",{className:X.actionWrap,onClick:ae=>ae.stopPropagation(),children:L})]})]})]}),G&&e.jsx(Qt,{isOpen:_,onClose:()=>S(!1),ariaLabel:W,image:r||t,imageAlt:a,tag:j,tagClassName:h,title:n,description:l,descriptionHtml:i,price:N,basePrice:y,currencySymbol:w,showSavedBadge:T,savedLabel:D,action:L})]})};function Jt(t){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:e.jsx("path",{d:"M16.875 4.16667C14.6558 4.16667 12.4933 3.38083 10.375 1.79167C10.2668 1.71053 10.1352 1.66667 10 1.66667C9.86477 1.66667 9.73319 1.71053 9.625 1.79167C7.50667 3.38083 5.34417 4.16667 3.125 4.16667C2.95924 4.16667 2.80027 4.23251 2.68306 4.34972C2.56585 4.46694 2.5 4.62591 2.5 4.79167V9.16667C2.5 13.3342 4.965 16.3967 9.77083 18.29C9.9181 18.348 10.0819 18.348 10.2292 18.29C15.035 16.3967 17.5 13.3333 17.5 9.16667V4.79167C17.5 4.62591 17.4342 4.46694 17.3169 4.34972C17.1997 4.23251 17.0408 4.16667 16.875 4.16667ZM13.9642 7.7525L8.96417 12.3358C8.8454 12.4446 8.68923 12.5033 8.52824 12.4997C8.36724 12.4962 8.21383 12.4306 8.1 12.3167L6.01667 10.2333C5.95526 10.1761 5.90601 10.1071 5.87185 10.0304C5.83769 9.95378 5.81932 9.87102 5.81784 9.7871C5.81636 9.70318 5.8318 9.61983 5.86323 9.542C5.89467 9.46418 5.94145 9.39348 6.0008 9.33414C6.06015 9.27479 6.13085 9.228 6.20867 9.19656C6.28649 9.16513 6.36985 9.14969 6.45377 9.15117C6.53769 9.15265 6.62045 9.17102 6.69712 9.20518C6.77378 9.23934 6.84278 9.28859 6.9 9.35L8.56083 11.01L13.1192 6.83083C13.2414 6.71878 13.4031 6.65987 13.5688 6.66706C13.7344 6.67424 13.8904 6.74695 14.0025 6.86917C14.1146 6.99139 14.1735 7.15312 14.1663 7.31877C14.1591 7.48443 14.0864 7.64045 13.9642 7.7525Z",fill:"#525252"})})}function ea(t){return e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:[e.jsx("path",{d:"M10 10.4167C9.22645 10.4167 8.48459 10.724 7.93761 11.2709C7.39062 11.8179 7.08333 12.5598 7.08333 13.3333C7.08333 14.1069 7.39062 14.8487 7.93761 15.3957C8.48459 15.9427 9.22645 16.25 10 16.25C10.7735 16.25 11.5154 15.9427 12.0624 15.3957C12.6094 14.8487 12.9167 14.1069 12.9167 13.3333C12.9167 12.5598 12.6094 11.8179 12.0624 11.2709C11.5154 10.724 10.7735 10.4167 10 10.4167ZM8.75 13.3333C8.75 13.0018 8.8817 12.6839 9.11612 12.4495C9.35054 12.215 9.66848 12.0833 10 12.0833C10.3315 12.0833 10.6495 12.215 10.8839 12.4495C11.1183 12.6839 11.25 13.0018 11.25 13.3333C11.25 13.6649 11.1183 13.9828 10.8839 14.2172C10.6495 14.4516 10.3315 14.5833 10 14.5833C9.66848 14.5833 9.35054 14.4516 9.11612 14.2172C8.8817 13.9828 8.75 13.6649 8.75 13.3333Z",fill:"#525252"}),e.jsx("path",{d:"M14.605 4.26333L11.9558 0.549167L2.215 8.33083L1.675 8.325V8.33333H1.25V18.3333H18.75V8.33333H17.9483L16.3533 3.6675L14.605 4.26333ZM16.1875 8.33333H7.83083L14.055 6.21167L15.3233 5.80583L16.1875 8.33333ZM12.9583 4.825L6.53333 7.015L11.6217 2.95L12.9583 4.825ZM2.91667 15.1408V11.5242C3.26848 11.4 3.58804 11.1987 3.85192 10.9349C4.1158 10.6712 4.31731 10.3517 4.44167 10H15.5583C15.6826 10.3519 15.884 10.6715 16.1479 10.9354C16.4118 11.1993 16.7314 11.4007 17.0833 11.525V15.1417C16.7314 15.2659 16.4118 15.4674 16.1479 15.7313C15.884 15.9951 15.6826 16.3148 15.5583 16.6667H4.44333C4.31849 16.3147 4.11664 15.9951 3.85252 15.7311C3.5884 15.4672 3.26867 15.2655 2.91667 15.1408Z",fill:"#525252"})]})}function ta(t){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:e.jsx("path",{d:"M3.28125 2.5C2.74253 2.5 2.22587 2.71401 1.84494 3.09494C1.46401 3.47587 1.25 3.99253 1.25 4.53125V9.48125C1.9378 8.60514 2.93388 8.02435 4.03512 7.85731C5.13637 7.69027 6.25987 7.94956 7.17654 8.5823C8.09321 9.21504 8.73403 10.1736 8.96834 11.2625C9.20264 12.3514 9.0128 13.4887 8.4375 14.4425V15.625H16.7188C17.2575 15.625 17.7741 15.411 18.1551 15.0301C18.536 14.6491 18.75 14.1325 18.75 13.5938V4.53125C18.75 3.99253 18.536 3.47587 18.1551 3.09494C17.7741 2.71401 17.2575 2.5 16.7188 2.5H3.28125ZM5.625 6.25H14.375C14.5408 6.25 14.6997 6.31585 14.8169 6.43306C14.9342 6.55027 15 6.70924 15 6.875C15 7.04076 14.9342 7.19973 14.8169 7.31694C14.6997 7.43415 14.5408 7.5 14.375 7.5H5.625C5.45924 7.5 5.30027 7.43415 5.18306 7.31694C5.06585 7.19973 5 7.04076 5 6.875C5 6.70924 5.06585 6.55027 5.18306 6.43306C5.30027 6.31585 5.45924 6.25 5.625 6.25ZM10 11.25C10 11.0842 10.0658 10.9253 10.1831 10.8081C10.3003 10.6908 10.4592 10.625 10.625 10.625H14.375C14.5408 10.625 14.6997 10.6908 14.8169 10.8081C14.9342 10.9253 15 11.0842 15 11.25C15 11.4158 14.9342 11.5747 14.8169 11.6919C14.6997 11.8092 14.5408 11.875 14.375 11.875H10.625C10.4592 11.875 10.3003 11.8092 10.1831 11.6919C10.0658 11.5747 10 11.4158 10 11.25ZM8.125 12.1875C8.125 13.0992 7.76284 13.9735 7.11818 14.6182C6.47352 15.2628 5.59918 15.625 4.6875 15.625C3.77582 15.625 2.90148 15.2628 2.25682 14.6182C1.61216 13.9735 1.25 13.0992 1.25 12.1875C1.25 11.2758 1.61216 10.4015 2.25682 9.75682C2.90148 9.11216 3.77582 8.75 4.6875 8.75C5.59918 8.75 6.47352 9.11216 7.11818 9.75682C7.76284 10.4015 8.125 11.2758 8.125 12.1875ZM7.5 15.5387C6.71283 16.2015 5.71649 16.5641 4.6875 16.5625C3.65851 16.5641 2.66217 16.2015 1.875 15.5387V18.125C1.87503 18.2364 1.90484 18.3458 1.96136 18.4419C2.01788 18.5379 2.09904 18.6171 2.19644 18.6712C2.29385 18.7253 2.40394 18.7524 2.51534 18.7497C2.62673 18.7469 2.73537 18.7145 2.83 18.6556L4.6875 17.4994L6.545 18.6556C6.63967 18.7145 6.74837 18.747 6.85982 18.7497C6.97127 18.7524 7.08141 18.7252 7.17883 18.671C7.27625 18.6168 7.35741 18.5376 7.41388 18.4414C7.47035 18.3453 7.50008 18.2359 7.5 18.1244V15.5387Z",fill:"#525252"})})}function aa(t){return e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:[e.jsx("path",{d:"M15.8991 6.62735L15.5202 7.55748C15.4005 7.87412 15.4005 8.21056 15.5202 8.5272L15.8991 9.45733C16.1184 10.0115 15.939 10.6447 15.4404 11.001L14.6028 11.5749C14.3236 11.7728 14.1441 12.0696 14.0644 12.3863L13.8849 13.3758C13.7652 13.9695 13.2667 14.4049 12.6684 14.4247L11.6513 14.4642C11.3123 14.484 10.9932 14.6226 10.7539 14.86L10.0559 15.5923C9.63716 16.0277 8.97906 16.1266 8.46056 15.8298L7.58309 15.3152C7.28396 15.1371 6.94494 15.0975 6.60592 15.1767L5.6088 15.4142C5.03047 15.5527 4.41225 15.2756 4.13306 14.7413L3.67438 13.8309C3.51485 13.5341 3.25559 13.2966 2.93652 13.1977L1.97928 12.881C1.40095 12.6831 1.04199 12.129 1.10182 11.5353L1.20153 10.526C1.24141 10.1896 1.1417 9.85314 0.922335 9.59586L0.284179 8.80426C-0.0947263 8.3293 -0.0947263 7.67622 0.284179 7.20126L0.922335 6.40965C1.1417 6.15238 1.24141 5.81595 1.20153 5.47952L1.10182 4.47022C1.04199 3.87652 1.40095 3.3224 1.97928 3.12449L2.93652 2.80785C3.25559 2.7089 3.51485 2.47142 3.67438 2.17457L4.13306 1.26422C4.41225 0.729891 5.01052 0.452829 5.6088 0.59136L6.60592 0.828841C6.92499 0.908002 7.28396 0.868421 7.58309 0.69031L8.46056 0.175768C8.97906 -0.121084 9.63716 -0.0419239 10.0559 0.413249L10.7539 1.14548C10.9932 1.38296 11.3123 1.54129 11.6513 1.54129L12.6684 1.58087C13.2667 1.60066 13.7852 2.03604 13.8849 2.62974L14.0644 3.61925C14.1242 3.95568 14.3236 4.25253 14.6028 4.43064L15.4404 5.00456C15.939 5.43994 16.1384 6.07322 15.8991 6.62735Z",fill:"#525252"}),e.jsxs("g",{opacity:.15,children:[e.jsx("path",{d:"M4.71139 14.6823L4.25271 13.772C4.09317 13.4751 3.83392 13.2377 3.51484 13.1387L2.55761 12.8221C1.97928 12.6242 1.62032 12.07 1.68015 11.4763L1.77986 10.467C1.81974 10.1306 1.72003 9.79418 1.50066 9.53691L0.862508 8.7453C0.483603 8.27034 0.483603 7.61727 0.862508 7.1423L1.50066 6.3507C1.72003 6.09343 1.81974 5.75699 1.77986 5.42056L1.68015 4.41127C1.62032 3.81756 1.97928 3.26344 2.55761 3.06554L3.51484 2.7489C3.83392 2.64995 4.09317 2.41246 4.25271 2.11561L4.71139 1.20527C4.87093 0.888625 5.15012 0.670934 5.44926 0.571984C4.91081 0.492823 4.37237 0.769885 4.13306 1.26464L3.67438 2.17498C3.51484 2.47183 3.25559 2.70932 2.93652 2.80827L1.97928 3.12491C1.40095 3.32281 1.04199 3.87693 1.10182 4.47064L1.20153 5.47993C1.24141 5.81636 1.1417 6.1528 0.922335 6.41007L0.284179 7.20167C-0.0947263 7.67664 -0.0947263 8.32971 0.284179 8.80467L0.922335 9.59628C1.1417 9.85355 1.24141 10.19 1.20153 10.5264L1.10182 11.5357C1.04199 12.1294 1.40095 12.6835 1.97928 12.8814L2.93652 13.1981C3.25559 13.297 3.51484 13.5345 3.67438 13.8314L4.13306 14.7417C4.41225 15.276 5.01052 15.5531 5.60879 15.4146L5.72845 15.3948C5.28972 15.3156 4.91081 15.0781 4.71139 14.6823Z",fill:"black"}),e.jsx("path",{d:"M8.14186 0.63139L9.01932 0.116847C9.09909 0.077267 9.17886 0.0376868 9.25863 0.0178967C8.97944 -0.0216835 8.6803 0.037687 8.44099 0.176218L7.56353 0.690761C7.48376 0.730341 7.40399 0.769921 7.32422 0.789711C7.60341 0.829291 7.88261 0.789711 8.14186 0.63139Z",fill:"black"}),e.jsx("path",{d:"M12.2099 14.3856C12.1101 14.3856 12.0104 14.4055 11.9307 14.4255L12.6486 14.3856C12.7483 14.3856 12.8281 14.3656 12.9278 14.3457L12.2099 14.3856Z",fill:"black"}),e.jsx("path",{d:"M9.01883 15.7505L8.14136 15.236C7.84223 15.0579 7.50321 15.0183 7.16419 15.0975L7.04453 15.1173C7.22401 15.137 7.38355 15.1964 7.54309 15.2756L8.42056 15.7901C8.75958 15.988 9.13848 16.0078 9.49745 15.8891C9.33791 15.8891 9.17837 15.8495 9.01883 15.7505Z",fill:"black"})]}),e.jsx("path",{d:"M4.83105 6.78584L7.32385 9.61583L12.4291 5.53906",fill:"#525252"}),e.jsx("path",{d:"M6.72499 11.0798C6.4458 11.0798 6.16661 10.961 5.96718 10.7433L3.47438 7.91333C3.11542 7.49774 3.1553 6.88425 3.55415 6.50824C3.97294 6.15201 4.59116 6.19159 4.97006 6.5874L6.84465 8.70494L11.212 5.22188C11.6308 4.88545 12.269 4.94482 12.608 5.3802C12.947 5.81558 12.8872 6.42908 12.4485 6.76551L7.34321 10.8621C7.16372 11.0006 6.94436 11.0798 6.72499 11.0798Z",fill:"#EDEDED"})]})}function ra(t){return e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:[e.jsx("path",{d:"M17.5 10.1833C17.5 5.60833 13.95 2.5 10 2.5C6.09167 2.5 2.5 5.54167 2.5 10.2333C2 10.5167 1.66667 11.05 1.66667 11.6667V13.3333C1.66667 14.25 2.41667 15 3.33333 15H4.16667V9.91667C4.16667 6.69167 6.775 4.08333 10 4.08333C13.225 4.08333 15.8333 6.69167 15.8333 9.91667V15.8333H9.16667V17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V14.8167C17.9917 14.5583 18.3333 14.05 18.3333 13.45V11.5333C18.3333 10.95 17.9917 10.4417 17.5 10.1833Z",fill:"#525252"}),e.jsx("path",{d:"M7.5 11.6667C7.96024 11.6667 8.33333 11.2936 8.33333 10.8333C8.33333 10.3731 7.96024 10 7.5 10C7.03976 10 6.66667 10.3731 6.66667 10.8333C6.66667 11.2936 7.03976 11.6667 7.5 11.6667Z",fill:"#525252"}),e.jsx("path",{d:"M12.5 11.6667C12.9602 11.6667 13.3333 11.2936 13.3333 10.8333C13.3333 10.3731 12.9602 10 12.5 10C12.0398 10 11.6667 10.3731 11.6667 10.8333C11.6667 11.2936 12.0398 11.6667 12.5 11.6667Z",fill:"#525252"}),e.jsx("path",{d:"M15 9.19167C14.8013 8.02011 14.1945 6.95664 13.287 6.18948C12.3796 5.42233 11.23 5.00098 10.0417 5C7.51667 5 4.8 7.09167 5.01667 10.375C6.04448 9.95481 6.95226 9.28665 7.65896 8.43018C8.36566 7.57371 8.84928 6.55557 9.06667 5.46667C10.1583 7.65833 12.4 9.16667 15 9.19167Z",fill:"#525252"})]})}const Ns=[{id:"money-back",icon:e.jsx(Jt,{className:"size-5"}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(ea,{className:"size-5"}),label:"No Hidden Cost"},{id:"iso-certified",icon:e.jsx(ta,{className:"size-5"}),label:"ISO 27001 Certified Company"},{id:"temple-partner",icon:e.jsx(aa,{className:"size-4"}),label:"Official Temple Partner"},{id:"24x7-support",icon:e.jsx(ra,{className:"size-5"}),label:"24x7 Support"}],sa=(t,a,r)=>e.jsxs("span",{className:f.cn("inline-flex shrink-0 items-center gap-1 text-xs font-semibold text-[#525252]",r,t.className),children:[e.jsx("span",{className:"shrink-0","aria-hidden":!0,children:t.icon}),t.label]},a),na=({badges:t=Ns,badgeClassName:a,marquee:r=!0,marqueeDurationSeconds:n=14,className:l,...i})=>r?e.jsx("div",{className:f.cn("overflow-hidden bg-[#ededed] px-4 py-1",l),...i,children:e.jsx("div",{className:"flex w-max items-center gap-3 whitespace-nowrap motion-reduce:animate-none",style:{animation:`pitru-paksh-trust-badges-marquee ${n}s linear infinite`},children:[...t,...t].map((c,o)=>sa(c,`${c.id}-${o}`,a))})}):e.jsx("div",{className:f.cn("flex items-center gap-3 overflow-x-auto bg-[#ededed] px-4 py-1 whitespace-nowrap","scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",l),...i,children:t.map(c=>sa(c,c.id,a))}),et={en:{proceedLabel:"Proceed",infoButtonAriaLabel:"View bill details"},hi:{proceedLabel:"आगे बढ़ें",infoButtonAriaLabel:"बिल का विवरण देखें"},kn:{proceedLabel:"ಮುಂದುವರಿಯಿರಿ",infoButtonAriaLabel:"ಬಿಲ್ ವಿವರಗಳನ್ನು ನೋಡಿ"},te:{proceedLabel:"ముందుకు సాగండి",infoButtonAriaLabel:"బిల్లు వివరాలను చూడండి"}},la=t=>et[t]??et.en,Ve=({locale:t="en",amount:a,amountClassName:r,subtitle:n,subtitleClassName:l,showInfoIcon:i=!0,onInfoClick:c,infoIconClassName:o,proceedLabel:d,proceedIcon:v=e.jsx(ge,{"aria-hidden":!0}),onProceed:p,proceedButtonProps:u,buttonWrapperClassName:m,growProceedButton:j=!1,className:h,...L})=>{const N=la(t);return e.jsxs("div",{className:f.cn("flex items-center gap-3 rounded-t-[20px] bg-white px-4 py-4 shadow-[0_0_20px_rgba(0,0,0,0.15)]",h),...L,children:[e.jsxs("div",{className:f.cn("min-w-0",j?"flex-none":"flex-1"),children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:f.cn("text-xl font-extrabold text-[#1d2125]",r),children:a}),i&&e.jsx("button",{type:"button",onClick:c,"aria-label":N.infoButtonAriaLabel??"View bill details",className:f.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]!",!c&&"pointer-events-none",o),children:e.jsx(xe,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:f.cn("mt-1 text-sm text-gray-500",l),children:n})]}),e.jsx("div",{className:f.cn("min-w-0",j?"flex-1":"flex-none",m),children:e.jsxs(Y,{variant:"primary",size:"xl",onClick:p,...u,className:f.cn("h-auto min-h-14 min-w-0 justify-center gap-2 whitespace-normal px-3 py-2 text-center leading-5 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169] [&>span]:min-w-0 [&>span]:whitespace-normal",j?"w-full":"min-w-40",u?.className),children:[d??N.proceedLabel,v]})})]})},tt={en:{title:"Select the number of people performing the Puja (Karta)",description:"Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",benefits:["Panditji will pronounce the names and gotra of the ancestors and the performers","Our experienced Pandits will conduct the Puja with correct vedic rituals","A video of the entire Puja will be shared with you on WhatsApp and the Srimandir app"],trustBadgeLabels:{moneyBack:"100% Money Back Guarantee",noHiddenCost:"No Hidden Cost",isoCertified:"ISO 27001 Certified Company",templePartner:"Official Temple Partner",support:"24x7 Support"}},hi:{title:"पूजा करवाने वाले (कर्ता) लोगो की संख्या चुनें",description:"पूरे परिवार के साथ मिलकर पूजा करने से पितरों का आशीर्वाद मिलता है और परिवार की सुख-समृद्धि बढ़ती है।",benefits:["पंडितजी द्वारा पितृजन और कर्ता का नाम-गोत्र उच्चारण होगा","हमारे अनुभवी पुरोहित पूरे विधि-विधान से पूजा कराएंगे","पूरी पूजा का वीडियो आपको WhatsApp और श्रीमंदिर ऐप पर शेयर किया जाएगा"],trustBadgeLabels:{moneyBack:"100% पैसे वापस करने की गारंटी",noHiddenCost:"कोई छुपी हुई लागत नहीं",isoCertified:"ISO 27001 प्रमाणित कंपनी",templePartner:"आधिकारिक मंदिर सहभागी",support:"24x7 सहायता"}},kn:{title:"ಪೂಜೆ ನೆರವೇರಿಸುವ ಜನರ ಸಂಖ್ಯೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (ಕರ್ತೃ)",description:"ಇಡೀ ಕುಟುಂಬದೊಂದಿಗೆ ಒಟ್ಟಾಗಿ ಪೂಜೆ ಮಾಡುವುದರಿಂದ ಪೂರ್ವಜರ ಆಶೀರ್ವಾದ ಮತ್ತು ಕುಟುಂಬದ ಸಮೃದ್ಧಿ ದೊರೆಯುತ್ತದೆ",benefits:["ಪಂಡಿತರು ಪೂರ್ವಜರ & ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರುಗಳು ಹಾಗೂ ಗೋತ್ರವನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ","ನಮ್ಮ ಅನುಭವಿ ಪಂಡಿತರು ಸರಿಯಾದ ವೈದಿಕ ವಿಧಿವಿಧಾನಗಳೊಂದಿಗೆ ಪೂಜೆಯನ್ನು ನೆರವೇರಿಸುತ್ತಾರೆ","ಸಂಪೂರ್ಣ ಪೂಜೆಯ ವಿಡಿಯೋವನ್ನು ನಿಮ್ಮೊಂದಿಗೆ ವಾಟ್ಸಾಪ್ ಮತ್ತು ಶ್ರೀಮಂದಿರ ಆ್ಯಪ್ನಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಲಾಗುತ್ತದೆ"],trustBadgeLabels:{moneyBack:"100% ಹಣ ಮರಳಿ ನೀಡುವ ಖಾತರಿ",noHiddenCost:"ಗುಪ್ತ ವೆಚ್ಚಗಳಿಲ್ಲ",isoCertified:"ISO 27001 ಪ್ರಮಾಣೀಕೃತ ಕಂಪನಿ",templePartner:"ಅಧಿಕೃತ ದೇವಾಲಯ ಪಾಲುದಾರ",support:"24x7 ಬೆಂಬಲ"}},te:{title:"పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",description:"కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",benefits:["పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు","మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు","పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"],trustBadgeLabels:{moneyBack:"100% డబ్బు వాపసు గ్యారంటీ",noHiddenCost:"దాచిన ఖర్చులు లేవు",isoCertified:"ISO 27001 సర్టిఫైడ్ కంపెనీ",templePartner:"అధికారిక ఆలయ భాగస్వామి",support:"కస్టమర్ సపోర్ట్"}}},ia=t=>tt[t]??tt.en,ws=({locale:t="en",title:a,description:r,benefits:n,options:l,value:i,onChange:c,radioVariant:o="dot",radiogroupLabel:d,className:v,headerClassName:p,benefitsClassName:u,optionsClassName:m,trustBadges:j,checkout:h,stickyFooter:L=!0,footerClassName:N})=>{const y=ia(t),w=a??y.title,T=r??y.description,D=n??y.benefits,W=j??{badges:[{id:"money-back",icon:e.jsx(Jt,{className:"size-5"}),label:y.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(ea,{className:"size-5"}),label:y.trustBadgeLabels.noHiddenCost},{id:"iso-certified",icon:e.jsx(ta,{className:"size-5"}),label:y.trustBadgeLabels.isoCertified},{id:"temple-partner",icon:e.jsx(aa,{className:"size-4"}),label:y.trustBadgeLabels.templePartner},{id:"24x7-support",icon:e.jsx(ra,{className:"size-5"}),label:y.trustBadgeLabels.support}]};return e.jsxs("div",{className:f.cn("w-full",v),children:[e.jsxs("div",{className:f.cn("px-4 pt-5 pb-4",p),children:[e.jsx("p",{className:"text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:w}),T&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:T})]}),D&&D.length>0&&e.jsx("div",{className:f.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",u),children:D.map((I,z)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Ze,{size:18,className:"mt-0.5 shrink-0 text-emerald-600","aria-hidden":!0}),e.jsx("span",{className:"text-[14px] leading-5.5 text-gray-600",children:I})]},z))}),e.jsx("div",{role:"radiogroup","aria-label":d??(typeof w=="string"?w:void 0),className:f.cn("flex flex-col gap-3 p-4",m),children:l.map(I=>{const{id:z,price:F,free:H,badge:U,priceBadgeProps:_,note:S,children:V,iconClassName:J,radioVariant:G,...ne}=I,Z=i===z,ae=U??(F==null?void 0:H?e.jsx("span",{className:f.cn("text-sm font-medium text-[#22272b]",_?.className),..._,children:F}):e.jsx(Yt,{value:F,..._}));return e.jsx(Fe,{...ne,iconClassName:f.cn("size-10",J),radioVariant:G??o,badge:ae,selected:Z,onSelect:()=>c(z),note:Z?S:void 0,children:V},z)})}),(W||h)&&e.jsxs("div",{className:f.cn(L&&"sticky bottom-0 z-10",N),children:[W&&e.jsx(na,{...W}),h&&e.jsx(Ve,{locale:t,...h})]})]})},at={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers",ancestorLabel:"Ancestor",ritualLabel:"Ritual",performerLabel:"Performer"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता",ancestorLabel:"पितृजन",ritualLabel:"पूजा विधि",performerLabel:"कर्ता"},te:{title:"పితృపక్ష ప్రత్యేక పూజలు",ancestorsLabel:"మంది పితృదేవతలు",ritualsLabel:"పూజలు",performersLabel:"కర్తలు",ancestorLabel:"మంది పితృదేవతలు",ritualLabel:"పూజలు",performerLabel:"కర్తలు"},kn:{title:"ಪಿತೃ ಪಕ್ಷದ ವಿಶೇಷ ಆಚರಣೆಗಳು",ancestorsLabel:"ಪೂರ್ವಜರು",ritualsLabel:"ಆಚರಣೆಗಳು",performersLabel:"ಕರ್ತೃಗಳು",ancestorLabel:"ಪೂರ್ವಜರು",ritualLabel:"ಆಚರಣೆಗಳು",performerLabel:"ಕರ್ತೃಗಳು"}},oa=t=>at[t]??at.en,ca=({locale:t="en",icon:a=e.jsx(Qe,{"aria-hidden":!0}),iconClassName:r,title:n,titleClassName:l,subtitle:i,subtitleItems:c,stats:o,subtitleClassName:d,cardClassName:v,className:p,...u})=>{const m=oa(t),j=n??m.title,h=c??(o&&[`${o.ancestors} ${o.ancestors===1?m.ancestorLabel:m.ancestorsLabel}`,`${o.rituals} ${o.rituals===1?m.ritualLabel:m.ritualsLabel}`,`${o.performers} ${o.performers===1?m.performerLabel:m.performersLabel}`]);return e.jsx("div",{className:f.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",p),...u,children:e.jsxs("div",{className:f.cn("rounded-2xl bg-white p-4 shadow-sm",v),children:[e.jsxs("p",{className:f.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",l),children:[a&&e.jsx("span",{className:f.cn("shrink-0 text-sm",r),children:a}),j]}),(i||h&&h.length>0)&&e.jsx("p",{className:f.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",d),children:h&&h.length>0?h.map((L,N)=>e.jsxs(g.Fragment,{children:[N>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),L]},N)):i})]})})},da={en:{title:"Bill Details",totalLabel:"Total Amount",panditFeeLabel:"Pandit Fee",photoVideoFeeLabel:"Photo and video recording fee",freeLabel:"FREE"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि",panditFeeLabel:"पंडित शुल्क",photoVideoFeeLabel:"फोटो और वीडियो रिकॉर्डिंग शुल्क",freeLabel:"मुफ़्त"},kn:{title:"ಬಿಲ್ ವಿವರಗಳು",totalLabel:"ಒಟ್ಟು ಮೊತ್ತ",panditFeeLabel:"ಪಂಡಿತ್ ಶುಲ್ಕ",photoVideoFeeLabel:"ಫೋಟೋ ಮತ್ತು ವಿಡಿಯೋ ರೆಕಾರ್ಡಿಂಗ್ ಶುಲ್ಕ",freeLabel:"ಉಚಿತ"},te:{title:"బిల్లు వివరాలు",totalLabel:"మొత్తం",panditFeeLabel:"పండిట్ రుసుము",photoVideoFeeLabel:"ఫోటో మరియు వీడియో రికార్డింగ్ రుసుము",freeLabel:"ఉచితం"}},ua=t=>da[t]??da.en;function fa({label:t,originalValue:a,freeLabel:r,rowClassName:n}){return e.jsxs("div",{className:f.cn("flex items-start justify-between gap-3",n),children:[e.jsx("div",{className:"min-w-0",children:e.jsx("p",{className:"text-xs font-medium text-[#6b7280]",children:t})}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2 whitespace-nowrap text-xs",children:[e.jsx("span",{className:"text-[#d93640] line-through",children:a}),e.jsx("span",{className:"text-[#374151]",children:r})]})]})}const rt=({locale:t="en",titleClassName:a,showTitle:r=!0,rows:n,rowClassName:l,showTitleAccent:i=!0,totalValue:c,totalClassName:o,isGlobalUser:d=!1,showDefaultWaivedFees:v=!0,className:p,...u})=>{const{title:m,totalLabel:j,panditFeeLabel:h,photoVideoFeeLabel:L,freeLabel:N}=ua(t);return e.jsxs("div",{className:f.cn("bg-white px-4 py-6",p),...u,children:[r&&e.jsxs("h2",{className:f.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",a),children:[i&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),m]}),e.jsxs("div",{className:"flex flex-col gap-4",children:[n.map(y=>e.jsxs("div",{className:f.cn("flex items-start justify-between gap-3",l),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:f.cn("text-sm text-[#1d2125]",y.labelClassName),children:y.label}),y.subLabel&&e.jsx("p",{className:f.cn("mt-0.5 text-xs text-gray-400",y.subLabelClassName),children:y.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[y.note&&e.jsx("span",{className:"text-gray-400",children:y.note}),y.originalValue&&e.jsx("span",{className:f.cn("text-gray-400 line-through",y.originalValueClassName),children:y.originalValue}),e.jsx("span",{className:f.cn("font-medium text-[#1d2125]",y.valueClassName),children:y.value})]})]},y.id)),v&&e.jsxs(e.Fragment,{children:[e.jsx(fa,{label:h,originalValue:d?"$3.99":"₹51.0",freeLabel:N,rowClassName:l}),e.jsx(fa,{label:L,originalValue:d?"$0.49":"₹21.0",freeLabel:N,rowClassName:l})]})]}),c!==void 0&&e.jsxs("div",{className:f.cn("mt-4 flex items-center justify-between border-t border-solid border-gray-300 pt-4",o),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:j}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:c})]})]})},Cs="https://srm-cdn.a4b.io/yoda/1789670818921.svg";function Ls({isOpen:t,onClose:a,locale:r="en",title:n,itemCountLabel:l,closeButtonAriaLabel:i="Close",rows:c,totalValue:o,isGlobalUser:d=!1,showDefaultWaivedFees:v=!0}){const p=ua(r);return e.jsx(je,{isOpen:t,onClose:a,ariaLabel:String(n??p.title),showCloseButton:!1,className:"overflow-hidden rounded-t-[20px] bg-[#f7f8f9]",header:e.jsxs("div",{className:"flex w-full items-center justify-between border-b border-black/5 bg-white p-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("img",{src:Cs,alt:"","aria-hidden":!0,className:"size-8 shrink-0"}),e.jsxs("h2",{className:"min-w-0 flex-1 text-base font-bold leading-5.5 text-gray-700",children:[n??p.title,l&&e.jsxs(e.Fragment,{children:[" (",l,")"]})]})]}),e.jsx("button",{type:"button","aria-label":i,onClick:a,className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:e.jsx(St,{className:"size-6 text-[#1d2125]","aria-hidden":!0})})]}),children:e.jsx("div",{className:"bg-[#f7f8f9] p-3",children:e.jsx(rt,{locale:r,rows:c,totalValue:o,isGlobalUser:d,showTitle:!1,showTitleAccent:!1,showDefaultWaivedFees:v,className:"rounded-xl px-3 py-4 shadow-[0_1px_8px_rgba(17,24,39,0.06)]",rowClassName:"px-0",totalClassName:"border-gray-200"})})})}const ks=({locale:t="en",onBack:a,backButtonAriaLabel:r,headerClassName:n,backButtonClassName:l,headerTitleClassName:i,beforeAddons:c,summary:o,items:d,itemsClassName:v,itemClassName:p,onItemRef:u,addons:m,addonsSectionClassName:j,addonsHeaderClassName:h,addonsTitleClassName:L,addonsDescriptionClassName:N,addonsClassName:y,addonClassName:w,addonComponent:T=Xt,onAddonRef:D,billDetails:W,faq:I,checkout:z,className:F,children:H,...U})=>{const{backButtonAriaLabel:_,headerTitle:S,addonsTitle:V,addonsDescription:J,checkoutProceedLabel:G,checkoutRitualSingular:ne,checkoutRitualPlural:Z}=He(t),{price:ae,ritualCount:le,...A}=z??{};return e.jsxs("div",{className:f.cn("flex min-h-screen flex-col bg-white",F),...U,children:[e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsxs("div",{className:f.cn("flex items-center gap-3 px-4 py-3",n),children:[a&&e.jsx("button",{type:"button",onClick:a,"aria-label":r??_,className:f.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",l),children:e.jsx(qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:f.cn("text-lg font-bold text-[#1d2125]",i),children:S})]}),o&&e.jsx(ca,{...o}),d&&d.length>0&&e.jsx("div",{className:f.cn("flex flex-col gap-3 bg-white px-4 py-4",v),children:d.map(({id:M,className:oe,isMandapCharge:de,...ce})=>e.jsx("div",{ref:u?pe=>u(M,pe):void 0,children:de?e.jsx(qt,{locale:t,className:f.cn(p,oe),...ce}):e.jsx(Je,{className:f.cn(p,oe),...ce})},M))}),c,m&&m.length>0&&e.jsxs("div",{className:f.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",j),children:[e.jsxs("div",{className:h,children:[e.jsx("h2",{className:f.cn("text-base font-bold text-gray-700",L),children:V}),e.jsx("p",{className:f.cn("mt-1 text-sm text-gray-500",N),children:J})]}),e.jsx("div",{className:f.cn("flex flex-col gap-4",y),children:m.map(({id:M,className:oe,...de})=>e.jsx("div",{ref:D?ce=>D(M,ce):void 0,children:e.jsx(T,{locale:t,className:f.cn(w,oe),...de})},M))})]}),W&&e.jsx(rt,{...W,locale:t}),I&&e.jsx($t,{...I}),H]}),z&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(Ve,{growProceedButton:!0,...A,locale:t,amount:ae,subtitle:`${le} ${le===1?ne:Z}`,proceedLabel:G})})]})},ue=g.forwardRef(({label:t,value:a,onChange:r,prefix:n,showCharCount:l=!1,supportingText:i,error:c=!1,className:o,containerClassName:d,wrapperClassName:v,maxLength:p,id:u,...m},j)=>{const h=g.useId(),L=u??h,N=i??(l?`${a.length}${p?`/${p}`:""}`:void 0);return e.jsxs("div",{className:f.cn("flex w-full flex-col gap-2",d),children:[t&&e.jsx("label",{htmlFor:L,className:"text-[14px] leading-5 font-semibold text-[#6b7280]",children:t}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("div",{className:f.cn("flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",c?"border-[#ef4444]":"border-[#d1d5db]",v),children:[n&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:n}),e.jsx("input",{ref:j,id:L,value:a,maxLength:p,onChange:y=>r(y.target.value),"aria-invalid":c,className:f.cn("w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",o),...m})]}),N&&e.jsx("p",{className:f.cn("text-[12px] leading-4 font-medium",c?"text-[#ef4444]":"text-[#9ca3af]"),children:N})]})]})});ue.displayName="TextField";function Ss({isOpen:t,onClose:a,avatarUrl:r,heading:n,tithis:l,confirmLabel:i,onConfirm:c,initialTithi:o}){const[d,v]=g.useState(o),p=()=>{d&&c(d)};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 px-5 pt-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-3",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:n})]}),e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"})]}),footer:e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-2",children:[e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"}),e.jsx(Y,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!d,onClick:p,children:i})]}),children:e.jsx("div",{className:"grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4",children:l.map(u=>{const m=d===u;return e.jsx("button",{type:"button",onClick:()=>v(u),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${m?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:u},u)})})})}const ye=48;function Ne({options:t,selectedIndex:a,onChange:r}){const n=g.useRef(null),l=g.useRef(!1);g.useEffect(()=>{l.current||!n.current||(l.current=!0,n.current.scrollTop=a*ye)},[]),g.useEffect(()=>{!l.current||!n.current||(n.current.scrollTop=a*ye)},[t.length,a]);const i=()=>{if(!n.current)return;const o=Math.round(n.current.scrollTop/ye),d=Math.max(0,Math.min(t.length-1,o));d!==a&&r(d)},c=o=>{n.current?.scrollTo({top:o*ye,behavior:"smooth"}),r(o)};return e.jsx("div",{className:"relative h-36 w-full",children:e.jsxs("div",{ref:n,onScroll:i,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:ye},"aria-hidden":!0}),t.map((o,d)=>e.jsx("button",{type:"button",onClick:()=>c(d),className:`flex h-12 w-full snap-center items-center justify-center whitespace-nowrap border-0 bg-transparent text-[20px] leading-7 ${d===a?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:o},o)),e.jsx("div",{style:{height:ye},"aria-hidden":!0})]})})}const xa=Array.from({length:31},(t,a)=>a+1),_s=Array.from({length:12},(t,a)=>a);function Ps({isOpen:t,onClose:a,avatarUrl:r,heading:n,monthLabels:l,confirmLabel:i,onConfirm:c,timezoneLabel:o,initialDate:d,minYear:v,maxYear:p=new Date().getFullYear(),minDate:u,maxDate:m}){const j=u?.year??v,h=m?.year??p,L=g.useMemo(()=>{const _=j??h-120;return Array.from({length:h-_+1},(S,V)=>_+V)},[j,h]),[N,y]=g.useState(()=>d?d.day-1:Math.floor(xa.length/2)),[w,T]=g.useState(()=>d?d.month-1:0),[D,W]=g.useState(()=>d?Math.max(0,L.indexOf(d.year)):Math.floor(L.length/2)),I=L[D],z=g.useMemo(()=>{let _=_s;return m&&I===m.year&&(_=_.filter(S=>S<=m.month-1)),u&&I===u.year&&(_=_.filter(S=>S>=u.month-1)),_},[I,u,m]),F=(z[w]??z[z.length-1]??0)+1,H=g.useMemo(()=>{let _=xa;return m&&I===m.year&&F===m.month&&(_=_.filter(S=>S<=m.day)),u&&I===u.year&&F===u.month&&(_=_.filter(S=>S>=u.day)),_},[I,F,u,m]);g.useEffect(()=>{T(_=>Math.min(_,z.length-1))},[z]),g.useEffect(()=>{y(_=>Math.min(_,H.length-1))},[H]);const U=()=>{const _=H[N]??H[H.length-1]??1;c({day:_,month:F,year:I})};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[o&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:o}),e.jsx(Y,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:U,children:i})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Ne,{options:H.map(String),selectedIndex:N,onChange:y}),e.jsx(Ne,{options:z.map(_=>l[_]),selectedIndex:w,onChange:T}),e.jsx(Ne,{options:L.map(String),selectedIndex:D,onChange:W}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}const st=Array.from({length:12},(t,a)=>a+1),pa=Array.from({length:60},(t,a)=>a);function Ts(t){const a=t>=12?"PM":"AM";return{hour12:t%12===0?12:t%12,period:a}}function As(t,a){return a==="AM"?t===12?0:t:t===12?12:t+12}function Es({isOpen:t,onClose:a,avatarUrl:r,heading:n,confirmLabel:l,onConfirm:i,timezoneLabel:c,initialTime:o,amLabel:d="AM",pmLabel:v="PM"}){const p=g.useMemo(()=>Ts(o?.hour??11),[o?.hour]),u=[d,v],[m,j]=g.useState(()=>st.indexOf(p.hour12)),[h,L]=g.useState(()=>o?.minute??0),[N,y]=g.useState(()=>p.period==="AM"?0:1),w=()=>{const T=As(st[m],N===0?"AM":"PM");i({hour:T,minute:pa[h]})};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[c&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:c}),e.jsx(Y,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:w,children:l})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Ne,{options:st.map(String),selectedIndex:m,onChange:j}),e.jsx(Ne,{options:pa.map(T=>String(T).padStart(2,"0")),selectedIndex:h,onChange:L}),e.jsx(Ne,{options:u,selectedIndex:N,onChange:y}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}function Os({className:t}){return e.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[e.jsx("path",{d:"M8.68684 4.40106C10.0829 3.77017 11.6588 3.5536 13.1827 3.75605C14.7302 3.9585 16.2115 4.61763 17.3946 5.62988C18.5304 6.58092 19.3965 7.84269 19.8744 9.23629C20.4234 10.8229 20.466 12.5791 19.9975 14.1798C19.4765 15.9578 18.3719 17.511 16.8598 18.5913C15.8907 19.2813 14.7834 19.755 13.6134 19.9802C11.6257 20.3569 9.51503 19.9896 7.7924 18.9444C7.68356 18.8973 7.57944 18.7796 7.45166 18.8314L4.42761 19.6083L5.23213 16.6704C5.27945 16.5668 5.1848 16.4821 5.13748 16.3879C4.22411 15.0037 3.75086 13.3371 3.79818 11.6798C3.84551 8.28996 6.02245 5.60634 8.67264 4.38223",fill:"#40C351"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.32076 3.80784C8.50717 2.25416 11.3372 1.66094 13.9874 2.18825C15.7036 2.5261 17.2991 3.31079 18.611 4.46227C20.4678 6.08162 21.6521 8.33062 21.9332 10.7711C22.1215 12.3824 21.9102 14.015 21.318 15.5263C20.6176 17.3154 19.3777 18.8879 17.8065 19.9991C16.2925 21.0737 14.5047 21.702 12.6481 21.8117C10.7899 21.9254 8.93695 21.5176 7.30038 20.6346L2 22L3.39608 16.9152C3.42241 16.8585 3.38772 16.8098 3.35612 16.7655L3.34876 16.7552C2.30141 14.8952 1.88641 12.7483 2.16564 10.6346C2.5382 7.88745 4.03716 5.41625 6.30656 3.80784H6.32076ZM9.11312 7.3201C9.33554 7.32481 9.48225 7.52255 9.56744 7.69675C9.72969 8.04649 9.87341 8.40239 10.0171 8.75829C10.1249 9.02521 10.2327 9.29213 10.3483 9.55645C10.4051 9.68357 10.4429 9.82482 10.3956 9.96135C10.2888 10.2623 10.075 10.4994 9.86276 10.7347C9.79281 10.8122 9.72305 10.8895 9.65735 10.9689C9.5627 11.0772 9.57217 11.2325 9.64789 11.3455C10.3755 12.7518 11.6221 13.8232 13.1263 14.3352C13.2682 14.3964 13.4386 14.3823 13.538 14.2599C13.8218 13.9448 14.0903 13.6164 14.3425 13.2759C14.5593 12.9946 14.7479 13.0728 15.0299 13.1896L15.0335 13.1911L16.8507 14.0621C16.9927 14.1233 17.1347 14.2269 17.1205 14.3917C17.2151 15.6158 16.1125 16.5668 14.9577 16.6045C11.9763 16.3879 9.9413 14.7401 8.47423 12.838L8.37335 12.6986C7.92172 12.0754 7.46201 11.4409 7.21539 10.7005C6.96457 10.0037 6.9551 9.20805 7.25325 8.52067C7.7123 7.60259 8.11456 7.24948 9.12732 7.30597L9.11312 7.3201ZM4.86319 7.82387C5.7245 6.32198 7.07326 5.10729 8.65864 4.40107L8.66338 4.4199C10.0642 3.78902 11.6448 3.57244 13.1592 3.77489C14.7157 3.98658 16.1788 4.63676 17.3759 5.64872C18.5137 6.60692 19.3704 7.85288 19.8557 9.25514C20.4045 10.8516 20.4475 12.5772 19.9787 14.1987C19.4578 15.9767 18.3531 17.5298 16.8411 18.6102C15.8735 19.3027 14.7655 19.7767 13.5946 19.9991C11.5917 20.3768 9.51914 20.0063 7.77367 18.9586C7.75146 18.9465 7.72904 18.9323 7.70627 18.9179C7.62227 18.8647 7.53346 18.8085 7.43293 18.8456C6.91046 18.9767 6.38925 19.1129 5.86865 19.2489C5.38012 19.3765 4.89213 19.504 4.40414 19.6271L5.20866 16.6893C5.23876 16.6032 5.19108 16.529 5.14649 16.4596C5.135 16.4417 5.12371 16.4241 5.11401 16.4068C4.20064 15.0179 3.72739 13.3559 3.77472 11.6987C3.80311 10.3427 4.18171 9.0009 4.86319 7.82387Z",fill:"white"})]})}function Rs({isOpen:t,onClose:a,heading:r,subtext:n,placeholder:l,confirmLabel:i,onConfirm:c,initialValue:o="",countries:d=f.DEFAULT_COUNTRIES,initialCountryIso:v="IN"}){const p=d.find(N=>N.iso===v)??d[0],[u,m]=g.useState(o),j=f.getMaxLengthForCountry(p.code),h=f.validatePhoneByCountryCode(u,p.code).isValid&&u.length>0,L=()=>{h&&c(u,p)};return e.jsx(je,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,ariaLabel:r,className:"min-h-[25vh]",overlayClassName:"pitru-paksh-common-root",footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(ge,{"aria-hidden":!0}),disabled:!h,onClick:L,children:i})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ue,{type:"tel",inputMode:"numeric",value:u,placeholder:l,prefix:e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1",children:[e.jsx(Os,{className:"size-6"}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#6b7280]",children:p.code})]}),maxLength:j,onChange:N=>m(N.replace(/\D/g,"").slice(0,j)),containerClassName:"mt-2 w-full gap-0",wrapperClassName:"h-14 gap-2 rounded-xl px-4",className:"text-[18px] placeholder:text-[#ced1d7]"})]})})}const Ms=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Bs({isOpen:t,onClose:a,heading:r,subtext:n,confirmLabel:l,onConfirm:i,initialValue:c="",errorText:o="Please enter a valid email"}){const[d,v]=g.useState(c),[p,u]=g.useState(!1),m=d.trim(),j=Ms.test(m),h=p&&m.length>0&&!j,L=()=>{j&&i(m)};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,ariaLabel:r,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(ge,{"aria-hidden":!0}),disabled:!j,onClick:L,children:l})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ue,{type:"email",inputMode:"email",autoFocus:!0,value:d,placeholder:"you@example.com",error:h,supportingText:h?o:void 0,onChange:v,onBlur:()=>u(!0),containerClassName:"mt-2",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})})}const Is="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function Ds({chipNumber:t,chipLabel:a,isAdded:r,onEditClick:n,editButtonAriaLabel:l="Edit",onExpandClick:i,expandButtonAriaLabel:c="Expand",imageUrl:o,imageAlt:d,imageComponent:v,ratingLabel:p,bookedLabel:u,title:m,description:j,learnMoreLabel:h,onLearnMoreClick:L,learnMoreHref:N,dateLabel:y,locationLabel:w,priceInfoLabel:T,onPriceInfoClick:D,price:W,cta:I,className:z=""}){const[F,H]=g.useState(!1),U=r||F,_=U&&(p!=null||u!=null),S=U&&(y!=null||w!=null);return e.jsxs("div",{className:`flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${U?"gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]":"gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${z}`,children:[e.jsxs("div",{className:"flex w-full flex-col items-center",children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 ${U?"py-4":"pt-4"}`,children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-1.5",style:{background:"linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"},children:[e.jsx("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700",children:t}),e.jsx("p",{className:"min-w-0 flex-1 text-xs font-semibold leading-4 text-[#632E06]",children:a})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r&&n&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",onClick:n,"aria-label":l,children:e.jsx(ur,{"aria-hidden":!0,className:"size-[18px] text-[#1D2125]"})}),!r&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:()=>{H(V=>(i?.(!V),!V))},"aria-label":c,"aria-expanded":F,children:e.jsx(zt,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${F?"":"-scale-y-100"}`})})]})]}),U&&o!=null&&e.jsx("div",{className:"-mx-4 aspect-[2/1] self-stretch overflow-hidden ",children:v?e.jsx(v,{src:o,alt:d??"",className:"size-full object-cover"}):e.jsx("img",{src:o,alt:d,className:"size-full object-cover"})}),_&&e.jsxs("div",{className:"-mx-4 flex items-center gap-2.5 self-stretch px-4 py-1",style:{background:"linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)"},children:[p!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:p}),p!=null&&u!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),u!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:u})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-1",children:[e.jsx("h3",{className:"text-base font-bold leading-[22px] text-[#361407]",children:m}),e.jsx("p",{className:"w-full text-xs font-semibold leading-4 text-[#6B7280]",children:j})]}),U&&h!=null&&e.jsxs("a",{href:N,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",onClick:L,children:[h,e.jsx(Pr,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",children:[S&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[y!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ot,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:y})]}),w!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Is,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:w})]})]})]}),e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col items-start gap-0.5",children:[T!=null&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500",children:T}),D&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:D,"aria-label":"More info",children:e.jsx(xe,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:W})]}),e.jsx("div",{className:"shrink-0",children:I})]})]})]})]})}const nt={en:{heading:"Check the details to book your puja procedure",subtext:"These names and gotra will be taken by the priest",ancestorsLabel:"Names of the ancestors:",performerLabel:"Name of the performer:",gotraLabel:"Gotra",whatsappLabel:"Whatsapp number",editDetailsLabel:"Edit Details",payButtonTemplate:"Pay {amount}",emailLabel:"Email"},hi:{heading:"अपनी पूजा बुक करने के लिए जानकारी की जांच करें",subtext:"ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",ancestorsLabel:"पितृजन के नाम:",performerLabel:"कर्ता के नाम:",gotraLabel:"गोत्र",whatsappLabel:"Whatsapp नंबर",editDetailsLabel:"जानकारी बदले",payButtonTemplate:"{amount} भुगतान करें",emailLabel:"ईमेल"},kn:{heading:"ನಿಮ್ಮ ಪೂಜೆಯನ್ನು ಬುಕ್ ಮಾಡಲು ವಿವರಗಳನ್ನು ಪರಿಶೀಲಿಸಿ",subtext:"ಈ ಹೆಸರುಗಳು ಮತ್ತು ಗೋತ್ರಗಳನ್ನು ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಉಲ್ಲೇಖಿಸುತ್ತಾರೆ",ancestorsLabel:"ಪೂರ್ವಜರ ಹೆಸರುಗಳು:",performerLabel:"ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರು:",gotraLabel:"ಗೋತ್ರ",whatsappLabel:"ವಾಟ್ಸಾಪ್ ಸಂಖ್ಯೆ",editDetailsLabel:"ವಿವರಗಳನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ",payButtonTemplate:"{amount} ಪಾವತಿಸಿ",emailLabel:"ಇಮೇಲ್"},te:{heading:"మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",subtext:"ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",ancestorsLabel:"పితరుల పేర్లు:",performerLabel:"పూజ చేసే వారి పేరు:",gotraLabel:"గోత్రం",whatsappLabel:"WhatsApp నంబర్",editDetailsLabel:"మార్చండి",payButtonTemplate:"{amount} చెల్లించండి",emailLabel:"ఇమెయిల్"}},ma=t=>nt[t]??nt.en;function ha({children:t}){return e.jsx("div",{className:"inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5",children:t})}function ba({isOpen:t,onClose:a,locale:r="en",ancestors:n,kartaNames:l,gotra:i,whatsappNumber:c,amount:o,onEditDetailsClick:d,onProceedPayment:v,className:p,isGlobal:u=!1}){const m=ma(r),j=m.payButtonTemplate.replace("{amount}",o);return e.jsx(je,{isOpen:t,onClose:a,showDragHandle:!1,closeButtonOutside:!0,ariaLabel:m.heading,className:f.cn("rounded-t-[20px] bg-[#f7f8f9]",p),header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-0.5 px-4 pt-4",children:[e.jsx("p",{className:"text-center text-[18px] leading-6 font-bold text-[#22272b]",children:m.heading}),e.jsx("p",{className:"text-center text-[14px] leading-5 font-normal text-[#6b7280]",children:m.subtext})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-3 px-4 pb-4",children:[e.jsx(Y,{variant:"outline",size:"lg",className:"h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",onClick:d,children:m.editDetailsLabel}),e.jsx(Y,{variant:"primary",size:"lg",className:"h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:v,children:j})]}),children:e.jsx("div",{className:"flex w-full flex-col gap-4 px-4 py-3",children:e.jsxs("div",{className:"flex w-full flex-col gap-3 rounded-lg bg-white py-3",children:[e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:m.ancestorsLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:n.map(h=>e.jsxs(ha,{children:[e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:h.value}),h.label&&e.jsxs("span",{className:"text-[10px] leading-3.5 font-medium text-[#6b7280]",children:["(",h.label,")"]})]},h.id))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:m.performerLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:l.filter(h=>h.trim().length>0).map((h,L)=>e.jsx(ha,{children:e.jsxs("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:[L+1,". ",h]})},L))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-2 px-3",children:[e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:m.gotraLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:i})]}),e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:u?m.emailLabel:m.whatsappLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:c})]})]})]})})})}const lt={en:{heading:"I do not know my Lineage(Gotra), what should I do?",body:"If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",okayLabel:"Okay",closeButtonAriaLabel:"Close"},hi:{heading:"मुझे अपना गोत्र पता नहीं, क्या उपाई है?",body:"अगर आप अपना गोत्र नहीं जानते हैं, तो ऐसी स्थिति में आप अपना गोत्र कश्यप मान सकते हैं, क्योंकि ऋषि कश्यप एक ऐसे ऋषि थे, जिनके वंशज हर जाति में पाए जाते हैं। इसलिए, उन्हें एक पूजनीय ऋषि माना जाता है। पूजा के दौरान पंडित जी कश्यप गोत्र का ही उच्चारण करेंगे।",okayLabel:"ठीक है",closeButtonAriaLabel:"बंद करें"},kn:{heading:"ನನಗೆ ನನ್ನ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲ, ನಾನು ಏನು ಮಾಡಬೇಕು?",body:"ನಿಮಗೆ ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಕಶ್ಯಪ ಋಷಿಯ ವಂಶಸ್ಥರು ಪ್ರತಿಯೊಂದು ಜಾತಿಯಲ್ಲಿಯೂ ಕಂಡುಬರುವುದರಿಂದ ನಿಮ್ಮ ಗೋತ್ರವನ್ನು ಕಶ್ಯಪ ಎಂದು ಪರಿಗಣಿಸಬಹುದು. ಆದ್ದರಿಂದ ಅವರನ್ನು ಪೂಜ್ಯ ಋಷಿ ಎಂದು ಪರಿಗಣಿಸಲಾಗುತ್ತದೆ. ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಈ ವಿವರಗಳನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ.",okayLabel:"ಸರಿ",closeButtonAriaLabel:"ಮುಚ್ಚಿ"},te:{heading:"నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",body:"మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",okayLabel:"సరే",closeButtonAriaLabel:"మూసివేయండి"}},it=t=>lt[t]??lt.en;function ga({isOpen:t,onClose:a,onOkayClick:r,locale:n="en",className:l}){const i=it(n);return e.jsx(je,{isOpen:t,onClose:a,showCloseButton:!1,showDragHandle:!1,ariaLabel:i.heading,className:f.cn("rounded-t-[20px]",l),header:e.jsxs("div",{className:"flex w-full items-start gap-3 px-4 pt-5 pb-3",children:[e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#22272b]",children:i.heading}),e.jsx("button",{type:"button",onClick:a,"aria-label":i.closeButtonAriaLabel,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",children:e.jsx(Cr,{size:24,"aria-hidden":!0})})]}),footer:e.jsx("div",{className:"w-full px-4 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:()=>{r?.(),a()},children:i.okayLabel})}),children:e.jsx("p",{className:"w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]",children:i.body})})}const ot={en:{topBarTitle:"Fill in necessary details for Puja",backButtonAriaLabel:"Go back",whatsappNumberLabel:"Add your WhatsApp number",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"Puja updates will be sent to this number",emailLabel:"Add your email",emailPlaceholder:"Enter your email",emailHelperText:"Puja updates will be sent to this email",kartaNameSectionTitle:"Enter the name of the people performing the puja for their ancestors (Karta)",kartaNameLabel:"Karta's name",kartaNameOptionalSuffix:"(optional)",kartaNamePlaceholder:"Name to be taken in the Puja",nameMinLengthError:"Name must be at least 3 characters",ancestorNameRequiredError:"Please enter your ancestor’s name to proceed",gotraFieldLabel:"Enter Karta’s Gotra (person performing puja)*",gotraFieldPlaceholder:"Enter Karta’s Gotra (if known)",gotraUnknownCheckboxLabel:"If you don’t know your Gotra, select this",gotraUnknownHelperText:"As per scriptures, the Sankalp can be taken with Kashyap Gotra, allowing you to receive the full benefit of the puja",ancestorNameSectionTitle:"Who is this puja for?",ancestorNameSectionSubtitle:"Enter the name of your ancestors",ancestorNameFieldSuffix:"name",sarvaPitruSectionSubtitle:"Your ancestors",sarvaPitruFieldValue:"For all ancestors",sarvaPitruHelperText:"This will be recited by the Pandit during puja",latePrefixLabel:"Late",proceedCtaLabel:"Proceed to fill details",kashyapGotraLabel:"Kashyap"},hi:{topBarTitle:"पूजा के लिए ज़रूरी विवरण भरे",backButtonAriaLabel:"वापस जाएं",whatsappNumberLabel:"अपना व्हाट्सएप नंबर जोड़ें",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"पूजा से जुड़ी जानकारी इस नंबर पर भेजी जाएगी",emailLabel:"अपना ईमेल जोड़ें",emailPlaceholder:"अपना ईमेल दर्ज करें",emailHelperText:"पूजा से जुड़ी जानकारी इस ईमेल पर भेजी जाएगी",kartaNameSectionTitle:"पितरों के लिए पूजा करने वाले व्यक्ति का नाम भरे (कर्ता)",kartaNameLabel:"कर्ता का नाम",kartaNameOptionalSuffix:"(वैकल्पिक)",kartaNamePlaceholder:"पूजा में लिया जाने वाला नाम",nameMinLengthError:"नाम कम से कम 3 अक्षर का होना चाहिए",ancestorNameRequiredError:"आगे बढ़ने के लिए कृपया अपने पूर्वज का नाम दर्ज करें",gotraFieldLabel:"कर्ता का गोत्र भरें (पूजा करने वाले व्यक्ति का)*",gotraFieldPlaceholder:"कर्ता का गोत्र भरें (यदि ज्ञात हो)",gotraUnknownCheckboxLabel:"अगर आपको गोत्र नहीं पता तो इसे चुनें",gotraUnknownHelperText:"शास्त्रों के अनुसार कश्यप गोत्र से पूजा में संकल्प लिया जा सकता है इससे आपको पूजा का पूर्ण लाभ प्राप्त होता है",ancestorNameSectionTitle:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",ancestorNameSectionSubtitle:"पितृजन का नाम भरें",ancestorNameFieldSuffix:"का नाम",sarvaPitruSectionSubtitle:"पितृजन का नाम",sarvaPitruFieldValue:"सर्वपितृ के लिए",sarvaPitruHelperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा",latePrefixLabel:"स्व.",proceedCtaLabel:"आगे बढ़ें, और डिटेल्स भरें",kashyapGotraLabel:"कश्यप"},te:{topBarTitle:"పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",backButtonAriaLabel:"వెనక్కి వెళ్ళండి",whatsappNumberLabel:"మీ వాట్సాప్ నంబర్ జోడించండి",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"పూజ నవీకరణలు ఈ నంబర్కు పంపబడతాయి",emailLabel:"మీ ఇమెయిల్ జోడించండి",emailPlaceholder:"మీ ఇమెయిల్ నమోదు చేయండి",emailHelperText:"పూజ నవీకరణలు ఈ ఇమెయిల్కు పంపబడతాయి",kartaNameSectionTitle:"పితరుల కోసం పూజ చేసే వ్యక్తుల పేరు నమోదు చేయండి (కర్త)",kartaNameLabel:"కర్త పేరు",kartaNameOptionalSuffix:"(ఐచ్ఛికం)",kartaNamePlaceholder:"పూజలో తీసుకోవలసిన పేరు",nameMinLengthError:"పేరు కనీసం 3 అక్షరాలు ఉండాలి",ancestorNameRequiredError:"కొనసాగడానికి దయచేసి మీ పూర్వీకుల పేరును నమోదు చేయండి",gotraFieldLabel:"*కర్త గోత్రం నమోదు చేయండి (పూజ చేసే వ్యక్తి)",gotraFieldPlaceholder:"కర్త గోత్రం నమోదు చేయండి (తెలిస్తే)",gotraUnknownCheckboxLabel:"మీ గోత్రం తెలియకపోతే, ఇది ఎంచుకోండి",gotraUnknownHelperText:"శాస్త్రాల ప్రకారం, సంకల్పం కశ్యప గోత్రంతో చేయవచ్చు, ఇది పూజ యొక్క పూర్తి ఫలం పొందడానికి అనుమతిస్తుంది",ancestorNameSectionTitle:"ఈ పూజ ఎవరి కోసం?",ancestorNameSectionSubtitle:"మీ పితరుల పేరు నమోదు చేయండి",ancestorNameFieldSuffix:"పేరు",sarvaPitruSectionSubtitle:"మీ పితరులు",sarvaPitruFieldValue:"సర్వ పితరుల కోసం",sarvaPitruHelperText:"ఇది పూజ సమయంలో పండితుడు ఉచ్చరిస్తారు",latePrefixLabel:"దివంగత",proceedCtaLabel:"వివరాలు నమోదు చేయండి",kashyapGotraLabel:"కశ్యప"},kn:{topBarTitle:"ಪೂಜೆಗಾಗಿ ಅಗತ್ಯವಿರುವ ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ",backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",whatsappNumberLabel:"ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ನಂಬರ್ ಹಾಕಿ",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"ಪೂಜೆಯ ಅಪ್ಡೇಟ್ಗಳನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",emailLabel:"ನಿಮ್ಮ ಇಮೇಲ್ ಸೇರಿಸಿ",emailPlaceholder:"ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",emailHelperText:"ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಇಮೇಲ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",kartaNameSectionTitle:"ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",kartaNameLabel:"ಕರ್ತೃವಿನ ಹೆಸರು",kartaNameOptionalSuffix:"(ಐಚ್ಛಿಕ)",kartaNamePlaceholder:"ಪೂಜೆಯಲ್ಲಿ ಉಲ್ಲೇಖಿಸಬೇಕಾದ ಹೆಸರು",nameMinLengthError:"ಹೆಸರು ಕನಿಷ್ಠ 3 ಅಕ್ಷರಗಳಿರಬೇಕು",ancestorNameRequiredError:"ಮುಂದುವರಿಯಲು ದಯವಿಟ್ಟು ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",gotraFieldLabel:"ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ಪೂಜೆ ನೆರವೇರಿಸುವ ವ್ಯಕ್ತಿ)*",gotraFieldPlaceholder:"ಕರ್ತೃ ಗೋತ್ರ ನಮೂದಿಸಿ (ತಿಳಿದಿದ್ದರೆ)",gotraUnknownCheckboxLabel:"ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ",gotraUnknownHelperText:"ಶಾಸ್ತ್ರಗಳ ಪ್ರಕಾರ, ಕಶ್ಯಪ ಗೋತ್ರದೊಂದಿಗೆ ಸಂಕಲ್ಪವನ್ನು ಮಾಡಬಹುದು, ಇದು ನಿಮಗೆ ಪೂಜೆಯ ಸಂಪೂರ್ಣ ಫಲವನ್ನು ಪಡೆಯಲು ಅನುವು ಮಾಡಿಕೊಡುತ್ತದೆ",ancestorNameSectionTitle:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",ancestorNameSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",ancestorNameFieldSuffix:"ಹೆಸರು",sarvaPitruSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರು",sarvaPitruFieldValue:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",sarvaPitruHelperText:"ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ",latePrefixLabel:"ದಿವಂಗತ",proceedCtaLabel:"ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",kashyapGotraLabel:"ಕಶ್ಯಪ"}},ja=t=>{const a=ot.en,r=ot[t];return r?Object.fromEntries(Object.keys(a).map(n=>[n,r[n]||a[n]])):a},va={en:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"],hi:["पहले","दूसरे","तीसरे","चौथे","पांचवें","छठे","सातवें","आठवें","नौवें","दसवें"],te:["1వ","2వ","3వ","4వ","5వ","6వ","7వ","8వ","9వ","10వ"],kn:["1ನೇ","2ನೇ","3ನೇ","4ನೇ","5ನೇ","6ನೇ","7ನೇ","8ನೇ","9ನೇ","10ನೇ"]},zs={en:"th",hi:"वें",te:"వ",kn:"ನೇ"},ya=(t,a)=>{const r=a in va?a:"en";return va[r][t-1]??`${t}${zs[r]}`},ct=40,Fs=3,dt="+91",Hs=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,Vs=/[^\p{L}\s]/gu,Na=t=>t.replace(Vs,""),Oe=t=>t.trim().length>=Fs;function $s({locale:t="en",values:a,onValuesChange:r,isGlobal:n=!1,gotraOptions:l=[],isSarvaPitru:i=!1,onBackClick:c,amount:o,ritualsCountLabel:d,onPriceInfoClick:v,showPriceInfoIcon:p=!0,canProceed:u,copy:m,proceedCtaLabel:j,proceedButtonProps:h,onProceedPayment:L,onProceedCtaClick:N,onConfirmModalOpen:y,onConfirmEditDetailsClick:w,onConfirmModalDismiss:T,onGotraInfoOpen:D,onGotraInfoOkayClick:W,className:I}){const[z,F]=g.useState(!1),[H,U]=g.useState(!1),_=ja(t),S=m?Object.fromEntries(Object.keys(_).map(k=>[k,m[k]||_[k]])):_,V=it(t),J=k=>{const Q=ya(k+1,t);return k===0?`*${Q} ${S.kartaNameLabel}`:`${Q} ${S.kartaNameLabel} ${S.kartaNameOptionalSuffix}`},G=k=>r({...a,...k}),ne=(k,Q)=>{const re=[...a.kartaNames];re[k]=Na(Q),G({kartaNames:re})},Z=(k,Q)=>{G({ancestors:a.ancestors.map(re=>re.id===k?{...re,value:Na(Q)}:re)})},[ae,le]=g.useState(new Set),A=k=>le(Q=>new Set(Q).add(k)),M=k=>k.length>0&&!Oe(k),oe=k=>k.value.length>0?Oe(k.value)?void 0:S.nameMinLengthError:ae.has(k.id)?S.ancestorNameRequiredError:void 0,[de,ce]=g.useState(!1),pe=g.useRef(null);g.useEffect(()=>{if(!de)return;const k=Q=>{pe.current&&!pe.current.contains(Q.target)&&ce(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[de]);const we=l.filter(k=>k.toLowerCase().includes(a.gotra.trim().toLowerCase())),Ce=k=>{G({gotra:k,isGotraUnknown:k.trim()===S.kashyapGotraLabel})},Le=k=>{Ce(k),ce(!1)},Re=()=>{const k=!a.isGotraUnknown;G({isGotraUnknown:k,gotra:k?S.kashyapGotraLabel:""})},me=f.getMaxLengthForCountry(dt),Ue=f.validatePhoneByCountryCode(a.whatsappNumber,dt).isValid,Me=Hs.test(a.email),xt=a.whatsappNumber.length>0&&!Ue,pt=a.email.length>0&&!Me,ke=(n?Me:a.whatsappNumber.trim().length>0&&Ue)&&Oe(a.kartaNames[0])&&a.kartaNames.slice(1).every(k=>k.trim().length===0||Oe(k))&&a.gotra.trim().length>0&&a.ancestors.every(k=>Oe(k.value)),he=u??ke,We=a.gotra.trim().length>0?a.gotra:S.kashyapGotraLabel,Ke=n?a.email:a.whatsappNumber,Se=t;return e.jsxs("div",{className:f.cn("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",I),children:[e.jsxs("div",{className:"flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ",children:[e.jsx("button",{type:"button",onClick:c,"aria-label":S.backButtonAriaLabel,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("p",{className:"text-[18px] leading-5 font-bold text-[#1d2125]",children:S.topBarTitle})]}),e.jsx("div",{className:"flex w-full flex-1 flex-col items-center gap-4 px-4 py-4",children:e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:n?S.emailLabel:S.whatsappNumberLabel}),n?e.jsx(ue,{type:"email",inputMode:"email",value:a.email,placeholder:S.emailPlaceholder,error:pt,onChange:k=>G({email:k}),containerClassName:"w-full gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"}):e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsxs("div",{className:"flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",children:[e.jsx("span",{className:"text-[20px] leading-7","aria-hidden":!0,children:f.getFlagEmoji("IN")}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:dt})]}),e.jsx(ue,{type:"tel",inputMode:"numeric",value:a.whatsappNumber,placeholder:S.whatsappNumberPlaceholder,maxLength:me,error:xt,onChange:k=>G({whatsappNumber:k.replace(/\D/g,"").slice(0,me)}),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:n?S.emailHelperText:S.whatsappNumberHelperText})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5",children:[e.jsx(ve,{size:"sm",icon:e.jsx(Jr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsx("p",{className:"flex-1 text-[16px] leading-[22px] font-bold text-[#22272b]",children:S.kartaNameSectionTitle})]}),e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:a.kartaNames.map((k,Q)=>e.jsx(ue,{label:J(Q),placeholder:S.kartaNamePlaceholder,value:k,maxLength:ct,showCharCount:!0,error:M(k),supportingText:M(k)?S.nameMinLengthError:void 0,wrapperClassName:f.cn("h-12 rounded-xl"),onChange:re=>ne(Q,re)},Q))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{ref:pe,className:"relative flex w-full flex-col gap-2",children:[e.jsx("label",{htmlFor:"karta-gotra",className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:S.gotraFieldLabel}),e.jsxs("div",{className:"flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",children:[e.jsx("input",{id:"karta-gotra",value:a.gotra,placeholder:S.gotraFieldPlaceholder,maxLength:ct,autoComplete:"off",onFocus:()=>ce(!0),onChange:k=>{Ce(k.target.value),ce(!0)},className:"w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"}),e.jsx("button",{type:"button",onClick:()=>{U(!0),D?.()},"aria-label":V.heading,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",children:e.jsx(xe,{size:24,"aria-hidden":!0})})]}),de&&we.length>0&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children:we.map(k=>e.jsx("button",{type:"button",role:"option","aria-selected":k===a.gotra,onClick:()=>Le(k),className:f.cn("flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",k===a.gotra&&"bg-[#fff9e9]"),children:k},k))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("button",{type:"button",onClick:Re,"aria-pressed":a.isGotraUnknown,className:"flex items-center gap-1 border-0 bg-transparent p-0",children:[a.isGotraUnknown?e.jsx(Tr,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0}):e.jsx(Lr,{size:24,className:"shrink-0 text-[#d1d5db]","aria-hidden":!0}),e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:S.gotraUnknownCheckboxLabel})]}),e.jsx("p",{className:"text-[10px] leading-[14px] font-medium text-[#6b7280]",children:S.gotraUnknownHelperText})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5 px-3 pt-3 pb-2",children:[e.jsx(ve,{size:"sm",icon:e.jsx(Xr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsx("p",{className:"text-[16px] leading-[22px] font-bold text-[#22272b]",children:S.ancestorNameSectionTitle}),e.jsx("p",{className:"text-[14px] leading-5 font-normal text-[#6b7280]",children:i?S.sarvaPitruSectionSubtitle:S.ancestorNameSectionSubtitle})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2.5 p-3 pt-0",children:[i&&e.jsxs("div",{className:"flex w-full flex-col items-start gap-1",children:[e.jsx("div",{className:"flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3",children:e.jsx("span",{className:"text-[16px] leading-5.5 font-medium text-[#374151]",children:S.sarvaPitruFieldValue})}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:S.sarvaPitruHelperText})]}),a.ancestors.map(k=>{const Q=oe(k);return e.jsx(ue,{label:`*${k.label} ${S.ancestorNameFieldSuffix}`,value:k.value,prefix:S.latePrefixLabel,placeholder:S.kartaNamePlaceholder,maxLength:ct,showCharCount:!0,error:Q!=null,supportingText:Q,wrapperClassName:"h-12 rounded-xl",onChange:re=>Z(k.id,re),onBlur:()=>A(k.id)},k.id)})]})]})]})}),e.jsx("div",{className:"sticky bottom-0 w-full",children:e.jsx(Ve,{amount:o,subtitle:d,onInfoClick:v,showInfoIcon:p,proceedLabel:j??S.proceedCtaLabel,onProceed:()=>{F(!0),N?.(),y?.()},growProceedButton:!0,proceedButtonProps:{disabled:!he,...h}})}),e.jsx(ba,{isGlobal:n,isOpen:z,onClose:()=>{F(!1),T?.()},onEditDetailsClick:()=>{F(!1),w?.()},locale:t,ancestors:i?[{id:"sarva-pitru",label:"",value:S.sarvaPitruFieldValue},...a.ancestors]:a.ancestors,kartaNames:a.kartaNames,gotra:We,whatsappNumber:Ke,amount:o,onProceedPayment:()=>{F(!1),L()}}),e.jsx(ga,{isOpen:H,onClose:()=>U(!1),onOkayClick:W,locale:Se})]})}function Gs(t=3,a=[]){return{whatsappNumber:"",email:"",kartaNames:Array.from({length:Math.max(1,t)},()=>""),gotra:"",isGotraUnknown:!1,ancestors:a}}function wa({date:t}){return e.jsx("div",{className:"flex w-full items-center justify-center rounded-[20px] px-5 py-0.5",style:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0) 80%, rgba(255,255,255,0) 100%), linear-gradient(90deg, rgba(252,204,223,0) 0%, rgba(252,204,223,0) 20%, rgb(252,204,223) 30%, rgb(252,204,223) 70%, rgba(252,204,223,0) 80%, rgba(252,204,223,0) 100%)"},children:e.jsx("p",{className:"whitespace-nowrap text-center text-[10px] font-medium leading-3.5 text-[rgba(28,27,27,0.8)]",children:t})})}const Us="https://srm-cdn.a4b.io/yoda/1788173590414.svg",Ca="https://srm-cdn.a4b.io/yoda/1788173668895.svg";function La({badgeLabel:t,dateLabel:a,className:r}){return e.jsxs("div",{className:f.cn("flex flex-col items-center gap-1",r),children:[e.jsxs("div",{className:"relative flex size-22.5 items-center justify-center",children:[e.jsx("img",{src:Ca,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full",style:{maskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)"}}),e.jsx("img",{src:Ca,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full blur-sm",style:{maskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)",WebkitMaskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)"}}),e.jsx("img",{src:Us,alt:"Sri Mandir",className:"relative z-10 mt-3 h-14 w-auto object-contain"})]}),e.jsxs("p",{className:"-mt-2.75 text-xs font-semibold text-[#d51f68]",children:["✦ ",t," ✦"]}),a&&e.jsx(wa,{date:a})]})}const ka="https://srm-cdn.a4b.io/yoda/1788256892735.svg",Ws="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Ks="https://srm-cdn.a4b.io/yoda/1788256867970.svg",Ys="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Zs="https://srm-cdn.a4b.io/yoda/1788256935709.svg",qs="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function Qs({variant:t}){return e.jsxs("div",{className:"relative size-10 shrink-0 overflow-clip rounded-full",children:[t==="pandits"&&e.jsxs(e.Fragment,{children:[e.jsx("img",{src:ka,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:ka,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:Ws,alt:"","aria-hidden":!0,className:"absolute left-[1.98px] top-[5.98px] size-[36.045px]"})]}),t==="gotra"&&e.jsxs("div",{className:"absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]"}),e.jsx("div",{className:"absolute inset-[0_9.1%_0_9.07%]",children:e.jsx("img",{src:Ks,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]}),t==="video"&&e.jsxs("div",{className:"absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[9.31%_4.02%_27.36%_4.17%]",children:e.jsx("img",{src:Ys,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[30.03%_39.59%_48.06%_40.83%]",children:e.jsx("img",{src:Zs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[80%_4.16%_9.17%_5.42%]",children:e.jsx("img",{src:qs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}function Xs({badgeLabel:t,headingPrefix:a,ritualCount:r,ritualCountLabel:n,headingSuffix:l,trustItems:i}){return e.jsxs("section",{className:"relative flex w-full flex-col items-center gap-3 rounded-b-4xl border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4 z-20",children:[e.jsx(La,{badgeLabel:t,className:"w-full"}),e.jsxs("p",{className:"px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]",children:[a,r," ",n," ",l]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:i.map(c=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(Qs,{variant:c.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:c.text})]},c.variant))})]})}const Js=40;function en({isOpen:t,onClose:a,onSave:r,title:n,fieldLabel:l,namePrefix:i,namePlaceholder:c,addMoreLabel:o,saveCta:d,maxNameLength:v=Js}){const[p,u]=g.useState([""]),m=()=>u([""]),j=N=>{m(),a(N)},h=()=>{const N=p.map(y=>y.trim()).filter(Boolean);N.length!==0&&(r(N),m())},L=p.some(N=>N.trim().length>0);return e.jsx(f.BottomSheet,{isOpen:t,onClose:j,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:n,header:e.jsx("p",{className:"px-4 py-2 text-center text-[16px] leading-5.5 font-semibold text-[#47250c]",children:n}),footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(ge,{"aria-hidden":!0}),disabled:!L,onClick:h,children:d})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2.5 px-4 py-3",children:[p.map((N,y)=>e.jsx(ue,{label:l,placeholder:c,value:N,prefix:i,maxLength:v,showCharCount:!0,onChange:w=>u(T=>T.map((D,W)=>W===y?w:D))},y)),e.jsx(Y,{variant:"ghost",size:"sm",className:"self-start text-[#f75e22]",leftIcon:e.jsx(kr,{"aria-hidden":!0}),onClick:()=>u(N=>[...N,""]),children:o})]})})}function tn(t){return t.replace(/Grand(father|mother)/gi,"Grand $1")}function Sa({label:t,avatarUrl:a,state:r,onClick:n}){return e.jsxs("button",{type:"button",disabled:!n,onClick:n,className:`flex w-18 shrink-0 flex-col items-center gap-1 rounded-xl px-2 disabled:pointer-events-none ${r==="enabled"?"bg-linear-to-b from-transparent to-[#fef5e9] border-b border-[#f99724] py-1":"bg-transparent py-0.5"}`,children:[e.jsxs("div",{className:"relative flex size-8 shrink-0 items-center justify-center",children:[e.jsx("div",{className:`size-full overflow-hidden rounded-full bg-[#fff9e9] ${r==="disabled"?"opacity-60 grayscale":""}`,children:e.jsx("img",{src:a,alt:"",className:"size-full object-cover"})}),r==="filled"&&e.jsx("span",{className:"absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-[#159169]",children:e.jsx(Kr,{size:8,className:"text-white","aria-hidden":!0})})]}),e.jsx("p",{className:`w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${r==="enabled"?"text-[#f75e22]":r==="filled"?"text-[#374151]":"text-[#9ca3af]"}`,children:tn(t)})]})}const ut="all",_a=[{id:ut,labelKey:"selectAncestorsOptionAll"},{id:"mother",labelKey:"selectAncestorsOptionMother",gender:"female"},{id:"father",labelKey:"selectAncestorsOptionFather",gender:"male"},{id:"wife",labelKey:"selectAncestorsOptionWife",gender:"female"},{id:"husband",labelKey:"selectAncestorsOptionHusband",gender:"male"},{id:"grandfatherPaternal",labelKey:"selectAncestorsOptionGrandfatherPaternal",gender:"male"},{id:"grandmotherPaternal",labelKey:"selectAncestorsOptionGrandmotherPaternal",gender:"female"},{id:"grandfatherMaternal",labelKey:"selectAncestorsOptionGrandfatherMaternal",gender:"male"},{id:"grandmotherMaternal",labelKey:"selectAncestorsOptionGrandmotherMaternal",gender:"female"},{id:"greatGrandfatherPaternal",labelKey:"selectAncestorsOptionGreatGrandfatherPaternal",gender:"male"},{id:"greatGrandmotherPaternal",labelKey:"selectAncestorsOptionGreatGrandmotherPaternal",gender:"female"},{id:"greatGrandfatherMaternal",labelKey:"selectAncestorsOptionGreatGrandfatherMaternal",gender:"male"},{id:"greatGrandmotherMaternal",labelKey:"selectAncestorsOptionGreatGrandmotherMaternal",gender:"female"}],Pa="https://srm-cdn.a4b.io/yoda/1788334548628.webp",Ta="https://srm-cdn.a4b.io/yoda/1788334564281.webp",Aa="https://srm-cdn.a4b.io/yoda/1789386222504.svg",an="https://srm-cdn.a4b.io/yoda/1789653082304.webp";function Ea(t){if(t===ut)return an;const a=_a.find(r=>r.id===t);return a?a.gender==="female"?Ta:Pa:Aa}const rn=[{value:"tithi",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883529190.svg",titleKey:"deathTithiOption1Title",subtextKey:"deathTithiOption1Subtext"},{value:"date",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883546461.svg",titleKey:"deathTithiOption2Title",subtextKey:"deathTithiOption2Subtext"},{value:"unknown",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883557171.svg",titleKey:"deathTithiOption3Title",subtextKey:"deathTithiOption3Subtext"}],sn=["tithiNamePratipada","tithiNameDvitiya","tithiNameTritiya","tithiNameChaturthi","tithiNamePanchami","tithiNameShashthi","tithiNameSaptami","tithiNameAshtami","tithiNameNavami","tithiNameDashami","tithiNameEkadashi","tithiNameDvadashi","tithiNameTrayodashi","tithiNameChaturdashi","tithiNameAmavasya"];function nn({entries:t,viewedIndex:a,isEntryFilled:r,isEntryReachable:n,onSelect:l,className:i}){return e.jsx("div",{className:f.cn("flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",i),children:t.map((c,o)=>{const d=r(c.key),v=n(o),p=o===a?"enabled":d?"filled":"disabled";return e.jsxs(g.Fragment,{children:[e.jsx(Sa,{label:c.label,avatarUrl:Ea(c.key),state:p,onClick:v?()=>l(o):void 0}),o<t.length-1&&e.jsx("div",{className:`-mx-5 mt-4 h-0.5 w-10 shrink-0 ${d?"bg-[#159169]":"bg-[rgba(28,27,27,0.05)]"}`})]},c.key)})})}const ln="https://srm-cdn.a4b.io/yoda/1788163138113.svg";function on({isOpen:t,onClose:a,avatarUrl:r,heading:n,ctaLabel:l,onCtaClick:i,cardIcon:c,cardTitle:o,cardDescription:d,cardTag:v,cardTagClassName:p="bg-[#1d79fc] text-white"}){return t?e.jsx("div",{className:"avatar-card-dialog",role:"presentation",onClick:u=>{u.target===u.currentTarget&&a()},children:e.jsxs("div",{className:"avatar-card-dialog__card",children:[e.jsxs("div",{className:"avatar-card-dialog__avatar",children:[e.jsx("img",{src:ln,alt:"",className:"avatar-card-dialog__avatar-glow"}),e.jsx("img",{src:r,alt:"",className:"avatar-card-dialog__avatar-image"})]}),e.jsxs("div",{className:"avatar-card-dialog__content",children:[e.jsx("p",{className:"avatar-card-dialog__heading",children:n}),e.jsx(Fe,{selected:!0,showRadio:!1,tag:v,tagClassName:p,icon:c,iconClassName:"bg-white",title:o,description:d})]}),e.jsx(Y,{variant:"primary",size:"md",className:"avatar-card-dialog__button",onClick:i,children:l})]})}):null}function Oa(t){if(!t)return;const[a,r,n]=t.split("-").map(Number);return{day:n,month:r,year:a}}function cn({day:t,month:a,year:r}){return`${r}-${String(a).padStart(2,"0")}-${String(t).padStart(2,"0")}`}function dn(t="en-IN"){const a=new Intl.DateTimeFormat(t,{month:"long"});return Array.from({length:12},(r,n)=>a.format(new Date(2e3,n,1)))}function un(t,a){const r=Oa(t);return r?`${r.day} ${a[r.month-1]} ${r.year}`:t}function fn(t){return O({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"},child:[]}]})(t)}const ft={en:{title:"Who is this puja for?",subtitle:"Your ancestors",value:"For all ancestors",helperText:"This will be recited by the Pandit during puja"},hi:{title:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",subtitle:"पितृजन का नाम",value:"सर्वपितृ के लिए",helperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"},te:{title:"ఈ పూజ ఎవరి కోసం?",subtitle:"మీ పితరులు",value:"సర్వ పితరుల కోసం",helperText:"పూజ సమయంలో పండితుడు దీనిని పఠిస్తారు"},kn:{title:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",subtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರು",value:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",helperText:"ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಪಠಿಸುತ್ತಾರೆ"}},Ra=t=>ft[t]??ft.en,Ma=g.forwardRef(({locale:t="en",title:a,subtitle:r,value:n,helperText:l,icon:i,className:c,headerClassName:o,valueBoxClassName:d,helperTextClassName:v,...p},u)=>{const m=Ra(t);return e.jsxs("div",{ref:u,className:f.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",c),...p,children:[e.jsxs("div",{className:f.cn("flex items-center gap-3",o),children:[e.jsx(ve,{icon:i??e.jsx(fn,{size:22,"aria-hidden":!0}),size:"lg"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-lg leading-6 font-bold text-[#1d2125]",children:a??m.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:r??m.subtitle})]})]}),e.jsx("div",{className:f.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",d),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:n??m.value})}),e.jsx("p",{className:f.cn("mt-3 text-sm leading-4.5 text-gray-500",v),children:l??m.helperText})]})});Ma.displayName="SarvaPitruCard";function $e(t,a){return t.find(r=>r[a]!=null)}function xn(t){const a=t.data.cards,r=$e(a,"store"),n=$e(a,"user_reviews"),l=$e(a,"pooja_benefits"),i=$e(a,"location_details"),c=r?.store,o=c?.location_details.temple_details,d=i?.location_details,v=n?.user_reviews.reviews??[],p=l?.pooja_benefits.benefits;return{detailImages:c?.info_media.filter(u=>u.type==="image").map(u=>u.media_url)??[],title:c?.pooja_title||c?.name||"",description:c?.description??"",pooja_usecase:c?.pooja_usecase??"",pooja_specificity:c?.pooja_specificity??"",dateLabel:c?.process_date??"",locationLabel:c?.location??"",detailTempleSignificance:o?.name?{question:o.name,imageUrl:o.image,paragraphs:[o.description,o.location].filter(u=>!!u)}:d?.location_name?{question:d.header||d.location_name,imageUrl:d.image,paragraphs:[d.location_description].filter(u=>!!u)}:void 0,detailBenefits:p?.map(u=>({icon:u.icon,title:u.title,description:u.description})),devoteesReviews:v.map(u=>({name:u.name,date:u.date,stars:u.rating,text:u.suggestion}))}}const pn="https://srm-cdn.a4b.io/yoda/1788256961374.svg",mn="https://srm-cdn.a4b.io/yoda/1789996033193.svg",Ge=t=>typeof t=="number"?`${t}px`:t;function Ba({className:t}){return e.jsx("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M3.84784 3.47359C3.93563 3.54802 4.06436 3.54802 4.15214 3.47359C4.98402 2.76841 5.41175 2.08403 5.41175 1.41177C5.41177 0.632062 4.77969 0 4 0C3.22031 0 2.58823 0.632062 2.58823 1.41177C2.58823 2.08403 3.01597 2.76841 3.84784 3.47359ZM3.84784 4.52641C3.01597 5.23159 2.58823 5.91597 2.58823 6.58823C2.58823 7.36794 3.2203 8 4 8C4.7797 8 5.41177 7.36794 5.41177 6.58823C5.41177 5.91597 4.98403 5.23159 4.15216 4.52641C4.06436 4.45198 3.93564 4.45198 3.84784 4.52641ZM3.47359 4.15216C3.54802 4.06437 3.54802 3.93564 3.47359 3.84786C2.76839 3.01598 2.08402 2.58825 1.41177 2.58825C0.632062 2.58823 0 3.2203 0 4C0 4.7797 0.632062 5.41177 1.41177 5.41177C2.08403 5.41177 2.76841 4.98403 3.47359 4.15216ZM4.52641 4.15216C5.23161 4.98403 5.91598 5.41177 6.58823 5.41177C7.36794 5.41177 8 4.7797 8 4C8 3.2203 7.36794 2.58823 6.58823 2.58823C5.91597 2.58823 5.23159 3.01597 4.52641 3.84784C4.45198 3.93564 4.45198 4.06436 4.52641 4.15216Z",fill:"#F45494"})})}function hn({badgeLabel:t,dateRangeLabel:a,headline:r,mandalaWidth:n=225,mandalaTop:l=-149,showMandala:i=!0,mandalaLeft:c,mandalaRight:o,className:d}){const v=c!==void 0?{left:Ge(c)}:o!==void 0?{right:Ge(o)}:{left:"50%",transform:"translateX(-50%)"};return e.jsxs("div",{className:f.cn("relative flex w-full flex-col items-center gap-3 overflow-hidden bg-gradient-to-b from-[#FFF9E9] to-white pt-2 pb-4",d),children:[i&&e.jsx("img",{src:mn,alt:"","aria-hidden":!0,className:"pointer-events-none absolute z-0 h-auto",style:{width:Ge(n),top:Ge(l),...v}}),e.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-1",children:[e.jsx("img",{src:pn,alt:"Sri Mandir",className:"h-14 w-auto object-contain"}),e.jsxs("p",{className:"flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]",children:[e.jsx(Ba,{}),t,e.jsx(Ba,{})]})]}),e.jsx("div",{className:"relative z-10 flex w-full items-center justify-center rounded-[20px] px-5 py-0.5",style:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 100%), linear-gradient(90deg, rgba(252,204,223,0) 0%, rgb(252,204,223) 29.78%, rgb(252,204,223) 72.984%, rgba(252,204,223,0) 100%)"},children:e.jsx("p",{className:"text-center text-[10px] font-medium leading-[14px] text-[rgba(28,27,27,0.8)]",children:a})}),e.jsx("p",{className:"relative z-10 w-full px-4 text-center text-xl leading-7 font-bold text-[#492912]",children:r})]})}function bn({amount:t,amountClassName:a,subtitle:r,subtitleClassName:n,showInfoIcon:l=!0,onInfoClick:i,proceedLabel:c="Continue",proceedIcon:o=e.jsx(ge,{"aria-hidden":!0}),onProceed:d,disabled:v,proceedButtonProps:p,className:u}){const m=v??t==null;return e.jsxs("div",{className:f.cn("flex items-start justify-center gap-6 bg-gradient-to-b from-[#fff9e9] to-[#fcccdf] px-4 pt-4 pb-5 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",u),children:[t!=null&&e.jsxs("div",{className:"flex shrink-0 flex-col items-start",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:f.cn("text-lg leading-6 font-bold text-[#141414]",a),children:t}),l&&e.jsx("button",{type:"button",onClick:i,"aria-label":"View bill details",className:f.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!i&&"pointer-events-none"),children:e.jsx(xe,{size:18,"aria-hidden":!0})})]}),r&&e.jsx("p",{className:f.cn("text-xs leading-4 text-gray-500",n),children:r})]}),e.jsxs(Y,{variant:"primary",size:"xl",disabled:m,onClick:d,...p,className:f.cn("flex-1 justify-center gap-1 rounded-xl",m?"bg-none bg-gray-400":"bg-gradient-to-b from-[#5eb98e] to-[#087955]",p?.className),children:[c,o]})]})}Object.defineProperty(x,"cn",{enumerable:!0,get:()=>f.cn}),x.ALL_ANCESTORS_ID=ut,x.ANCESTOR_OPTIONS=_a,x.AddAncestorSheet=en,x.AncestorTab=Sa,x.AncestorTabRow=nn,x.AudioQuestionCard=xs,x.AvatarCardDialog=on,x.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=at,x.BillDetails=rt,x.BillDetailsSheet=Ls,x.BookingSummaryBanner=ca,x.Button=Y,x.CHECKOUT_BAR_DEFAULT_COPY=et,x.CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY=nt,x.CUSTOM_ANCESTOR_AVATAR_URL=Aa,x.CartReviewAddedBadge=vs,x.CartReviewChangeButton=js,x.CartReviewItem=Je,x.CartReviewMandapItem=qt,x.CartView=ks,x.CheckIcon=yr,x.CheckoutBar=Ve,x.Chip=Ut,x.ConfinedBottomSheet=je,x.ConfirmPujaDetailsModal=ba,x.DEATH_TITHI_OPTIONS=rn,x.DatePickerSheet=Ps,x.DatesCard=wa,x.DevoteesReviews=as,x.EmailSheet=Bs,x.EventHeader=hn,x.FAQAccordion=ls,x.FAQSection=$t,x.FEMALE_ANCESTOR_AVATAR_URL=Ta,x.GOTRA_INFO_MODAL_DEFAULT_COPY=lt,x.GotraInfoModal=ga,x.HeroLogoBadge=La,x.IconBadge=ve,x.L2Card=Ds,x.LanguageSwitcher=Xe,x.MALE_ANCESTOR_AVATAR_URL=Pa,x.OUTCOME_SUPPORTED_LOCALES=Ja,x.OUTCOME_TRUST_ITEMS=rs,x.OnlinePujaTestimonial=Ir,x.OutcomeAncestorEditModal=wr,x.OutcomeBillDetails=hr,x.OutcomeButton=_t,x.OutcomeEmptyRituals=Or,x.OutcomeI18nProvider=er,x.OutcomeStickyCta=Ar,x.OutcomeSummary=Xs,x.PACKAGE_SELECT_DEFAULT_COPY=tt,x.PUJA_DETAILS_FORM_DEFAULT_COPY=ot,x.PackageSelect=ws,x.PhoneNumberSheet=Rs,x.PlusIcon=vr,x.ProcessInvolved=Hr,x.PujaBenefitsSection=Wr,x.PujaDetailsCarouselHeader=Gr,x.PujaDetailsForm=$s,x.QuantityStepper=gs,x.RitualProceedBar=bn,x.SARVA_PITRU_CARD_DEFAULT_COPY=ft,x.SarvaPitruCard=Ma,x.SelectorCard=Fe,x.SelectorCardEditableField=ms,x.SelectorCardInfoRow=hs,x.SelectorCardNote=bs,x.SelectorCardPriceBadge=Yt,x.ServiceOfferCard=Xt,x.ServiceOfferSheet=Qt,x.StepProgressHeader=cs,x.TITHI_NAME_KEYS=sn,x.TempleSignificanceSection=Zr,x.TestimonialCard=ns,x.TextField=ue,x.TimeOfBirthPickerSheet=Es,x.TithiPickerSheet=Ss,x.TopBar=os,x.TrustBadgesBar=na,x.VideoPlayer=Gt,x.WhySriMandir=zr,x.buttonVariants=Vt,x.createEmptyPujaDetailsFormValues=Gs,x.formatDisplayDate=un,x.formatIsoDate=cn,x.getAncestorAvatarUrl=Ea,x.getBookingSummaryBannerDefaultCopy=oa,x.getCheckoutBarDefaultCopy=la,x.getConfirmPujaDetailsModalDefaultCopy=ma,x.getGotraInfoModalDefaultCopy=it,x.getKartaOrdinalLabel=ya,x.getMonthLabels=dn,x.getOutcomeTranslation=Ye,x.getPackageSelectDefaultCopy=ia,x.getPujaDetailsFormDefaultCopy=ja,x.getSarvaPitruCardDefaultCopy=Ra,x.mapPujaL2Response=xn,x.outcomeTranslations=Be,x.parseIsoDate=Oa,x.useOutcomeI18n=fe,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));
|
|
14
|
+
<%s key={someKey} {...props} />`,gt,be,Bn,be),Ka[be+gt]=!0}}return s===n?An(q):Tn(q),q}}function En(s,b,C){return Ya(s,b,C,!0)}function On(s,b,C){return Ya(s,b,C,!1)}var Rn=On,Mn=En;Ae.Fragment=n,Ae.jsx=Rn,Ae.jsxs=Mn})()),Ae}var Nt;function rr(){return Nt||(Nt=1,process.env.NODE_ENV==="production"?Ie.exports=tr():Ie.exports=ar()),Ie.exports}var e=rr(),wt={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ct=g.createContext&&g.createContext(wt),sr=["attr","size","title"];function nr(t,a){if(t==null)return{};var r,n,l=lr(t,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],a.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(l[r]=t[r])}return l}function lr(t,a){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(a.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function De(){return De=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},De.apply(null,arguments)}function Lt(t,a){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);a&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),r.push.apply(r,n)}return r}function ze(t){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?Lt(Object(r),!0).forEach(function(n){ir(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ir(t,a,r){return(a=or(a))in t?Object.defineProperty(t,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[a]=r,t}function or(t){var a=cr(t,"string");return typeof a=="symbol"?a:a+""}function cr(t,a){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,a);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function kt(t){return t&&t.map((a,r)=>g.createElement(a.tag,ze({key:r},a.attr),kt(a.child)))}function O(t){return a=>g.createElement(dr,De({attr:ze({},t.attr)},a),kt(t.child))}function dr(t){var a=r=>{var n=t.attr,l=t.size,i=t.title,c=nr(t,sr),o=l||r.size||"1em",d;return r.className&&(d=r.className),t.className&&(d=(d?d+" ":"")+t.className),g.createElement("svg",De({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,c,{className:d,style:ze(ze({color:t.color||r.color},r.style),t.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),i&&g.createElement("title",null,i),t.children)};return Ct!==void 0?g.createElement(Ct.Consumer,null,r=>a(r)):a(wt)}function ur(t){return O({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"},child:[]}]})(t)}function fr(t){return O({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"},child:[]}]})(t)}function xr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440"},child:[]}]})(t)}function St(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(t)}function pr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(t)}function mr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m80 224h-64v64a16 16 0 0 1-32 0v-64h-64a16 16 0 0 1 0-32h64v-64a16 16 0 0 1 32 0v64h64a16 16 0 0 1 0 32"},child:[]}]})(t)}function hr({isOpen:t,onClose:a,closeButtonAriaLabel:r="Close",heading:n,items:l,totalLabel:i,totalAmount:c}){return t?e.jsxs("div",{className:"fixed inset-0 z-[1200] mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-3 overflow-hidden rounded-t-[20px] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center justify-between border-b border-black/5 p-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-[#f6f5ff]",children:e.jsx(fr,{className:"size-6 text-[#f18912]","aria-hidden":!0})}),e.jsx("p",{className:"min-w-0 flex-1 truncate text-base font-bold leading-[22px] text-gray-700",children:n})]}),e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"flex size-5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:e.jsx(St,{className:"size-5 text-[#1d2125]","aria-hidden":!0})})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-4 p-4",children:[l.map((o,d)=>e.jsxs("div",{className:"flex w-full items-start justify-between",children:[e.jsxs("div",{className:"flex w-45 flex-col items-start gap-1",children:[e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-700",children:o.name}),e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:o.subtitle})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-start justify-center gap-1.5 whitespace-nowrap",children:[o.quantityLabel&&e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:o.quantityLabel}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[o.originalLineTotal&&e.jsx("p",{className:"text-xs font-medium leading-4 text-[#d93640] line-through",children:o.originalLineTotal}),e.jsx("p",{className:"text-sm font-semibold leading-5 text-gray-700",children:o.lineTotal})]})]})]},`${o.name}-${d}`)),e.jsxs("div",{className:"flex w-full items-center justify-between border-t border-gray-200 pt-3",children:[e.jsx("p",{className:"text-base font-bold leading-[22px] text-[#22272b]",children:i}),e.jsx("p",{className:"text-xl font-bold leading-7 text-[#159169]",children:c})]})]})]})]}):null}const br={primary:"border border-transparent pl-3 pr-4 text-white",secondary:"border border-[#159169] px-3 text-[#159169]",accent:"border border-transparent px-4 text-white"},gr={md:"h-10 gap-2 rounded-lg text-xs font-semibold leading-4",lg:"h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"},jr={primary:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #159169)"},secondary:{backgroundImage:"linear-gradient(to bottom, #ffffff, #edf5f2)"},accent:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"}};function _t({variant:t="primary",size:a="md",leftIcon:r,children:n,className:l="",style:i,type:c="button",...o}){return e.jsxs("button",{type:c,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${gr[a]} ${br[t]} ${l}`,style:{...jr[t],...i},...o,children:[r,n]})}function vr({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V9.25H17.5C17.9142 9.25 18.25 9.58579 18.25 10C18.25 10.4142 17.9142 10.75 17.5 10.75H10.75V17.5C10.75 17.9142 10.4142 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V10.75H2.5C2.08579 10.75 1.75 10.4142 1.75 10C1.75 9.58579 2.08579 9.25 2.5 9.25H9.25V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z",fill:"currentColor"})})}function yr({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.1361 4.88627C16.4289 4.59345 16.9037 4.59355 17.1966 4.88627C17.4895 5.17916 17.4895 5.65394 17.1966 5.94682L8.03059 15.1138C7.89003 15.2544 7.6991 15.3334 7.50032 15.3335C7.30158 15.3335 7.11066 15.2542 6.97004 15.1138L2.80305 10.9468C2.51016 10.6539 2.51016 10.1792 2.80305 9.88627C3.09595 9.59339 3.57071 9.59338 3.8636 9.88627L7.49934 13.522L16.1361 4.88627Z",fill:"currentColor"})})}const Pt="https://srm-cdn.a4b.io/yoda/1788257859347.webp",Tt="https://srm-cdn.a4b.io/yoda/1788257796338.webp";function Nr({isOpen:t,avatarUrl:a=Tt,messagePrefix:r,highlightedNames:n,messageSuffix:l="",confirmLabel:i,cancelLabel:c,onConfirm:o,onCancel:d}){return t?e.jsxs("div",{className:"fixed inset-0 z-[60] mx-auto flex w-full max-w-md items-center justify-center px-8",children:[e.jsx("button",{type:"button","aria-label":c,onClick:d,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:Pt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:a,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsxs("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:[r,e.jsx("span",{className:"text-[#cf6c09]",children:n}),l]}),e.jsxs("div",{className:"flex w-full items-center gap-6",children:[e.jsx("button",{type:"button",onClick:o,className:"h-10 flex-1 rounded-lg border border-[#f75e22] bg-white text-sm font-bold leading-5 text-[#f75e22]",children:i}),e.jsx("button",{type:"button",onClick:d,className:"h-10 flex-1 rounded-lg border-0 text-sm font-bold leading-5 text-white",style:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"},children:c})]})]})]}):null}function wr({isOpen:t,onClose:a,avatarUrl:r=Tt,question:n,ancestors:l,onToggle:i,confirmLabel:c,onConfirmClick:o,addAgainLabel:d,removeLabel:v,removeWarningMessagePrefix:p,removeWarningMessageSuffix:u="?",removeWarningConfirmLabel:m,removeWarningCancelLabel:j}){const[h,L]=g.useState(null);if(!t)return null;const N=h!=null?l[h]:null;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"fixed inset-0 z-50 mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":c,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-t-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:Pt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:r,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsx("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:n}),e.jsx("div",{className:"flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4",children:l.map((y,w)=>e.jsxs("div",{className:"flex w-full items-center justify-between gap-3",children:[e.jsxs("p",{className:`min-w-0 flex-1 text-base font-semibold leading-[22px] ${y.isActive?"text-[#22272b]":"text-[#22272b]/50"}`,children:[y.name," ",e.jsx("span",{className:"text-xs font-medium leading-4 text-gray-500",children:y.tithi})]}),y.isActive?e.jsxs("button",{type:"button",onClick:()=>L(w),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-gray-500 underline",children:[v,e.jsx(pr,{"aria-hidden":!0,className:"size-3 text-[#9CA3AF]"})]}):e.jsxs("button",{type:"button",onClick:()=>i(w),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-[#159169] underline",children:[d,e.jsx(mr,{"aria-hidden":!0,className:"size-3 text-[#159169]"})]})]},y.id))}),e.jsx(_t,{variant:"accent",size:"lg",className:"w-full",onClick:o,children:c})]})]}),e.jsx(Nr,{isOpen:N!=null,avatarUrl:r,messagePrefix:p,highlightedNames:N?N.name:"",messageSuffix:u,confirmLabel:m,cancelLabel:j,onConfirm:()=>{h!=null&&i(h),L(null)},onCancel:()=>L(null)})]})}function Cr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(t)}function Lr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]}]})(t)}function At(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function kr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"16"},child:[]},{tag:"line",attr:{x1:"8",y1:"12",x2:"16",y2:"12"},child:[]}]})(t)}function Sr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function xe(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(t)}function Et(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"},child:[]}]})(t)}function _r(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(t)}function Pr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"},child:[]}]})(t)}function Ee(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(t)}function Ze(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(t)}function Tr(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 11 12 14 22 4"},child:[]},{tag:"path",attr:{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"},child:[]}]})(t)}function Ot(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(t)}function ge(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(t)}function qe(t){return O({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(t)}function Ar({totalPrice:t,ritualCountLabel:a,proceedLabel:r,onPriceInfoClick:n,onProceedClick:l,disabled:i}){const{t:c}=fe();return e.jsxs("div",{className:"sticky bottom-0 z-20 flex w-full items-start justify-center gap-3 px-4 pb-5 pt-4 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",style:{backgroundImage:"linear-gradient(to bottom, #fff9e9, #fcccdf)"},children:[e.jsxs("div",{className:"flex shrink-0 flex-col items-center rounded-xl py-1 pr-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#141414]",children:t}),n&&e.jsx("button",{type:"button",className:"flex size-[18px] shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:n,"aria-label":c("outcomeStickyCtaPriceInfoAriaLabel"),children:e.jsx(xe,{"aria-hidden":!0,className:"size-full text-[#E6327A]"})})]}),e.jsx("p",{className:"w-full truncate text-xs font-medium leading-4 text-gray-500",children:a})]}),e.jsxs("button",{type:"button",onClick:l,disabled:i,className:"flex h-14 flex-1 items-center justify-center gap-1 overflow-hidden rounded-xl py-4 pl-4 pr-3 text-sm font-bold leading-5 text-white disabled:cursor-not-allowed disabled:opacity-50",style:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #087955)"},children:[r??c("outcomeStickyCtaProceedLabel"),e.jsx(ge,{"aria-hidden":!0,className:"size-[18px] text-white"})]})]})}const Er="https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";function Or(){const{t}=fe();return e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 rounded-[20px] border border-[#e5e3fd] bg-white p-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]",children:[e.jsx("img",{src:Er,alt:"","aria-hidden":!0,className:"size-6"}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-1",children:[e.jsx("p",{className:"w-full text-center text-sm font-bold leading-5 text-gray-700",children:t("outcomeEmptyRitualsTitle")}),e.jsx("p",{className:"w-full text-center text-xs font-normal leading-4 text-gray-500",children:t("outcomeEmptyRitualsSubtitle")})]})]})}const Rr="https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp",Mr="https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp",Rt="https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg",Br="linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";function Ir(){const{t}=fe();return e.jsxs("section",{className:"flex w-full flex-col gap-6 px-5 py-6",style:{backgroundImage:Br},children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsxs("div",{className:"relative h-39 w-full overflow-hidden rounded-xl",children:[e.jsx("img",{src:Rr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full scale-110 object-cover opacity-80 blur-[1px]"}),e.jsx("div",{className:"absolute",style:{top:"29.79%",right:"0.12%",bottom:0,left:"34.65%"},children:e.jsx("img",{src:Mr,alt:"","aria-hidden":!0,className:"size-full object-contain object-bottom"})})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsx("p",{className:"text-xl font-bold leading-7 text-[#200c14]",children:t("landingOnlinePujaTitle")}),e.jsxs("p",{className:"text-sm leading-5 text-gray-500",children:[t("landingOnlinePujaBodyPrefix"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart1")}),t("landingOnlinePujaBodyPart2"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart3")}),t("landingOnlinePujaBodyPart4")]})]})]}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-2 rounded-xl border border-[#fccf9a] bg-[#feefe9] p-6",children:[e.jsx("img",{src:Rt,alt:"","aria-hidden":!0,className:"absolute left-2.25 top-2.75 h-4.4 w-6.5"}),e.jsx("p",{className:"text-center text-base font-semibold italic leading-[22px] text-[#ad540a]",children:t("landingOnlinePujaQuote")}),e.jsx("img",{src:Rt,alt:"","aria-hidden":!0,className:"absolute bottom-2.75 right-2.25 h-4.4 w-6.5",style:{transform:"rotate(180deg)"}})]})]})}const Mt="https://srm-cdn.a4b.io/yoda/1788322995409.svg",Bt="https://srm-cdn.a4b.io/yoda/1788323009444.svg",Dr=[{key:"guarantee",ribbon:"https://srm-cdn.a4b.io/yoda/1788323418513.svg",icon:"https://srm-cdn.a4b.io/yoda/1789552092952.webp",labelKey:"whySriMandirGuaranteeLabel"},{key:"temples",ribbon:"https://srm-cdn.a4b.io/yoda/1788323405680.svg",icon:"https://srm-cdn.a4b.io/yoda/1789552092953.webp",labelKey:"whySriMandirTemplesLabel"},{key:"support",ribbon:"https://srm-cdn.a4b.io/yoda/1788323390415.svg",icon:"https://srm-cdn.a4b.io/yoda/1789552092951.webp",labelKey:"whySriMandirSupportLabel"}];function zr(){const{t}=fe();return e.jsxs("section",{className:"flex w-full flex-col items-center justify-center gap-5 px-4 py-8",children:[e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Mt,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:Bt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("whySriMandirHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Bt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:Mt,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"grid w-full grid-cols-3 items-start gap-3",children:Dr.map(a=>e.jsxs("div",{className:"flex min-w-0 flex-col items-center gap-2",children:[e.jsx("div",{className:"relative size-16 shrink-0",children:e.jsx("img",{src:a.icon,alt:"","aria-hidden":!0,className:"size-full object-cover"})}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-gray-700",children:t(a.labelKey)})]},a.key))})]})}const It="https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg",Dt="https://srm-sbox-cdn.a4b.io/yoda/1788261913205.svg",Fr=[{key:"nameGotra",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262091738.webp",titleKey:"processNameGotraTitle",descriptionKey:"processNameGotraDescription"},{key:"liveUpdates",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262066955.webp",titleKey:"processLiveUpdatesTitle",descriptionKey:"processLiveUpdatesDescription"},{key:"mantras",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262081237.webp",titleKey:"processMantrasTitle",descriptionKey:"processMantrasDescription"},{key:"video",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262102550.webp",titleKey:"processVideoTitle",descriptionKey:"processVideoDescription",isVideo:!0}];function Hr(){const{t}=fe();return e.jsxs("section",{className:"flex w-full flex-col items-center gap-4 py-4",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:It,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:Dt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("processInvolvedHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Dt,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:It,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"flex w-full flex-col items-start gap-4 px-4",children:Fr.map(a=>e.jsxs("div",{className:"flex h-24 w-full items-center overflow-hidden rounded-xl border border-gray-100",children:[e.jsxs("div",{className:"relative h-full w-22 shrink-0",children:[e.jsx("img",{src:a.image,alt:"","aria-hidden":!0,className:"size-full object-cover"}),a.isVideo&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"flex size-8 items-center justify-center rounded-full bg-black/40",children:e.jsx(xr,{"aria-hidden":!0,className:"size-4 text-[#F9FAFB]"})})})]}),e.jsxs("div",{className:"flex h-full min-w-0 flex-1 flex-col justify-center gap-2 bg-gray-50 px-3 py-2",children:[e.jsx("p",{className:"text-sm font-bold leading-5 text-gray-700",children:t(a.titleKey)}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:t(a.descriptionKey)})]})]},a.key))})]})}const Vr="https://srm-cdn.a4b.io/yoda/1788253585577.svg",$r="https://srm-cdn.a4b.io/yoda/1788323562516.svg";function Gr({images:t,useCase:a,title:r,specificity:n,dateLabel:l,locationLabel:i}){const[c,o]=g.useState(0),d=g.useRef(null),v=()=>{const p=d.current;if(!p||p.children.length===0)return;const u=p.children[0].offsetWidth+16;o(Math.round(p.scrollLeft/u))};return e.jsxs("div",{className:"flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4",children:[e.jsx("div",{ref:d,onScroll:v,className:`flex w-full snap-x snap-mandatory gap-4 overflow-x-auto ${t.length===1?"justify-center":""}`,children:t.map((p,u)=>e.jsx("img",{src:p,alt:"","aria-hidden":u!==0,className:`h-52 shrink-0 snap-center rounded-2xl object-cover ${t.length===1?"w-full":"w-78"}`},`${p}-${u}`))}),t.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5",children:t.map((p,u)=>e.jsx("span",{className:`size-1.5 rounded-full ${u===c?"bg-[#e6327a]":"bg-gray-200"}`},`${p}-${u}`))}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-3",children:[a&&e.jsx("p",{className:"w-full text-xs font-semibold uppercase leading-4 text-[#e6327a]",children:a}),e.jsx("p",{className:"w-full text-xl font-bold leading-7 text-[#361407]",children:r}),n&&e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-500",children:n}),(l||i)&&e.jsx("img",{src:$r,alt:"","aria-hidden":!0,className:"h-px w-full"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[l&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ot,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:l})]}),i&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Vr,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:i})]})]})]})]})}const Ur="https://srm-cdn.a4b.io/yoda/1788323512851.webp";function Wr({heading:t,benefits:a}){return e.jsxs("section",{className:"flex w-full flex-col items-start gap-5 p-4",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-[#22272b]",children:t}),e.jsx("div",{className:"flex w-full flex-col gap-5",children:a.map((r,n)=>e.jsxs("div",{className:"flex w-full items-start gap-3",children:[e.jsx("img",{src:r.icon??Ur,alt:"","aria-hidden":!0,className:"size-12 shrink-0 rounded-md object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-3",children:[e.jsx("p",{className:"w-full text-base font-semibold leading-[22px] text-[#242424]",children:r.title}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:r.description})]})]},`${r.title}-${n}`))})]})}function Kr(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(t)}function zt(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"},child:[]}]})(t)}const Yr=168;function Zr({question:t,imageUrl:a,imageAlt:r="",paragraphs:n}){const{t:l}=fe(),[i,c]=g.useState(!1);return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white px-4 py-4",children:[e.jsx("p",{className:"w-full text-lg font-bold leading-6 text-[#242424]",children:t}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-4",children:[a&&e.jsx("img",{src:a,alt:r,className:"h-61.25 w-full rounded-xl object-cover"}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-3",children:[e.jsx("div",{className:"flex w-full flex-col gap-4 overflow-hidden text-justify text-sm font-normal leading-5 text-gray-500",style:i?void 0:{maxHeight:Yr},children:n.map((o,d)=>e.jsx("p",{className:"w-full",children:o},`${o}-${d}`))}),e.jsxs("button",{type:"button",onClick:()=>c(o=>!o),className:"flex items-center gap-1 border-0 bg-transparent pt-2",children:[e.jsx("span",{className:"text-sm font-bold leading-[21px] text-[#f18912]",children:l(i?"templeSignificanceReadLessLabel":"templeSignificanceReadMoreLabel")}),e.jsx(zt,{"aria-hidden":!0,className:`size-3 text-[#f18912] ${i?"rotate-180":""}`})]})]})]})]})}function qr(t){return O({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"},child:[]}]})(t)}function Qr(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"},child:[]}]})(t)}function Xr(t){return O({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(t)}function Jr(t){return O({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(t)}function Qe(t){return O({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(t)}function Ft(t){return O({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"},child:[]}]})(t)}function es(t){return O({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"},child:[]}]})(t)}function ts(t){return O({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"},child:[]}]})(t)}const Ht=3;function as({heading:t,subtitle:a,reviews:r,reviewMedia:n,seeMoreLabel:l,onSeeMoreClick:i}){const[c,o]=g.useState(!1),d=c?r:r.slice(0,Ht),[v,p]=g.useState(0),u=g.useRef(null),m=()=>{const j=u.current;if(!j||j.children.length===0)return;const h=j.children[0].offsetWidth+12;p(Math.round(j.scrollLeft/h))};return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white pb-6 pt-7",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 px-4 py-2",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-gray-900",children:t}),e.jsx("p",{className:"w-full text-base font-normal leading-[22px] text-black",children:a})]}),n!=null&&n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:u,onScroll:m,className:`flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length===1?"justify-center":""}`,children:n.map((j,h)=>e.jsxs("div",{className:"flex w-60 shrink-0 snap-start flex-col gap-3",children:[e.jsx("div",{className:"h-40 w-full overflow-hidden rounded-xl",children:j.videoUrl?e.jsx("video",{src:j.videoUrl,poster:j.thumbnailUrl,controls:!0,className:"size-full object-cover"}):e.jsx("img",{src:j.imageUrl,alt:"","aria-hidden":!0,className:"size-full object-cover"})}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:j.avatarUrl,alt:"","aria-hidden":!0,className:"size-10 shrink-0 rounded-full object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-sm font-bold leading-5 text-black",children:j.name}),e.jsx("p",{className:"truncate text-xs font-medium leading-4 text-gray-500",children:j.location})]})]})]},`${j.name}-${h}`))}),n.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5 pt-3",children:n.map((j,h)=>e.jsx("span",{className:`size-2 rounded ${h===v?"bg-[#f18912]":"bg-gray-300"}`},`${j.name}-${h}`))})]}),e.jsx("div",{className:"flex w-full flex-col items-start pt-5",children:d.map((j,h)=>e.jsxs("div",{className:"flex w-full flex-col items-start",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4 pt-4",children:[j.avatarUrl?e.jsx("img",{src:j.avatarUrl,alt:"","aria-hidden":!0,className:"size-11 shrink-0 rounded-full object-cover"}):e.jsx(ts,{"aria-hidden":!0,className:"size-11 shrink-0 text-gray-300"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-base font-semibold leading-[22px] text-[#111928]",children:j.name}),e.jsx("p",{className:"truncate text-sm font-medium leading-5 text-gray-500",children:j.date})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2 px-4 pt-3",children:[e.jsx("div",{className:"flex items-center gap-2",children:Array.from({length:j.stars}).map((L,N)=>e.jsx(Qe,{"aria-hidden":!0,className:"size-5 text-[#F06A16]"},N))}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:j.text})]}),h<d.length-1&&e.jsx("hr",{className:"mt-6 w-full border-t border-gray-200"})]},`${j.name}-${j.date}-${h}`))}),!c&&r.length>Ht&&l&&e.jsx("div",{className:"flex w-full flex-col items-center px-4 pt-5",children:e.jsx("button",{type:"button",onClick:()=>{o(!0),i?.()},className:"flex h-10 w-full items-center justify-center rounded-lg border border-[#e6e4eb] bg-white text-base font-medium leading-[22px] text-[#1573df]",children:l})})]})}const rs=[{variant:"pandits",textKey:"outcomeTrustPanditsText"},{variant:"gotra",textKey:"outcomeTrustGotraText"},{variant:"video",textKey:"outcomeTrustVideoText"}];function ss(t){return O({attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"},child:[]}]})(t)}const Vt=Za.cva("group appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",{variants:{variant:{primary:"border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white! hover:opacity-90 disabled:bg-none! disabled:bg-[#9ca3af]!",secondary:"border border-[#f75e22] bg-white! text-[#f75e22]! hover:bg-orange-50",outline:"border border-gray-300 bg-transparent! text-gray-900! hover:bg-gray-50",ghost:"border-0 bg-transparent! text-gray-900! hover:bg-gray-100"},size:{xs:"h-6 px-2 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-5 text-base",xl:"h-14 px-6 text-base"},iconOnly:{true:"rounded-full p-0",false:""}},compoundVariants:[{iconOnly:!0,size:"xs",className:"w-6"},{iconOnly:!0,size:"sm",className:"w-8"},{iconOnly:!0,size:"md",className:"w-10"},{iconOnly:!0,size:"lg",className:"w-12"},{iconOnly:!0,size:"xl",className:"w-14"}],defaultVariants:{variant:"primary",size:"lg",iconOnly:!1}}),Y=Xa.forwardRef(({className:t,variant:a,size:r,iconOnly:n,loading:l=!1,disabled:i,leftIcon:c,rightIcon:o,children:d,type:v="button",...p},u)=>e.jsx("button",{ref:u,type:v,disabled:i||l,className:f.cn(Vt({variant:a,size:r,iconOnly:n}),t),...p,children:l?e.jsx(ss,{className:"animate-spin","aria-hidden":!0}):e.jsxs("span",{className:"inline-flex items-center gap-2",children:[c,d,o]})}));Y.displayName="Button";function je(t){return t.isOpen?e.jsx("div",{className:"fixed inset-0 mx-auto w-full max-w-md",style:{transform:"translateZ(0)",maxWidth:"var(--pitru-paksh-sheet-overlay-max-width, 28rem)",zIndex:1100},children:e.jsx(f.BottomSheet,{...t})}):null}const ns=({quote:t,authorName:a,authorAvatarUrl:r,meta:n,rating:l=5,className:i="",...c})=>e.jsxs("div",{className:f.cn("flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",i),...c,children:[e.jsx("p",{className:"w-full wrap-break-word text-xs font-normal text-[#1d2125]",children:t}),e.jsxs("div",{className:"flex w-full items-start gap-x-2.5",children:[r?e.jsx("img",{src:r,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"size-8 shrink-0 rounded-full",style:{background:"linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%)"},"aria-hidden":!0}),e.jsxs("div",{className:"flex flex-col min-w-0 flex-1 gap-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.75",children:[e.jsx("span",{className:"truncate text-sm font-bold text-[#1d2125]",children:a}),e.jsx("span",{className:"flex items-center gap-1 text-amber-500","aria-hidden":!0,children:Array.from({length:Math.max(0,Math.min(5,l))},(o,d)=>e.jsx(Qe,{size:14},d))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]}),$t=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:r=6,showCta:n=!0,defaultExpanded:l=!1,ctaExpandLabel:i="और देखें",ctaCollapseLabel:c="कम देखें",defaultOpenIndex:o=-1,className:d="",showTitleAccent:v=!1,titleClassName:p})=>{const[u,m]=g.useState(l),[j,h]=g.useState(o),L=n&&a.length>r,N=L&&!u?a.slice(0,r):a;return e.jsxs("div",{className:f.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",d),children:[v?e.jsxs("h2",{className:f.cn("flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]",p),children:[e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),t]}):e.jsx("h2",{className:f.cn("w-full text-base font-bold text-[#1d2125]",p),children:t}),e.jsx("div",{className:"flex w-full flex-col gap-3",children:N.map((y,w)=>{const T=j===w;return e.jsxs("div",{className:"w-full overflow-hidden rounded-lg border border-[#f3f4f6]",children:[e.jsxs("button",{type:"button",className:f.cn("flex w-full items-center justify-between gap-2 p-3 text-left",T?"bg-[#f7f8f9]":"bg-white"),onClick:()=>h(T?-1:w),"aria-expanded":T,"aria-controls":`faq-answer-${w}`,id:`faq-question-${w}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#22272b]",children:y.question}),e.jsx(Ee,{size:24,className:f.cn("shrink-0 transition-transform duration-200",T?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${w}`,role:"region","aria-labelledby":`faq-question-${w}`,hidden:!T,className:"bg-white p-3",children:e.jsx("p",{className:"text-sm text-[#374151]",children:y.answer})})]},w)})}),L&&e.jsx(Y,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>m(y=>!y),"aria-expanded":u,rightIcon:e.jsx(Ee,{size:24,className:f.cn("shrink-0 transition-transform duration-200",u?"rotate-180":""),"aria-hidden":!0}),children:u?c:i})]})},ls=({title:t="Frequently Asked Questions",showTitleAccent:a=!0,items:r,initialVisibleCount:n=6,showCta:l=!0,defaultExpanded:i=!1,ctaExpandLabel:c="See more",ctaCollapseLabel:o="See less",defaultOpenIndex:d=-1,className:v=""})=>{const[p,u]=g.useState(i),[m,j]=g.useState(d),h=l&&r.length>n,L=h&&!p?r.slice(0,n):r;return e.jsxs("div",{className:f.cn("flex flex-col gap-3 bg-white px-4 py-6",v),children:[e.jsxs("h2",{className:"flex items-center gap-2 text-sm font-bold text-[#374151]",children:[a&&e.jsx("span",{"aria-hidden":!0,className:"block h-[18px] w-[3px] shrink-0 bg-[#f75e22]"}),t]}),e.jsx("div",{className:"flex w-full flex-col",children:L.map((N,y)=>{const w=m===y,T=w?_r:Ee;return e.jsxs("div",{className:"w-full border-b border-[#f3f4f6] py-3 last:border-b-0",children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 text-left",onClick:()=>j(w?-1:y),"aria-expanded":w,"aria-controls":`faq-accordion-answer-${y}`,id:`faq-accordion-question-${y}`,children:[e.jsx("span",{className:"flex-1 text-sm font-semibold text-[#22272b]",children:N.question}),e.jsx(T,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0})]}),e.jsx("div",{id:`faq-accordion-answer-${y}`,role:"region","aria-labelledby":`faq-accordion-question-${y}`,hidden:!w,children:e.jsx("p",{className:"mt-2 text-xs text-[#374151]",children:N.answer})})]},y)})}),h&&e.jsx(Y,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>u(N=>!N),"aria-expanded":p,rightIcon:e.jsx(Ee,{size:24,className:f.cn("shrink-0 transition-transform duration-200",p?"rotate-180":""),"aria-hidden":!0}),children:p?o:c})]})},Gt=g.forwardRef(({src:t,poster:a,className:r="",rounded:n=!0,inlineOnly:l=!1,width:i,height:c,aspectRatio:o,fill:d=!1,autoPlay:v=!1,onPlayToggle:p},u)=>{const[m,j]=g.useState(!1),[h,L]=g.useState(!0),[N,y]=g.useState(!1),[w,T]=g.useState(0),[D,W]=g.useState(0),[I,z]=g.useState(!0),F=g.useRef(null),H=g.useRef(null),U=g.useRef(()=>{}),_=g.useRef(null);g.useEffect(()=>{v&&(j(!0),y(!1))},[v]);const S=g.useCallback(()=>{_.current&&clearTimeout(_.current),_.current=setTimeout(()=>z(!1),1500)},[]);g.useEffect(()=>{if(!m||!h){_.current&&clearTimeout(_.current),z(!0);return}return S(),()=>{_.current&&clearTimeout(_.current)}},[m,h,S]);const V=i!==void 0||c!==void 0,J=!V&&o!==void 0,G=f.cn("block w-full",(V||J||d)&&"h-full object-cover object-center"),ne=g.useCallback(A=>{F.current=A,typeof u=="function"?u(A):u&&(u.current=A)},[u]),Z=g.useCallback(()=>{if(!l||!H.current)return;const A=H.current,M=document.fullscreenElement;M&&F.current?.contains(M)&&document.exitFullscreen?.().catch(()=>{}),document.pictureInPictureElement===A&&document.exitPictureInPicture?.().catch(()=>{}),A.webkitSetPresentationMode?.("inline"),A.webkitDisplayingFullscreen&&A.webkitExitFullscreen?.()},[l]),ae=g.useCallback(A=>{if(U.current(),U.current=()=>{},H.current=A,!l||!A)return;const M=A;M.playsInline=!0,M.disablePictureInPicture=!0,M.disableRemotePlayback=!0,M.setAttribute("playsinline",""),M.setAttribute("webkit-playsinline","true"),M.setAttribute("x5-playsinline","true"),M.setAttribute("x5-video-player-type","h5-page"),M.setAttribute("x5-video-player-fullscreen","false"),M.setAttribute("controlslist","nofullscreen noremoteplayback nodownload"),M.addEventListener("webkitbeginfullscreen",Z),document.addEventListener("fullscreenchange",Z),U.current=()=>{M.removeEventListener("webkitbeginfullscreen",Z),document.removeEventListener("fullscreenchange",Z)}},[l,Z]);g.useEffect(()=>()=>{U.current()},[]),g.useEffect(()=>{if(!m)return;const A=F.current;if(!A||typeof IntersectionObserver>"u")return;const M=new IntersectionObserver(([oe])=>{oe.isIntersecting||L(!1)},{threshold:0});return M.observe(A),()=>M.disconnect()},[m]);const le=A=>{const M=Number(A.target.value);T(M),H.current&&(H.current.currentTime=M)};return e.jsx("div",{ref:ne,style:V?{width:i,height:c}:{aspectRatio:o},className:f.cn("relative w-full overflow-hidden",n&&"rounded-2xl",r),onClick:()=>{m&&!I&&(z(!0),h&&S())},children:m?e.jsxs(e.Fragment,{children:[e.jsx(qa,{ref:ae,src:t,poster:a,playing:h,muted:N,controls:!1,pip:!1,playsInline:!0,disablePictureInPicture:l,disableRemotePlayback:l,onPlay:Z,onPlaying:Z,onDoubleClick:A=>{l&&A.preventDefault()},onContextMenu:A=>{l&&A.preventDefault()},autoPlay:v,width:i,height:c,className:G,onTimeUpdate:A=>T(A.currentTarget.currentTime),onDurationChange:A=>W(A.currentTarget.duration),onPause:()=>L(!1),onEnded:()=>L(!1)}),I&&e.jsxs(e.Fragment,{children:[e.jsx(Y,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":h?"Pause":"Play",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white! backdrop-blur-sm hover:bg-black/50",onClick:()=>L(A=>(p?.(!A),!A)),children:h?e.jsx(es,{size:16}):e.jsx(Ft,{size:16,style:{transform:"translateX(1px)"}})}),e.jsx(Y,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":N?"Unmute":"Mute",className:"absolute left-2 top-2 text-white! hover:bg-white/10",onClick:()=>y(A=>!A),children:N?e.jsx(Qr,{size:14}):e.jsx(qr,{size:14})}),e.jsx("input",{type:"range",min:0,max:D||0,step:.1,value:w,onChange:le,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:a,alt:"",className:G}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(Y,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":"Play video",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white! backdrop-blur-sm hover:bg-black/50",onClick:()=>{j(!0),p?.(!0)},children:e.jsx(Ft,{size:16,style:{transform:"translateX(1px)"}})})]})})});Gt.displayName="VideoPlayer";const is=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),Xe=g.forwardRef(({options:t,value:a,onChange:r,defaultOpen:n=!1,open:l,onOpenChange:i,className:c="",triggerClassName:o="",menuClassName:d="",...v},p)=>{const[u,m]=g.useState(n),j=l!==void 0,h=j?l:u,L=g.useCallback(w=>{j||m(w),i?.(w)},[j,i]),N=g.useRef(null);g.useImperativeHandle(p,()=>N.current),g.useEffect(()=>{if(!h)return;const w=D=>{N.current?.contains(D.target)||L(!1)},T=D=>{D.key==="Escape"&&L(!1)};return document.addEventListener("mousedown",w),document.addEventListener("keydown",T),()=>{document.removeEventListener("mousedown",w),document.removeEventListener("keydown",T)}},[h,L]);const y=w=>{r?.(w.value),L(!1)};return e.jsxs("div",{ref:N,className:f.cn("relative inline-block",c),...v,children:[e.jsxs("button",{type:"button",onClick:()=>L(!h),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":h,className:f.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",o),children:[e.jsx(is,{}),e.jsx(Ee,{size:24,className:f.cn("transition-transform duration-200",h?"rotate-180":""),"aria-hidden":!0})]}),h&&e.jsx("ul",{role:"listbox",className:f.cn("absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",d),children:t.map(w=>{const T=w.value===a;return e.jsx("li",{role:"option","aria-selected":T,children:e.jsx("button",{type:"button",onClick:()=>y(w),className:f.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",T?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:w.label})},w.value)})})]})});Xe.displayName="LanguageSwitcher";function os({onBackClick:t,backButtonAriaLabel:a="Go back",locale:r,localeOptions:n,onLocaleChange:l,className:i}){return e.jsxs("div",{className:f.cn("mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",i),children:[t?e.jsx("button",{type:"button",onClick:t,"aria-label":a,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}):e.jsx("div",{className:"size-8 shrink-0","aria-hidden":!0}),n.length>0&&e.jsx(Xe,{options:n,value:r,onChange:l,menuClassName:"left-auto right-0"})]})}const Ut=g.forwardRef(({label:t,selected:a=!1,onClick:r,icon:n,className:l,type:i="button",...c},o)=>e.jsxs("button",{ref:o,type:i,onClick:r,"aria-pressed":a,className:f.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",a?"border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white":"border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",l),...c,children:[n,t]}));Ut.displayName="Chip";const cs=({quote:t,currentStep:a,totalSteps:r,className:n,...l})=>{const i=r>0?Math.min(100,Math.max(0,a/r*100)):0;return e.jsxs("div",{className:f.cn("step-progress-header",n),...l,children:[e.jsxs("div",{className:"step-progress-header__column",children:[e.jsx("p",{className:"step-progress-header__quote",children:t}),e.jsxs("div",{className:"step-progress-header__track",children:[e.jsx("div",{className:"step-progress-header__track-fill",style:{width:`${i}%`}}),e.jsx("div",{className:"step-progress-header__track-marker",style:{left:`${i}%`},children:e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163246556.svg",alt:"",width:21,height:21})})]})]}),e.jsxs("p",{className:"step-progress-header__count",children:[a,"/",r]})]})};function ds(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z"},child:[]},{tag:"path",attr:{d:"M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z"},child:[]}]})(t)}function us(t){return O({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z"},child:[]}]})(t)}const Wt=1.25,Kt=[{x:11.02,y:6.38,height:5.28},{x:16.3,y:6.38,height:5.28},{x:8.36,y:3.8,height:10.44},{x:13.68,y:4.8,height:8.4},{x:5.73,y:2.84,height:12.32},{x:3.07,y:6,height:6.03},{x:.45,y:7.29,height:3.37}],fs=({animate:t,iconIndex:a})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:Kt.map((r,n)=>e.jsx("rect",{x:r.x,y:r.y,width:Wt,height:r.height,rx:Wt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(a*Kt.length+n)*60}ms`}},n))}),xs=({avatarUrl:t,question:a,description:r,audioSrc:n,onMuteToggle:l,className:i,...c})=>{const o=g.useRef(null),d=g.useRef(!1),[v,p]=g.useState(!1),[u,m]=g.useState(!1);g.useEffect(()=>{!n||d.current||(d.current=!0,o.current?.play().catch(()=>{}))},[n]);const j=()=>{const h=o.current;h&&(h.muted=!h.muted,p(h.muted),l?.(h.muted))};return e.jsxs("div",{className:f.cn("flex w-full items-start gap-3 px-4 pb-6",i),...c,children:[e.jsxs("div",{className:"relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]",children:[e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163138113.svg",alt:"",className:"absolute"}),e.jsx("img",{src:t,alt:"",className:"absolute top-1 size-[73.92px] object-contain"})]}),e.jsxs("div",{className:"flex min-w-0 flex-1 items-start",children:[e.jsx("svg",{viewBox:"0 0 18.7767 32.5742",fill:"none","aria-hidden":!0,className:"h-[32.574px] w-[18.777px] shrink-0 -mr-2",children:e.jsx("path",{d:"M0 16.2871L14.0826 7.37821L14.0826 25.196L0 16.2871Z",fill:"white"})}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]",children:[e.jsx("p",{className:"text-base",children:a}),e.jsx("p",{className:"text-[10px]",children:r}),n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:o,src:n,onPlay:()=>m(!0),onPause:()=>m(!1),onEnded:()=>m(!1)}),e.jsx("button",{type:"button",onClick:j,"aria-label":v?"Unmute":"Mute","aria-pressed":v,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:v?e.jsx(us,{size:18,className:"text-[#f75e22]"}):e.jsx(ds,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(h=>e.jsx(fs,{animate:u&&!v,iconIndex:h},h))})]})]})]})]})},ps={sm:"size-9",md:"size-11",lg:"size-16"},ve=g.forwardRef(({icon:t,avatarUrl:a,alt:r="",size:n="md",className:l,...i},c)=>e.jsx("div",{ref:c,className:f.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",ps[n],!a&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",l),"aria-hidden":a?void 0:!0,...i,children:a?e.jsx("img",{src:a,alt:r,className:"size-full object-cover"}):t}));ve.displayName="IconBadge";const Fe=g.forwardRef(({selected:t=!1,onSelect:a,icon:r,avatarUrl:n,iconSize:l="md",iconClassName:i,title:c,description:o,badge:d,showRadio:v=!0,radioVariant:p="dot",radioClassName:u,tag:m,tagClassName:j,children:h,note:L,noteClassName:N,className:y,disabled:w,type:T="button",...D},W)=>{const I=e.jsxs("div",{className:f.cn("relative overflow-visible rounded-xl border transition-colors",t?"border-[#F38415] bg-[#FEF5E9]":"border-gray-200 bg-white",w&&"opacity-50",y),children:[m&&e.jsx("span",{className:f.cn("absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",j),children:m}),e.jsxs("button",{ref:W,type:T,role:"radio","aria-checked":t,disabled:w,onClick:a,className:f.cn("flex w-full items-center gap-3 overflow-hidden rounded-xl px-3 py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",m&&"pt-7"),...D,children:[(r||n)&&e.jsx(ve,{icon:r,avatarUrl:n,size:l,className:i}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#1d2125]",children:c}),o&&!h&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:o})]}),d&&e.jsx("span",{className:"shrink-0",children:d}),v&&e.jsxs("span",{"aria-hidden":!0,className:f.cn("inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",t?p==="check"?f.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",u):"border-[#F75E22]":"border-gray-300"),children:[t&&p==="dot"&&e.jsx("span",{className:f.cn("size-4 rounded-full bg-[#F75E22]",u)}),t&&p==="check"&&e.jsx(Ze,{size:14,"aria-hidden":!0})]})]}),h]});return L?e.jsxs("div",{className:"overflow-hidden rounded-xl bg-[#FCCF9A]",children:[I,e.jsx("div",{className:f.cn("px-4 py-1 text-center text-[10px] leading-3.5 font-medium bg-[#fccf9a] text-[#632E06]",N),children:L})]}):I});Fe.displayName="SelectorCard";const ms=({value:t,onClick:a,className:r,...n})=>e.jsxs("div",{role:a?"button":void 0,tabIndex:a?0:void 0,onClick:a,className:f.cn("mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",a&&"cursor-pointer",r),...n,children:[e.jsx(Et,{size:16,className:"shrink-0 text-gray-900","aria-hidden":!0}),e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t})]}),hs=({value:t,onInfoClick:a,infoLabel:r="More info",className:n,...l})=>e.jsxs("div",{className:f.cn("mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",n),...l,children:[e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t}),a?e.jsx("button",{type:"button",onClick:a,"aria-label":r,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(xe,{size:18,"aria-hidden":!0})}):e.jsx(xe,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Yt=({value:t,className:a,...r})=>e.jsx("span",{className:f.cn("inline-flex items-center rounded-full bg-white px-1.5 py-1 text-sm font-medium text-[#159169]",a),...r,children:t}),bs=({className:t,children:a,...r})=>e.jsx("div",{className:f.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",t),...r,children:a}),gs=({value:t,onIncrement:a,onDecrement:r,min:n=0,max:l,addLabel:i="Add",className:c})=>t<=n?e.jsxs("button",{type:"button",onClick:a,className:f.cn("inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",c),children:[e.jsx(At,{size:20,"aria-hidden":!0}),i]}):e.jsxs("div",{className:f.cn("inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",c),children:[e.jsx("button",{type:"button",onClick:r,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx(Sr,{size:18,"aria-hidden":!0})}),e.jsx("span",{className:"min-w-[1ch] text-center text-base font-bold",children:t}),e.jsx("button",{type:"button",onClick:a,disabled:l!==void 0&&t>=l,"aria-label":"Increase quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",children:e.jsx(At,{size:18,"aria-hidden":!0})})]}),Zt={en:{backButtonAriaLabel:"Go back",headerTitle:"Review your booking",addonsTitle:"Add services for all ancestors",addonsDescription:"These pujas will be performed on the day of Sarva Pitru Amavasya",addedLabel:"Added",addLabel:"Add",mandapTitle:"Mandap Arrangement Fee",mandapDescription:"This fee covers the temple space, mandap, and essential arrangements required for the puja.",checkoutProceedLabel:"Proceed to fill details",checkoutRitualSingular:"Ritual",checkoutRitualPlural:"Rituals"},hi:{backButtonAriaLabel:"वापस जाएं",headerTitle:"अपनी बुकिंग की समीक्षा करें",addonsTitle:"सभी पितरों के लिए सेवाएं जोड़ें",addonsDescription:"ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",addedLabel:"जोड़ा गया",addLabel:"जोड़ें",mandapTitle:"मंदिर और मंडप शुल्क",mandapDescription:"मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए",checkoutProceedLabel:"आगे बढ़ें, और डिटेल्स भरें",checkoutRitualSingular:"पूजा-विधि",checkoutRitualPlural:"पूजा-विधि"},kn:{backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",headerTitle:"ನಿಮ್ಮ ಬುಕಿಂಗ್ ಪರಿಶೀಲಿಸಿ",addonsTitle:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ ಸೇವೆಗಳನ್ನು ಸೇರಿಸಿ",addonsDescription:"ಈ ಪೂಜೆಗಳನ್ನು ಸರ್ವ ಪಿತೃ ಅಮಾವಾಸ್ಯೆಯ ದಿನದಂದು ನೆರವೇರಿಸಲಾಗುತ್ತದೆ",addedLabel:"ಸೇರಿಸಲಾಗಿದೆ",addLabel:"ಸೇರಿಸಿ",mandapTitle:"ಮಂಟಪ ಸಿದ್ಧತಾ ಶುಲ್ಕ",mandapDescription:"ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ ಪ್ರಮುಖ ವ್ಯವಸ್ಥೆಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.",checkoutProceedLabel:"ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",checkoutRitualSingular:"ಪೂಜೆ",checkoutRitualPlural:"ಪೂಜೆಗಳು"},te:{backButtonAriaLabel:"వెనుకకు వెళ్లండి",headerTitle:"మీ బుకింగ్ను సమీక్షించండి",addonsTitle:"అందరి పితరుల కోసం సేవలను జోడించండి",addonsDescription:"ఈ పూజలు సర్వ పితృ అమావాస్య రోజున జరుగుతాయి",addedLabel:"జోడించబడింది",addLabel:"జోడించండి",mandapTitle:"మండప ఏర్పాటు రుసుము",mandapDescription:"ఆలయంలో స్థలం, మండపం మరియు అవసరమైన పూజ ఏర్పాట్లు చేయడానికి",checkoutProceedLabel:"ముందుకు సాగండి",checkoutRitualSingular:"పూజ",checkoutRitualPlural:"పూజలు"}},He=t=>Zt[t]??Zt.en,Je=({title:t,description:a,price:r,originalPrice:n,action:l,className:i,...c})=>e.jsx("div",{className:f.cn("rounded-2xl border border-gray-200 bg-white p-4",i),...c,children:e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[15px] leading-5 font-bold text-[#1d2125]",children:t}),a&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:a})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-2",children:[e.jsxs("div",{className:"flex items-baseline gap-1.5 whitespace-nowrap",children:[n&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:n}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:r})]}),l]})]})}),qt=({locale:t="en",...a})=>{const{mandapTitle:r,mandapDescription:n}=He(t);return e.jsx(Je,{title:r,description:n,...a})},js=({children:t="Change",className:a,type:r="button",...n})=>e.jsxs("button",{type:r,className:f.cn("inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900! transition-colors hover:bg-gray-50",a),...n,children:[e.jsx(Et,{size:14,"aria-hidden":!0}),t]}),vs=({locale:t="en",isAdded:a=!0,children:r,className:n,type:l="button",...i})=>e.jsxs("button",{type:l,className:f.cn("inline-flex items-center gap-1.5 rounded-full border border-[#159169] bg-white px-3 py-1.5 text-sm font-semibold text-[#159169]! transition-colors hover:bg-[#edf5f2]",n),...i,children:[a&&e.jsx(Ze,{size:14,"aria-hidden":!0}),r??(a?He(t).addedLabel:He(t).addLabel)]}),te={contentBlock:"_contentBlock_2nhli_8",imageWrap:"_imageWrap_2nhli_18",image:"_image_2nhli_18",tag:"_tag_2nhli_32",info:"_info_2nhli_47",title:"_title_2nhli_54",description:"_description_2nhli_61",footer:"_footer_2nhli_68",priceRow:"_priceRow_2nhli_77",price:"_price_2nhli_77",basePrice:"_basePrice_2nhli_92",savedBadge:"_savedBadge_2nhli_101",actionWrap:"_actionWrap_2nhli_122"},Qt=({isOpen:t,onClose:a,ariaLabel:r,image:n,imageAlt:l="",tag:i,tagClassName:c,title:o,description:d,descriptionHtml:v,price:p,basePrice:u,currencySymbol:m="₹",showSavedBadge:j,savedLabel:h,action:L})=>{const N=typeof u=="number"&&u>p,y=N?Math.round((u-p)/u*100):0,w=(j??N)&&y>0;return e.jsx(je,{isOpen:t,onClose:a,ariaLabel:r,showCloseButton:!0,closeButtonOutside:!0,footer:e.jsxs("div",{className:te.footer,children:[e.jsxs("div",{className:te.priceRow,children:[e.jsxs("span",{className:te.price,children:[m,p]}),N&&e.jsxs("span",{className:te.basePrice,children:[m,u]}),w&&e.jsx("span",{className:te.savedBadge,children:h??`Save ${y}%`})]}),L&&e.jsx("div",{className:te.actionWrap,children:L})]}),children:e.jsxs("div",{className:te.contentBlock,children:[e.jsx("div",{className:te.imageWrap,children:e.jsx("img",{src:n,alt:l,className:te.image})}),i&&e.jsx("div",{className:f.cn(te.tag,c),children:i}),e.jsxs("div",{className:te.info,children:[e.jsx("p",{className:te.title,children:o}),v?e.jsx("div",{className:te.description,dangerouslySetInnerHTML:{__html:v}}):d&&e.jsx("p",{className:te.description,children:d})]})]})})},X={card:"_card_19yuv_11",tappable:"_tappable_19yuv_19",tag:"_tag_19yuv_23",content:"_content_19yuv_37",info:"_info_19yuv_44",textGroup:"_textGroup_19yuv_53",title:"_title_19yuv_59",description:"_description_19yuv_66",descriptionClamp:"_descriptionClamp_19yuv_78",readMoreToggleBlock:"_readMoreToggleBlock_19yuv_89",readMoreToggle:"_readMoreToggle_19yuv_89",priceRow:"_priceRow_19yuv_106",price:"_price_19yuv_106",originalPrice:"_originalPrice_19yuv_121",imageWrap:"_imageWrap_19yuv_127",image:"_image_19yuv_127",actionWrap:"_actionWrap_19yuv_141"},ys=t=>t.replace(/<[^>]*>/g,"").trim(),Xt=({image:t,imageAlt:a="",sheetImage:r,title:n,description:l,descriptionHtml:i,descriptionClampLines:c=2,descriptionMaxLength:o=40,locale:d="en",readMoreLabel:v=Ye(d,"templeSignificanceReadMoreLabel"),readLessLabel:p=Ye(d,"templeSignificanceReadLessLabel"),price:u,originalPrice:m,tag:j,tagClassName:h,action:L,sheetPrice:N,sheetBasePrice:y,sheetCurrencySymbol:w,sheetShowSavedBadge:T,sheetSavedLabel:D,sheetAriaLabel:W,onReadMoreClick:I,className:z,...F})=>{const[H,U]=g.useState(!1),[_,S]=g.useState(!1),V=i?ys(i).length>o:typeof l=="string"&&l.length>o,J=V&&!i&&!H?`${l.slice(0,o).trimEnd()}... `:l,G=typeof N=="number",ne=!!i&&V&&!H,Z=V&&e.jsx("button",{type:"button",onClick:ae=>{ae.stopPropagation(),G?(S(!0),I?.(!0)):U(le=>(I?.(!le),!le))},className:f.cn(X.readMoreToggle,i&&X.readMoreToggleBlock),children:G?v:H?p:v});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:f.cn(X.card,G&&X.tappable,z),onClick:G?()=>S(!0):void 0,...F,children:[j&&e.jsx("div",{className:f.cn(X.tag,h),children:j}),e.jsxs("div",{className:X.content,children:[e.jsxs("div",{className:X.info,children:[e.jsxs("div",{className:X.textGroup,children:[e.jsx("p",{className:X.title,children:n}),i?e.jsxs("div",{className:X.description,children:[e.jsx("div",{className:f.cn(ne&&X.descriptionClamp),style:ne?{WebkitLineClamp:c}:void 0,dangerouslySetInnerHTML:{__html:i}}),Z]}):l&&e.jsxs("p",{className:X.description,children:[J,Z]})]}),e.jsxs("div",{className:X.priceRow,children:[e.jsx("span",{className:X.price,children:u}),m&&e.jsx("span",{className:X.originalPrice,children:m})]})]}),e.jsxs("div",{className:X.imageWrap,children:[e.jsx("img",{src:t,alt:a,className:X.image}),L&&e.jsx("div",{className:X.actionWrap,onClick:ae=>ae.stopPropagation(),children:L})]})]})]}),G&&e.jsx(Qt,{isOpen:_,onClose:()=>S(!1),ariaLabel:W,image:r||t,imageAlt:a,tag:j,tagClassName:h,title:n,description:l,descriptionHtml:i,price:N,basePrice:y,currencySymbol:w,showSavedBadge:T,savedLabel:D,action:L})]})};function Jt(t){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:e.jsx("path",{d:"M16.875 4.16667C14.6558 4.16667 12.4933 3.38083 10.375 1.79167C10.2668 1.71053 10.1352 1.66667 10 1.66667C9.86477 1.66667 9.73319 1.71053 9.625 1.79167C7.50667 3.38083 5.34417 4.16667 3.125 4.16667C2.95924 4.16667 2.80027 4.23251 2.68306 4.34972C2.56585 4.46694 2.5 4.62591 2.5 4.79167V9.16667C2.5 13.3342 4.965 16.3967 9.77083 18.29C9.9181 18.348 10.0819 18.348 10.2292 18.29C15.035 16.3967 17.5 13.3333 17.5 9.16667V4.79167C17.5 4.62591 17.4342 4.46694 17.3169 4.34972C17.1997 4.23251 17.0408 4.16667 16.875 4.16667ZM13.9642 7.7525L8.96417 12.3358C8.8454 12.4446 8.68923 12.5033 8.52824 12.4997C8.36724 12.4962 8.21383 12.4306 8.1 12.3167L6.01667 10.2333C5.95526 10.1761 5.90601 10.1071 5.87185 10.0304C5.83769 9.95378 5.81932 9.87102 5.81784 9.7871C5.81636 9.70318 5.8318 9.61983 5.86323 9.542C5.89467 9.46418 5.94145 9.39348 6.0008 9.33414C6.06015 9.27479 6.13085 9.228 6.20867 9.19656C6.28649 9.16513 6.36985 9.14969 6.45377 9.15117C6.53769 9.15265 6.62045 9.17102 6.69712 9.20518C6.77378 9.23934 6.84278 9.28859 6.9 9.35L8.56083 11.01L13.1192 6.83083C13.2414 6.71878 13.4031 6.65987 13.5688 6.66706C13.7344 6.67424 13.8904 6.74695 14.0025 6.86917C14.1146 6.99139 14.1735 7.15312 14.1663 7.31877C14.1591 7.48443 14.0864 7.64045 13.9642 7.7525Z",fill:"#525252"})})}function ea(t){return e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:[e.jsx("path",{d:"M10 10.4167C9.22645 10.4167 8.48459 10.724 7.93761 11.2709C7.39062 11.8179 7.08333 12.5598 7.08333 13.3333C7.08333 14.1069 7.39062 14.8487 7.93761 15.3957C8.48459 15.9427 9.22645 16.25 10 16.25C10.7735 16.25 11.5154 15.9427 12.0624 15.3957C12.6094 14.8487 12.9167 14.1069 12.9167 13.3333C12.9167 12.5598 12.6094 11.8179 12.0624 11.2709C11.5154 10.724 10.7735 10.4167 10 10.4167ZM8.75 13.3333C8.75 13.0018 8.8817 12.6839 9.11612 12.4495C9.35054 12.215 9.66848 12.0833 10 12.0833C10.3315 12.0833 10.6495 12.215 10.8839 12.4495C11.1183 12.6839 11.25 13.0018 11.25 13.3333C11.25 13.6649 11.1183 13.9828 10.8839 14.2172C10.6495 14.4516 10.3315 14.5833 10 14.5833C9.66848 14.5833 9.35054 14.4516 9.11612 14.2172C8.8817 13.9828 8.75 13.6649 8.75 13.3333Z",fill:"#525252"}),e.jsx("path",{d:"M14.605 4.26333L11.9558 0.549167L2.215 8.33083L1.675 8.325V8.33333H1.25V18.3333H18.75V8.33333H17.9483L16.3533 3.6675L14.605 4.26333ZM16.1875 8.33333H7.83083L14.055 6.21167L15.3233 5.80583L16.1875 8.33333ZM12.9583 4.825L6.53333 7.015L11.6217 2.95L12.9583 4.825ZM2.91667 15.1408V11.5242C3.26848 11.4 3.58804 11.1987 3.85192 10.9349C4.1158 10.6712 4.31731 10.3517 4.44167 10H15.5583C15.6826 10.3519 15.884 10.6715 16.1479 10.9354C16.4118 11.1993 16.7314 11.4007 17.0833 11.525V15.1417C16.7314 15.2659 16.4118 15.4674 16.1479 15.7313C15.884 15.9951 15.6826 16.3148 15.5583 16.6667H4.44333C4.31849 16.3147 4.11664 15.9951 3.85252 15.7311C3.5884 15.4672 3.26867 15.2655 2.91667 15.1408Z",fill:"#525252"})]})}function ta(t){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:e.jsx("path",{d:"M3.28125 2.5C2.74253 2.5 2.22587 2.71401 1.84494 3.09494C1.46401 3.47587 1.25 3.99253 1.25 4.53125V9.48125C1.9378 8.60514 2.93388 8.02435 4.03512 7.85731C5.13637 7.69027 6.25987 7.94956 7.17654 8.5823C8.09321 9.21504 8.73403 10.1736 8.96834 11.2625C9.20264 12.3514 9.0128 13.4887 8.4375 14.4425V15.625H16.7188C17.2575 15.625 17.7741 15.411 18.1551 15.0301C18.536 14.6491 18.75 14.1325 18.75 13.5938V4.53125C18.75 3.99253 18.536 3.47587 18.1551 3.09494C17.7741 2.71401 17.2575 2.5 16.7188 2.5H3.28125ZM5.625 6.25H14.375C14.5408 6.25 14.6997 6.31585 14.8169 6.43306C14.9342 6.55027 15 6.70924 15 6.875C15 7.04076 14.9342 7.19973 14.8169 7.31694C14.6997 7.43415 14.5408 7.5 14.375 7.5H5.625C5.45924 7.5 5.30027 7.43415 5.18306 7.31694C5.06585 7.19973 5 7.04076 5 6.875C5 6.70924 5.06585 6.55027 5.18306 6.43306C5.30027 6.31585 5.45924 6.25 5.625 6.25ZM10 11.25C10 11.0842 10.0658 10.9253 10.1831 10.8081C10.3003 10.6908 10.4592 10.625 10.625 10.625H14.375C14.5408 10.625 14.6997 10.6908 14.8169 10.8081C14.9342 10.9253 15 11.0842 15 11.25C15 11.4158 14.9342 11.5747 14.8169 11.6919C14.6997 11.8092 14.5408 11.875 14.375 11.875H10.625C10.4592 11.875 10.3003 11.8092 10.1831 11.6919C10.0658 11.5747 10 11.4158 10 11.25ZM8.125 12.1875C8.125 13.0992 7.76284 13.9735 7.11818 14.6182C6.47352 15.2628 5.59918 15.625 4.6875 15.625C3.77582 15.625 2.90148 15.2628 2.25682 14.6182C1.61216 13.9735 1.25 13.0992 1.25 12.1875C1.25 11.2758 1.61216 10.4015 2.25682 9.75682C2.90148 9.11216 3.77582 8.75 4.6875 8.75C5.59918 8.75 6.47352 9.11216 7.11818 9.75682C7.76284 10.4015 8.125 11.2758 8.125 12.1875ZM7.5 15.5387C6.71283 16.2015 5.71649 16.5641 4.6875 16.5625C3.65851 16.5641 2.66217 16.2015 1.875 15.5387V18.125C1.87503 18.2364 1.90484 18.3458 1.96136 18.4419C2.01788 18.5379 2.09904 18.6171 2.19644 18.6712C2.29385 18.7253 2.40394 18.7524 2.51534 18.7497C2.62673 18.7469 2.73537 18.7145 2.83 18.6556L4.6875 17.4994L6.545 18.6556C6.63967 18.7145 6.74837 18.747 6.85982 18.7497C6.97127 18.7524 7.08141 18.7252 7.17883 18.671C7.27625 18.6168 7.35741 18.5376 7.41388 18.4414C7.47035 18.3453 7.50008 18.2359 7.5 18.1244V15.5387Z",fill:"#525252"})})}function aa(t){return e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:[e.jsx("path",{d:"M15.8991 6.62735L15.5202 7.55748C15.4005 7.87412 15.4005 8.21056 15.5202 8.5272L15.8991 9.45733C16.1184 10.0115 15.939 10.6447 15.4404 11.001L14.6028 11.5749C14.3236 11.7728 14.1441 12.0696 14.0644 12.3863L13.8849 13.3758C13.7652 13.9695 13.2667 14.4049 12.6684 14.4247L11.6513 14.4642C11.3123 14.484 10.9932 14.6226 10.7539 14.86L10.0559 15.5923C9.63716 16.0277 8.97906 16.1266 8.46056 15.8298L7.58309 15.3152C7.28396 15.1371 6.94494 15.0975 6.60592 15.1767L5.6088 15.4142C5.03047 15.5527 4.41225 15.2756 4.13306 14.7413L3.67438 13.8309C3.51485 13.5341 3.25559 13.2966 2.93652 13.1977L1.97928 12.881C1.40095 12.6831 1.04199 12.129 1.10182 11.5353L1.20153 10.526C1.24141 10.1896 1.1417 9.85314 0.922335 9.59586L0.284179 8.80426C-0.0947263 8.3293 -0.0947263 7.67622 0.284179 7.20126L0.922335 6.40965C1.1417 6.15238 1.24141 5.81595 1.20153 5.47952L1.10182 4.47022C1.04199 3.87652 1.40095 3.3224 1.97928 3.12449L2.93652 2.80785C3.25559 2.7089 3.51485 2.47142 3.67438 2.17457L4.13306 1.26422C4.41225 0.729891 5.01052 0.452829 5.6088 0.59136L6.60592 0.828841C6.92499 0.908002 7.28396 0.868421 7.58309 0.69031L8.46056 0.175768C8.97906 -0.121084 9.63716 -0.0419239 10.0559 0.413249L10.7539 1.14548C10.9932 1.38296 11.3123 1.54129 11.6513 1.54129L12.6684 1.58087C13.2667 1.60066 13.7852 2.03604 13.8849 2.62974L14.0644 3.61925C14.1242 3.95568 14.3236 4.25253 14.6028 4.43064L15.4404 5.00456C15.939 5.43994 16.1384 6.07322 15.8991 6.62735Z",fill:"#525252"}),e.jsxs("g",{opacity:.15,children:[e.jsx("path",{d:"M4.71139 14.6823L4.25271 13.772C4.09317 13.4751 3.83392 13.2377 3.51484 13.1387L2.55761 12.8221C1.97928 12.6242 1.62032 12.07 1.68015 11.4763L1.77986 10.467C1.81974 10.1306 1.72003 9.79418 1.50066 9.53691L0.862508 8.7453C0.483603 8.27034 0.483603 7.61727 0.862508 7.1423L1.50066 6.3507C1.72003 6.09343 1.81974 5.75699 1.77986 5.42056L1.68015 4.41127C1.62032 3.81756 1.97928 3.26344 2.55761 3.06554L3.51484 2.7489C3.83392 2.64995 4.09317 2.41246 4.25271 2.11561L4.71139 1.20527C4.87093 0.888625 5.15012 0.670934 5.44926 0.571984C4.91081 0.492823 4.37237 0.769885 4.13306 1.26464L3.67438 2.17498C3.51484 2.47183 3.25559 2.70932 2.93652 2.80827L1.97928 3.12491C1.40095 3.32281 1.04199 3.87693 1.10182 4.47064L1.20153 5.47993C1.24141 5.81636 1.1417 6.1528 0.922335 6.41007L0.284179 7.20167C-0.0947263 7.67664 -0.0947263 8.32971 0.284179 8.80467L0.922335 9.59628C1.1417 9.85355 1.24141 10.19 1.20153 10.5264L1.10182 11.5357C1.04199 12.1294 1.40095 12.6835 1.97928 12.8814L2.93652 13.1981C3.25559 13.297 3.51484 13.5345 3.67438 13.8314L4.13306 14.7417C4.41225 15.276 5.01052 15.5531 5.60879 15.4146L5.72845 15.3948C5.28972 15.3156 4.91081 15.0781 4.71139 14.6823Z",fill:"black"}),e.jsx("path",{d:"M8.14186 0.63139L9.01932 0.116847C9.09909 0.077267 9.17886 0.0376868 9.25863 0.0178967C8.97944 -0.0216835 8.6803 0.037687 8.44099 0.176218L7.56353 0.690761C7.48376 0.730341 7.40399 0.769921 7.32422 0.789711C7.60341 0.829291 7.88261 0.789711 8.14186 0.63139Z",fill:"black"}),e.jsx("path",{d:"M12.2099 14.3856C12.1101 14.3856 12.0104 14.4055 11.9307 14.4255L12.6486 14.3856C12.7483 14.3856 12.8281 14.3656 12.9278 14.3457L12.2099 14.3856Z",fill:"black"}),e.jsx("path",{d:"M9.01883 15.7505L8.14136 15.236C7.84223 15.0579 7.50321 15.0183 7.16419 15.0975L7.04453 15.1173C7.22401 15.137 7.38355 15.1964 7.54309 15.2756L8.42056 15.7901C8.75958 15.988 9.13848 16.0078 9.49745 15.8891C9.33791 15.8891 9.17837 15.8495 9.01883 15.7505Z",fill:"black"})]}),e.jsx("path",{d:"M4.83105 6.78584L7.32385 9.61583L12.4291 5.53906",fill:"#525252"}),e.jsx("path",{d:"M6.72499 11.0798C6.4458 11.0798 6.16661 10.961 5.96718 10.7433L3.47438 7.91333C3.11542 7.49774 3.1553 6.88425 3.55415 6.50824C3.97294 6.15201 4.59116 6.19159 4.97006 6.5874L6.84465 8.70494L11.212 5.22188C11.6308 4.88545 12.269 4.94482 12.608 5.3802C12.947 5.81558 12.8872 6.42908 12.4485 6.76551L7.34321 10.8621C7.16372 11.0006 6.94436 11.0798 6.72499 11.0798Z",fill:"#EDEDED"})]})}function ra(t){return e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,...t,children:[e.jsx("path",{d:"M17.5 10.1833C17.5 5.60833 13.95 2.5 10 2.5C6.09167 2.5 2.5 5.54167 2.5 10.2333C2 10.5167 1.66667 11.05 1.66667 11.6667V13.3333C1.66667 14.25 2.41667 15 3.33333 15H4.16667V9.91667C4.16667 6.69167 6.775 4.08333 10 4.08333C13.225 4.08333 15.8333 6.69167 15.8333 9.91667V15.8333H9.16667V17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V14.8167C17.9917 14.5583 18.3333 14.05 18.3333 13.45V11.5333C18.3333 10.95 17.9917 10.4417 17.5 10.1833Z",fill:"#525252"}),e.jsx("path",{d:"M7.5 11.6667C7.96024 11.6667 8.33333 11.2936 8.33333 10.8333C8.33333 10.3731 7.96024 10 7.5 10C7.03976 10 6.66667 10.3731 6.66667 10.8333C6.66667 11.2936 7.03976 11.6667 7.5 11.6667Z",fill:"#525252"}),e.jsx("path",{d:"M12.5 11.6667C12.9602 11.6667 13.3333 11.2936 13.3333 10.8333C13.3333 10.3731 12.9602 10 12.5 10C12.0398 10 11.6667 10.3731 11.6667 10.8333C11.6667 11.2936 12.0398 11.6667 12.5 11.6667Z",fill:"#525252"}),e.jsx("path",{d:"M15 9.19167C14.8013 8.02011 14.1945 6.95664 13.287 6.18948C12.3796 5.42233 11.23 5.00098 10.0417 5C7.51667 5 4.8 7.09167 5.01667 10.375C6.04448 9.95481 6.95226 9.28665 7.65896 8.43018C8.36566 7.57371 8.84928 6.55557 9.06667 5.46667C10.1583 7.65833 12.4 9.16667 15 9.19167Z",fill:"#525252"})]})}const Ns=[{id:"money-back",icon:e.jsx(Jt,{className:"size-5"}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(ea,{className:"size-5"}),label:"No Hidden Cost"},{id:"iso-certified",icon:e.jsx(ta,{className:"size-5"}),label:"ISO 27001 Certified Company"},{id:"temple-partner",icon:e.jsx(aa,{className:"size-4"}),label:"Official Temple Partner"},{id:"24x7-support",icon:e.jsx(ra,{className:"size-5"}),label:"24x7 Support"}],sa=(t,a,r)=>e.jsxs("span",{className:f.cn("inline-flex shrink-0 items-center gap-1 text-xs font-semibold text-[#525252]",r,t.className),children:[e.jsx("span",{className:"shrink-0","aria-hidden":!0,children:t.icon}),t.label]},a),na=({badges:t=Ns,badgeClassName:a,marquee:r=!0,marqueeDurationSeconds:n=14,className:l,...i})=>r?e.jsx("div",{className:f.cn("overflow-hidden bg-[#ededed] px-4 py-1",l),...i,children:e.jsx("div",{className:"flex w-max items-center gap-3 whitespace-nowrap motion-reduce:animate-none",style:{animation:`pitru-paksh-trust-badges-marquee ${n}s linear infinite`},children:[...t,...t].map((c,o)=>sa(c,`${c.id}-${o}`,a))})}):e.jsx("div",{className:f.cn("flex items-center gap-3 overflow-x-auto bg-[#ededed] px-4 py-1 whitespace-nowrap","scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",l),...i,children:t.map(c=>sa(c,c.id,a))}),et={en:{proceedLabel:"Proceed",infoButtonAriaLabel:"View bill details"},hi:{proceedLabel:"आगे बढ़ें",infoButtonAriaLabel:"बिल का विवरण देखें"},kn:{proceedLabel:"ಮುಂದುವರಿಯಿರಿ",infoButtonAriaLabel:"ಬಿಲ್ ವಿವರಗಳನ್ನು ನೋಡಿ"},te:{proceedLabel:"ముందుకు సాగండి",infoButtonAriaLabel:"బిల్లు వివరాలను చూడండి"}},la=t=>et[t]??et.en,Ve=({locale:t="en",amount:a,amountClassName:r,subtitle:n,subtitleClassName:l,showInfoIcon:i=!0,onInfoClick:c,infoIconClassName:o,proceedLabel:d,proceedIcon:v=e.jsx(ge,{"aria-hidden":!0}),onProceed:p,proceedButtonProps:u,buttonWrapperClassName:m,growProceedButton:j=!1,className:h,...L})=>{const N=la(t);return e.jsxs("div",{className:f.cn("flex items-center gap-3 rounded-t-[20px] bg-white px-4 py-4 shadow-[0_0_20px_rgba(0,0,0,0.15)]",h),...L,children:[e.jsxs("div",{className:f.cn("min-w-0",j?"flex-none":"flex-1"),children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:f.cn("text-xl font-extrabold text-[#1d2125]",r),children:a}),i&&e.jsx("button",{type:"button",onClick:c,"aria-label":N.infoButtonAriaLabel??"View bill details",className:f.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]!",!c&&"pointer-events-none",o),children:e.jsx(xe,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:f.cn("mt-1 text-sm text-gray-500",l),children:n})]}),e.jsx("div",{className:f.cn("min-w-0",j?"flex-1":"flex-none",m),children:e.jsxs(Y,{variant:"primary",size:"xl",onClick:p,...u,className:f.cn("h-auto min-h-14 min-w-0 justify-center gap-2 whitespace-normal px-3 py-2 text-center leading-5 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169] [&>span]:min-w-0 [&>span]:whitespace-normal",j?"w-full":"min-w-40",u?.className),children:[d??N.proceedLabel,v]})})]})},tt={en:{title:"Select the number of people performing the Puja (Karta)",description:"Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",benefits:["Panditji will pronounce the names and gotra of the ancestors and the performers","Our experienced Pandits will conduct the Puja with correct vedic rituals","A video of the entire Puja will be shared with you on WhatsApp and the Srimandir app"],trustBadgeLabels:{moneyBack:"100% Money Back Guarantee",noHiddenCost:"No Hidden Cost",isoCertified:"ISO 27001 Certified Company",templePartner:"Official Temple Partner",support:"24x7 Support"}},hi:{title:"पूजा करवाने वाले (कर्ता) लोगो की संख्या चुनें",description:"पूरे परिवार के साथ मिलकर पूजा करने से पितरों का आशीर्वाद मिलता है और परिवार की सुख-समृद्धि बढ़ती है।",benefits:["पंडितजी द्वारा पितृजन और कर्ता का नाम-गोत्र उच्चारण होगा","हमारे अनुभवी पुरोहित पूरे विधि-विधान से पूजा कराएंगे","पूरी पूजा का वीडियो आपको WhatsApp और श्रीमंदिर ऐप पर शेयर किया जाएगा"],trustBadgeLabels:{moneyBack:"100% पैसे वापस करने की गारंटी",noHiddenCost:"कोई छुपी हुई लागत नहीं",isoCertified:"ISO 27001 प्रमाणित कंपनी",templePartner:"आधिकारिक मंदिर सहभागी",support:"24x7 सहायता"}},kn:{title:"ಪೂಜೆ ನೆರವೇರಿಸುವ ಜನರ ಸಂಖ್ಯೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (ಕರ್ತೃ)",description:"ಇಡೀ ಕುಟುಂಬದೊಂದಿಗೆ ಒಟ್ಟಾಗಿ ಪೂಜೆ ಮಾಡುವುದರಿಂದ ಪೂರ್ವಜರ ಆಶೀರ್ವಾದ ಮತ್ತು ಕುಟುಂಬದ ಸಮೃದ್ಧಿ ದೊರೆಯುತ್ತದೆ",benefits:["ಪಂಡಿತರು ಪೂರ್ವಜರ & ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರುಗಳು ಹಾಗೂ ಗೋತ್ರವನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ","ನಮ್ಮ ಅನುಭವಿ ಪಂಡಿತರು ಸರಿಯಾದ ವೈದಿಕ ವಿಧಿವಿಧಾನಗಳೊಂದಿಗೆ ಪೂಜೆಯನ್ನು ನೆರವೇರಿಸುತ್ತಾರೆ","ಸಂಪೂರ್ಣ ಪೂಜೆಯ ವಿಡಿಯೋವನ್ನು ನಿಮ್ಮೊಂದಿಗೆ ವಾಟ್ಸಾಪ್ ಮತ್ತು ಶ್ರೀಮಂದಿರ ಆ್ಯಪ್ನಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಲಾಗುತ್ತದೆ"],trustBadgeLabels:{moneyBack:"100% ಹಣ ಮರಳಿ ನೀಡುವ ಖಾತರಿ",noHiddenCost:"ಗುಪ್ತ ವೆಚ್ಚಗಳಿಲ್ಲ",isoCertified:"ISO 27001 ಪ್ರಮಾಣೀಕೃತ ಕಂಪನಿ",templePartner:"ಅಧಿಕೃತ ದೇವಾಲಯ ಪಾಲುದಾರ",support:"24x7 ಬೆಂಬಲ"}},te:{title:"పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",description:"కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",benefits:["పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు","మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు","పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"],trustBadgeLabels:{moneyBack:"100% డబ్బు వాపసు గ్యారంటీ",noHiddenCost:"దాచిన ఖర్చులు లేవు",isoCertified:"ISO 27001 సర్టిఫైడ్ కంపెనీ",templePartner:"అధికారిక ఆలయ భాగస్వామి",support:"కస్టమర్ సపోర్ట్"}}},ia=t=>tt[t]??tt.en,ws=({locale:t="en",title:a,description:r,benefits:n,options:l,value:i,onChange:c,radioVariant:o="dot",radiogroupLabel:d,className:v,headerClassName:p,benefitsClassName:u,optionsClassName:m,trustBadges:j,checkout:h,stickyFooter:L=!0,footerClassName:N})=>{const y=ia(t),w=a??y.title,T=r??y.description,D=n??y.benefits,W=j??{badges:[{id:"money-back",icon:e.jsx(Jt,{className:"size-5"}),label:y.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(ea,{className:"size-5"}),label:y.trustBadgeLabels.noHiddenCost},{id:"iso-certified",icon:e.jsx(ta,{className:"size-5"}),label:y.trustBadgeLabels.isoCertified},{id:"temple-partner",icon:e.jsx(aa,{className:"size-4"}),label:y.trustBadgeLabels.templePartner},{id:"24x7-support",icon:e.jsx(ra,{className:"size-5"}),label:y.trustBadgeLabels.support}]};return e.jsxs("div",{className:f.cn("w-full",v),children:[e.jsxs("div",{className:f.cn("px-4 pt-5 pb-4",p),children:[e.jsx("p",{className:"text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:w}),T&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:T})]}),D&&D.length>0&&e.jsx("div",{className:f.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",u),children:D.map((I,z)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Ze,{size:18,className:"mt-0.5 shrink-0 text-emerald-600","aria-hidden":!0}),e.jsx("span",{className:"text-[14px] leading-5.5 text-gray-600",children:I})]},z))}),e.jsx("div",{role:"radiogroup","aria-label":d??(typeof w=="string"?w:void 0),className:f.cn("flex flex-col gap-3 p-4",m),children:l.map(I=>{const{id:z,price:F,free:H,badge:U,priceBadgeProps:_,note:S,children:V,iconClassName:J,radioVariant:G,...ne}=I,Z=i===z,ae=U??(F==null?void 0:H?e.jsx("span",{className:f.cn("text-sm font-medium text-[#22272b]",_?.className),..._,children:F}):e.jsx(Yt,{value:F,..._}));return e.jsx(Fe,{...ne,iconClassName:f.cn("size-10",J),radioVariant:G??o,badge:ae,selected:Z,onSelect:()=>c(z),note:Z?S:void 0,children:V},z)})}),(W||h)&&e.jsxs("div",{className:f.cn(L&&"sticky bottom-0 z-10",N),children:[W&&e.jsx(na,{...W}),h&&e.jsx(Ve,{locale:t,...h})]})]})},at={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers",ancestorLabel:"Ancestor",ritualLabel:"Ritual",performerLabel:"Performer"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता",ancestorLabel:"पितृजन",ritualLabel:"पूजा विधि",performerLabel:"कर्ता"},te:{title:"పితృపక్ష ప్రత్యేక పూజలు",ancestorsLabel:"మంది పితృదేవతలు",ritualsLabel:"పూజలు",performersLabel:"కర్తలు",ancestorLabel:"మంది పితృదేవతలు",ritualLabel:"పూజలు",performerLabel:"కర్తలు"},kn:{title:"ಪಿತೃ ಪಕ್ಷದ ವಿಶೇಷ ಆಚರಣೆಗಳು",ancestorsLabel:"ಪೂರ್ವಜರು",ritualsLabel:"ಆಚರಣೆಗಳು",performersLabel:"ಕರ್ತೃಗಳು",ancestorLabel:"ಪೂರ್ವಜರು",ritualLabel:"ಆಚರಣೆಗಳು",performerLabel:"ಕರ್ತೃಗಳು"}},oa=t=>at[t]??at.en,ca=({locale:t="en",icon:a=e.jsx(Qe,{"aria-hidden":!0}),iconClassName:r,title:n,titleClassName:l,subtitle:i,subtitleItems:c,stats:o,subtitleClassName:d,cardClassName:v,className:p,...u})=>{const m=oa(t),j=n??m.title,h=c??(o&&[`${o.ancestors} ${o.ancestors===1?m.ancestorLabel:m.ancestorsLabel}`,`${o.rituals} ${o.rituals===1?m.ritualLabel:m.ritualsLabel}`,`${o.performers} ${o.performers===1?m.performerLabel:m.performersLabel}`]);return e.jsx("div",{className:f.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",p),...u,children:e.jsxs("div",{className:f.cn("rounded-2xl bg-white p-4 shadow-sm",v),children:[e.jsxs("p",{className:f.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",l),children:[a&&e.jsx("span",{className:f.cn("shrink-0 text-sm",r),children:a}),j]}),(i||h&&h.length>0)&&e.jsx("p",{className:f.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",d),children:h&&h.length>0?h.map((L,N)=>e.jsxs(g.Fragment,{children:[N>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),L]},N)):i})]})})},da={en:{title:"Bill Details",totalLabel:"Total Amount",panditFeeLabel:"Pandit Fee",photoVideoFeeLabel:"Photo and video recording fee",freeLabel:"FREE"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि",panditFeeLabel:"पंडित शुल्क",photoVideoFeeLabel:"फोटो और वीडियो रिकॉर्डिंग शुल्क",freeLabel:"मुफ़्त"},kn:{title:"ಬಿಲ್ ವಿವರಗಳು",totalLabel:"ಒಟ್ಟು ಮೊತ್ತ",panditFeeLabel:"ಪಂಡಿತ್ ಶುಲ್ಕ",photoVideoFeeLabel:"ಫೋಟೋ ಮತ್ತು ವಿಡಿಯೋ ರೆಕಾರ್ಡಿಂಗ್ ಶುಲ್ಕ",freeLabel:"ಉಚಿತ"},te:{title:"బిల్లు వివరాలు",totalLabel:"మొత్తం",panditFeeLabel:"పండిట్ రుసుము",photoVideoFeeLabel:"ఫోటో మరియు వీడియో రికార్డింగ్ రుసుము",freeLabel:"ఉచితం"}},ua=t=>da[t]??da.en;function fa({label:t,originalValue:a,freeLabel:r,rowClassName:n}){return e.jsxs("div",{className:f.cn("flex items-start justify-between gap-3",n),children:[e.jsx("div",{className:"min-w-0",children:e.jsx("p",{className:"text-xs font-medium text-[#6b7280]",children:t})}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2 whitespace-nowrap text-xs",children:[e.jsx("span",{className:"text-[#d93640] line-through",children:a}),e.jsx("span",{className:"text-[#374151]",children:r})]})]})}const rt=({locale:t="en",titleClassName:a,showTitle:r=!0,rows:n,rowClassName:l,showTitleAccent:i=!0,totalValue:c,totalClassName:o,isGlobalUser:d=!1,showDefaultWaivedFees:v=!0,className:p,...u})=>{const{title:m,totalLabel:j,panditFeeLabel:h,photoVideoFeeLabel:L,freeLabel:N}=ua(t);return e.jsxs("div",{className:f.cn("bg-white px-4 py-6",p),...u,children:[r&&e.jsxs("h2",{className:f.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",a),children:[i&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),m]}),e.jsxs("div",{className:"flex flex-col gap-4",children:[n.map(y=>e.jsxs("div",{className:f.cn("flex items-start justify-between gap-3",l),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:f.cn("text-sm text-[#1d2125]",y.labelClassName),children:y.label}),y.subLabel&&e.jsx("p",{className:f.cn("mt-0.5 text-xs text-gray-400",y.subLabelClassName),children:y.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[y.note&&e.jsx("span",{className:"text-gray-400",children:y.note}),y.originalValue&&e.jsx("span",{className:f.cn("text-gray-400 line-through",y.originalValueClassName),children:y.originalValue}),e.jsx("span",{className:f.cn("font-medium text-[#1d2125]",y.valueClassName),children:y.value})]})]},y.id)),v&&e.jsxs(e.Fragment,{children:[e.jsx(fa,{label:h,originalValue:d?"$3.99":"₹51.0",freeLabel:N,rowClassName:l}),e.jsx(fa,{label:L,originalValue:d?"$0.49":"₹21.0",freeLabel:N,rowClassName:l})]})]}),c!==void 0&&e.jsxs("div",{className:f.cn("mt-4 flex items-center justify-between border-t border-solid border-gray-300 pt-4",o),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:j}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:c})]})]})},Cs="https://srm-cdn.a4b.io/yoda/1789670818921.svg";function Ls({isOpen:t,onClose:a,locale:r="en",title:n,itemCountLabel:l,closeButtonAriaLabel:i="Close",rows:c,totalValue:o,isGlobalUser:d=!1,showDefaultWaivedFees:v=!0}){const p=ua(r);return e.jsx(je,{isOpen:t,onClose:a,ariaLabel:String(n??p.title),showCloseButton:!1,className:"overflow-hidden rounded-t-[20px] bg-[#f7f8f9]",header:e.jsxs("div",{className:"flex w-full items-center justify-between border-b border-black/5 bg-white p-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("img",{src:Cs,alt:"","aria-hidden":!0,className:"size-8 shrink-0"}),e.jsxs("h2",{className:"min-w-0 flex-1 text-base font-bold leading-5.5 text-gray-700",children:[n??p.title,l&&e.jsxs(e.Fragment,{children:[" (",l,")"]})]})]}),e.jsx("button",{type:"button","aria-label":i,onClick:a,className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:e.jsx(St,{className:"size-6 text-[#1d2125]","aria-hidden":!0})})]}),children:e.jsx("div",{className:"bg-[#f7f8f9] p-3",children:e.jsx(rt,{locale:r,rows:c,totalValue:o,isGlobalUser:d,showTitle:!1,showTitleAccent:!1,showDefaultWaivedFees:v,className:"rounded-xl px-3 py-4 shadow-[0_1px_8px_rgba(17,24,39,0.06)]",rowClassName:"px-0",totalClassName:"border-gray-200"})})})}const ks=({locale:t="en",onBack:a,backButtonAriaLabel:r,headerClassName:n,backButtonClassName:l,headerTitleClassName:i,beforeAddons:c,summary:o,items:d,itemsClassName:v,itemClassName:p,onItemRef:u,addons:m,addonsSectionClassName:j,addonsHeaderClassName:h,addonsTitleClassName:L,addonsDescriptionClassName:N,addonsClassName:y,addonClassName:w,addonComponent:T=Xt,onAddonRef:D,billDetails:W,faq:I,checkout:z,className:F,children:H,...U})=>{const{backButtonAriaLabel:_,headerTitle:S,addonsTitle:V,addonsDescription:J,checkoutProceedLabel:G,checkoutRitualSingular:ne,checkoutRitualPlural:Z}=He(t),{price:ae,ritualCount:le,...A}=z??{};return e.jsxs("div",{className:f.cn("flex min-h-screen flex-col bg-white",F),...U,children:[e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsxs("div",{className:f.cn("flex items-center gap-3 px-4 py-3",n),children:[a&&e.jsx("button",{type:"button",onClick:a,"aria-label":r??_,className:f.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",l),children:e.jsx(qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:f.cn("text-lg font-bold text-[#1d2125]",i),children:S})]}),o&&e.jsx(ca,{...o}),d&&d.length>0&&e.jsx("div",{className:f.cn("flex flex-col gap-3 bg-white px-4 py-4",v),children:d.map(({id:M,className:oe,isMandapCharge:de,...ce})=>e.jsx("div",{ref:u?pe=>u(M,pe):void 0,children:de?e.jsx(qt,{locale:t,className:f.cn(p,oe),...ce}):e.jsx(Je,{className:f.cn(p,oe),...ce})},M))}),c,m&&m.length>0&&e.jsxs("div",{className:f.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",j),children:[e.jsxs("div",{className:h,children:[e.jsx("h2",{className:f.cn("text-base font-bold text-gray-700",L),children:V}),e.jsx("p",{className:f.cn("mt-1 text-sm text-gray-500",N),children:J})]}),e.jsx("div",{className:f.cn("flex flex-col gap-4",y),children:m.map(({id:M,className:oe,...de})=>e.jsx("div",{ref:D?ce=>D(M,ce):void 0,children:e.jsx(T,{locale:t,className:f.cn(w,oe),...de})},M))})]}),W&&e.jsx(rt,{...W,locale:t}),I&&e.jsx($t,{...I}),H]}),z&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(Ve,{growProceedButton:!0,...A,locale:t,amount:ae,subtitle:`${le} ${le===1?ne:Z}`,proceedLabel:G})})]})},ue=g.forwardRef(({label:t,value:a,onChange:r,prefix:n,showCharCount:l=!1,supportingText:i,error:c=!1,className:o,containerClassName:d,wrapperClassName:v,maxLength:p,id:u,...m},j)=>{const h=g.useId(),L=u??h,N=i??(l?`${a.length}${p?`/${p}`:""}`:void 0);return e.jsxs("div",{className:f.cn("flex w-full flex-col gap-2",d),children:[t&&e.jsx("label",{htmlFor:L,className:"text-[14px] leading-5 font-semibold text-[#6b7280]",children:t}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("div",{className:f.cn("flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",c?"border-[#ef4444]":"border-[#d1d5db]",v),children:[n&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:n}),e.jsx("input",{ref:j,id:L,value:a,maxLength:p,onChange:y=>r(y.target.value),"aria-invalid":c,className:f.cn("w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",o),...m})]}),N&&e.jsx("p",{className:f.cn("text-[12px] leading-4 font-medium",c?"text-[#ef4444]":"text-[#9ca3af]"),children:N})]})]})});ue.displayName="TextField";function Ss({isOpen:t,onClose:a,avatarUrl:r,heading:n,tithis:l,confirmLabel:i,onConfirm:c,initialTithi:o}){const[d,v]=g.useState(o),p=()=>{d&&c(d)};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 px-5 pt-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-3",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:n})]}),e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"})]}),footer:e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-2",children:[e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"}),e.jsx(Y,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!d,onClick:p,children:i})]}),children:e.jsx("div",{className:"grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4",children:l.map(u=>{const m=d===u;return e.jsx("button",{type:"button",onClick:()=>v(u),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${m?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:u},u)})})})}const ye=48;function Ne({options:t,selectedIndex:a,onChange:r}){const n=g.useRef(null),l=g.useRef(!1);g.useEffect(()=>{l.current||!n.current||(l.current=!0,n.current.scrollTop=a*ye)},[]),g.useEffect(()=>{!l.current||!n.current||(n.current.scrollTop=a*ye)},[t.length,a]);const i=()=>{if(!n.current)return;const o=Math.round(n.current.scrollTop/ye),d=Math.max(0,Math.min(t.length-1,o));d!==a&&r(d)},c=o=>{n.current?.scrollTo({top:o*ye,behavior:"smooth"}),r(o)};return e.jsx("div",{className:"relative h-36 w-full",children:e.jsxs("div",{ref:n,onScroll:i,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:ye},"aria-hidden":!0}),t.map((o,d)=>e.jsx("button",{type:"button",onClick:()=>c(d),className:`flex h-12 w-full snap-center items-center justify-center whitespace-nowrap border-0 bg-transparent text-[20px] leading-7 ${d===a?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:o},o)),e.jsx("div",{style:{height:ye},"aria-hidden":!0})]})})}const xa=Array.from({length:31},(t,a)=>a+1),_s=Array.from({length:12},(t,a)=>a);function Ps({isOpen:t,onClose:a,avatarUrl:r,heading:n,monthLabels:l,confirmLabel:i,onConfirm:c,timezoneLabel:o,initialDate:d,minYear:v,maxYear:p=new Date().getFullYear(),minDate:u,maxDate:m}){const j=u?.year??v,h=m?.year??p,L=g.useMemo(()=>{const _=j??h-120;return Array.from({length:h-_+1},(S,V)=>_+V)},[j,h]),[N,y]=g.useState(()=>d?d.day-1:Math.floor(xa.length/2)),[w,T]=g.useState(()=>d?d.month-1:0),[D,W]=g.useState(()=>d?Math.max(0,L.indexOf(d.year)):Math.floor(L.length/2)),I=L[D],z=g.useMemo(()=>{let _=_s;return m&&I===m.year&&(_=_.filter(S=>S<=m.month-1)),u&&I===u.year&&(_=_.filter(S=>S>=u.month-1)),_},[I,u,m]),F=(z[w]??z[z.length-1]??0)+1,H=g.useMemo(()=>{let _=xa;return m&&I===m.year&&F===m.month&&(_=_.filter(S=>S<=m.day)),u&&I===u.year&&F===u.month&&(_=_.filter(S=>S>=u.day)),_},[I,F,u,m]);g.useEffect(()=>{T(_=>Math.min(_,z.length-1))},[z]),g.useEffect(()=>{y(_=>Math.min(_,H.length-1))},[H]);const U=()=>{const _=H[N]??H[H.length-1]??1;c({day:_,month:F,year:I})};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[o&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:o}),e.jsx(Y,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:U,children:i})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Ne,{options:H.map(String),selectedIndex:N,onChange:y}),e.jsx(Ne,{options:z.map(_=>l[_]),selectedIndex:w,onChange:T}),e.jsx(Ne,{options:L.map(String),selectedIndex:D,onChange:W}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}const st=Array.from({length:12},(t,a)=>a+1),pa=Array.from({length:60},(t,a)=>a);function Ts(t){const a=t>=12?"PM":"AM";return{hour12:t%12===0?12:t%12,period:a}}function As(t,a){return a==="AM"?t===12?0:t:t===12?12:t+12}function Es({isOpen:t,onClose:a,avatarUrl:r,heading:n,confirmLabel:l,onConfirm:i,timezoneLabel:c,initialTime:o,amLabel:d="AM",pmLabel:v="PM"}){const p=g.useMemo(()=>Ts(o?.hour??11),[o?.hour]),u=[d,v],[m,j]=g.useState(()=>st.indexOf(p.hour12)),[h,L]=g.useState(()=>o?.minute??0),[N,y]=g.useState(()=>p.period==="AM"?0:1),w=()=>{const T=As(st[m],N===0?"AM":"PM");i({hour:T,minute:pa[h]})};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[c&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:c}),e.jsx(Y,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:w,children:l})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Ne,{options:st.map(String),selectedIndex:m,onChange:j}),e.jsx(Ne,{options:pa.map(T=>String(T).padStart(2,"0")),selectedIndex:h,onChange:L}),e.jsx(Ne,{options:u,selectedIndex:N,onChange:y}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}function Os({className:t}){return e.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[e.jsx("path",{d:"M8.68684 4.40106C10.0829 3.77017 11.6588 3.5536 13.1827 3.75605C14.7302 3.9585 16.2115 4.61763 17.3946 5.62988C18.5304 6.58092 19.3965 7.84269 19.8744 9.23629C20.4234 10.8229 20.466 12.5791 19.9975 14.1798C19.4765 15.9578 18.3719 17.511 16.8598 18.5913C15.8907 19.2813 14.7834 19.755 13.6134 19.9802C11.6257 20.3569 9.51503 19.9896 7.7924 18.9444C7.68356 18.8973 7.57944 18.7796 7.45166 18.8314L4.42761 19.6083L5.23213 16.6704C5.27945 16.5668 5.1848 16.4821 5.13748 16.3879C4.22411 15.0037 3.75086 13.3371 3.79818 11.6798C3.84551 8.28996 6.02245 5.60634 8.67264 4.38223",fill:"#40C351"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.32076 3.80784C8.50717 2.25416 11.3372 1.66094 13.9874 2.18825C15.7036 2.5261 17.2991 3.31079 18.611 4.46227C20.4678 6.08162 21.6521 8.33062 21.9332 10.7711C22.1215 12.3824 21.9102 14.015 21.318 15.5263C20.6176 17.3154 19.3777 18.8879 17.8065 19.9991C16.2925 21.0737 14.5047 21.702 12.6481 21.8117C10.7899 21.9254 8.93695 21.5176 7.30038 20.6346L2 22L3.39608 16.9152C3.42241 16.8585 3.38772 16.8098 3.35612 16.7655L3.34876 16.7552C2.30141 14.8952 1.88641 12.7483 2.16564 10.6346C2.5382 7.88745 4.03716 5.41625 6.30656 3.80784H6.32076ZM9.11312 7.3201C9.33554 7.32481 9.48225 7.52255 9.56744 7.69675C9.72969 8.04649 9.87341 8.40239 10.0171 8.75829C10.1249 9.02521 10.2327 9.29213 10.3483 9.55645C10.4051 9.68357 10.4429 9.82482 10.3956 9.96135C10.2888 10.2623 10.075 10.4994 9.86276 10.7347C9.79281 10.8122 9.72305 10.8895 9.65735 10.9689C9.5627 11.0772 9.57217 11.2325 9.64789 11.3455C10.3755 12.7518 11.6221 13.8232 13.1263 14.3352C13.2682 14.3964 13.4386 14.3823 13.538 14.2599C13.8218 13.9448 14.0903 13.6164 14.3425 13.2759C14.5593 12.9946 14.7479 13.0728 15.0299 13.1896L15.0335 13.1911L16.8507 14.0621C16.9927 14.1233 17.1347 14.2269 17.1205 14.3917C17.2151 15.6158 16.1125 16.5668 14.9577 16.6045C11.9763 16.3879 9.9413 14.7401 8.47423 12.838L8.37335 12.6986C7.92172 12.0754 7.46201 11.4409 7.21539 10.7005C6.96457 10.0037 6.9551 9.20805 7.25325 8.52067C7.7123 7.60259 8.11456 7.24948 9.12732 7.30597L9.11312 7.3201ZM4.86319 7.82387C5.7245 6.32198 7.07326 5.10729 8.65864 4.40107L8.66338 4.4199C10.0642 3.78902 11.6448 3.57244 13.1592 3.77489C14.7157 3.98658 16.1788 4.63676 17.3759 5.64872C18.5137 6.60692 19.3704 7.85288 19.8557 9.25514C20.4045 10.8516 20.4475 12.5772 19.9787 14.1987C19.4578 15.9767 18.3531 17.5298 16.8411 18.6102C15.8735 19.3027 14.7655 19.7767 13.5946 19.9991C11.5917 20.3768 9.51914 20.0063 7.77367 18.9586C7.75146 18.9465 7.72904 18.9323 7.70627 18.9179C7.62227 18.8647 7.53346 18.8085 7.43293 18.8456C6.91046 18.9767 6.38925 19.1129 5.86865 19.2489C5.38012 19.3765 4.89213 19.504 4.40414 19.6271L5.20866 16.6893C5.23876 16.6032 5.19108 16.529 5.14649 16.4596C5.135 16.4417 5.12371 16.4241 5.11401 16.4068C4.20064 15.0179 3.72739 13.3559 3.77472 11.6987C3.80311 10.3427 4.18171 9.0009 4.86319 7.82387Z",fill:"white"})]})}function Rs({isOpen:t,onClose:a,heading:r,subtext:n,placeholder:l,confirmLabel:i,onConfirm:c,initialValue:o="",countries:d=f.DEFAULT_COUNTRIES,initialCountryIso:v="IN"}){const p=d.find(N=>N.iso===v)??d[0],[u,m]=g.useState(o),j=f.getMaxLengthForCountry(p.code),h=f.validatePhoneByCountryCode(u,p.code).isValid&&u.length>0,L=()=>{h&&c(u,p)};return e.jsx(je,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,ariaLabel:r,className:"min-h-[25vh]",overlayClassName:"pitru-paksh-common-root",footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(ge,{"aria-hidden":!0}),disabled:!h,onClick:L,children:i})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ue,{type:"tel",inputMode:"numeric",value:u,placeholder:l,prefix:e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1",children:[e.jsx(Os,{className:"size-6"}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#6b7280]",children:p.code})]}),maxLength:j,onChange:N=>m(N.replace(/\D/g,"").slice(0,j)),containerClassName:"mt-2 w-full gap-0",wrapperClassName:"h-14 gap-2 rounded-xl px-4",className:"text-[18px] placeholder:text-[#ced1d7]"})]})})}const Ms=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Bs({isOpen:t,onClose:a,heading:r,subtext:n,confirmLabel:l,onConfirm:i,initialValue:c="",errorText:o="Please enter a valid email"}){const[d,v]=g.useState(c),[p,u]=g.useState(!1),m=d.trim(),j=Ms.test(m),h=p&&m.length>0&&!j,L=()=>{j&&i(m)};return e.jsx(f.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,ariaLabel:r,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(ge,{"aria-hidden":!0}),disabled:!j,onClick:L,children:l})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ue,{type:"email",inputMode:"email",autoFocus:!0,value:d,placeholder:"you@example.com",error:h,supportingText:h?o:void 0,onChange:v,onBlur:()=>u(!0),containerClassName:"mt-2",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})})}const Is="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function Ds({chipNumber:t,chipLabel:a,isAdded:r,onEditClick:n,editButtonAriaLabel:l="Edit",onExpandClick:i,expandButtonAriaLabel:c="Expand",imageUrl:o,imageAlt:d,imageComponent:v,ratingLabel:p,bookedLabel:u,title:m,description:j,learnMoreLabel:h,onLearnMoreClick:L,learnMoreHref:N,dateLabel:y,locationLabel:w,priceInfoLabel:T,onPriceInfoClick:D,price:W,cta:I,className:z=""}){const[F,H]=g.useState(!1),U=r||F,_=U&&(p!=null||u!=null),S=U&&(y!=null||w!=null);return e.jsxs("div",{className:`flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${U?"gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]":"gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${z}`,children:[e.jsxs("div",{className:"flex w-full flex-col items-center",children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 ${U?"py-4":"pt-4"}`,children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-1.5",style:{background:"linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"},children:[e.jsx("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700",children:t}),e.jsx("p",{className:"min-w-0 flex-1 text-xs font-semibold leading-4 text-[#632E06]",children:a})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r&&n&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",onClick:n,"aria-label":l,children:e.jsx(ur,{"aria-hidden":!0,className:"size-[18px] text-[#1D2125]"})}),!r&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:()=>{H(V=>(i?.(!V),!V))},"aria-label":c,"aria-expanded":F,children:e.jsx(zt,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${F?"":"-scale-y-100"}`})})]})]}),U&&o!=null&&e.jsx("div",{className:"-mx-4 aspect-[2/1] self-stretch overflow-hidden ",children:v?e.jsx(v,{src:o,alt:d??"",className:"size-full object-cover"}):e.jsx("img",{src:o,alt:d,className:"size-full object-cover"})}),_&&e.jsxs("div",{className:"-mx-4 flex items-center gap-2.5 self-stretch px-4 py-1",style:{background:"linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)"},children:[p!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:p}),p!=null&&u!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),u!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:u})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-1",children:[e.jsx("h3",{className:"text-base font-bold leading-[22px] text-[#361407]",children:m}),e.jsx("p",{className:"w-full text-xs font-semibold leading-4 text-[#6B7280]",children:j})]}),U&&h!=null&&e.jsxs("a",{href:N,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",onClick:L,children:[h,e.jsx(Pr,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",children:[S&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[y!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ot,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:y})]}),w!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Is,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:w})]})]})]}),e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col items-start gap-0.5",children:[T!=null&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500",children:T}),D&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:D,"aria-label":"More info",children:e.jsx(xe,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:W})]}),e.jsx("div",{className:"shrink-0",children:I})]})]})]})]})}const nt={en:{heading:"Check the details to book your puja procedure",subtext:"These names and gotra will be taken by the priest",ancestorsLabel:"Names of the ancestors:",performerLabel:"Name of the performer:",gotraLabel:"Gotra",whatsappLabel:"Whatsapp number",editDetailsLabel:"Edit Details",payButtonTemplate:"Pay {amount}",emailLabel:"Email"},hi:{heading:"अपनी पूजा बुक करने के लिए जानकारी की जांच करें",subtext:"ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",ancestorsLabel:"पितृजन के नाम:",performerLabel:"कर्ता के नाम:",gotraLabel:"गोत्र",whatsappLabel:"Whatsapp नंबर",editDetailsLabel:"जानकारी बदले",payButtonTemplate:"{amount} भुगतान करें",emailLabel:"ईमेल"},kn:{heading:"ನಿಮ್ಮ ಪೂಜೆಯನ್ನು ಬುಕ್ ಮಾಡಲು ವಿವರಗಳನ್ನು ಪರಿಶೀಲಿಸಿ",subtext:"ಈ ಹೆಸರುಗಳು ಮತ್ತು ಗೋತ್ರಗಳನ್ನು ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಉಲ್ಲೇಖಿಸುತ್ತಾರೆ",ancestorsLabel:"ಪೂರ್ವಜರ ಹೆಸರುಗಳು:",performerLabel:"ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರು:",gotraLabel:"ಗೋತ್ರ",whatsappLabel:"ವಾಟ್ಸಾಪ್ ಸಂಖ್ಯೆ",editDetailsLabel:"ವಿವರಗಳನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ",payButtonTemplate:"{amount} ಪಾವತಿಸಿ",emailLabel:"ಇಮೇಲ್"},te:{heading:"మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",subtext:"ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",ancestorsLabel:"పితరుల పేర్లు:",performerLabel:"పూజ చేసే వారి పేరు:",gotraLabel:"గోత్రం",whatsappLabel:"WhatsApp నంబర్",editDetailsLabel:"మార్చండి",payButtonTemplate:"{amount} చెల్లించండి",emailLabel:"ఇమెయిల్"}},ma=t=>nt[t]??nt.en;function ha({children:t}){return e.jsx("div",{className:"inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5",children:t})}function ba({isOpen:t,onClose:a,locale:r="en",ancestors:n,kartaNames:l,gotra:i,whatsappNumber:c,amount:o,onEditDetailsClick:d,onProceedPayment:v,className:p,isGlobal:u=!1}){const m=ma(r),j=m.payButtonTemplate.replace("{amount}",o);return e.jsx(je,{isOpen:t,onClose:a,showDragHandle:!1,closeButtonOutside:!0,ariaLabel:m.heading,className:f.cn("rounded-t-[20px] bg-[#f7f8f9]",p),header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-0.5 px-4 pt-4",children:[e.jsx("p",{className:"text-center text-[18px] leading-6 font-bold text-[#22272b]",children:m.heading}),e.jsx("p",{className:"text-center text-[14px] leading-5 font-normal text-[#6b7280]",children:m.subtext})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-3 px-4 pb-4",children:[e.jsx(Y,{variant:"outline",size:"lg",className:"h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",onClick:d,children:m.editDetailsLabel}),e.jsx(Y,{variant:"primary",size:"lg",className:"h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:v,children:j})]}),children:e.jsx("div",{className:"flex w-full flex-col gap-4 px-4 py-3",children:e.jsxs("div",{className:"flex w-full flex-col gap-3 rounded-lg bg-white py-3",children:[e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:m.ancestorsLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:n.map(h=>e.jsxs(ha,{children:[e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:h.value}),h.label&&e.jsxs("span",{className:"text-[10px] leading-3.5 font-medium text-[#6b7280]",children:["(",h.label,")"]})]},h.id))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:m.performerLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:l.filter(h=>h.trim().length>0).map((h,L)=>e.jsx(ha,{children:e.jsxs("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:[L+1,". ",h]})},L))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-2 px-3",children:[e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:m.gotraLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:i})]}),e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:u?m.emailLabel:m.whatsappLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:c})]})]})]})})})}const lt={en:{heading:"I do not know my Lineage(Gotra), what should I do?",body:"If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",okayLabel:"Okay",closeButtonAriaLabel:"Close"},hi:{heading:"मुझे अपना गोत्र पता नहीं, क्या उपाई है?",body:"अगर आप अपना गोत्र नहीं जानते हैं, तो ऐसी स्थिति में आप अपना गोत्र कश्यप मान सकते हैं, क्योंकि ऋषि कश्यप एक ऐसे ऋषि थे, जिनके वंशज हर जाति में पाए जाते हैं। इसलिए, उन्हें एक पूजनीय ऋषि माना जाता है। पूजा के दौरान पंडित जी कश्यप गोत्र का ही उच्चारण करेंगे।",okayLabel:"ठीक है",closeButtonAriaLabel:"बंद करें"},kn:{heading:"ನನಗೆ ನನ್ನ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲ, ನಾನು ಏನು ಮಾಡಬೇಕು?",body:"ನಿಮಗೆ ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಕಶ್ಯಪ ಋಷಿಯ ವಂಶಸ್ಥರು ಪ್ರತಿಯೊಂದು ಜಾತಿಯಲ್ಲಿಯೂ ಕಂಡುಬರುವುದರಿಂದ ನಿಮ್ಮ ಗೋತ್ರವನ್ನು ಕಶ್ಯಪ ಎಂದು ಪರಿಗಣಿಸಬಹುದು. ಆದ್ದರಿಂದ ಅವರನ್ನು ಪೂಜ್ಯ ಋಷಿ ಎಂದು ಪರಿಗಣಿಸಲಾಗುತ್ತದೆ. ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಈ ವಿವರಗಳನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ.",okayLabel:"ಸರಿ",closeButtonAriaLabel:"ಮುಚ್ಚಿ"},te:{heading:"నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",body:"మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",okayLabel:"సరే",closeButtonAriaLabel:"మూసివేయండి"}},it=t=>lt[t]??lt.en;function ga({isOpen:t,onClose:a,onOkayClick:r,locale:n="en",className:l}){const i=it(n);return e.jsx(je,{isOpen:t,onClose:a,showCloseButton:!1,showDragHandle:!1,ariaLabel:i.heading,className:f.cn("rounded-t-[20px]",l),header:e.jsxs("div",{className:"flex w-full items-start gap-3 px-4 pt-5 pb-3",children:[e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#22272b]",children:i.heading}),e.jsx("button",{type:"button",onClick:a,"aria-label":i.closeButtonAriaLabel,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",children:e.jsx(Cr,{size:24,"aria-hidden":!0})})]}),footer:e.jsx("div",{className:"w-full px-4 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:()=>{r?.(),a()},children:i.okayLabel})}),children:e.jsx("p",{className:"w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]",children:i.body})})}const ot={en:{topBarTitle:"Fill in necessary details for Puja",backButtonAriaLabel:"Go back",whatsappNumberLabel:"Add your WhatsApp number",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"Puja updates will be sent to this number",emailLabel:"Add your email",emailPlaceholder:"Enter your email",emailHelperText:"Puja updates will be sent to this email",kartaNameSectionTitle:"Enter the name of the people performing the puja for their ancestors (Karta)",kartaNameLabel:"Karta's name",kartaNameOptionalSuffix:"(optional)",kartaNamePlaceholder:"Name to be taken in the Puja",nameMinLengthError:"Name must be at least 3 characters",ancestorNameRequiredError:"Please enter your ancestor’s name to proceed",gotraFieldLabel:"Enter Karta’s Gotra (person performing puja)*",gotraFieldPlaceholder:"Enter Karta’s Gotra (if known)",gotraUnknownCheckboxLabel:"If you don’t know your Gotra, select this",gotraUnknownHelperText:"As per scriptures, the Sankalp can be taken with Kashyap Gotra, allowing you to receive the full benefit of the puja",ancestorNameSectionTitle:"Who is this puja for?",ancestorNameSectionSubtitle:"Enter the name of your ancestors",ancestorNameFieldSuffix:"name",sarvaPitruSectionSubtitle:"Your ancestors",sarvaPitruFieldValue:"For all ancestors",sarvaPitruHelperText:"This will be recited by the Pandit during puja",latePrefixLabel:"Late",proceedCtaLabel:"Proceed to fill details",kashyapGotraLabel:"Kashyap"},hi:{topBarTitle:"पूजा के लिए ज़रूरी विवरण भरे",backButtonAriaLabel:"वापस जाएं",whatsappNumberLabel:"अपना व्हाट्सएप नंबर जोड़ें",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"पूजा से जुड़ी जानकारी इस नंबर पर भेजी जाएगी",emailLabel:"अपना ईमेल जोड़ें",emailPlaceholder:"अपना ईमेल दर्ज करें",emailHelperText:"पूजा से जुड़ी जानकारी इस ईमेल पर भेजी जाएगी",kartaNameSectionTitle:"पितरों के लिए पूजा करने वाले व्यक्ति का नाम भरे (कर्ता)",kartaNameLabel:"कर्ता का नाम",kartaNameOptionalSuffix:"(वैकल्पिक)",kartaNamePlaceholder:"पूजा में लिया जाने वाला नाम",nameMinLengthError:"नाम कम से कम 3 अक्षर का होना चाहिए",ancestorNameRequiredError:"आगे बढ़ने के लिए कृपया अपने पूर्वज का नाम दर्ज करें",gotraFieldLabel:"कर्ता का गोत्र भरें (पूजा करने वाले व्यक्ति का)*",gotraFieldPlaceholder:"कर्ता का गोत्र भरें (यदि ज्ञात हो)",gotraUnknownCheckboxLabel:"अगर आपको गोत्र नहीं पता तो इसे चुनें",gotraUnknownHelperText:"शास्त्रों के अनुसार कश्यप गोत्र से पूजा में संकल्प लिया जा सकता है इससे आपको पूजा का पूर्ण लाभ प्राप्त होता है",ancestorNameSectionTitle:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",ancestorNameSectionSubtitle:"पितृजन का नाम भरें",ancestorNameFieldSuffix:"का नाम",sarvaPitruSectionSubtitle:"पितृजन का नाम",sarvaPitruFieldValue:"सर्वपितृ के लिए",sarvaPitruHelperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा",latePrefixLabel:"स्व.",proceedCtaLabel:"आगे बढ़ें, और डिटेल्स भरें",kashyapGotraLabel:"कश्यप"},te:{topBarTitle:"పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",backButtonAriaLabel:"వెనక్కి వెళ్ళండి",whatsappNumberLabel:"మీ వాట్సాప్ నంబర్ జోడించండి",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"పూజ నవీకరణలు ఈ నంబర్కు పంపబడతాయి",emailLabel:"మీ ఇమెయిల్ జోడించండి",emailPlaceholder:"మీ ఇమెయిల్ నమోదు చేయండి",emailHelperText:"పూజ నవీకరణలు ఈ ఇమెయిల్కు పంపబడతాయి",kartaNameSectionTitle:"పితరుల కోసం పూజ చేసే వ్యక్తుల పేరు నమోదు చేయండి (కర్త)",kartaNameLabel:"కర్త పేరు",kartaNameOptionalSuffix:"(ఐచ్ఛికం)",kartaNamePlaceholder:"పూజలో తీసుకోవలసిన పేరు",nameMinLengthError:"పేరు కనీసం 3 అక్షరాలు ఉండాలి",ancestorNameRequiredError:"కొనసాగడానికి దయచేసి మీ పూర్వీకుల పేరును నమోదు చేయండి",gotraFieldLabel:"*కర్త గోత్రం నమోదు చేయండి (పూజ చేసే వ్యక్తి)",gotraFieldPlaceholder:"కర్త గోత్రం నమోదు చేయండి (తెలిస్తే)",gotraUnknownCheckboxLabel:"మీ గోత్రం తెలియకపోతే, ఇది ఎంచుకోండి",gotraUnknownHelperText:"శాస్త్రాల ప్రకారం, సంకల్పం కశ్యప గోత్రంతో చేయవచ్చు, ఇది పూజ యొక్క పూర్తి ఫలం పొందడానికి అనుమతిస్తుంది",ancestorNameSectionTitle:"ఈ పూజ ఎవరి కోసం?",ancestorNameSectionSubtitle:"మీ పితరుల పేరు నమోదు చేయండి",ancestorNameFieldSuffix:"పేరు",sarvaPitruSectionSubtitle:"మీ పితరులు",sarvaPitruFieldValue:"సర్వ పితరుల కోసం",sarvaPitruHelperText:"ఇది పూజ సమయంలో పండితుడు ఉచ్చరిస్తారు",latePrefixLabel:"దివంగత",proceedCtaLabel:"వివరాలు నమోదు చేయండి",kashyapGotraLabel:"కశ్యప"},kn:{topBarTitle:"ಪೂಜೆಗಾಗಿ ಅಗತ್ಯವಿರುವ ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ",backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",whatsappNumberLabel:"ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ನಂಬರ್ ಹಾಕಿ",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"ಪೂಜೆಯ ಅಪ್ಡೇಟ್ಗಳನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",emailLabel:"ನಿಮ್ಮ ಇಮೇಲ್ ಸೇರಿಸಿ",emailPlaceholder:"ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",emailHelperText:"ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಇಮೇಲ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",kartaNameSectionTitle:"ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",kartaNameLabel:"ಕರ್ತೃವಿನ ಹೆಸರು",kartaNameOptionalSuffix:"(ಐಚ್ಛಿಕ)",kartaNamePlaceholder:"ಪೂಜೆಯಲ್ಲಿ ಉಲ್ಲೇಖಿಸಬೇಕಾದ ಹೆಸರು",nameMinLengthError:"ಹೆಸರು ಕನಿಷ್ಠ 3 ಅಕ್ಷರಗಳಿರಬೇಕು",ancestorNameRequiredError:"ಮುಂದುವರಿಯಲು ದಯವಿಟ್ಟು ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",gotraFieldLabel:"ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ಪೂಜೆ ನೆರವೇರಿಸುವ ವ್ಯಕ್ತಿ)*",gotraFieldPlaceholder:"ಕರ್ತೃ ಗೋತ್ರ ನಮೂದಿಸಿ (ತಿಳಿದಿದ್ದರೆ)",gotraUnknownCheckboxLabel:"ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ",gotraUnknownHelperText:"ಶಾಸ್ತ್ರಗಳ ಪ್ರಕಾರ, ಕಶ್ಯಪ ಗೋತ್ರದೊಂದಿಗೆ ಸಂಕಲ್ಪವನ್ನು ಮಾಡಬಹುದು, ಇದು ನಿಮಗೆ ಪೂಜೆಯ ಸಂಪೂರ್ಣ ಫಲವನ್ನು ಪಡೆಯಲು ಅನುವು ಮಾಡಿಕೊಡುತ್ತದೆ",ancestorNameSectionTitle:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",ancestorNameSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",ancestorNameFieldSuffix:"ಹೆಸರು",sarvaPitruSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರು",sarvaPitruFieldValue:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",sarvaPitruHelperText:"ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ",latePrefixLabel:"ದಿವಂಗತ",proceedCtaLabel:"ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",kashyapGotraLabel:"ಕಶ್ಯಪ"}},ja=t=>{const a=ot.en,r=ot[t];return r?Object.fromEntries(Object.keys(a).map(n=>[n,r[n]||a[n]])):a},va={en:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"],hi:["पहले","दूसरे","तीसरे","चौथे","पांचवें","छठे","सातवें","आठवें","नौवें","दसवें"],te:["1వ","2వ","3వ","4వ","5వ","6వ","7వ","8వ","9వ","10వ"],kn:["1ನೇ","2ನೇ","3ನೇ","4ನೇ","5ನೇ","6ನೇ","7ನೇ","8ನೇ","9ನೇ","10ನೇ"]},zs={en:"th",hi:"वें",te:"వ",kn:"ನೇ"},ya=(t,a)=>{const r=a in va?a:"en";return va[r][t-1]??`${t}${zs[r]}`},ct=40,Fs=3,dt="+91",Hs=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,Vs=/[^\p{L}\s]/gu,Na=t=>t.replace(Vs,""),Oe=t=>t.trim().length>=Fs;function $s({locale:t="en",values:a,onValuesChange:r,isGlobal:n=!1,gotraOptions:l=[],isSarvaPitru:i=!1,onBackClick:c,amount:o,ritualsCountLabel:d,onPriceInfoClick:v,showPriceInfoIcon:p=!0,canProceed:u,copy:m,proceedCtaLabel:j,proceedButtonProps:h,onProceedPayment:L,onProceedCtaClick:N,onConfirmModalOpen:y,onConfirmEditDetailsClick:w,onConfirmModalDismiss:T,onGotraInfoOpen:D,onGotraInfoOkayClick:W,className:I}){const[z,F]=g.useState(!1),[H,U]=g.useState(!1),_=ja(t),S=m?Object.fromEntries(Object.keys(_).map(k=>[k,m[k]||_[k]])):_,V=it(t),J=k=>{const Q=ya(k+1,t);return k===0?`*${Q} ${S.kartaNameLabel}`:`${Q} ${S.kartaNameLabel} ${S.kartaNameOptionalSuffix}`},G=k=>r({...a,...k}),ne=(k,Q)=>{const re=[...a.kartaNames];re[k]=Na(Q),G({kartaNames:re})},Z=(k,Q)=>{G({ancestors:a.ancestors.map(re=>re.id===k?{...re,value:Na(Q)}:re)})},[ae,le]=g.useState(new Set),A=k=>le(Q=>new Set(Q).add(k)),M=k=>k.length>0&&!Oe(k),oe=k=>k.value.length>0?Oe(k.value)?void 0:S.nameMinLengthError:ae.has(k.id)?S.ancestorNameRequiredError:void 0,[de,ce]=g.useState(!1),pe=g.useRef(null);g.useEffect(()=>{if(!de)return;const k=Q=>{pe.current&&!pe.current.contains(Q.target)&&ce(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[de]);const we=l.filter(k=>k.toLowerCase().includes(a.gotra.trim().toLowerCase())),Ce=k=>{G({gotra:k,isGotraUnknown:k.trim()===S.kashyapGotraLabel})},Le=k=>{Ce(k),ce(!1)},Re=()=>{const k=!a.isGotraUnknown;G({isGotraUnknown:k,gotra:k?S.kashyapGotraLabel:""})},me=f.getMaxLengthForCountry(dt),Ue=f.validatePhoneByCountryCode(a.whatsappNumber,dt).isValid,Me=Hs.test(a.email),xt=a.whatsappNumber.length>0&&!Ue,pt=a.email.length>0&&!Me,ke=(n?Me:a.whatsappNumber.trim().length>0&&Ue)&&Oe(a.kartaNames[0])&&a.kartaNames.slice(1).every(k=>k.trim().length===0||Oe(k))&&a.gotra.trim().length>0&&a.ancestors.every(k=>Oe(k.value)),he=u??ke,We=a.gotra.trim().length>0?a.gotra:S.kashyapGotraLabel,Ke=n?a.email:a.whatsappNumber,Se=t;return e.jsxs("div",{className:f.cn("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",I),children:[e.jsxs("div",{className:"flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ",children:[e.jsx("button",{type:"button",onClick:c,"aria-label":S.backButtonAriaLabel,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("p",{className:"text-[18px] leading-5 font-bold text-[#1d2125]",children:S.topBarTitle})]}),e.jsx("div",{className:"flex w-full flex-1 flex-col items-center gap-4 px-4 py-4",children:e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:n?S.emailLabel:S.whatsappNumberLabel}),n?e.jsx(ue,{type:"email",inputMode:"email",value:a.email,placeholder:S.emailPlaceholder,error:pt,onChange:k=>G({email:k}),containerClassName:"w-full gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"}):e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsxs("div",{className:"flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",children:[e.jsx("span",{className:"text-[20px] leading-7","aria-hidden":!0,children:f.getFlagEmoji("IN")}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:dt})]}),e.jsx(ue,{type:"tel",inputMode:"numeric",value:a.whatsappNumber,placeholder:S.whatsappNumberPlaceholder,maxLength:me,error:xt,onChange:k=>G({whatsappNumber:k.replace(/\D/g,"").slice(0,me)}),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:n?S.emailHelperText:S.whatsappNumberHelperText})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5",children:[e.jsx(ve,{size:"sm",icon:e.jsx(Jr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsx("p",{className:"flex-1 text-[16px] leading-[22px] font-bold text-[#22272b]",children:S.kartaNameSectionTitle})]}),e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:a.kartaNames.map((k,Q)=>e.jsx(ue,{label:J(Q),placeholder:S.kartaNamePlaceholder,value:k,maxLength:ct,showCharCount:!0,error:M(k),supportingText:M(k)?S.nameMinLengthError:void 0,wrapperClassName:f.cn("h-12 rounded-xl"),onChange:re=>ne(Q,re)},Q))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{ref:pe,className:"relative flex w-full flex-col gap-2",children:[e.jsx("label",{htmlFor:"karta-gotra",className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:S.gotraFieldLabel}),e.jsxs("div",{className:"flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",children:[e.jsx("input",{id:"karta-gotra",value:a.gotra,placeholder:S.gotraFieldPlaceholder,maxLength:ct,autoComplete:"off",onFocus:()=>ce(!0),onChange:k=>{Ce(k.target.value),ce(!0)},className:"w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"}),e.jsx("button",{type:"button",onClick:()=>{U(!0),D?.()},"aria-label":V.heading,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",children:e.jsx(xe,{size:24,"aria-hidden":!0})})]}),de&&we.length>0&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children:we.map(k=>e.jsx("button",{type:"button",role:"option","aria-selected":k===a.gotra,onClick:()=>Le(k),className:f.cn("flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",k===a.gotra&&"bg-[#fff9e9]"),children:k},k))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("button",{type:"button",onClick:Re,"aria-pressed":a.isGotraUnknown,className:"flex items-center gap-1 border-0 bg-transparent p-0",children:[a.isGotraUnknown?e.jsx(Tr,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0}):e.jsx(Lr,{size:24,className:"shrink-0 text-[#d1d5db]","aria-hidden":!0}),e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:S.gotraUnknownCheckboxLabel})]}),e.jsx("p",{className:"text-[10px] leading-[14px] font-medium text-[#6b7280]",children:S.gotraUnknownHelperText})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5 px-3 pt-3 pb-2",children:[e.jsx(ve,{size:"sm",icon:e.jsx(Xr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsx("p",{className:"text-[16px] leading-[22px] font-bold text-[#22272b]",children:S.ancestorNameSectionTitle}),e.jsx("p",{className:"text-[14px] leading-5 font-normal text-[#6b7280]",children:i?S.sarvaPitruSectionSubtitle:S.ancestorNameSectionSubtitle})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2.5 p-3 pt-0",children:[i&&e.jsxs("div",{className:"flex w-full flex-col items-start gap-1",children:[e.jsx("div",{className:"flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3",children:e.jsx("span",{className:"text-[16px] leading-5.5 font-medium text-[#374151]",children:S.sarvaPitruFieldValue})}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:S.sarvaPitruHelperText})]}),a.ancestors.map(k=>{const Q=oe(k);return e.jsx(ue,{label:`*${k.label} ${S.ancestorNameFieldSuffix}`,value:k.value,prefix:S.latePrefixLabel,placeholder:S.kartaNamePlaceholder,maxLength:ct,showCharCount:!0,error:Q!=null,supportingText:Q,wrapperClassName:"h-12 rounded-xl",onChange:re=>Z(k.id,re),onBlur:()=>A(k.id)},k.id)})]})]})]})}),e.jsx("div",{className:"sticky bottom-0 w-full",children:e.jsx(Ve,{amount:o,subtitle:d,onInfoClick:v,showInfoIcon:p,proceedLabel:j??S.proceedCtaLabel,onProceed:()=>{F(!0),N?.(),y?.()},growProceedButton:!0,proceedButtonProps:{disabled:!he,...h}})}),e.jsx(ba,{isGlobal:n,isOpen:z,onClose:()=>{F(!1),T?.()},onEditDetailsClick:()=>{F(!1),w?.()},locale:t,ancestors:i?[{id:"sarva-pitru",label:"",value:S.sarvaPitruFieldValue},...a.ancestors]:a.ancestors,kartaNames:a.kartaNames,gotra:We,whatsappNumber:Ke,amount:o,onProceedPayment:()=>{F(!1),L()}}),e.jsx(ga,{isOpen:H,onClose:()=>U(!1),onOkayClick:W,locale:Se})]})}function Gs(t=3,a=[]){return{whatsappNumber:"",email:"",kartaNames:Array.from({length:Math.max(1,t)},()=>""),gotra:"",isGotraUnknown:!1,ancestors:a}}function wa({date:t}){return e.jsx("div",{className:"flex w-full items-center justify-center rounded-[20px] px-5 py-0.5",style:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0) 80%, rgba(255,255,255,0) 100%), linear-gradient(90deg, rgba(252,204,223,0) 0%, rgba(252,204,223,0) 20%, rgb(252,204,223) 30%, rgb(252,204,223) 70%, rgba(252,204,223,0) 80%, rgba(252,204,223,0) 100%)"},children:e.jsx("p",{className:"whitespace-nowrap text-center text-[10px] font-medium leading-3.5 text-[rgba(28,27,27,0.8)]",children:t})})}const Us="https://srm-cdn.a4b.io/yoda/1788173590414.svg",Ca="https://srm-cdn.a4b.io/yoda/1788173668895.svg";function La({badgeLabel:t,dateLabel:a,className:r}){return e.jsxs("div",{className:f.cn("flex flex-col items-center gap-1",r),children:[e.jsxs("div",{className:"relative flex size-22.5 items-center justify-center",children:[e.jsx("img",{src:Ca,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full",style:{maskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)"}}),e.jsx("img",{src:Ca,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full blur-sm",style:{maskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)",WebkitMaskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)"}}),e.jsx("img",{src:Us,alt:"Sri Mandir",className:"relative z-10 mt-3 h-14 w-auto object-contain"})]}),e.jsxs("p",{className:"-mt-2.75 text-xs font-semibold text-[#d51f68]",children:["✦ ",t," ✦"]}),a&&e.jsx(wa,{date:a})]})}const ka="https://srm-cdn.a4b.io/yoda/1788256892735.svg",Ws="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Ks="https://srm-cdn.a4b.io/yoda/1788256867970.svg",Ys="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Zs="https://srm-cdn.a4b.io/yoda/1788256935709.svg",qs="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function Qs({variant:t}){return e.jsxs("div",{className:"relative size-10 shrink-0 overflow-clip rounded-full",children:[t==="pandits"&&e.jsxs(e.Fragment,{children:[e.jsx("img",{src:ka,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:ka,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:Ws,alt:"","aria-hidden":!0,className:"absolute left-[1.98px] top-[5.98px] size-[36.045px]"})]}),t==="gotra"&&e.jsxs("div",{className:"absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]"}),e.jsx("div",{className:"absolute inset-[0_9.1%_0_9.07%]",children:e.jsx("img",{src:Ks,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]}),t==="video"&&e.jsxs("div",{className:"absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[9.31%_4.02%_27.36%_4.17%]",children:e.jsx("img",{src:Ys,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[30.03%_39.59%_48.06%_40.83%]",children:e.jsx("img",{src:Zs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[80%_4.16%_9.17%_5.42%]",children:e.jsx("img",{src:qs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}function Xs({badgeLabel:t,headingPrefix:a,ritualCount:r,ritualCountLabel:n,headingSuffix:l,trustItems:i}){return e.jsxs("section",{className:"relative flex w-full flex-col items-center gap-3 rounded-b-4xl border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4 z-20",children:[e.jsx(La,{badgeLabel:t,className:"w-full"}),e.jsxs("p",{className:"px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]",children:[a,r," ",n," ",l]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:i.map(c=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(Qs,{variant:c.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:c.text})]},c.variant))})]})}const Js=40;function en({isOpen:t,onClose:a,onSave:r,title:n,fieldLabel:l,namePrefix:i,namePlaceholder:c,addMoreLabel:o,saveCta:d,maxNameLength:v=Js}){const[p,u]=g.useState([""]),m=()=>u([""]),j=N=>{m(),a(N)},h=()=>{const N=p.map(y=>y.trim()).filter(Boolean);N.length!==0&&(r(N),m())},L=p.some(N=>N.trim().length>0);return e.jsx(f.BottomSheet,{isOpen:t,onClose:j,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:n,header:e.jsx("p",{className:"px-4 py-2 text-center text-[16px] leading-5.5 font-semibold text-[#47250c]",children:n}),footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(Y,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(ge,{"aria-hidden":!0}),disabled:!L,onClick:h,children:d})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2.5 px-4 py-3",children:[p.map((N,y)=>e.jsx(ue,{label:l,placeholder:c,value:N,prefix:i,maxLength:v,showCharCount:!0,onChange:w=>u(T=>T.map((D,W)=>W===y?w:D))},y)),e.jsx(Y,{variant:"ghost",size:"sm",className:"self-start text-[#f75e22]",leftIcon:e.jsx(kr,{"aria-hidden":!0}),onClick:()=>u(N=>[...N,""]),children:o})]})})}function tn(t){return t.replace(/Grand(father|mother)/gi,"Grand $1")}function Sa({label:t,avatarUrl:a,state:r,onClick:n}){return e.jsxs("button",{type:"button",disabled:!n,onClick:n,className:`flex w-18 shrink-0 flex-col items-center gap-1 rounded-xl px-2 disabled:pointer-events-none ${r==="enabled"?"bg-linear-to-b from-transparent to-[#fef5e9] border-b border-[#f99724] py-1":"bg-transparent py-0.5"}`,children:[e.jsxs("div",{className:"relative flex size-8 shrink-0 items-center justify-center",children:[e.jsx("div",{className:`size-full overflow-hidden rounded-full bg-[#fff9e9] ${r==="disabled"?"opacity-60 grayscale":""}`,children:e.jsx("img",{src:a,alt:"",className:"size-full object-cover"})}),r==="filled"&&e.jsx("span",{className:"absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-[#159169]",children:e.jsx(Kr,{size:8,className:"text-white","aria-hidden":!0})})]}),e.jsx("p",{className:`w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${r==="enabled"?"text-[#f75e22]":r==="filled"?"text-[#374151]":"text-[#9ca3af]"}`,children:tn(t)})]})}const ut="all",_a=[{id:ut,labelKey:"selectAncestorsOptionAll"},{id:"mother",labelKey:"selectAncestorsOptionMother",gender:"female"},{id:"father",labelKey:"selectAncestorsOptionFather",gender:"male"},{id:"wife",labelKey:"selectAncestorsOptionWife",gender:"female"},{id:"husband",labelKey:"selectAncestorsOptionHusband",gender:"male"},{id:"grandfatherPaternal",labelKey:"selectAncestorsOptionGrandfatherPaternal",gender:"male"},{id:"grandmotherPaternal",labelKey:"selectAncestorsOptionGrandmotherPaternal",gender:"female"},{id:"grandfatherMaternal",labelKey:"selectAncestorsOptionGrandfatherMaternal",gender:"male"},{id:"grandmotherMaternal",labelKey:"selectAncestorsOptionGrandmotherMaternal",gender:"female"},{id:"greatGrandfatherPaternal",labelKey:"selectAncestorsOptionGreatGrandfatherPaternal",gender:"male"},{id:"greatGrandmotherPaternal",labelKey:"selectAncestorsOptionGreatGrandmotherPaternal",gender:"female"},{id:"greatGrandfatherMaternal",labelKey:"selectAncestorsOptionGreatGrandfatherMaternal",gender:"male"},{id:"greatGrandmotherMaternal",labelKey:"selectAncestorsOptionGreatGrandmotherMaternal",gender:"female"}],Pa="https://srm-cdn.a4b.io/yoda/1788334548628.webp",Ta="https://srm-cdn.a4b.io/yoda/1788334564281.webp",Aa="https://srm-cdn.a4b.io/yoda/1789386222504.svg",an="https://srm-cdn.a4b.io/yoda/1789653082304.webp";function Ea(t){if(t===ut)return an;const a=_a.find(r=>r.id===t);return a?a.gender==="female"?Ta:Pa:Aa}const rn=[{value:"tithi",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883529190.svg",titleKey:"deathTithiOption1Title",subtextKey:"deathTithiOption1Subtext"},{value:"date",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883546461.svg",titleKey:"deathTithiOption2Title",subtextKey:"deathTithiOption2Subtext"},{value:"unknown",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883557171.svg",titleKey:"deathTithiOption3Title",subtextKey:"deathTithiOption3Subtext"}],sn=["tithiNamePratipada","tithiNameDvitiya","tithiNameTritiya","tithiNameChaturthi","tithiNamePanchami","tithiNameShashthi","tithiNameSaptami","tithiNameAshtami","tithiNameNavami","tithiNameDashami","tithiNameEkadashi","tithiNameDvadashi","tithiNameTrayodashi","tithiNameChaturdashi","tithiNameAmavasya"];function nn({entries:t,viewedIndex:a,isEntryFilled:r,isEntryReachable:n,onSelect:l,className:i}){return e.jsx("div",{className:f.cn("flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",i),children:t.map((c,o)=>{const d=r(c.key),v=n(o),p=o===a?"enabled":d?"filled":"disabled";return e.jsxs(g.Fragment,{children:[e.jsx(Sa,{label:c.label,avatarUrl:Ea(c.key),state:p,onClick:v?()=>l(o):void 0}),o<t.length-1&&e.jsx("div",{className:`-mx-5 mt-4 h-0.5 w-10 shrink-0 ${d?"bg-[#159169]":"bg-[rgba(28,27,27,0.05)]"}`})]},c.key)})})}const ln="https://srm-cdn.a4b.io/yoda/1788163138113.svg";function on({isOpen:t,onClose:a,avatarUrl:r,heading:n,ctaLabel:l,onCtaClick:i,cardIcon:c,cardTitle:o,cardDescription:d,cardTag:v,cardTagClassName:p="bg-[#1d79fc] text-white"}){return t?e.jsx("div",{className:"avatar-card-dialog",role:"presentation",onClick:u=>{u.target===u.currentTarget&&a()},children:e.jsxs("div",{className:"avatar-card-dialog__card",children:[e.jsxs("div",{className:"avatar-card-dialog__avatar",children:[e.jsx("img",{src:ln,alt:"",className:"avatar-card-dialog__avatar-glow"}),e.jsx("img",{src:r,alt:"",className:"avatar-card-dialog__avatar-image"})]}),e.jsxs("div",{className:"avatar-card-dialog__content",children:[e.jsx("p",{className:"avatar-card-dialog__heading",children:n}),e.jsx(Fe,{selected:!0,showRadio:!1,tag:v,tagClassName:p,icon:c,iconClassName:"bg-white",title:o,description:d})]}),e.jsx(Y,{variant:"primary",size:"md",className:"avatar-card-dialog__button",onClick:i,children:l})]})}):null}function Oa(t){if(!t)return;const[a,r,n]=t.split("-").map(Number);return{day:n,month:r,year:a}}function cn({day:t,month:a,year:r}){return`${r}-${String(a).padStart(2,"0")}-${String(t).padStart(2,"0")}`}function dn(t="en-IN"){const a=new Intl.DateTimeFormat(t,{month:"long"});return Array.from({length:12},(r,n)=>a.format(new Date(2e3,n,1)))}function un(t,a){const r=Oa(t);return r?`${r.day} ${a[r.month-1]} ${r.year}`:t}function fn(t){return O({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"},child:[]}]})(t)}const ft={en:{title:"Who is this puja for?",subtitle:"Your ancestors",value:"For all ancestors",helperText:"This will be recited by the Pandit during puja"},hi:{title:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",subtitle:"पितृजन का नाम",value:"सर्वपितृ के लिए",helperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"},te:{title:"ఈ పూజ ఎవరి కోసం?",subtitle:"మీ పితరులు",value:"సర్వ పితరుల కోసం",helperText:"పూజ సమయంలో పండితుడు దీనిని పఠిస్తారు"},kn:{title:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",subtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರು",value:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",helperText:"ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಪಠಿಸುತ್ತಾರೆ"}},Ra=t=>ft[t]??ft.en,Ma=g.forwardRef(({locale:t="en",title:a,subtitle:r,value:n,helperText:l,icon:i,className:c,headerClassName:o,valueBoxClassName:d,helperTextClassName:v,...p},u)=>{const m=Ra(t);return e.jsxs("div",{ref:u,className:f.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",c),...p,children:[e.jsxs("div",{className:f.cn("flex items-center gap-3",o),children:[e.jsx(ve,{icon:i??e.jsx(fn,{size:22,"aria-hidden":!0}),size:"lg"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-lg leading-6 font-bold text-[#1d2125]",children:a??m.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:r??m.subtitle})]})]}),e.jsx("div",{className:f.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",d),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:n??m.value})}),e.jsx("p",{className:f.cn("mt-3 text-sm leading-4.5 text-gray-500",v),children:l??m.helperText})]})});Ma.displayName="SarvaPitruCard";function $e(t,a){return t.find(r=>r[a]!=null)}function xn(t){const a=t.data.cards,r=$e(a,"store"),n=$e(a,"user_reviews"),l=$e(a,"pooja_benefits"),i=$e(a,"location_details"),c=r?.store,o=c?.location_details.temple_details,d=i?.location_details,v=n?.user_reviews.reviews??[],p=l?.pooja_benefits.benefits;return{detailImages:c?.info_media.filter(u=>u.type==="image").map(u=>u.media_url)??[],title:c?.pooja_title||c?.name||"",description:c?.description??"",pooja_usecase:c?.pooja_usecase??"",pooja_specificity:c?.pooja_specificity??"",dateLabel:c?.process_date??"",locationLabel:d?.location_name??c?.location??"",detailTempleSignificance:o?.name?{question:o.name,imageUrl:o.image,paragraphs:[o.description,o.location].filter(u=>!!u)}:d?.location_name?{question:d.header||d.location_name,imageUrl:d.image,paragraphs:[d.location_description].filter(u=>!!u)}:void 0,detailBenefits:p?.map(u=>({icon:u.icon,title:u.title,description:u.description})),devoteesReviews:v.map(u=>({name:u.name,date:u.date,stars:u.rating,text:u.suggestion}))}}const pn="https://srm-cdn.a4b.io/yoda/1788256961374.svg",mn="https://srm-cdn.a4b.io/yoda/1789996033193.svg",Ge=t=>typeof t=="number"?`${t}px`:t;function Ba({className:t}){return e.jsx("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M3.84784 3.47359C3.93563 3.54802 4.06436 3.54802 4.15214 3.47359C4.98402 2.76841 5.41175 2.08403 5.41175 1.41177C5.41177 0.632062 4.77969 0 4 0C3.22031 0 2.58823 0.632062 2.58823 1.41177C2.58823 2.08403 3.01597 2.76841 3.84784 3.47359ZM3.84784 4.52641C3.01597 5.23159 2.58823 5.91597 2.58823 6.58823C2.58823 7.36794 3.2203 8 4 8C4.7797 8 5.41177 7.36794 5.41177 6.58823C5.41177 5.91597 4.98403 5.23159 4.15216 4.52641C4.06436 4.45198 3.93564 4.45198 3.84784 4.52641ZM3.47359 4.15216C3.54802 4.06437 3.54802 3.93564 3.47359 3.84786C2.76839 3.01598 2.08402 2.58825 1.41177 2.58825C0.632062 2.58823 0 3.2203 0 4C0 4.7797 0.632062 5.41177 1.41177 5.41177C2.08403 5.41177 2.76841 4.98403 3.47359 4.15216ZM4.52641 4.15216C5.23161 4.98403 5.91598 5.41177 6.58823 5.41177C7.36794 5.41177 8 4.7797 8 4C8 3.2203 7.36794 2.58823 6.58823 2.58823C5.91597 2.58823 5.23159 3.01597 4.52641 3.84784C4.45198 3.93564 4.45198 4.06436 4.52641 4.15216Z",fill:"#F45494"})})}function hn({badgeLabel:t,dateRangeLabel:a,headline:r,mandalaWidth:n=225,mandalaTop:l=-149,showMandala:i=!0,mandalaLeft:c,mandalaRight:o,className:d}){const v=c!==void 0?{left:Ge(c)}:o!==void 0?{right:Ge(o)}:{left:"50%",transform:"translateX(-50%)"};return e.jsxs("div",{className:f.cn("relative flex w-full flex-col items-center gap-3 overflow-hidden bg-gradient-to-b from-[#FFF9E9] to-white pt-2 pb-4",d),children:[i&&e.jsx("img",{src:mn,alt:"","aria-hidden":!0,className:"pointer-events-none absolute z-0 h-auto",style:{width:Ge(n),top:Ge(l),...v}}),e.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-1",children:[e.jsx("img",{src:pn,alt:"Sri Mandir",className:"h-14 w-auto object-contain"}),e.jsxs("p",{className:"flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]",children:[e.jsx(Ba,{}),t,e.jsx(Ba,{})]})]}),e.jsx("div",{className:"relative z-10 flex w-full items-center justify-center rounded-[20px] px-5 py-0.5",style:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 100%), linear-gradient(90deg, rgba(252,204,223,0) 0%, rgb(252,204,223) 29.78%, rgb(252,204,223) 72.984%, rgba(252,204,223,0) 100%)"},children:e.jsx("p",{className:"text-center text-[10px] font-medium leading-[14px] text-[rgba(28,27,27,0.8)]",children:a})}),e.jsx("p",{className:"relative z-10 w-full px-4 text-center text-xl leading-7 font-bold text-[#492912]",children:r})]})}function bn({amount:t,amountClassName:a,subtitle:r,subtitleClassName:n,showInfoIcon:l=!0,onInfoClick:i,proceedLabel:c="Continue",proceedIcon:o=e.jsx(ge,{"aria-hidden":!0}),onProceed:d,disabled:v,proceedButtonProps:p,className:u}){const m=v??t==null;return e.jsxs("div",{className:f.cn("flex items-start justify-center gap-6 bg-gradient-to-b from-[#fff9e9] to-[#fcccdf] px-4 pt-4 pb-5 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",u),children:[t!=null&&e.jsxs("div",{className:"flex shrink-0 flex-col items-start",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:f.cn("text-lg leading-6 font-bold text-[#141414]",a),children:t}),l&&e.jsx("button",{type:"button",onClick:i,"aria-label":"View bill details",className:f.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!i&&"pointer-events-none"),children:e.jsx(xe,{size:18,"aria-hidden":!0})})]}),r&&e.jsx("p",{className:f.cn("text-xs leading-4 text-gray-500",n),children:r})]}),e.jsxs(Y,{variant:"primary",size:"xl",disabled:m,onClick:d,...p,className:f.cn("flex-1 justify-center gap-1 rounded-xl",m?"bg-none bg-gray-400":"bg-gradient-to-b from-[#5eb98e] to-[#087955]",p?.className),children:[c,o]})]})}Object.defineProperty(x,"cn",{enumerable:!0,get:()=>f.cn}),x.ALL_ANCESTORS_ID=ut,x.ANCESTOR_OPTIONS=_a,x.AddAncestorSheet=en,x.AncestorTab=Sa,x.AncestorTabRow=nn,x.AudioQuestionCard=xs,x.AvatarCardDialog=on,x.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=at,x.BillDetails=rt,x.BillDetailsSheet=Ls,x.BookingSummaryBanner=ca,x.Button=Y,x.CHECKOUT_BAR_DEFAULT_COPY=et,x.CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY=nt,x.CUSTOM_ANCESTOR_AVATAR_URL=Aa,x.CartReviewAddedBadge=vs,x.CartReviewChangeButton=js,x.CartReviewItem=Je,x.CartReviewMandapItem=qt,x.CartView=ks,x.CheckIcon=yr,x.CheckoutBar=Ve,x.Chip=Ut,x.ConfinedBottomSheet=je,x.ConfirmPujaDetailsModal=ba,x.DEATH_TITHI_OPTIONS=rn,x.DatePickerSheet=Ps,x.DatesCard=wa,x.DevoteesReviews=as,x.EmailSheet=Bs,x.EventHeader=hn,x.FAQAccordion=ls,x.FAQSection=$t,x.FEMALE_ANCESTOR_AVATAR_URL=Ta,x.GOTRA_INFO_MODAL_DEFAULT_COPY=lt,x.GotraInfoModal=ga,x.HeroLogoBadge=La,x.IconBadge=ve,x.L2Card=Ds,x.LanguageSwitcher=Xe,x.MALE_ANCESTOR_AVATAR_URL=Pa,x.OUTCOME_SUPPORTED_LOCALES=Ja,x.OUTCOME_TRUST_ITEMS=rs,x.OnlinePujaTestimonial=Ir,x.OutcomeAncestorEditModal=wr,x.OutcomeBillDetails=hr,x.OutcomeButton=_t,x.OutcomeEmptyRituals=Or,x.OutcomeI18nProvider=er,x.OutcomeStickyCta=Ar,x.OutcomeSummary=Xs,x.PACKAGE_SELECT_DEFAULT_COPY=tt,x.PUJA_DETAILS_FORM_DEFAULT_COPY=ot,x.PackageSelect=ws,x.PhoneNumberSheet=Rs,x.PlusIcon=vr,x.ProcessInvolved=Hr,x.PujaBenefitsSection=Wr,x.PujaDetailsCarouselHeader=Gr,x.PujaDetailsForm=$s,x.QuantityStepper=gs,x.RitualProceedBar=bn,x.SARVA_PITRU_CARD_DEFAULT_COPY=ft,x.SarvaPitruCard=Ma,x.SelectorCard=Fe,x.SelectorCardEditableField=ms,x.SelectorCardInfoRow=hs,x.SelectorCardNote=bs,x.SelectorCardPriceBadge=Yt,x.ServiceOfferCard=Xt,x.ServiceOfferSheet=Qt,x.StepProgressHeader=cs,x.TITHI_NAME_KEYS=sn,x.TempleSignificanceSection=Zr,x.TestimonialCard=ns,x.TextField=ue,x.TimeOfBirthPickerSheet=Es,x.TithiPickerSheet=Ss,x.TopBar=os,x.TrustBadgesBar=na,x.VideoPlayer=Gt,x.WhySriMandir=zr,x.buttonVariants=Vt,x.createEmptyPujaDetailsFormValues=Gs,x.formatDisplayDate=un,x.formatIsoDate=cn,x.getAncestorAvatarUrl=Ea,x.getBookingSummaryBannerDefaultCopy=oa,x.getCheckoutBarDefaultCopy=la,x.getConfirmPujaDetailsModalDefaultCopy=ma,x.getGotraInfoModalDefaultCopy=it,x.getKartaOrdinalLabel=ya,x.getMonthLabels=dn,x.getOutcomeTranslation=Ye,x.getPackageSelectDefaultCopy=ia,x.getPujaDetailsFormDefaultCopy=ja,x.getSarvaPitruCardDefaultCopy=Ra,x.mapPujaL2Response=xn,x.outcomeTranslations=Be,x.parseIsoDate=Oa,x.useOutcomeI18n=fe,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));
|