@srimandir/pitru-paksh-common 2.57.0 → 2.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pitru-paksh-common.js +306 -292
- package/dist/pitru-paksh-common.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createI18n as Ga, cn as f, BottomSheet as ke, DEFAULT_COUNTRIES as Ua, getMaxLengthForCountry as sa, validatePhoneByCountryCode as ra, getFlagEmoji as Ka } from "@srimandir/common";
|
|
2
|
-
import { cn as
|
|
2
|
+
import { cn as $l } from "@srimandir/common";
|
|
3
3
|
import * as Za from "react";
|
|
4
4
|
import k, { useState as $, useRef as rt, useMemo as $e, useEffect as at, Fragment as Ya } from "react";
|
|
5
5
|
import { cva as qa } from "class-variance-authority";
|
|
6
6
|
import Xa from "react-player";
|
|
7
|
-
const
|
|
7
|
+
const Gn = ["en", "hi", "kn", "te"], Qa = {
|
|
8
8
|
landingOnlinePujaTitle: "Is online puja equally powerful as in-person puja?",
|
|
9
9
|
landingOnlinePujaBodyPrefix: "According to the ",
|
|
10
10
|
landingOnlinePujaBodyPart1: "Skanda Purana",
|
|
@@ -257,7 +257,7 @@ const Wn = ["en", "hi", "kn", "te"], Qa = {
|
|
|
257
257
|
hi: Ja,
|
|
258
258
|
kn: es,
|
|
259
259
|
te: ts
|
|
260
|
-
}, na = Ga(st),
|
|
260
|
+
}, na = Ga(st), Un = na.I18nProvider;
|
|
261
261
|
function _e() {
|
|
262
262
|
return na.useI18n();
|
|
263
263
|
}
|
|
@@ -282,13 +282,13 @@ var Ct;
|
|
|
282
282
|
function ss() {
|
|
283
283
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
284
284
|
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, w = "@@iterator";
|
|
285
|
-
function
|
|
285
|
+
function v(r) {
|
|
286
286
|
if (r === null || typeof r != "object")
|
|
287
287
|
return null;
|
|
288
288
|
var h = p && r[p] || r[w];
|
|
289
289
|
return typeof h == "function" ? h : null;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var j = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
292
292
|
function y(r) {
|
|
293
293
|
{
|
|
294
294
|
for (var h = arguments.length, N = new Array(h > 1 ? h - 1 : 0), P = 1; P < h; P++)
|
|
@@ -298,7 +298,7 @@ function ss() {
|
|
|
298
298
|
}
|
|
299
299
|
function S(r, h, N) {
|
|
300
300
|
{
|
|
301
|
-
var P =
|
|
301
|
+
var P = j.ReactDebugCurrentFrame, M = P.getStackAddendum();
|
|
302
302
|
M !== "" && (h += "%s", N = N.concat([M]));
|
|
303
303
|
var V = N.map(function(A) {
|
|
304
304
|
return String(A);
|
|
@@ -432,8 +432,8 @@ function ss() {
|
|
|
432
432
|
W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
var be =
|
|
436
|
-
function
|
|
435
|
+
var be = j.ReactCurrentDispatcher, ge;
|
|
436
|
+
function je(r, h, N) {
|
|
437
437
|
{
|
|
438
438
|
if (ge === void 0)
|
|
439
439
|
try {
|
|
@@ -519,7 +519,7 @@ function ss() {
|
|
|
519
519
|
} finally {
|
|
520
520
|
Se = !1, be.current = V, xe(), Error.prepareStackTrace = M;
|
|
521
521
|
}
|
|
522
|
-
var we = r ? r.displayName || r.name : "", pe = we ?
|
|
522
|
+
var we = r ? r.displayName || r.name : "", pe = we ? je(we) : "";
|
|
523
523
|
return typeof r == "function" && fe.set(r, pe), pe;
|
|
524
524
|
}
|
|
525
525
|
function Ke(r, h, N) {
|
|
@@ -529,39 +529,39 @@ function ss() {
|
|
|
529
529
|
var h = r.prototype;
|
|
530
530
|
return !!(h && h.isReactComponent);
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function ve(r, h, N) {
|
|
533
533
|
if (r == null)
|
|
534
534
|
return "";
|
|
535
535
|
if (typeof r == "function")
|
|
536
536
|
return Te(r, Ze(r));
|
|
537
537
|
if (typeof r == "string")
|
|
538
|
-
return
|
|
538
|
+
return je(r);
|
|
539
539
|
switch (r) {
|
|
540
540
|
case g:
|
|
541
|
-
return
|
|
541
|
+
return je("Suspense");
|
|
542
542
|
case x:
|
|
543
|
-
return
|
|
543
|
+
return je("SuspenseList");
|
|
544
544
|
}
|
|
545
545
|
if (typeof r == "object")
|
|
546
546
|
switch (r.$$typeof) {
|
|
547
547
|
case d:
|
|
548
548
|
return Ke(r.render);
|
|
549
549
|
case u:
|
|
550
|
-
return
|
|
550
|
+
return ve(r.type, h, N);
|
|
551
551
|
case m: {
|
|
552
552
|
var P = r, M = P._payload, V = P._init;
|
|
553
553
|
try {
|
|
554
|
-
return
|
|
554
|
+
return ve(V(M), h, N);
|
|
555
555
|
} catch {
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
return "";
|
|
560
560
|
}
|
|
561
|
-
var me = Object.prototype.hasOwnProperty, ze = {}, De =
|
|
561
|
+
var me = Object.prototype.hasOwnProperty, ze = {}, De = j.ReactDebugCurrentFrame;
|
|
562
562
|
function ye(r) {
|
|
563
563
|
if (r) {
|
|
564
|
-
var h = r._owner, N =
|
|
564
|
+
var h = r._owner, N = ve(r.type, r._source, h ? h.type : null);
|
|
565
565
|
De.setExtraStackFrame(N);
|
|
566
566
|
} else
|
|
567
567
|
De.setExtraStackFrame(null);
|
|
@@ -609,7 +609,7 @@ function ss() {
|
|
|
609
609
|
if (ka(r))
|
|
610
610
|
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", La(r)), dt(r);
|
|
611
611
|
}
|
|
612
|
-
var xt =
|
|
612
|
+
var xt = j.ReactCurrentOwner, _a = {
|
|
613
613
|
key: !0,
|
|
614
614
|
ref: !0,
|
|
615
615
|
__self: !0,
|
|
@@ -703,10 +703,10 @@ function ss() {
|
|
|
703
703
|
return Aa(r, R, ee, M, P, xt.current, A);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
var Ye =
|
|
706
|
+
var Ye = j.ReactCurrentOwner, pt = j.ReactDebugCurrentFrame;
|
|
707
707
|
function Ne(r) {
|
|
708
708
|
if (r) {
|
|
709
|
-
var h = r._owner, N =
|
|
709
|
+
var h = r._owner, N = ve(r.type, r._source, h ? h.type : null);
|
|
710
710
|
pt.setExtraStackFrame(N);
|
|
711
711
|
} else
|
|
712
712
|
pt.setExtraStackFrame(null);
|
|
@@ -757,7 +757,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
757
757
|
r && r._owner && r._owner !== Ye.current && (P = " It was passed a child from " + H(r._owner.type) + "."), Ne(r), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, P), Ne(null);
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function jt(r, h) {
|
|
761
761
|
{
|
|
762
762
|
if (typeof r != "object")
|
|
763
763
|
return;
|
|
@@ -769,7 +769,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
769
769
|
else if (Xe(r))
|
|
770
770
|
r._store && (r._store.validated = !0);
|
|
771
771
|
else if (r) {
|
|
772
|
-
var M =
|
|
772
|
+
var M = v(r);
|
|
773
773
|
if (typeof M == "function" && M !== r.entries)
|
|
774
774
|
for (var V = M.call(r), A; !(A = V.next()).done; )
|
|
775
775
|
Xe(A.value) && gt(A.value, h);
|
|
@@ -813,7 +813,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
813
813
|
r.ref !== null && (Ne(r), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
var
|
|
816
|
+
var vt = {};
|
|
817
817
|
function yt(r, h, N, P, M, V) {
|
|
818
818
|
{
|
|
819
819
|
var A = G(r);
|
|
@@ -834,25 +834,25 @@ Check the top-level render call using <` + N + ">.");
|
|
|
834
834
|
if (P)
|
|
835
835
|
if (ae(ie)) {
|
|
836
836
|
for (var we = 0; we < ie.length; we++)
|
|
837
|
-
|
|
837
|
+
jt(ie[we], r);
|
|
838
838
|
Object.freeze && Object.freeze(ie);
|
|
839
839
|
} else
|
|
840
840
|
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
841
841
|
else
|
|
842
|
-
|
|
842
|
+
jt(ie, r);
|
|
843
843
|
}
|
|
844
844
|
if (me.call(h, "key")) {
|
|
845
845
|
var pe = H(r), se = Object.keys(h).filter(function(Wa) {
|
|
846
846
|
return Wa !== "key";
|
|
847
847
|
}), Qe = se.length > 0 ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
848
|
-
if (!
|
|
848
|
+
if (!vt[pe + Qe]) {
|
|
849
849
|
var $a = se.length > 0 ? "{" + se.join(": ..., ") + ": ...}" : "{}";
|
|
850
850
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
851
851
|
let props = %s;
|
|
852
852
|
<%s {...props} />
|
|
853
853
|
React keys must be passed directly to JSX without using spread:
|
|
854
854
|
let props = %s;
|
|
855
|
-
<%s key={someKey} {...props} />`, Qe, pe, $a, pe),
|
|
855
|
+
<%s key={someKey} {...props} />`, Qe, pe, $a, pe), vt[pe + Qe] = !0;
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
return r === n ? za(Y) : Ba(Y), Y;
|
|
@@ -991,7 +991,7 @@ function ps(t) {
|
|
|
991
991
|
function hs(t) {
|
|
992
992
|
return E({ 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);
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function Kn({
|
|
995
995
|
isOpen: t,
|
|
996
996
|
onClose: a,
|
|
997
997
|
closeButtonAriaLabel: s = "Close",
|
|
@@ -1070,12 +1070,12 @@ const bs = {
|
|
|
1070
1070
|
}, gs = {
|
|
1071
1071
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
1072
1072
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
1073
|
-
},
|
|
1073
|
+
}, js = {
|
|
1074
1074
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
1075
1075
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
1076
1076
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
1077
1077
|
};
|
|
1078
|
-
function
|
|
1078
|
+
function vs({
|
|
1079
1079
|
variant: t = "primary",
|
|
1080
1080
|
size: a = "md",
|
|
1081
1081
|
leftIcon: s,
|
|
@@ -1090,7 +1090,7 @@ function js({
|
|
|
1090
1090
|
{
|
|
1091
1091
|
type: c,
|
|
1092
1092
|
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${gs[a]} ${bs[t]} ${l}`,
|
|
1093
|
-
style: { ...
|
|
1093
|
+
style: { ...js[t], ...i },
|
|
1094
1094
|
...o,
|
|
1095
1095
|
children: [
|
|
1096
1096
|
s,
|
|
@@ -1099,7 +1099,7 @@ function js({
|
|
|
1099
1099
|
}
|
|
1100
1100
|
);
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function Zn({ className: t = "size-5" }) {
|
|
1103
1103
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
1104
1104
|
"path",
|
|
1105
1105
|
{
|
|
@@ -1108,7 +1108,7 @@ function Kn({ className: t = "size-5" }) {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
) });
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Yn({ className: t = "size-5" }) {
|
|
1112
1112
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
1113
1113
|
"path",
|
|
1114
1114
|
{
|
|
@@ -1195,7 +1195,7 @@ function ys({
|
|
|
1195
1195
|
] })
|
|
1196
1196
|
] }) : null;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function qn({
|
|
1199
1199
|
isOpen: t,
|
|
1200
1200
|
onClose: a,
|
|
1201
1201
|
avatarUrl: s = da,
|
|
@@ -1214,7 +1214,7 @@ function Yn({
|
|
|
1214
1214
|
const [p, w] = $(null);
|
|
1215
1215
|
if (!t)
|
|
1216
1216
|
return null;
|
|
1217
|
-
const
|
|
1217
|
+
const v = p != null ? l[p] : null;
|
|
1218
1218
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1219
1219
|
/* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-50 mx-auto flex w-full max-w-md items-end justify-center", children: [
|
|
1220
1220
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1252,7 +1252,7 @@ function Yn({
|
|
|
1252
1252
|
}
|
|
1253
1253
|
),
|
|
1254
1254
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-base font-semibold leading-[22px] text-gray-700", children: n }),
|
|
1255
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4", children: l.map((
|
|
1255
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4", children: l.map((j, y) => /* @__PURE__ */ e.jsxs(
|
|
1256
1256
|
"div",
|
|
1257
1257
|
{
|
|
1258
1258
|
className: "flex w-full items-center justify-between gap-3",
|
|
@@ -1260,15 +1260,15 @@ function Yn({
|
|
|
1260
1260
|
/* @__PURE__ */ e.jsxs(
|
|
1261
1261
|
"p",
|
|
1262
1262
|
{
|
|
1263
|
-
className: `min-w-0 flex-1 text-base font-semibold leading-[22px] ${
|
|
1263
|
+
className: `min-w-0 flex-1 text-base font-semibold leading-[22px] ${j.isActive ? "text-[#22272b]" : "text-[#22272b]/50"}`,
|
|
1264
1264
|
children: [
|
|
1265
|
-
|
|
1265
|
+
j.name,
|
|
1266
1266
|
" ",
|
|
1267
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-xs font-medium leading-4 text-gray-500", children:
|
|
1267
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-xs font-medium leading-4 text-gray-500", children: j.tithi })
|
|
1268
1268
|
]
|
|
1269
1269
|
}
|
|
1270
1270
|
),
|
|
1271
|
-
|
|
1271
|
+
j.isActive ? /* @__PURE__ */ e.jsxs(
|
|
1272
1272
|
"button",
|
|
1273
1273
|
{
|
|
1274
1274
|
type: "button",
|
|
@@ -1293,10 +1293,10 @@ function Yn({
|
|
|
1293
1293
|
)
|
|
1294
1294
|
]
|
|
1295
1295
|
},
|
|
1296
|
-
|
|
1296
|
+
j.id
|
|
1297
1297
|
)) }),
|
|
1298
1298
|
/* @__PURE__ */ e.jsx(
|
|
1299
|
-
|
|
1299
|
+
vs,
|
|
1300
1300
|
{
|
|
1301
1301
|
variant: "accent",
|
|
1302
1302
|
size: "lg",
|
|
@@ -1310,10 +1310,10 @@ function Yn({
|
|
|
1310
1310
|
/* @__PURE__ */ e.jsx(
|
|
1311
1311
|
ys,
|
|
1312
1312
|
{
|
|
1313
|
-
isOpen:
|
|
1313
|
+
isOpen: v != null,
|
|
1314
1314
|
avatarUrl: s,
|
|
1315
1315
|
messagePrefix: x,
|
|
1316
|
-
highlightedNames:
|
|
1316
|
+
highlightedNames: v ? `${v.name} ${v.tithi}` : "",
|
|
1317
1317
|
messageSuffix: u,
|
|
1318
1318
|
confirmLabel: m,
|
|
1319
1319
|
cancelLabel: b,
|
|
@@ -1370,7 +1370,7 @@ function Pe(t) {
|
|
|
1370
1370
|
function lt(t) {
|
|
1371
1371
|
return E({ 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);
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Xn({
|
|
1374
1374
|
totalPrice: t,
|
|
1375
1375
|
ritualCountLabel: a,
|
|
1376
1376
|
proceedLabel: s,
|
|
@@ -1424,7 +1424,7 @@ function qn({
|
|
|
1424
1424
|
);
|
|
1425
1425
|
}
|
|
1426
1426
|
const Ss = "https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";
|
|
1427
|
-
function
|
|
1427
|
+
function Qn() {
|
|
1428
1428
|
const { t } = _e();
|
|
1429
1429
|
return /* @__PURE__ */ 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: [
|
|
1430
1430
|
/* @__PURE__ */ e.jsx("img", { src: Ss, alt: "", "aria-hidden": !0, className: "size-6" }),
|
|
@@ -1435,7 +1435,7 @@ function Xn() {
|
|
|
1435
1435
|
] });
|
|
1436
1436
|
}
|
|
1437
1437
|
const Ts = "https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp", Rs = "https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp", St = "https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg", Es = "linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";
|
|
1438
|
-
function
|
|
1438
|
+
function Jn() {
|
|
1439
1439
|
const { t } = _e();
|
|
1440
1440
|
return /* @__PURE__ */ e.jsxs(
|
|
1441
1441
|
"section",
|
|
@@ -1528,7 +1528,7 @@ const Tt = "https://srm-cdn.a4b.io/yoda/1788322995409.svg", Rt = "https://srm-cd
|
|
|
1528
1528
|
labelKey: "whySriMandirSupportLabel"
|
|
1529
1529
|
}
|
|
1530
1530
|
];
|
|
1531
|
-
function
|
|
1531
|
+
function el() {
|
|
1532
1532
|
const { t } = _e();
|
|
1533
1533
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center justify-center gap-5 px-4 py-8", children: [
|
|
1534
1534
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
@@ -1615,7 +1615,7 @@ const Et = "https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg", At = "https://s
|
|
|
1615
1615
|
isVideo: !0
|
|
1616
1616
|
}
|
|
1617
1617
|
];
|
|
1618
|
-
function
|
|
1618
|
+
function tl() {
|
|
1619
1619
|
const { t } = _e();
|
|
1620
1620
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-4 py-4", children: [
|
|
1621
1621
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2 px-4", children: [
|
|
@@ -1666,7 +1666,7 @@ function el() {
|
|
|
1666
1666
|
] });
|
|
1667
1667
|
}
|
|
1668
1668
|
const Gs = "https://srm-cdn.a4b.io/yoda/1788253585577.svg", Us = "https://srm-cdn.a4b.io/yoda/1788323562516.svg";
|
|
1669
|
-
function
|
|
1669
|
+
function al({
|
|
1670
1670
|
images: t,
|
|
1671
1671
|
useCase: a,
|
|
1672
1672
|
title: s,
|
|
@@ -1740,7 +1740,7 @@ function tl({
|
|
|
1740
1740
|
] });
|
|
1741
1741
|
}
|
|
1742
1742
|
const Ks = "https://srm-cdn.a4b.io/yoda/1788323512851.webp";
|
|
1743
|
-
function
|
|
1743
|
+
function sl({
|
|
1744
1744
|
heading: t,
|
|
1745
1745
|
benefits: a
|
|
1746
1746
|
}) {
|
|
@@ -1777,7 +1777,7 @@ function fa(t) {
|
|
|
1777
1777
|
return E({ 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);
|
|
1778
1778
|
}
|
|
1779
1779
|
const Ys = 168;
|
|
1780
|
-
function
|
|
1780
|
+
function rl({
|
|
1781
1781
|
question: t,
|
|
1782
1782
|
imageUrl: a,
|
|
1783
1783
|
imageAlt: s = "",
|
|
@@ -1853,7 +1853,7 @@ function tr(t) {
|
|
|
1853
1853
|
return E({ 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);
|
|
1854
1854
|
}
|
|
1855
1855
|
const Mt = 3;
|
|
1856
|
-
function
|
|
1856
|
+
function nl({
|
|
1857
1857
|
heading: t,
|
|
1858
1858
|
subtitle: a,
|
|
1859
1859
|
reviews: s,
|
|
@@ -1958,13 +1958,13 @@ function rl({
|
|
|
1958
1958
|
] })
|
|
1959
1959
|
] }),
|
|
1960
1960
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2 px-4 pt-3", children: [
|
|
1961
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: Array.from({ length: b.stars }).map((w,
|
|
1961
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: Array.from({ length: b.stars }).map((w, v) => /* @__PURE__ */ e.jsx(
|
|
1962
1962
|
it,
|
|
1963
1963
|
{
|
|
1964
1964
|
"aria-hidden": !0,
|
|
1965
1965
|
className: "size-5 text-[#F06A16]"
|
|
1966
1966
|
},
|
|
1967
|
-
|
|
1967
|
+
v
|
|
1968
1968
|
)) }),
|
|
1969
1969
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-sm font-normal leading-5 text-gray-500", children: b.text })
|
|
1970
1970
|
] }),
|
|
@@ -1986,7 +1986,7 @@ function rl({
|
|
|
1986
1986
|
) })
|
|
1987
1987
|
] });
|
|
1988
1988
|
}
|
|
1989
|
-
const
|
|
1989
|
+
const ll = [
|
|
1990
1990
|
{ variant: "pandits", textKey: "outcomeTrustPanditsText" },
|
|
1991
1991
|
{ variant: "gotra", textKey: "outcomeTrustGotraText" },
|
|
1992
1992
|
{ variant: "video", textKey: "outcomeTrustVideoText" }
|
|
@@ -2075,7 +2075,7 @@ function Ie(t) {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
) : null;
|
|
2077
2077
|
}
|
|
2078
|
-
const
|
|
2078
|
+
const il = ({
|
|
2079
2079
|
quote: t,
|
|
2080
2080
|
authorName: a,
|
|
2081
2081
|
authorAvatarUrl: s,
|
|
@@ -2134,7 +2134,7 @@ const ll = ({
|
|
|
2134
2134
|
showTitleAccent: g = !1,
|
|
2135
2135
|
titleClassName: x
|
|
2136
2136
|
}) => {
|
|
2137
|
-
const [u, m] = $(l), [b, p] = $(o), w = n && a.length > s,
|
|
2137
|
+
const [u, m] = $(l), [b, p] = $(o), w = n && a.length > s, v = w && !u ? a.slice(0, s) : a;
|
|
2138
2138
|
return /* @__PURE__ */ e.jsxs(
|
|
2139
2139
|
"div",
|
|
2140
2140
|
{
|
|
@@ -2147,7 +2147,7 @@ const ll = ({
|
|
|
2147
2147
|
/* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2148
2148
|
t
|
|
2149
2149
|
] }) : /* @__PURE__ */ e.jsx("h2", { className: f("w-full text-base font-bold text-[#1d2125]", x), children: t }),
|
|
2150
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children:
|
|
2150
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: v.map((j, y) => {
|
|
2151
2151
|
const S = b === y;
|
|
2152
2152
|
return /* @__PURE__ */ e.jsxs(
|
|
2153
2153
|
"div",
|
|
@@ -2167,7 +2167,7 @@ const ll = ({
|
|
|
2167
2167
|
"aria-controls": `faq-answer-${y}`,
|
|
2168
2168
|
id: `faq-question-${y}`,
|
|
2169
2169
|
children: [
|
|
2170
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children:
|
|
2170
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: j.question }),
|
|
2171
2171
|
/* @__PURE__ */ e.jsx(
|
|
2172
2172
|
Oe,
|
|
2173
2173
|
{
|
|
@@ -2187,7 +2187,7 @@ const ll = ({
|
|
|
2187
2187
|
"aria-labelledby": `faq-question-${y}`,
|
|
2188
2188
|
hidden: !S,
|
|
2189
2189
|
className: "bg-white p-3",
|
|
2190
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
2190
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: j.answer })
|
|
2191
2191
|
}
|
|
2192
2192
|
)
|
|
2193
2193
|
]
|
|
@@ -2201,7 +2201,7 @@ const ll = ({
|
|
|
2201
2201
|
variant: "secondary",
|
|
2202
2202
|
size: "lg",
|
|
2203
2203
|
className: "w-full",
|
|
2204
|
-
onClick: () => m((
|
|
2204
|
+
onClick: () => m((j) => !j),
|
|
2205
2205
|
"aria-expanded": u,
|
|
2206
2206
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2207
2207
|
Oe,
|
|
@@ -2217,7 +2217,7 @@ const ll = ({
|
|
|
2217
2217
|
]
|
|
2218
2218
|
}
|
|
2219
2219
|
);
|
|
2220
|
-
},
|
|
2220
|
+
}, ol = ({
|
|
2221
2221
|
title: t = "Frequently Asked Questions",
|
|
2222
2222
|
showTitleAccent: a = !0,
|
|
2223
2223
|
items: s,
|
|
@@ -2235,8 +2235,8 @@ const ll = ({
|
|
|
2235
2235
|
a && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
2236
2236
|
t
|
|
2237
2237
|
] }),
|
|
2238
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: w.map((
|
|
2239
|
-
const y = m ===
|
|
2238
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: w.map((v, j) => {
|
|
2239
|
+
const y = m === j, S = y ? ks : Oe;
|
|
2240
2240
|
return /* @__PURE__ */ e.jsxs(
|
|
2241
2241
|
"div",
|
|
2242
2242
|
{
|
|
@@ -2247,12 +2247,12 @@ const ll = ({
|
|
|
2247
2247
|
{
|
|
2248
2248
|
type: "button",
|
|
2249
2249
|
className: "flex w-full items-center justify-between gap-2 text-left",
|
|
2250
|
-
onClick: () => b(y ? -1 :
|
|
2250
|
+
onClick: () => b(y ? -1 : j),
|
|
2251
2251
|
"aria-expanded": y,
|
|
2252
|
-
"aria-controls": `faq-accordion-answer-${
|
|
2253
|
-
id: `faq-accordion-question-${
|
|
2252
|
+
"aria-controls": `faq-accordion-answer-${j}`,
|
|
2253
|
+
id: `faq-accordion-question-${j}`,
|
|
2254
2254
|
children: [
|
|
2255
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children:
|
|
2255
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: v.question }),
|
|
2256
2256
|
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
2257
2257
|
]
|
|
2258
2258
|
}
|
|
@@ -2260,16 +2260,16 @@ const ll = ({
|
|
|
2260
2260
|
/* @__PURE__ */ e.jsx(
|
|
2261
2261
|
"div",
|
|
2262
2262
|
{
|
|
2263
|
-
id: `faq-accordion-answer-${
|
|
2263
|
+
id: `faq-accordion-answer-${j}`,
|
|
2264
2264
|
role: "region",
|
|
2265
|
-
"aria-labelledby": `faq-accordion-question-${
|
|
2265
|
+
"aria-labelledby": `faq-accordion-question-${j}`,
|
|
2266
2266
|
hidden: !y,
|
|
2267
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children:
|
|
2267
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children: v.answer })
|
|
2268
2268
|
}
|
|
2269
2269
|
)
|
|
2270
2270
|
]
|
|
2271
2271
|
},
|
|
2272
|
-
|
|
2272
|
+
j
|
|
2273
2273
|
);
|
|
2274
2274
|
}) }),
|
|
2275
2275
|
p && /* @__PURE__ */ e.jsx(
|
|
@@ -2278,7 +2278,7 @@ const ll = ({
|
|
|
2278
2278
|
variant: "secondary",
|
|
2279
2279
|
size: "lg",
|
|
2280
2280
|
className: "w-full",
|
|
2281
|
-
onClick: () => u((
|
|
2281
|
+
onClick: () => u((v) => !v),
|
|
2282
2282
|
"aria-expanded": x,
|
|
2283
2283
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2284
2284
|
Oe,
|
|
@@ -2306,10 +2306,10 @@ const ll = ({
|
|
|
2306
2306
|
autoPlay: g = !1,
|
|
2307
2307
|
onPlayToggle: x
|
|
2308
2308
|
}, u) => {
|
|
2309
|
-
const [m, b] = k.useState(!1), [p, w] = k.useState(!0), [
|
|
2309
|
+
const [m, b] = k.useState(!1), [p, w] = k.useState(!0), [v, j] = k.useState(!1), [y, S] = k.useState(0), [B, U] = k.useState(0), [I, z] = k.useState(!0), D = k.useRef(null), F = k.useRef(null), G = k.useRef(() => {
|
|
2310
2310
|
}), _ = k.useRef(null);
|
|
2311
2311
|
k.useEffect(() => {
|
|
2312
|
-
g && (b(!0),
|
|
2312
|
+
g && (b(!0), j(!1));
|
|
2313
2313
|
}, [g]);
|
|
2314
2314
|
const L = k.useCallback(() => {
|
|
2315
2315
|
_.current && clearTimeout(_.current), _.current = setTimeout(
|
|
@@ -2404,7 +2404,7 @@ const ll = ({
|
|
|
2404
2404
|
src: t,
|
|
2405
2405
|
poster: a,
|
|
2406
2406
|
playing: p,
|
|
2407
|
-
muted:
|
|
2407
|
+
muted: v,
|
|
2408
2408
|
controls: !1,
|
|
2409
2409
|
pip: !1,
|
|
2410
2410
|
playsInline: !0,
|
|
@@ -2453,10 +2453,10 @@ const ll = ({
|
|
|
2453
2453
|
variant: "ghost",
|
|
2454
2454
|
iconOnly: !0,
|
|
2455
2455
|
size: "sm",
|
|
2456
|
-
"aria-label":
|
|
2456
|
+
"aria-label": v ? "Unmute" : "Mute",
|
|
2457
2457
|
className: "absolute left-2 top-2 text-white! hover:bg-white/10",
|
|
2458
|
-
onClick: () =>
|
|
2459
|
-
children:
|
|
2458
|
+
onClick: () => j((T) => !T),
|
|
2459
|
+
children: v ? /* @__PURE__ */ e.jsx(Xs, { size: 14 }) : /* @__PURE__ */ e.jsx(qs, { size: 14 })
|
|
2460
2460
|
}
|
|
2461
2461
|
),
|
|
2462
2462
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2514,11 +2514,11 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2514
2514
|
b || m(y), i?.(y);
|
|
2515
2515
|
},
|
|
2516
2516
|
[b, i]
|
|
2517
|
-
),
|
|
2518
|
-
k.useImperativeHandle(x, () =>
|
|
2517
|
+
), v = k.useRef(null);
|
|
2518
|
+
k.useImperativeHandle(x, () => v.current), k.useEffect(() => {
|
|
2519
2519
|
if (!p) return;
|
|
2520
2520
|
const y = (B) => {
|
|
2521
|
-
|
|
2521
|
+
v.current?.contains(B.target) || w(!1);
|
|
2522
2522
|
}, S = (B) => {
|
|
2523
2523
|
B.key === "Escape" && w(!1);
|
|
2524
2524
|
};
|
|
@@ -2526,10 +2526,10 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2526
2526
|
document.removeEventListener("mousedown", y), document.removeEventListener("keydown", S);
|
|
2527
2527
|
};
|
|
2528
2528
|
}, [p, w]);
|
|
2529
|
-
const
|
|
2529
|
+
const j = (y) => {
|
|
2530
2530
|
s?.(y.value), w(!1);
|
|
2531
2531
|
};
|
|
2532
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2532
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: v, className: f("relative inline-block", c), ...g, children: [
|
|
2533
2533
|
/* @__PURE__ */ e.jsxs(
|
|
2534
2534
|
"button",
|
|
2535
2535
|
{
|
|
@@ -2569,7 +2569,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2569
2569
|
"button",
|
|
2570
2570
|
{
|
|
2571
2571
|
type: "button",
|
|
2572
|
-
onClick: () =>
|
|
2572
|
+
onClick: () => j(y),
|
|
2573
2573
|
className: f(
|
|
2574
2574
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
2575
2575
|
S ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
@@ -2584,7 +2584,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2584
2584
|
}
|
|
2585
2585
|
);
|
|
2586
2586
|
ma.displayName = "LanguageSwitcher";
|
|
2587
|
-
function
|
|
2587
|
+
function cl({
|
|
2588
2588
|
onBackClick: t,
|
|
2589
2589
|
backButtonAriaLabel: a = "Go back",
|
|
2590
2590
|
locale: s,
|
|
@@ -2600,7 +2600,7 @@ function ol({
|
|
|
2600
2600
|
i
|
|
2601
2601
|
),
|
|
2602
2602
|
children: [
|
|
2603
|
-
t
|
|
2603
|
+
t ? /* @__PURE__ */ e.jsx(
|
|
2604
2604
|
"button",
|
|
2605
2605
|
{
|
|
2606
2606
|
type: "button",
|
|
@@ -2609,6 +2609,18 @@ function ol({
|
|
|
2609
2609
|
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)]",
|
|
2610
2610
|
children: /* @__PURE__ */ e.jsx(lt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2611
2611
|
}
|
|
2612
|
+
) : (
|
|
2613
|
+
// `justify-between` only spaces multiple children apart — with no
|
|
2614
|
+
// back button and nothing standing in for it, the switcher below
|
|
2615
|
+
// becomes the container's only child, so `justify-between` places
|
|
2616
|
+
// it at the start instead of the end (margin/style-based fixes
|
|
2617
|
+
// tried here before proved unreliable: they depend on this
|
|
2618
|
+
// package's `style.css` — imported per-page rather than once in
|
|
2619
|
+
// `_app` — keeping the same cascade position it has on a fresh SSR
|
|
2620
|
+
// load, which Next doesn't guarantee across a client-side route
|
|
2621
|
+
// transition). A same-size invisible spacer keeps the container at
|
|
2622
|
+
// two children always, so its layout never depends on that at all.
|
|
2623
|
+
/* @__PURE__ */ e.jsx("div", { className: "size-8 shrink-0", "aria-hidden": !0 })
|
|
2612
2624
|
),
|
|
2613
2625
|
n.length > 0 && /* @__PURE__ */ e.jsx(
|
|
2614
2626
|
ma,
|
|
@@ -2616,8 +2628,7 @@ function ol({
|
|
|
2616
2628
|
options: n,
|
|
2617
2629
|
value: s,
|
|
2618
2630
|
onChange: l,
|
|
2619
|
-
menuClassName: "left-auto right-0"
|
|
2620
|
-
style: { marginLeft: "auto" }
|
|
2631
|
+
menuClassName: "left-auto right-0"
|
|
2621
2632
|
}
|
|
2622
2633
|
)
|
|
2623
2634
|
]
|
|
@@ -2646,7 +2657,7 @@ const ir = k.forwardRef(
|
|
|
2646
2657
|
)
|
|
2647
2658
|
);
|
|
2648
2659
|
ir.displayName = "Chip";
|
|
2649
|
-
const
|
|
2660
|
+
const dl = ({
|
|
2650
2661
|
quote: t,
|
|
2651
2662
|
currentStep: a,
|
|
2652
2663
|
totalSteps: s,
|
|
@@ -2733,7 +2744,7 @@ const It = 1.25, Bt = [
|
|
|
2733
2744
|
n
|
|
2734
2745
|
))
|
|
2735
2746
|
}
|
|
2736
|
-
),
|
|
2747
|
+
), ul = ({
|
|
2737
2748
|
avatarUrl: t,
|
|
2738
2749
|
question: a,
|
|
2739
2750
|
description: s,
|
|
@@ -2871,8 +2882,8 @@ const ot = k.forwardRef(
|
|
|
2871
2882
|
tagClassName: b,
|
|
2872
2883
|
children: p,
|
|
2873
2884
|
note: w,
|
|
2874
|
-
noteClassName:
|
|
2875
|
-
className:
|
|
2885
|
+
noteClassName: v,
|
|
2886
|
+
className: j,
|
|
2876
2887
|
disabled: y,
|
|
2877
2888
|
type: S = "button",
|
|
2878
2889
|
...B
|
|
@@ -2884,7 +2895,7 @@ const ot = k.forwardRef(
|
|
|
2884
2895
|
"relative overflow-visible rounded-xl border transition-colors",
|
|
2885
2896
|
t ? "border-[#F38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
2886
2897
|
y && "opacity-50",
|
|
2887
|
-
|
|
2898
|
+
j
|
|
2888
2899
|
),
|
|
2889
2900
|
children: [
|
|
2890
2901
|
m && /* @__PURE__ */ e.jsx(
|
|
@@ -2965,7 +2976,7 @@ const ot = k.forwardRef(
|
|
|
2965
2976
|
{
|
|
2966
2977
|
className: f(
|
|
2967
2978
|
"px-4 py-1 text-center text-[10px] leading-3.5 font-medium bg-[#fccf9a] text-[#632E06]",
|
|
2968
|
-
|
|
2979
|
+
v
|
|
2969
2980
|
),
|
|
2970
2981
|
children: w
|
|
2971
2982
|
}
|
|
@@ -2974,7 +2985,7 @@ const ot = k.forwardRef(
|
|
|
2974
2985
|
}
|
|
2975
2986
|
);
|
|
2976
2987
|
ot.displayName = "SelectorCard";
|
|
2977
|
-
const
|
|
2988
|
+
const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.jsxs(
|
|
2978
2989
|
"div",
|
|
2979
2990
|
{
|
|
2980
2991
|
role: a ? "button" : void 0,
|
|
@@ -2991,7 +3002,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2991
3002
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
2992
3003
|
]
|
|
2993
3004
|
}
|
|
2994
|
-
),
|
|
3005
|
+
), fl = ({
|
|
2995
3006
|
value: t,
|
|
2996
3007
|
onInfoClick: a,
|
|
2997
3008
|
infoLabel: s = "More info",
|
|
@@ -3033,7 +3044,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3033
3044
|
...s,
|
|
3034
3045
|
children: t
|
|
3035
3046
|
}
|
|
3036
|
-
),
|
|
3047
|
+
), ml = ({
|
|
3037
3048
|
className: t,
|
|
3038
3049
|
children: a,
|
|
3039
3050
|
...s
|
|
@@ -3047,7 +3058,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3047
3058
|
...s,
|
|
3048
3059
|
children: a
|
|
3049
3060
|
}
|
|
3050
|
-
),
|
|
3061
|
+
), pl = ({
|
|
3051
3062
|
value: t,
|
|
3052
3063
|
onIncrement: a,
|
|
3053
3064
|
onDecrement: s,
|
|
@@ -3184,7 +3195,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3184
3195
|
), fr = ({ locale: t = "en", ...a }) => {
|
|
3185
3196
|
const { mandapTitle: s, mandapDescription: n } = Ue(t);
|
|
3186
3197
|
return /* @__PURE__ */ e.jsx(pa, { title: s, description: n, ...a });
|
|
3187
|
-
},
|
|
3198
|
+
}, hl = ({
|
|
3188
3199
|
children: t = "Change",
|
|
3189
3200
|
className: a,
|
|
3190
3201
|
type: s = "button",
|
|
@@ -3206,7 +3217,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3206
3217
|
t
|
|
3207
3218
|
]
|
|
3208
3219
|
}
|
|
3209
|
-
),
|
|
3220
|
+
), bl = ({
|
|
3210
3221
|
locale: t = "en",
|
|
3211
3222
|
isAdded: a = !0,
|
|
3212
3223
|
children: s,
|
|
@@ -3227,14 +3238,14 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3227
3238
|
s ?? (a ? Ue(t).addedLabel : Ue(t).addLabel)
|
|
3228
3239
|
]
|
|
3229
3240
|
}
|
|
3230
|
-
), mr = "
|
|
3241
|
+
), mr = "_contentBlock_2nhli_8", pr = "_imageWrap_2nhli_18", hr = "_image_2nhli_18", br = "_tag_2nhli_32", gr = "_info_2nhli_47", jr = "_title_2nhli_54", vr = "_description_2nhli_61", yr = "_footer_2nhli_68", Nr = "_priceRow_2nhli_77", wr = "_price_2nhli_77", Cr = "_basePrice_2nhli_92", Lr = "_savedBadge_2nhli_101", kr = "_actionWrap_2nhli_122", re = {
|
|
3231
3242
|
contentBlock: mr,
|
|
3232
3243
|
imageWrap: pr,
|
|
3233
3244
|
image: hr,
|
|
3234
3245
|
tag: br,
|
|
3235
3246
|
info: gr,
|
|
3236
|
-
title:
|
|
3237
|
-
description:
|
|
3247
|
+
title: jr,
|
|
3248
|
+
description: vr,
|
|
3238
3249
|
footer: yr,
|
|
3239
3250
|
priceRow: Nr,
|
|
3240
3251
|
price: wr,
|
|
@@ -3259,7 +3270,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3259
3270
|
savedLabel: p,
|
|
3260
3271
|
action: w
|
|
3261
3272
|
}) => {
|
|
3262
|
-
const
|
|
3273
|
+
const v = typeof u == "number" && u > x, j = v ? Math.round((u - x) / u * 100) : 0, y = (b ?? v) && j > 0;
|
|
3263
3274
|
return /* @__PURE__ */ e.jsx(
|
|
3264
3275
|
Ie,
|
|
3265
3276
|
{
|
|
@@ -3274,11 +3285,11 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3274
3285
|
m,
|
|
3275
3286
|
x
|
|
3276
3287
|
] }),
|
|
3277
|
-
|
|
3288
|
+
v && /* @__PURE__ */ e.jsxs("span", { className: re.basePrice, children: [
|
|
3278
3289
|
m,
|
|
3279
3290
|
u
|
|
3280
3291
|
] }),
|
|
3281
|
-
y && /* @__PURE__ */ e.jsx("span", { className: re.savedBadge, children: p ?? `Save ${
|
|
3292
|
+
y && /* @__PURE__ */ e.jsx("span", { className: re.savedBadge, children: p ?? `Save ${j}%` })
|
|
3282
3293
|
] }),
|
|
3283
3294
|
w && /* @__PURE__ */ e.jsx("div", { className: re.actionWrap, children: w })
|
|
3284
3295
|
] }),
|
|
@@ -3327,8 +3338,8 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3327
3338
|
tag: b,
|
|
3328
3339
|
tagClassName: p,
|
|
3329
3340
|
action: w,
|
|
3330
|
-
sheetPrice:
|
|
3331
|
-
sheetBasePrice:
|
|
3341
|
+
sheetPrice: v,
|
|
3342
|
+
sheetBasePrice: j,
|
|
3332
3343
|
sheetCurrencySymbol: y,
|
|
3333
3344
|
sheetShowSavedBadge: S,
|
|
3334
3345
|
sheetSavedLabel: B,
|
|
@@ -3337,7 +3348,7 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3337
3348
|
className: z,
|
|
3338
3349
|
...D
|
|
3339
3350
|
}) => {
|
|
3340
|
-
const [F, G] = $(!1), [_, L] = $(!1), H = i ? Gr(i).length > o : typeof l == "string" && l.length > o, J = H && !i && !F ? `${l.slice(0, o).trimEnd()}... ` : l, W = typeof
|
|
3351
|
+
const [F, G] = $(!1), [_, L] = $(!1), H = i ? Gr(i).length > o : typeof l == "string" && l.length > o, J = H && !i && !F ? `${l.slice(0, o).trimEnd()}... ` : l, W = typeof v == "number", ne = !!i && H && !F, Z = H && /* @__PURE__ */ e.jsx(
|
|
3341
3352
|
"button",
|
|
3342
3353
|
{
|
|
3343
3354
|
type: "button",
|
|
@@ -3402,8 +3413,8 @@ const ul = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3402
3413
|
title: n,
|
|
3403
3414
|
description: l,
|
|
3404
3415
|
descriptionHtml: i,
|
|
3405
|
-
price:
|
|
3406
|
-
basePrice:
|
|
3416
|
+
price: v,
|
|
3417
|
+
basePrice: j,
|
|
3407
3418
|
currencySymbol: y,
|
|
3408
3419
|
showSavedBadge: S,
|
|
3409
3420
|
savedLabel: B,
|
|
@@ -3448,7 +3459,7 @@ function ga(t) {
|
|
|
3448
3459
|
}
|
|
3449
3460
|
) });
|
|
3450
3461
|
}
|
|
3451
|
-
function
|
|
3462
|
+
function ja(t) {
|
|
3452
3463
|
return /* @__PURE__ */ e.jsxs("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": !0, ...t, children: [
|
|
3453
3464
|
/* @__PURE__ */ e.jsx(
|
|
3454
3465
|
"path",
|
|
@@ -3497,7 +3508,7 @@ function va(t) {
|
|
|
3497
3508
|
)
|
|
3498
3509
|
] });
|
|
3499
3510
|
}
|
|
3500
|
-
function
|
|
3511
|
+
function va(t) {
|
|
3501
3512
|
return /* @__PURE__ */ e.jsxs("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": !0, ...t, children: [
|
|
3502
3513
|
/* @__PURE__ */ e.jsx(
|
|
3503
3514
|
"path",
|
|
@@ -3521,8 +3532,8 @@ const Kr = [
|
|
|
3521
3532
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: "100% Money Back Guarantee" },
|
|
3522
3533
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: "No Hidden Cost" },
|
|
3523
3534
|
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label: "ISO 27001 Certified Company" },
|
|
3524
|
-
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(
|
|
3525
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
3535
|
+
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(ja, { className: "size-4" }), label: "Official Temple Partner" },
|
|
3536
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(va, { className: "size-5" }), label: "24x7 Support" }
|
|
3526
3537
|
], Dt = (t, a, s) => /* @__PURE__ */ e.jsxs(
|
|
3527
3538
|
"span",
|
|
3528
3539
|
{
|
|
@@ -3593,7 +3604,7 @@ const Kr = [
|
|
|
3593
3604
|
className: p,
|
|
3594
3605
|
...w
|
|
3595
3606
|
}) => {
|
|
3596
|
-
const
|
|
3607
|
+
const v = Yr(t);
|
|
3597
3608
|
return /* @__PURE__ */ e.jsxs(
|
|
3598
3609
|
"div",
|
|
3599
3610
|
{
|
|
@@ -3620,7 +3631,7 @@ const Kr = [
|
|
|
3620
3631
|
{
|
|
3621
3632
|
type: "button",
|
|
3622
3633
|
onClick: c,
|
|
3623
|
-
"aria-label":
|
|
3634
|
+
"aria-label": v.infoButtonAriaLabel ?? "View bill details",
|
|
3624
3635
|
className: f(
|
|
3625
3636
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]!",
|
|
3626
3637
|
!c && "pointer-events-none",
|
|
@@ -3659,7 +3670,7 @@ const Kr = [
|
|
|
3659
3670
|
u?.className
|
|
3660
3671
|
),
|
|
3661
3672
|
children: [
|
|
3662
|
-
d ??
|
|
3673
|
+
d ?? v.proceedLabel,
|
|
3663
3674
|
g
|
|
3664
3675
|
]
|
|
3665
3676
|
}
|
|
@@ -3734,7 +3745,7 @@ const Kr = [
|
|
|
3734
3745
|
support: "కస్టమర్ సపోర్ట్"
|
|
3735
3746
|
}
|
|
3736
3747
|
}
|
|
3737
|
-
}, qr = (t) => Ht[t] ?? Ht.en,
|
|
3748
|
+
}, qr = (t) => Ht[t] ?? Ht.en, gl = ({
|
|
3738
3749
|
locale: t = "en",
|
|
3739
3750
|
title: a,
|
|
3740
3751
|
description: s,
|
|
@@ -3751,15 +3762,15 @@ const Kr = [
|
|
|
3751
3762
|
trustBadges: b,
|
|
3752
3763
|
checkout: p,
|
|
3753
3764
|
stickyFooter: w = !0,
|
|
3754
|
-
footerClassName:
|
|
3765
|
+
footerClassName: v
|
|
3755
3766
|
}) => {
|
|
3756
|
-
const
|
|
3767
|
+
const j = qr(t), y = a ?? j.title, S = s ?? j.description, B = n ?? j.benefits, U = b ?? {
|
|
3757
3768
|
badges: [
|
|
3758
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label:
|
|
3759
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label:
|
|
3760
|
-
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label:
|
|
3761
|
-
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(
|
|
3762
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
3769
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: j.trustBadgeLabels.moneyBack },
|
|
3770
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: j.trustBadgeLabels.noHiddenCost },
|
|
3771
|
+
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label: j.trustBadgeLabels.isoCertified },
|
|
3772
|
+
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(ja, { className: "size-4" }), label: j.trustBadgeLabels.templePartner },
|
|
3773
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(va, { className: "size-5" }), label: j.trustBadgeLabels.support }
|
|
3763
3774
|
]
|
|
3764
3775
|
};
|
|
3765
3776
|
return /* @__PURE__ */ e.jsxs("div", { className: f("w-full", g), children: [
|
|
@@ -3807,7 +3818,7 @@ const Kr = [
|
|
|
3807
3818
|
})
|
|
3808
3819
|
}
|
|
3809
3820
|
),
|
|
3810
|
-
(U || p) && /* @__PURE__ */ e.jsxs("div", { className: f(w && "sticky bottom-0 z-10",
|
|
3821
|
+
(U || p) && /* @__PURE__ */ e.jsxs("div", { className: f(w && "sticky bottom-0 z-10", v), children: [
|
|
3811
3822
|
U && /* @__PURE__ */ e.jsx(Zr, { ...U }),
|
|
3812
3823
|
p && /* @__PURE__ */ e.jsx(ct, { locale: t, ...p })
|
|
3813
3824
|
] })
|
|
@@ -3861,10 +3872,10 @@ const Kr = [
|
|
|
3861
3872
|
a && /* @__PURE__ */ e.jsx("span", { className: f("shrink-0 text-sm", s), children: a }),
|
|
3862
3873
|
b
|
|
3863
3874
|
] }),
|
|
3864
|
-
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className: f("mt-2 text-[15px] font-semibold text-[#1d2125]", d), children: p && p.length > 0 ? p.map((w,
|
|
3865
|
-
|
|
3875
|
+
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className: f("mt-2 text-[15px] font-semibold text-[#1d2125]", d), children: p && p.length > 0 ? p.map((w, v) => /* @__PURE__ */ e.jsxs(k.Fragment, { children: [
|
|
3876
|
+
v > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
3866
3877
|
w
|
|
3867
|
-
] },
|
|
3878
|
+
] }, v)) : i })
|
|
3868
3879
|
] }) });
|
|
3869
3880
|
}, $t = {
|
|
3870
3881
|
en: {
|
|
@@ -3919,7 +3930,7 @@ const Na = ({
|
|
|
3919
3930
|
className: x,
|
|
3920
3931
|
...u
|
|
3921
3932
|
}) => {
|
|
3922
|
-
const { title: m, totalLabel: b, panditFeeLabel: p, photoVideoFeeLabel: w, freeLabel:
|
|
3933
|
+
const { title: m, totalLabel: b, panditFeeLabel: p, photoVideoFeeLabel: w, freeLabel: v } = ya(t);
|
|
3923
3934
|
return /* @__PURE__ */ e.jsxs("div", { className: f("bg-white px-4 py-6", x), ...u, children: [
|
|
3924
3935
|
s && /* @__PURE__ */ e.jsxs(
|
|
3925
3936
|
"h2",
|
|
@@ -3941,7 +3952,7 @@ const Na = ({
|
|
|
3941
3952
|
}
|
|
3942
3953
|
),
|
|
3943
3954
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
3944
|
-
n.map((
|
|
3955
|
+
n.map((j) => /* @__PURE__ */ e.jsxs(
|
|
3945
3956
|
"div",
|
|
3946
3957
|
{
|
|
3947
3958
|
className: f(
|
|
@@ -3950,41 +3961,41 @@ const Na = ({
|
|
|
3950
3961
|
),
|
|
3951
3962
|
children: [
|
|
3952
3963
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
3953
|
-
/* @__PURE__ */ e.jsx("p", { className: f("text-sm text-[#1d2125]",
|
|
3954
|
-
|
|
3964
|
+
/* @__PURE__ */ e.jsx("p", { className: f("text-sm text-[#1d2125]", j.labelClassName), children: j.label }),
|
|
3965
|
+
j.subLabel && /* @__PURE__ */ e.jsx(
|
|
3955
3966
|
"p",
|
|
3956
3967
|
{
|
|
3957
3968
|
className: f(
|
|
3958
3969
|
"mt-0.5 text-xs text-gray-400",
|
|
3959
|
-
|
|
3970
|
+
j.subLabelClassName
|
|
3960
3971
|
),
|
|
3961
|
-
children:
|
|
3972
|
+
children: j.subLabel
|
|
3962
3973
|
}
|
|
3963
3974
|
)
|
|
3964
3975
|
] }),
|
|
3965
3976
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
3966
|
-
|
|
3967
|
-
|
|
3977
|
+
j.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: j.note }),
|
|
3978
|
+
j.originalValue && /* @__PURE__ */ e.jsx(
|
|
3968
3979
|
"span",
|
|
3969
3980
|
{
|
|
3970
3981
|
className: f(
|
|
3971
3982
|
"text-gray-400 line-through",
|
|
3972
|
-
|
|
3983
|
+
j.originalValueClassName
|
|
3973
3984
|
),
|
|
3974
|
-
children:
|
|
3985
|
+
children: j.originalValue
|
|
3975
3986
|
}
|
|
3976
3987
|
),
|
|
3977
3988
|
/* @__PURE__ */ e.jsx(
|
|
3978
3989
|
"span",
|
|
3979
3990
|
{
|
|
3980
|
-
className: f("font-medium text-[#1d2125]",
|
|
3981
|
-
children:
|
|
3991
|
+
className: f("font-medium text-[#1d2125]", j.valueClassName),
|
|
3992
|
+
children: j.value
|
|
3982
3993
|
}
|
|
3983
3994
|
)
|
|
3984
3995
|
] })
|
|
3985
3996
|
]
|
|
3986
3997
|
},
|
|
3987
|
-
|
|
3998
|
+
j.id
|
|
3988
3999
|
)),
|
|
3989
4000
|
g && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3990
4001
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3992,7 +4003,7 @@ const Na = ({
|
|
|
3992
4003
|
{
|
|
3993
4004
|
label: p,
|
|
3994
4005
|
originalValue: d ? "$3.99" : "₹51.0",
|
|
3995
|
-
freeLabel:
|
|
4006
|
+
freeLabel: v,
|
|
3996
4007
|
rowClassName: l
|
|
3997
4008
|
}
|
|
3998
4009
|
),
|
|
@@ -4001,7 +4012,7 @@ const Na = ({
|
|
|
4001
4012
|
{
|
|
4002
4013
|
label: w,
|
|
4003
4014
|
originalValue: d ? "$0.49" : "₹21.0",
|
|
4004
|
-
freeLabel:
|
|
4015
|
+
freeLabel: v,
|
|
4005
4016
|
rowClassName: l
|
|
4006
4017
|
}
|
|
4007
4018
|
)
|
|
@@ -4022,7 +4033,7 @@ const Na = ({
|
|
|
4022
4033
|
)
|
|
4023
4034
|
] });
|
|
4024
4035
|
}, Jr = "https://srm-cdn.a4b.io/yoda/1789670818921.svg";
|
|
4025
|
-
function
|
|
4036
|
+
function jl({
|
|
4026
4037
|
isOpen: t,
|
|
4027
4038
|
onClose: a,
|
|
4028
4039
|
locale: s = "en",
|
|
@@ -4109,8 +4120,8 @@ const vl = ({
|
|
|
4109
4120
|
addonsSectionClassName: b,
|
|
4110
4121
|
addonsHeaderClassName: p,
|
|
4111
4122
|
addonsTitleClassName: w,
|
|
4112
|
-
addonsDescriptionClassName:
|
|
4113
|
-
addonsClassName:
|
|
4123
|
+
addonsDescriptionClassName: v,
|
|
4124
|
+
addonsClassName: j,
|
|
4114
4125
|
addonClassName: y,
|
|
4115
4126
|
addonComponent: S = Ur,
|
|
4116
4127
|
onAddonRef: B,
|
|
@@ -4159,9 +4170,9 @@ const vl = ({
|
|
|
4159
4170
|
m && m.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: f("flex flex-col gap-4 bg-gray-50 px-4 py-6", b), children: [
|
|
4160
4171
|
/* @__PURE__ */ e.jsxs("div", { className: p, children: [
|
|
4161
4172
|
/* @__PURE__ */ e.jsx("h2", { className: f("text-base font-bold text-gray-700", w), children: H }),
|
|
4162
|
-
/* @__PURE__ */ e.jsx("p", { className: f("mt-1 text-sm text-gray-500",
|
|
4173
|
+
/* @__PURE__ */ e.jsx("p", { className: f("mt-1 text-sm text-gray-500", v), children: J })
|
|
4163
4174
|
] }),
|
|
4164
|
-
/* @__PURE__ */ e.jsx("div", { className: f("flex flex-col gap-4",
|
|
4175
|
+
/* @__PURE__ */ e.jsx("div", { className: f("flex flex-col gap-4", j), children: m.map(({ id: O, className: oe, ...de }) => /* @__PURE__ */ e.jsx("div", { ref: B ? (ce) => B(O, ce) : void 0, children: /* @__PURE__ */ e.jsx(
|
|
4165
4176
|
S,
|
|
4166
4177
|
{
|
|
4167
4178
|
locale: t,
|
|
@@ -4202,7 +4213,7 @@ const vl = ({
|
|
|
4202
4213
|
id: u,
|
|
4203
4214
|
...m
|
|
4204
4215
|
}, b) => {
|
|
4205
|
-
const p = k.useId(), w = u ?? p,
|
|
4216
|
+
const p = k.useId(), w = u ?? p, v = i ?? (l ? `${a.length}${x ? `/${x}` : ""}` : void 0);
|
|
4206
4217
|
return /* @__PURE__ */ e.jsxs("div", { className: f("flex w-full flex-col gap-2", d), children: [
|
|
4207
4218
|
t && /* @__PURE__ */ e.jsx("label", { htmlFor: w, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
4208
4219
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
@@ -4223,7 +4234,7 @@ const vl = ({
|
|
|
4223
4234
|
id: w,
|
|
4224
4235
|
value: a,
|
|
4225
4236
|
maxLength: x,
|
|
4226
|
-
onChange: (
|
|
4237
|
+
onChange: (j) => s(j.target.value),
|
|
4227
4238
|
"aria-invalid": c,
|
|
4228
4239
|
className: f(
|
|
4229
4240
|
"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",
|
|
@@ -4235,13 +4246,13 @@ const vl = ({
|
|
|
4235
4246
|
]
|
|
4236
4247
|
}
|
|
4237
4248
|
),
|
|
4238
|
-
|
|
4249
|
+
v && /* @__PURE__ */ e.jsx("p", { className: f("text-[12px] leading-4 font-medium", c ? "text-[#ef4444]" : "text-[#9ca3af]"), children: v })
|
|
4239
4250
|
] })
|
|
4240
4251
|
] });
|
|
4241
4252
|
}
|
|
4242
4253
|
);
|
|
4243
4254
|
ue.displayName = "TextField";
|
|
4244
|
-
function
|
|
4255
|
+
function yl({
|
|
4245
4256
|
isOpen: t,
|
|
4246
4257
|
onClose: a,
|
|
4247
4258
|
avatarUrl: s,
|
|
@@ -4340,7 +4351,7 @@ function Le({ options: t, selectedIndex: a, onChange: s }) {
|
|
|
4340
4351
|
) });
|
|
4341
4352
|
}
|
|
4342
4353
|
const Gt = Array.from({ length: 31 }, (t, a) => a + 1), en = Array.from({ length: 12 }, (t, a) => a);
|
|
4343
|
-
function
|
|
4354
|
+
function Nl({
|
|
4344
4355
|
isOpen: t,
|
|
4345
4356
|
onClose: a,
|
|
4346
4357
|
avatarUrl: s,
|
|
@@ -4358,7 +4369,7 @@ function yl({
|
|
|
4358
4369
|
const b = u?.year ?? g, p = m?.year ?? x, w = $e(() => {
|
|
4359
4370
|
const _ = b ?? p - 120;
|
|
4360
4371
|
return Array.from({ length: p - _ + 1 }, (L, H) => _ + H);
|
|
4361
|
-
}, [b, p]), [
|
|
4372
|
+
}, [b, p]), [v, j] = $(() => d ? d.day - 1 : Math.floor(Gt.length / 2)), [y, S] = $(() => d ? d.month - 1 : 0), [B, U] = $(
|
|
4362
4373
|
() => d ? Math.max(0, w.indexOf(d.year)) : Math.floor(w.length / 2)
|
|
4363
4374
|
), I = w[B], z = $e(() => {
|
|
4364
4375
|
let _ = en;
|
|
@@ -4370,10 +4381,10 @@ function yl({
|
|
|
4370
4381
|
at(() => {
|
|
4371
4382
|
S((_) => Math.min(_, z.length - 1));
|
|
4372
4383
|
}, [z]), at(() => {
|
|
4373
|
-
|
|
4384
|
+
j((_) => Math.min(_, F.length - 1));
|
|
4374
4385
|
}, [F]);
|
|
4375
4386
|
const G = () => {
|
|
4376
|
-
const _ = F[
|
|
4387
|
+
const _ = F[v] ?? F[F.length - 1] ?? 1;
|
|
4377
4388
|
c({ day: _, month: D, year: I });
|
|
4378
4389
|
};
|
|
4379
4390
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4395,7 +4406,7 @@ function yl({
|
|
|
4395
4406
|
/* @__PURE__ */ e.jsx(X, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: G, children: i })
|
|
4396
4407
|
] }),
|
|
4397
4408
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4398
|
-
/* @__PURE__ */ e.jsx(Le, { options: F.map(String), selectedIndex:
|
|
4409
|
+
/* @__PURE__ */ e.jsx(Le, { options: F.map(String), selectedIndex: v, onChange: j }),
|
|
4399
4410
|
/* @__PURE__ */ e.jsx(
|
|
4400
4411
|
Le,
|
|
4401
4412
|
{
|
|
@@ -4419,7 +4430,7 @@ function tn(t) {
|
|
|
4419
4430
|
function an(t, a) {
|
|
4420
4431
|
return a === "AM" ? t === 12 ? 0 : t : t === 12 ? 12 : t + 12;
|
|
4421
4432
|
}
|
|
4422
|
-
function
|
|
4433
|
+
function wl({
|
|
4423
4434
|
isOpen: t,
|
|
4424
4435
|
onClose: a,
|
|
4425
4436
|
avatarUrl: s,
|
|
@@ -4431,8 +4442,8 @@ function Nl({
|
|
|
4431
4442
|
amLabel: d = "AM",
|
|
4432
4443
|
pmLabel: g = "PM"
|
|
4433
4444
|
}) {
|
|
4434
|
-
const x = $e(() => tn(o?.hour ?? 11), [o?.hour]), u = [d, g], [m, b] = $(() => Je.indexOf(x.hour12)), [p, w] = $(() => o?.minute ?? 0), [
|
|
4435
|
-
const S = an(Je[m],
|
|
4445
|
+
const x = $e(() => tn(o?.hour ?? 11), [o?.hour]), u = [d, g], [m, b] = $(() => Je.indexOf(x.hour12)), [p, w] = $(() => o?.minute ?? 0), [v, j] = $(() => x.period === "AM" ? 0 : 1), y = () => {
|
|
4446
|
+
const S = an(Je[m], v === 0 ? "AM" : "PM");
|
|
4436
4447
|
i({ hour: S, minute: Ut[p] });
|
|
4437
4448
|
};
|
|
4438
4449
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4461,7 +4472,7 @@ function Nl({
|
|
|
4461
4472
|
onChange: w
|
|
4462
4473
|
}
|
|
4463
4474
|
),
|
|
4464
|
-
/* @__PURE__ */ e.jsx(Le, { options: u, selectedIndex:
|
|
4475
|
+
/* @__PURE__ */ e.jsx(Le, { options: u, selectedIndex: v, onChange: j }),
|
|
4465
4476
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]" }),
|
|
4466
4477
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]" })
|
|
4467
4478
|
] })
|
|
@@ -4498,7 +4509,7 @@ function sn({ className: t }) {
|
|
|
4498
4509
|
}
|
|
4499
4510
|
);
|
|
4500
4511
|
}
|
|
4501
|
-
function
|
|
4512
|
+
function Cl({
|
|
4502
4513
|
isOpen: t,
|
|
4503
4514
|
onClose: a,
|
|
4504
4515
|
heading: s,
|
|
@@ -4510,7 +4521,7 @@ function wl({
|
|
|
4510
4521
|
countries: d = Ua,
|
|
4511
4522
|
initialCountryIso: g = "IN"
|
|
4512
4523
|
}) {
|
|
4513
|
-
const x = d.find((
|
|
4524
|
+
const x = d.find((v) => v.iso === g) ?? d[0], [u, m] = $(o), b = sa(x.code), p = ra(u, x.code).isValid && u.length > 0, w = () => {
|
|
4514
4525
|
p && c(u, x);
|
|
4515
4526
|
};
|
|
4516
4527
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4550,7 +4561,7 @@ function wl({
|
|
|
4550
4561
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children: x.code })
|
|
4551
4562
|
] }),
|
|
4552
4563
|
maxLength: b,
|
|
4553
|
-
onChange: (
|
|
4564
|
+
onChange: (v) => m(v.replace(/\D/g, "").slice(0, b)),
|
|
4554
4565
|
containerClassName: "mt-2 w-full gap-0",
|
|
4555
4566
|
wrapperClassName: "h-14 gap-2 rounded-xl px-4",
|
|
4556
4567
|
className: "text-[18px] placeholder:text-[#ced1d7]"
|
|
@@ -4561,7 +4572,7 @@ function wl({
|
|
|
4561
4572
|
);
|
|
4562
4573
|
}
|
|
4563
4574
|
const rn = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
4564
|
-
function
|
|
4575
|
+
function Ll({
|
|
4565
4576
|
isOpen: t,
|
|
4566
4577
|
onClose: a,
|
|
4567
4578
|
heading: s,
|
|
@@ -4618,7 +4629,7 @@ function Cl({
|
|
|
4618
4629
|
);
|
|
4619
4630
|
}
|
|
4620
4631
|
const nn = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
4621
|
-
function
|
|
4632
|
+
function kl({
|
|
4622
4633
|
chipNumber: t,
|
|
4623
4634
|
chipLabel: a,
|
|
4624
4635
|
isAdded: s,
|
|
@@ -4635,8 +4646,8 @@ function Ll({
|
|
|
4635
4646
|
description: b,
|
|
4636
4647
|
learnMoreLabel: p,
|
|
4637
4648
|
onLearnMoreClick: w,
|
|
4638
|
-
learnMoreHref:
|
|
4639
|
-
dateLabel:
|
|
4649
|
+
learnMoreHref: v,
|
|
4650
|
+
dateLabel: j,
|
|
4640
4651
|
locationLabel: y,
|
|
4641
4652
|
priceInfoLabel: S,
|
|
4642
4653
|
onPriceInfoClick: B,
|
|
@@ -4644,7 +4655,7 @@ function Ll({
|
|
|
4644
4655
|
cta: I,
|
|
4645
4656
|
className: z = ""
|
|
4646
4657
|
}) {
|
|
4647
|
-
const [D, F] = $(!1), G = s || D, _ = G && (x != null || u != null), L = G && (
|
|
4658
|
+
const [D, F] = $(!1), G = s || D, _ = G && (x != null || u != null), L = G && (j != null || y != null);
|
|
4648
4659
|
return /* @__PURE__ */ e.jsxs(
|
|
4649
4660
|
"div",
|
|
4650
4661
|
{
|
|
@@ -4720,7 +4731,7 @@ function Ll({
|
|
|
4720
4731
|
G && p != null && /* @__PURE__ */ e.jsxs(
|
|
4721
4732
|
"a",
|
|
4722
4733
|
{
|
|
4723
|
-
href:
|
|
4734
|
+
href: v,
|
|
4724
4735
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
4725
4736
|
onClick: w,
|
|
4726
4737
|
children: [
|
|
@@ -4734,9 +4745,9 @@ function Ll({
|
|
|
4734
4745
|
L && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4735
4746
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
4736
4747
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
4737
|
-
|
|
4748
|
+
j != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
4738
4749
|
/* @__PURE__ */ e.jsx(xa, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
4739
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
4750
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
|
|
4740
4751
|
] }),
|
|
4741
4752
|
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
4742
4753
|
/* @__PURE__ */ e.jsx("img", { src: nn, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
@@ -5119,7 +5130,7 @@ const qt = {
|
|
|
5119
5130
|
const s = a in Xt ? a : "en";
|
|
5120
5131
|
return Xt[s][t - 1] ?? `${t}${un[s]}`;
|
|
5121
5132
|
}, et = 40, fn = 3, tt = "+91", mn = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, pn = /[^\p{L}\s]/gu, Qt = (t) => t.replace(pn, ""), Ae = (t) => t.trim().length >= fn;
|
|
5122
|
-
function
|
|
5133
|
+
function _l({
|
|
5123
5134
|
locale: t = "en",
|
|
5124
5135
|
values: a,
|
|
5125
5136
|
onValuesChange: s,
|
|
@@ -5136,8 +5147,8 @@ function kl({
|
|
|
5136
5147
|
proceedCtaLabel: b,
|
|
5137
5148
|
proceedButtonProps: p,
|
|
5138
5149
|
onProceedPayment: w,
|
|
5139
|
-
onProceedCtaClick:
|
|
5140
|
-
onConfirmModalOpen:
|
|
5150
|
+
onProceedCtaClick: v,
|
|
5151
|
+
onConfirmModalOpen: j,
|
|
5141
5152
|
onConfirmEditDetailsClick: y,
|
|
5142
5153
|
onConfirmModalDismiss: S,
|
|
5143
5154
|
onGotraInfoOpen: B,
|
|
@@ -5175,7 +5186,7 @@ function kl({
|
|
|
5175
5186
|
gotra: C,
|
|
5176
5187
|
isGotraUnknown: C.trim() === L.kashyapGotraLabel
|
|
5177
5188
|
});
|
|
5178
|
-
},
|
|
5189
|
+
}, je = (C) => {
|
|
5179
5190
|
ge(C), ce(!1);
|
|
5180
5191
|
}, Se = () => {
|
|
5181
5192
|
const C = !a.isGotraUnknown;
|
|
@@ -5183,10 +5194,10 @@ function kl({
|
|
|
5183
5194
|
}, fe = sa(tt), Be = ra(
|
|
5184
5195
|
a.whatsappNumber,
|
|
5185
5196
|
tt
|
|
5186
|
-
).isValid, Te = mn.test(a.email), Ke = a.whatsappNumber.length > 0 && !Be, Ze = a.email.length > 0 && !Te,
|
|
5197
|
+
).isValid, Te = mn.test(a.email), Ke = a.whatsappNumber.length > 0 && !Be, Ze = a.email.length > 0 && !Te, ve = (n ? Te : a.whatsappNumber.trim().length > 0 && Be) && Ae(a.kartaNames[0]) && // Karta names after the first are optional (see `getKartaNameLabel`) —
|
|
5187
5198
|
// left blank is fine, but a partially-typed one still has to clear
|
|
5188
5199
|
// `MIN_NAME_LENGTH` like every other name field.
|
|
5189
|
-
a.kartaNames.slice(1).every((C) => C.trim().length === 0 || Ae(C)) && a.gotra.trim().length > 0 && a.ancestors.every((C) => Ae(C.value)), me = u ??
|
|
5200
|
+
a.kartaNames.slice(1).every((C) => C.trim().length === 0 || Ae(C)) && a.gotra.trim().length > 0 && a.ancestors.every((C) => Ae(C.value)), me = u ?? ve, ze = a.gotra.trim().length > 0 ? a.gotra : L.kashyapGotraLabel, De = n ? a.email : a.whatsappNumber, ye = t;
|
|
5190
5201
|
return /* @__PURE__ */ e.jsxs(
|
|
5191
5202
|
"div",
|
|
5192
5203
|
{
|
|
@@ -5328,7 +5339,7 @@ function kl({
|
|
|
5328
5339
|
type: "button",
|
|
5329
5340
|
role: "option",
|
|
5330
5341
|
"aria-selected": C === a.gotra,
|
|
5331
|
-
onClick: () =>
|
|
5342
|
+
onClick: () => je(C),
|
|
5332
5343
|
className: f(
|
|
5333
5344
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
5334
5345
|
C === a.gotra && "bg-[#fff9e9]"
|
|
@@ -5422,7 +5433,7 @@ function kl({
|
|
|
5422
5433
|
showInfoIcon: x,
|
|
5423
5434
|
proceedLabel: b ?? L.proceedCtaLabel,
|
|
5424
5435
|
onProceed: () => {
|
|
5425
|
-
D(!0),
|
|
5436
|
+
D(!0), v?.(), j?.();
|
|
5426
5437
|
},
|
|
5427
5438
|
growProceedButton: !0,
|
|
5428
5439
|
proceedButtonProps: {
|
|
@@ -5473,7 +5484,7 @@ function kl({
|
|
|
5473
5484
|
}
|
|
5474
5485
|
);
|
|
5475
5486
|
}
|
|
5476
|
-
function
|
|
5487
|
+
function Pl(t = 3, a = []) {
|
|
5477
5488
|
return {
|
|
5478
5489
|
whatsappNumber: "",
|
|
5479
5490
|
email: "",
|
|
@@ -5535,17 +5546,17 @@ function gn({ badgeLabel: t, dateLabel: a, className: s }) {
|
|
|
5535
5546
|
a && /* @__PURE__ */ e.jsx(hn, { date: a })
|
|
5536
5547
|
] });
|
|
5537
5548
|
}
|
|
5538
|
-
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg",
|
|
5549
|
+
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", jn = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", vn = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", yn = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Nn = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", wn = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
5539
5550
|
function Cn({ variant: t }) {
|
|
5540
5551
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
5541
5552
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
5542
5553
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
5543
5554
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
5544
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5555
|
+
/* @__PURE__ */ e.jsx("img", { src: jn, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
5545
5556
|
] }),
|
|
5546
5557
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
5547
5558
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
5548
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5559
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: vn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5549
5560
|
] }),
|
|
5550
5561
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
5551
5562
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: yn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
@@ -5554,7 +5565,7 @@ function Cn({ variant: t }) {
|
|
|
5554
5565
|
] })
|
|
5555
5566
|
] });
|
|
5556
5567
|
}
|
|
5557
|
-
function
|
|
5568
|
+
function Sl({
|
|
5558
5569
|
badgeLabel: t,
|
|
5559
5570
|
headingPrefix: a,
|
|
5560
5571
|
ritualCount: s,
|
|
@@ -5592,7 +5603,7 @@ function Pl({
|
|
|
5592
5603
|
] });
|
|
5593
5604
|
}
|
|
5594
5605
|
const Ln = 40;
|
|
5595
|
-
function
|
|
5606
|
+
function Tl({
|
|
5596
5607
|
isOpen: t,
|
|
5597
5608
|
onClose: a,
|
|
5598
5609
|
onSave: s,
|
|
@@ -5604,12 +5615,12 @@ function Sl({
|
|
|
5604
5615
|
saveCta: d,
|
|
5605
5616
|
maxNameLength: g = Ln
|
|
5606
5617
|
}) {
|
|
5607
|
-
const [x, u] = $([""]), m = () => u([""]), b = (
|
|
5608
|
-
m(), a(
|
|
5618
|
+
const [x, u] = $([""]), m = () => u([""]), b = (v) => {
|
|
5619
|
+
m(), a(v);
|
|
5609
5620
|
}, p = () => {
|
|
5610
|
-
const
|
|
5611
|
-
|
|
5612
|
-
}, w = x.some((
|
|
5621
|
+
const v = x.map((j) => j.trim()).filter(Boolean);
|
|
5622
|
+
v.length !== 0 && (s(v), m());
|
|
5623
|
+
}, w = x.some((v) => v.trim().length > 0);
|
|
5613
5624
|
return /* @__PURE__ */ e.jsx(
|
|
5614
5625
|
ke,
|
|
5615
5626
|
{
|
|
@@ -5632,18 +5643,18 @@ function Sl({
|
|
|
5632
5643
|
}
|
|
5633
5644
|
) }),
|
|
5634
5645
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2.5 px-4 py-3", children: [
|
|
5635
|
-
x.map((
|
|
5646
|
+
x.map((v, j) => /* @__PURE__ */ e.jsx(
|
|
5636
5647
|
ue,
|
|
5637
5648
|
{
|
|
5638
5649
|
label: l,
|
|
5639
5650
|
placeholder: c,
|
|
5640
|
-
value:
|
|
5651
|
+
value: v,
|
|
5641
5652
|
prefix: i,
|
|
5642
5653
|
maxLength: g,
|
|
5643
5654
|
showCharCount: !0,
|
|
5644
|
-
onChange: (y) => u((S) => S.map((B, U) => U ===
|
|
5655
|
+
onChange: (y) => u((S) => S.map((B, U) => U === j ? y : B))
|
|
5645
5656
|
},
|
|
5646
|
-
|
|
5657
|
+
j
|
|
5647
5658
|
)),
|
|
5648
5659
|
/* @__PURE__ */ e.jsx(
|
|
5649
5660
|
X,
|
|
@@ -5652,7 +5663,7 @@ function Sl({
|
|
|
5652
5663
|
size: "sm",
|
|
5653
5664
|
className: "self-start text-[#f75e22]",
|
|
5654
5665
|
leftIcon: /* @__PURE__ */ e.jsx(Cs, { "aria-hidden": !0 }),
|
|
5655
|
-
onClick: () => u((
|
|
5666
|
+
onClick: () => u((v) => [...v, ""]),
|
|
5656
5667
|
children: o
|
|
5657
5668
|
}
|
|
5658
5669
|
)
|
|
@@ -5660,7 +5671,10 @@ function Sl({
|
|
|
5660
5671
|
}
|
|
5661
5672
|
);
|
|
5662
5673
|
}
|
|
5663
|
-
function kn(
|
|
5674
|
+
function kn(t) {
|
|
5675
|
+
return t.replace(/Grand(father|mother)/gi, "Grand $1");
|
|
5676
|
+
}
|
|
5677
|
+
function _n({ label: t, avatarUrl: a, state: s, onClick: n }) {
|
|
5664
5678
|
return /* @__PURE__ */ e.jsxs(
|
|
5665
5679
|
"button",
|
|
5666
5680
|
{
|
|
@@ -5683,14 +5697,14 @@ function kn({ label: t, avatarUrl: a, state: s, onClick: n }) {
|
|
|
5683
5697
|
"p",
|
|
5684
5698
|
{
|
|
5685
5699
|
className: `w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${s === "enabled" ? "text-[#f75e22]" : s === "filled" ? "text-[#374151]" : "text-[#9ca3af]"}`,
|
|
5686
|
-
children: t
|
|
5700
|
+
children: kn(t)
|
|
5687
5701
|
}
|
|
5688
5702
|
)
|
|
5689
5703
|
]
|
|
5690
5704
|
}
|
|
5691
5705
|
);
|
|
5692
5706
|
}
|
|
5693
|
-
const Ca = "all",
|
|
5707
|
+
const Ca = "all", Pn = [
|
|
5694
5708
|
{ id: Ca, labelKey: "selectAncestorsOptionAll" },
|
|
5695
5709
|
{ id: "mother", labelKey: "selectAncestorsOptionMother", gender: "female" },
|
|
5696
5710
|
{ id: "father", labelKey: "selectAncestorsOptionFather", gender: "male" },
|
|
@@ -5704,13 +5718,13 @@ const Ca = "all", _n = [
|
|
|
5704
5718
|
{ id: "greatGrandmotherPaternal", labelKey: "selectAncestorsOptionGreatGrandmotherPaternal", gender: "female" },
|
|
5705
5719
|
{ id: "greatGrandfatherMaternal", labelKey: "selectAncestorsOptionGreatGrandfatherMaternal", gender: "male" },
|
|
5706
5720
|
{ id: "greatGrandmotherMaternal", labelKey: "selectAncestorsOptionGreatGrandmotherMaternal", gender: "female" }
|
|
5707
|
-
],
|
|
5708
|
-
function
|
|
5709
|
-
if (t === Ca) return
|
|
5710
|
-
const a =
|
|
5711
|
-
return a ? a.gender === "female" ?
|
|
5721
|
+
], Sn = "https://srm-cdn.a4b.io/yoda/1788334548628.webp", Tn = "https://srm-cdn.a4b.io/yoda/1788334564281.webp", Rn = "https://srm-cdn.a4b.io/yoda/1789386222504.svg", En = "https://srm-cdn.a4b.io/yoda/1789653082304.webp";
|
|
5722
|
+
function An(t) {
|
|
5723
|
+
if (t === Ca) return En;
|
|
5724
|
+
const a = Pn.find((s) => s.id === t);
|
|
5725
|
+
return a ? a.gender === "female" ? Tn : Sn : Rn;
|
|
5712
5726
|
}
|
|
5713
|
-
const
|
|
5727
|
+
const Rl = [
|
|
5714
5728
|
{
|
|
5715
5729
|
value: "tithi",
|
|
5716
5730
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1788883529190.svg",
|
|
@@ -5729,7 +5743,7 @@ const Tl = [
|
|
|
5729
5743
|
titleKey: "deathTithiOption3Title",
|
|
5730
5744
|
subtextKey: "deathTithiOption3Subtext"
|
|
5731
5745
|
}
|
|
5732
|
-
],
|
|
5746
|
+
], El = [
|
|
5733
5747
|
"tithiNamePratipada",
|
|
5734
5748
|
"tithiNameDvitiya",
|
|
5735
5749
|
"tithiNameTritiya",
|
|
@@ -5746,7 +5760,7 @@ const Tl = [
|
|
|
5746
5760
|
"tithiNameChaturdashi",
|
|
5747
5761
|
"tithiNameAmavasya"
|
|
5748
5762
|
];
|
|
5749
|
-
function
|
|
5763
|
+
function Al({
|
|
5750
5764
|
entries: t,
|
|
5751
5765
|
viewedIndex: a,
|
|
5752
5766
|
isEntryFilled: s,
|
|
@@ -5765,10 +5779,10 @@ function El({
|
|
|
5765
5779
|
const d = s(c.key), g = n(o), x = o === a ? "enabled" : d ? "filled" : "disabled";
|
|
5766
5780
|
return /* @__PURE__ */ e.jsxs(Ya, { children: [
|
|
5767
5781
|
/* @__PURE__ */ e.jsx(
|
|
5768
|
-
|
|
5782
|
+
_n,
|
|
5769
5783
|
{
|
|
5770
5784
|
label: c.label,
|
|
5771
|
-
avatarUrl:
|
|
5785
|
+
avatarUrl: An(c.key),
|
|
5772
5786
|
state: x,
|
|
5773
5787
|
onClick: g ? () => l(o) : void 0
|
|
5774
5788
|
}
|
|
@@ -5784,8 +5798,8 @@ function El({
|
|
|
5784
5798
|
}
|
|
5785
5799
|
);
|
|
5786
5800
|
}
|
|
5787
|
-
const
|
|
5788
|
-
function
|
|
5801
|
+
const On = "https://srm-cdn.a4b.io/yoda/1788163138113.svg";
|
|
5802
|
+
function Ol({
|
|
5789
5803
|
isOpen: t,
|
|
5790
5804
|
onClose: a,
|
|
5791
5805
|
avatarUrl: s,
|
|
@@ -5808,7 +5822,7 @@ function Al({
|
|
|
5808
5822
|
},
|
|
5809
5823
|
children: /* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__card", children: [
|
|
5810
5824
|
/* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__avatar", children: [
|
|
5811
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5825
|
+
/* @__PURE__ */ e.jsx("img", { src: On, alt: "", className: "avatar-card-dialog__avatar-glow" }),
|
|
5812
5826
|
/* @__PURE__ */ e.jsx("img", { src: s, alt: "", className: "avatar-card-dialog__avatar-image" })
|
|
5813
5827
|
] }),
|
|
5814
5828
|
/* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__content", children: [
|
|
@@ -5841,23 +5855,23 @@ function Al({
|
|
|
5841
5855
|
}
|
|
5842
5856
|
) : null;
|
|
5843
5857
|
}
|
|
5844
|
-
function
|
|
5858
|
+
function Mn(t) {
|
|
5845
5859
|
if (!t) return;
|
|
5846
5860
|
const [a, s, n] = t.split("-").map(Number);
|
|
5847
5861
|
return { day: n, month: s, year: a };
|
|
5848
5862
|
}
|
|
5849
|
-
function
|
|
5863
|
+
function Ml({ day: t, month: a, year: s }) {
|
|
5850
5864
|
return `${s}-${String(a).padStart(2, "0")}-${String(t).padStart(2, "0")}`;
|
|
5851
5865
|
}
|
|
5852
|
-
function
|
|
5866
|
+
function Il(t = "en-IN") {
|
|
5853
5867
|
const a = new Intl.DateTimeFormat(t, { month: "long" });
|
|
5854
5868
|
return Array.from({ length: 12 }, (s, n) => a.format(new Date(2e3, n, 1)));
|
|
5855
5869
|
}
|
|
5856
|
-
function
|
|
5857
|
-
const s =
|
|
5870
|
+
function Bl(t, a) {
|
|
5871
|
+
const s = Mn(t);
|
|
5858
5872
|
return s ? `${s.day} ${a[s.month - 1]} ${s.year}` : t;
|
|
5859
5873
|
}
|
|
5860
|
-
function
|
|
5874
|
+
function In(t) {
|
|
5861
5875
|
return E({ 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);
|
|
5862
5876
|
}
|
|
5863
5877
|
const ta = {
|
|
@@ -5885,7 +5899,7 @@ const ta = {
|
|
|
5885
5899
|
value: "ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",
|
|
5886
5900
|
helperText: "ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಪಠಿಸುತ್ತಾರೆ"
|
|
5887
5901
|
}
|
|
5888
|
-
},
|
|
5902
|
+
}, Bn = (t) => ta[t] ?? ta.en, zn = k.forwardRef(
|
|
5889
5903
|
({
|
|
5890
5904
|
locale: t = "en",
|
|
5891
5905
|
title: a,
|
|
@@ -5899,7 +5913,7 @@ const ta = {
|
|
|
5899
5913
|
helperTextClassName: g,
|
|
5900
5914
|
...x
|
|
5901
5915
|
}, u) => {
|
|
5902
|
-
const m =
|
|
5916
|
+
const m = Bn(t);
|
|
5903
5917
|
return /* @__PURE__ */ e.jsxs(
|
|
5904
5918
|
"div",
|
|
5905
5919
|
{
|
|
@@ -5908,7 +5922,7 @@ const ta = {
|
|
|
5908
5922
|
...x,
|
|
5909
5923
|
children: [
|
|
5910
5924
|
/* @__PURE__ */ e.jsxs("div", { className: f("flex items-center gap-3", o), children: [
|
|
5911
|
-
/* @__PURE__ */ e.jsx(Me, { icon: i ?? /* @__PURE__ */ e.jsx(
|
|
5925
|
+
/* @__PURE__ */ e.jsx(Me, { icon: i ?? /* @__PURE__ */ e.jsx(In, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
5912
5926
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
5913
5927
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ?? m.title }),
|
|
5914
5928
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? m.subtitle })
|
|
@@ -5930,11 +5944,11 @@ const ta = {
|
|
|
5930
5944
|
);
|
|
5931
5945
|
}
|
|
5932
5946
|
);
|
|
5933
|
-
|
|
5947
|
+
zn.displayName = "SarvaPitruCard";
|
|
5934
5948
|
function He(t, a) {
|
|
5935
5949
|
return t.find((s) => s[a] != null);
|
|
5936
5950
|
}
|
|
5937
|
-
function
|
|
5951
|
+
function zl(t) {
|
|
5938
5952
|
const a = t.data.cards, s = He(a, "store"), n = He(
|
|
5939
5953
|
a,
|
|
5940
5954
|
"user_reviews"
|
|
@@ -5977,7 +5991,7 @@ function Bl(t) {
|
|
|
5977
5991
|
}))
|
|
5978
5992
|
};
|
|
5979
5993
|
}
|
|
5980
|
-
const
|
|
5994
|
+
const Dn = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Fn = "https://srm-cdn.a4b.io/yoda/1789996033193.svg", Ve = (t) => typeof t == "number" ? `${t}px` : t;
|
|
5981
5995
|
function aa({ className: t }) {
|
|
5982
5996
|
return /* @__PURE__ */ e.jsx("svg", { className: t, width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
5983
5997
|
"path",
|
|
@@ -5987,7 +6001,7 @@ function aa({ className: t }) {
|
|
|
5987
6001
|
}
|
|
5988
6002
|
) });
|
|
5989
6003
|
}
|
|
5990
|
-
function
|
|
6004
|
+
function Dl({
|
|
5991
6005
|
badgeLabel: t,
|
|
5992
6006
|
dateRangeLabel: a,
|
|
5993
6007
|
headline: s,
|
|
@@ -6010,7 +6024,7 @@ function zl({
|
|
|
6010
6024
|
i && /* @__PURE__ */ e.jsx(
|
|
6011
6025
|
"img",
|
|
6012
6026
|
{
|
|
6013
|
-
src:
|
|
6027
|
+
src: Fn,
|
|
6014
6028
|
alt: "",
|
|
6015
6029
|
"aria-hidden": !0,
|
|
6016
6030
|
className: "pointer-events-none absolute z-0 h-auto",
|
|
@@ -6018,7 +6032,7 @@ function zl({
|
|
|
6018
6032
|
}
|
|
6019
6033
|
),
|
|
6020
6034
|
/* @__PURE__ */ e.jsxs("div", { className: "relative z-10 flex flex-col items-center gap-1", children: [
|
|
6021
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
6035
|
+
/* @__PURE__ */ e.jsx("img", { src: Dn, alt: "Sri Mandir", className: "h-14 w-auto object-contain" }),
|
|
6022
6036
|
/* @__PURE__ */ e.jsxs("p", { className: "flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]", children: [
|
|
6023
6037
|
/* @__PURE__ */ e.jsx(aa, {}),
|
|
6024
6038
|
t,
|
|
@@ -6040,7 +6054,7 @@ function zl({
|
|
|
6040
6054
|
}
|
|
6041
6055
|
);
|
|
6042
6056
|
}
|
|
6043
|
-
function
|
|
6057
|
+
function Fl({
|
|
6044
6058
|
amount: t,
|
|
6045
6059
|
amountClassName: a,
|
|
6046
6060
|
subtitle: s,
|
|
@@ -6107,105 +6121,105 @@ function Dl({
|
|
|
6107
6121
|
}
|
|
6108
6122
|
export {
|
|
6109
6123
|
Ca as ALL_ANCESTORS_ID,
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6124
|
+
Pn as ANCESTOR_OPTIONS,
|
|
6125
|
+
Tl as AddAncestorSheet,
|
|
6126
|
+
_n as AncestorTab,
|
|
6127
|
+
Al as AncestorTabRow,
|
|
6128
|
+
ul as AudioQuestionCard,
|
|
6129
|
+
Ol as AvatarCardDialog,
|
|
6116
6130
|
Vt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
6117
6131
|
Na as BillDetails,
|
|
6118
|
-
|
|
6132
|
+
jl as BillDetailsSheet,
|
|
6119
6133
|
Qr as BookingSummaryBanner,
|
|
6120
6134
|
X as Button,
|
|
6121
6135
|
Ft as CHECKOUT_BAR_DEFAULT_COPY,
|
|
6122
6136
|
Kt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6137
|
+
Rn as CUSTOM_ANCESTOR_AVATAR_URL,
|
|
6138
|
+
bl as CartReviewAddedBadge,
|
|
6139
|
+
hl as CartReviewChangeButton,
|
|
6126
6140
|
pa as CartReviewItem,
|
|
6127
6141
|
fr as CartReviewMandapItem,
|
|
6128
6142
|
vl as CartView,
|
|
6129
|
-
|
|
6143
|
+
Yn as CheckIcon,
|
|
6130
6144
|
ct as CheckoutBar,
|
|
6131
6145
|
ir as Chip,
|
|
6132
6146
|
Ie as ConfinedBottomSheet,
|
|
6133
6147
|
on as ConfirmPujaDetailsModal,
|
|
6134
|
-
|
|
6135
|
-
|
|
6148
|
+
Rl as DEATH_TITHI_OPTIONS,
|
|
6149
|
+
Nl as DatePickerSheet,
|
|
6136
6150
|
hn as DatesCard,
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6151
|
+
nl as DevoteesReviews,
|
|
6152
|
+
Ll as EmailSheet,
|
|
6153
|
+
Dl as EventHeader,
|
|
6154
|
+
ol as FAQAccordion,
|
|
6141
6155
|
rr as FAQSection,
|
|
6142
|
-
|
|
6156
|
+
Tn as FEMALE_ANCESTOR_AVATAR_URL,
|
|
6143
6157
|
Yt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
6144
6158
|
cn as GotraInfoModal,
|
|
6145
6159
|
gn as HeroLogoBadge,
|
|
6146
6160
|
Me as IconBadge,
|
|
6147
|
-
|
|
6161
|
+
kl as L2Card,
|
|
6148
6162
|
ma as LanguageSwitcher,
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6163
|
+
Sn as MALE_ANCESTOR_AVATAR_URL,
|
|
6164
|
+
Gn as OUTCOME_SUPPORTED_LOCALES,
|
|
6165
|
+
ll as OUTCOME_TRUST_ITEMS,
|
|
6166
|
+
Jn as OnlinePujaTestimonial,
|
|
6167
|
+
qn as OutcomeAncestorEditModal,
|
|
6168
|
+
Kn as OutcomeBillDetails,
|
|
6169
|
+
vs as OutcomeButton,
|
|
6170
|
+
Qn as OutcomeEmptyRituals,
|
|
6171
|
+
Un as OutcomeI18nProvider,
|
|
6172
|
+
Xn as OutcomeStickyCta,
|
|
6173
|
+
Sl as OutcomeSummary,
|
|
6160
6174
|
Ht as PACKAGE_SELECT_DEFAULT_COPY,
|
|
6161
6175
|
qt as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6176
|
+
gl as PackageSelect,
|
|
6177
|
+
Cl as PhoneNumberSheet,
|
|
6178
|
+
Zn as PlusIcon,
|
|
6179
|
+
tl as ProcessInvolved,
|
|
6180
|
+
sl as PujaBenefitsSection,
|
|
6181
|
+
al as PujaDetailsCarouselHeader,
|
|
6182
|
+
_l as PujaDetailsForm,
|
|
6183
|
+
pl as QuantityStepper,
|
|
6184
|
+
Fl as RitualProceedBar,
|
|
6171
6185
|
ta as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
6172
|
-
|
|
6186
|
+
zn as SarvaPitruCard,
|
|
6173
6187
|
ot as SelectorCard,
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6188
|
+
xl as SelectorCardEditableField,
|
|
6189
|
+
fl as SelectorCardInfoRow,
|
|
6190
|
+
ml as SelectorCardNote,
|
|
6177
6191
|
xr as SelectorCardPriceBadge,
|
|
6178
6192
|
Ur as ServiceOfferCard,
|
|
6179
6193
|
_r as ServiceOfferSheet,
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6194
|
+
dl as StepProgressHeader,
|
|
6195
|
+
El as TITHI_NAME_KEYS,
|
|
6196
|
+
rl as TempleSignificanceSection,
|
|
6197
|
+
il as TestimonialCard,
|
|
6184
6198
|
ue as TextField,
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6199
|
+
wl as TimeOfBirthPickerSheet,
|
|
6200
|
+
yl as TithiPickerSheet,
|
|
6201
|
+
cl as TopBar,
|
|
6188
6202
|
Zr as TrustBadgesBar,
|
|
6189
6203
|
nr as VideoPlayer,
|
|
6190
|
-
|
|
6204
|
+
el as WhySriMandir,
|
|
6191
6205
|
sr as buttonVariants,
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6206
|
+
$l as cn,
|
|
6207
|
+
Pl as createEmptyPujaDetailsFormValues,
|
|
6208
|
+
Bl as formatDisplayDate,
|
|
6209
|
+
Ml as formatIsoDate,
|
|
6210
|
+
An as getAncestorAvatarUrl,
|
|
6197
6211
|
Xr as getBookingSummaryBannerDefaultCopy,
|
|
6198
6212
|
Yr as getCheckoutBarDefaultCopy,
|
|
6199
6213
|
ln as getConfirmPujaDetailsModalDefaultCopy,
|
|
6200
6214
|
wa as getGotraInfoModalDefaultCopy,
|
|
6201
6215
|
xn as getKartaOrdinalLabel,
|
|
6202
|
-
|
|
6216
|
+
Il as getMonthLabels,
|
|
6203
6217
|
Nt as getOutcomeTranslation,
|
|
6204
6218
|
qr as getPackageSelectDefaultCopy,
|
|
6205
6219
|
dn as getPujaDetailsFormDefaultCopy,
|
|
6206
|
-
|
|
6207
|
-
|
|
6220
|
+
Bn as getSarvaPitruCardDefaultCopy,
|
|
6221
|
+
zl as mapPujaL2Response,
|
|
6208
6222
|
st as outcomeTranslations,
|
|
6209
|
-
|
|
6223
|
+
Mn as parseIsoDate,
|
|
6210
6224
|
_e as useOutcomeI18n
|
|
6211
6225
|
};
|