@srimandir/pitru-paksh-common 2.59.0 → 2.60.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createI18n as Ga, cn as
|
|
1
|
+
import { createI18n as Ga, cn as m, BottomSheet as ke, DEFAULT_COUNTRIES as Ua, getMaxLengthForCountry as sa, validatePhoneByCountryCode as ra, getFlagEmoji as Ka } from "@srimandir/common";
|
|
2
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";
|
|
@@ -269,11 +269,11 @@ function as() {
|
|
|
269
269
|
wt = 1;
|
|
270
270
|
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
271
271
|
function c(o, d, g) {
|
|
272
|
-
var x, u = {},
|
|
273
|
-
g !== void 0 && (
|
|
272
|
+
var x, u = {}, f = null, b = null;
|
|
273
|
+
g !== void 0 && (f = "" + g), d.key !== void 0 && (f = "" + d.key), d.ref !== void 0 && (b = d.ref);
|
|
274
274
|
for (x in d) n.call(d, x) && !i.hasOwnProperty(x) && (u[x] = d[x]);
|
|
275
275
|
if (o && o.defaultProps) for (x in d = o.defaultProps, d) u[x] === void 0 && (u[x] = d[x]);
|
|
276
|
-
return { $$typeof: a, type: o, key:
|
|
276
|
+
return { $$typeof: a, type: o, key: f, ref: b, props: u, _owner: l.current };
|
|
277
277
|
}
|
|
278
278
|
return Re.Fragment = s, Re.jsx = c, Re.jsxs = c, Re;
|
|
279
279
|
}
|
|
@@ -281,7 +281,7 @@ var Ee = {};
|
|
|
281
281
|
var Ct;
|
|
282
282
|
function ss() {
|
|
283
283
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
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"),
|
|
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"), f = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, w = "@@iterator";
|
|
285
285
|
function v(r) {
|
|
286
286
|
if (r === null || typeof r != "object")
|
|
287
287
|
return null;
|
|
@@ -309,7 +309,7 @@ function ss() {
|
|
|
309
309
|
var B = !1, U = !1, I = !1, z = !1, D = !1, F;
|
|
310
310
|
F = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
311
311
|
function G(r) {
|
|
312
|
-
return !!(typeof r == "string" || typeof r == "function" || r === n || r === i || D || r === l || r === g || r === x || z || r === b || B || U || I || typeof r == "object" && r !== null && (r.$$typeof ===
|
|
312
|
+
return !!(typeof r == "string" || typeof r == "function" || r === n || r === i || D || r === l || r === g || r === x || z || r === b || B || U || I || typeof r == "object" && r !== null && (r.$$typeof === f || r.$$typeof === u || r.$$typeof === c || r.$$typeof === o || r.$$typeof === d || // This needs to include all possible module reference object
|
|
313
313
|
// types supported by any Flight configuration anywhere since
|
|
314
314
|
// we don't know which Flight build this will end up being used
|
|
315
315
|
// with.
|
|
@@ -359,7 +359,7 @@ function ss() {
|
|
|
359
359
|
case u:
|
|
360
360
|
var P = r.displayName || null;
|
|
361
361
|
return P !== null ? P : H(r.type) || "Memo";
|
|
362
|
-
case
|
|
362
|
+
case f: {
|
|
363
363
|
var M = r, V = M._payload, A = M._init;
|
|
364
364
|
try {
|
|
365
365
|
return H(A(V));
|
|
@@ -548,7 +548,7 @@ function ss() {
|
|
|
548
548
|
return Ke(r.render);
|
|
549
549
|
case u:
|
|
550
550
|
return ve(r.type, h, N);
|
|
551
|
-
case
|
|
551
|
+
case f: {
|
|
552
552
|
var P = r, M = P._payload, V = P._init;
|
|
553
553
|
try {
|
|
554
554
|
return ve(V(M), h, N);
|
|
@@ -1208,7 +1208,7 @@ function qn({
|
|
|
1208
1208
|
removeLabel: g,
|
|
1209
1209
|
removeWarningMessagePrefix: x,
|
|
1210
1210
|
removeWarningMessageSuffix: u = "?",
|
|
1211
|
-
removeWarningConfirmLabel:
|
|
1211
|
+
removeWarningConfirmLabel: f,
|
|
1212
1212
|
removeWarningCancelLabel: b
|
|
1213
1213
|
}) {
|
|
1214
1214
|
const [p, w] = $(null);
|
|
@@ -1313,9 +1313,9 @@ function qn({
|
|
|
1313
1313
|
isOpen: v != null,
|
|
1314
1314
|
avatarUrl: s,
|
|
1315
1315
|
messagePrefix: x,
|
|
1316
|
-
highlightedNames: v ?
|
|
1316
|
+
highlightedNames: v ? v.name : "",
|
|
1317
1317
|
messageSuffix: u,
|
|
1318
|
-
confirmLabel:
|
|
1318
|
+
confirmLabel: f,
|
|
1319
1319
|
cancelLabel: b,
|
|
1320
1320
|
onConfirm: () => {
|
|
1321
1321
|
p != null && i(p), w(null);
|
|
@@ -1861,7 +1861,7 @@ function nl({
|
|
|
1861
1861
|
seeMoreLabel: l,
|
|
1862
1862
|
onSeeMoreClick: i
|
|
1863
1863
|
}) {
|
|
1864
|
-
const [c, o] = $(!1), d = c ? s : s.slice(0, Mt), [g, x] = $(0), u = rt(null),
|
|
1864
|
+
const [c, o] = $(!1), d = c ? s : s.slice(0, Mt), [g, x] = $(0), u = rt(null), f = () => {
|
|
1865
1865
|
const b = u.current;
|
|
1866
1866
|
if (!b || b.children.length === 0)
|
|
1867
1867
|
return;
|
|
@@ -1878,7 +1878,7 @@ function nl({
|
|
|
1878
1878
|
"div",
|
|
1879
1879
|
{
|
|
1880
1880
|
ref: u,
|
|
1881
|
-
onScroll:
|
|
1881
|
+
onScroll: f,
|
|
1882
1882
|
className: `flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length === 1 ? "justify-center" : ""}`,
|
|
1883
1883
|
children: n.map((b, p) => /* @__PURE__ */ e.jsxs(
|
|
1884
1884
|
"div",
|
|
@@ -2050,7 +2050,7 @@ const sr = qa(
|
|
|
2050
2050
|
ref: u,
|
|
2051
2051
|
type: g,
|
|
2052
2052
|
disabled: i || l,
|
|
2053
|
-
className:
|
|
2053
|
+
className: m(sr({ variant: a, size: s, iconOnly: n }), t),
|
|
2054
2054
|
...x,
|
|
2055
2055
|
children: l ? /* @__PURE__ */ e.jsx(ar, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs("span", { className: "inline-flex items-center gap-2", children: [
|
|
2056
2056
|
c,
|
|
@@ -2086,7 +2086,7 @@ const il = ({
|
|
|
2086
2086
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2087
2087
|
"div",
|
|
2088
2088
|
{
|
|
2089
|
-
className:
|
|
2089
|
+
className: m(
|
|
2090
2090
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
2091
2091
|
i
|
|
2092
2092
|
),
|
|
@@ -2134,19 +2134,19 @@ const il = ({
|
|
|
2134
2134
|
showTitleAccent: g = !1,
|
|
2135
2135
|
titleClassName: x
|
|
2136
2136
|
}) => {
|
|
2137
|
-
const [u,
|
|
2137
|
+
const [u, f] = $(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
|
{
|
|
2141
|
-
className:
|
|
2141
|
+
className: m(
|
|
2142
2142
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
2143
2143
|
d
|
|
2144
2144
|
),
|
|
2145
2145
|
children: [
|
|
2146
|
-
g ? /* @__PURE__ */ e.jsxs("h2", { className:
|
|
2146
|
+
g ? /* @__PURE__ */ e.jsxs("h2", { className: m("flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]", x), children: [
|
|
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
|
-
] }) : /* @__PURE__ */ e.jsx("h2", { className:
|
|
2149
|
+
] }) : /* @__PURE__ */ e.jsx("h2", { className: m("w-full text-base font-bold text-[#1d2125]", x), children: t }),
|
|
2150
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(
|
|
@@ -2158,7 +2158,7 @@ const il = ({
|
|
|
2158
2158
|
"button",
|
|
2159
2159
|
{
|
|
2160
2160
|
type: "button",
|
|
2161
|
-
className:
|
|
2161
|
+
className: m(
|
|
2162
2162
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
2163
2163
|
S ? "bg-[#f7f8f9]" : "bg-white"
|
|
2164
2164
|
),
|
|
@@ -2172,7 +2172,7 @@ const il = ({
|
|
|
2172
2172
|
Oe,
|
|
2173
2173
|
{
|
|
2174
2174
|
size: 24,
|
|
2175
|
-
className:
|
|
2175
|
+
className: m("shrink-0 transition-transform duration-200", S ? "rotate-180" : ""),
|
|
2176
2176
|
"aria-hidden": !0
|
|
2177
2177
|
}
|
|
2178
2178
|
)
|
|
@@ -2201,13 +2201,13 @@ const il = ({
|
|
|
2201
2201
|
variant: "secondary",
|
|
2202
2202
|
size: "lg",
|
|
2203
2203
|
className: "w-full",
|
|
2204
|
-
onClick: () =>
|
|
2204
|
+
onClick: () => f((j) => !j),
|
|
2205
2205
|
"aria-expanded": u,
|
|
2206
2206
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2207
2207
|
Oe,
|
|
2208
2208
|
{
|
|
2209
2209
|
size: 24,
|
|
2210
|
-
className:
|
|
2210
|
+
className: m("shrink-0 transition-transform duration-200", u ? "rotate-180" : ""),
|
|
2211
2211
|
"aria-hidden": !0
|
|
2212
2212
|
}
|
|
2213
2213
|
),
|
|
@@ -2229,14 +2229,14 @@ const il = ({
|
|
|
2229
2229
|
defaultOpenIndex: d = -1,
|
|
2230
2230
|
className: g = ""
|
|
2231
2231
|
}) => {
|
|
2232
|
-
const [x, u] = $(i), [
|
|
2233
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2232
|
+
const [x, u] = $(i), [f, b] = $(d), p = l && s.length > n, w = p && !x ? s.slice(0, n) : s;
|
|
2233
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-3 bg-white px-4 py-6", g), children: [
|
|
2234
2234
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
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
2238
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: w.map((v, j) => {
|
|
2239
|
-
const y =
|
|
2239
|
+
const y = f === j, S = y ? ks : Oe;
|
|
2240
2240
|
return /* @__PURE__ */ e.jsxs(
|
|
2241
2241
|
"div",
|
|
2242
2242
|
{
|
|
@@ -2284,7 +2284,7 @@ const il = ({
|
|
|
2284
2284
|
Oe,
|
|
2285
2285
|
{
|
|
2286
2286
|
size: 24,
|
|
2287
|
-
className:
|
|
2287
|
+
className: m("shrink-0 transition-transform duration-200", x ? "rotate-180" : ""),
|
|
2288
2288
|
"aria-hidden": !0
|
|
2289
2289
|
}
|
|
2290
2290
|
),
|
|
@@ -2306,7 +2306,7 @@ const il = ({
|
|
|
2306
2306
|
autoPlay: g = !1,
|
|
2307
2307
|
onPlayToggle: x
|
|
2308
2308
|
}, u) => {
|
|
2309
|
-
const [
|
|
2309
|
+
const [f, 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
2312
|
g && (b(!0), j(!1));
|
|
@@ -2318,15 +2318,15 @@ const il = ({
|
|
|
2318
2318
|
);
|
|
2319
2319
|
}, []);
|
|
2320
2320
|
k.useEffect(() => {
|
|
2321
|
-
if (!
|
|
2321
|
+
if (!f || !p) {
|
|
2322
2322
|
_.current && clearTimeout(_.current), z(!0);
|
|
2323
2323
|
return;
|
|
2324
2324
|
}
|
|
2325
2325
|
return L(), () => {
|
|
2326
2326
|
_.current && clearTimeout(_.current);
|
|
2327
2327
|
};
|
|
2328
|
-
}, [
|
|
2329
|
-
const H = i !== void 0 || c !== void 0, W =
|
|
2328
|
+
}, [f, p, L]);
|
|
2329
|
+
const H = i !== void 0 || c !== void 0, W = m(
|
|
2330
2330
|
"block w-full",
|
|
2331
2331
|
(H || !H && o !== void 0 || d) && "h-full object-cover object-center"
|
|
2332
2332
|
), ne = k.useCallback(
|
|
@@ -2368,7 +2368,7 @@ const il = ({
|
|
|
2368
2368
|
},
|
|
2369
2369
|
[]
|
|
2370
2370
|
), k.useEffect(() => {
|
|
2371
|
-
if (!
|
|
2371
|
+
if (!f) return;
|
|
2372
2372
|
const T = D.current;
|
|
2373
2373
|
if (!T || typeof IntersectionObserver > "u") return;
|
|
2374
2374
|
const O = new IntersectionObserver(
|
|
@@ -2378,7 +2378,7 @@ const il = ({
|
|
|
2378
2378
|
{ threshold: 0 }
|
|
2379
2379
|
);
|
|
2380
2380
|
return O.observe(T), () => O.disconnect();
|
|
2381
|
-
}, [
|
|
2381
|
+
}, [f]);
|
|
2382
2382
|
const le = (T) => {
|
|
2383
2383
|
const O = Number(T.target.value);
|
|
2384
2384
|
S(O), F.current && (F.current.currentTime = O);
|
|
@@ -2388,15 +2388,15 @@ const il = ({
|
|
|
2388
2388
|
{
|
|
2389
2389
|
ref: ne,
|
|
2390
2390
|
style: H ? { width: i, height: c } : { aspectRatio: o },
|
|
2391
|
-
className:
|
|
2391
|
+
className: m(
|
|
2392
2392
|
"relative w-full overflow-hidden",
|
|
2393
2393
|
n && "rounded-2xl",
|
|
2394
2394
|
s
|
|
2395
2395
|
),
|
|
2396
2396
|
onClick: () => {
|
|
2397
|
-
|
|
2397
|
+
f && !I && (z(!0), p && L());
|
|
2398
2398
|
},
|
|
2399
|
-
children:
|
|
2399
|
+
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2400
2400
|
/* @__PURE__ */ e.jsx(
|
|
2401
2401
|
Xa,
|
|
2402
2402
|
{
|
|
@@ -2509,9 +2509,9 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2509
2509
|
menuClassName: d = "",
|
|
2510
2510
|
...g
|
|
2511
2511
|
}, x) => {
|
|
2512
|
-
const [u,
|
|
2512
|
+
const [u, f] = k.useState(n), b = l !== void 0, p = b ? l : u, w = k.useCallback(
|
|
2513
2513
|
(y) => {
|
|
2514
|
-
b ||
|
|
2514
|
+
b || f(y), i?.(y);
|
|
2515
2515
|
},
|
|
2516
2516
|
[b, i]
|
|
2517
2517
|
), v = k.useRef(null);
|
|
@@ -2529,7 +2529,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2529
2529
|
const j = (y) => {
|
|
2530
2530
|
s?.(y.value), w(!1);
|
|
2531
2531
|
};
|
|
2532
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: v, className:
|
|
2532
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: v, className: m("relative inline-block", c), ...g, children: [
|
|
2533
2533
|
/* @__PURE__ */ e.jsxs(
|
|
2534
2534
|
"button",
|
|
2535
2535
|
{
|
|
@@ -2538,7 +2538,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2538
2538
|
"aria-label": "Switch language",
|
|
2539
2539
|
"aria-haspopup": "listbox",
|
|
2540
2540
|
"aria-expanded": p,
|
|
2541
|
-
className:
|
|
2541
|
+
className: m(
|
|
2542
2542
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
2543
2543
|
o
|
|
2544
2544
|
),
|
|
@@ -2548,7 +2548,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2548
2548
|
Oe,
|
|
2549
2549
|
{
|
|
2550
2550
|
size: 24,
|
|
2551
|
-
className:
|
|
2551
|
+
className: m("transition-transform duration-200", p ? "rotate-180" : ""),
|
|
2552
2552
|
"aria-hidden": !0
|
|
2553
2553
|
}
|
|
2554
2554
|
)
|
|
@@ -2559,7 +2559,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2559
2559
|
"ul",
|
|
2560
2560
|
{
|
|
2561
2561
|
role: "listbox",
|
|
2562
|
-
className:
|
|
2562
|
+
className: m(
|
|
2563
2563
|
"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",
|
|
2564
2564
|
d
|
|
2565
2565
|
),
|
|
@@ -2570,7 +2570,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2570
2570
|
{
|
|
2571
2571
|
type: "button",
|
|
2572
2572
|
onClick: () => j(y),
|
|
2573
|
-
className:
|
|
2573
|
+
className: m(
|
|
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]"
|
|
2576
2576
|
),
|
|
@@ -2595,7 +2595,7 @@ function cl({
|
|
|
2595
2595
|
return /* @__PURE__ */ e.jsxs(
|
|
2596
2596
|
"div",
|
|
2597
2597
|
{
|
|
2598
|
-
className:
|
|
2598
|
+
className: m(
|
|
2599
2599
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
2600
2600
|
i
|
|
2601
2601
|
),
|
|
@@ -2643,7 +2643,7 @@ const ir = k.forwardRef(
|
|
|
2643
2643
|
type: i,
|
|
2644
2644
|
onClick: s,
|
|
2645
2645
|
"aria-pressed": a,
|
|
2646
|
-
className:
|
|
2646
|
+
className: m(
|
|
2647
2647
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
2648
2648
|
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",
|
|
2649
2649
|
l
|
|
@@ -2665,7 +2665,7 @@ const dl = ({
|
|
|
2665
2665
|
...l
|
|
2666
2666
|
}) => {
|
|
2667
2667
|
const i = s > 0 ? Math.min(100, Math.max(0, a / s * 100)) : 0;
|
|
2668
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2668
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("step-progress-header", n), ...l, children: [
|
|
2669
2669
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
2670
2670
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
2671
2671
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -2753,7 +2753,7 @@ const It = 1.25, Bt = [
|
|
|
2753
2753
|
className: i,
|
|
2754
2754
|
...c
|
|
2755
2755
|
}) => {
|
|
2756
|
-
const o = k.useRef(null), d = k.useRef(!1), [g, x] = k.useState(!1), [u,
|
|
2756
|
+
const o = k.useRef(null), d = k.useRef(!1), [g, x] = k.useState(!1), [u, f] = k.useState(!1);
|
|
2757
2757
|
k.useEffect(() => {
|
|
2758
2758
|
!n || d.current || (d.current = !0, o.current?.play().catch(() => {
|
|
2759
2759
|
}));
|
|
@@ -2765,7 +2765,7 @@ const It = 1.25, Bt = [
|
|
|
2765
2765
|
return /* @__PURE__ */ e.jsxs(
|
|
2766
2766
|
"div",
|
|
2767
2767
|
{
|
|
2768
|
-
className:
|
|
2768
|
+
className: m("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
2769
2769
|
...c,
|
|
2770
2770
|
children: [
|
|
2771
2771
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
@@ -2812,9 +2812,9 @@ const It = 1.25, Bt = [
|
|
|
2812
2812
|
{
|
|
2813
2813
|
ref: o,
|
|
2814
2814
|
src: n,
|
|
2815
|
-
onPlay: () =>
|
|
2816
|
-
onPause: () =>
|
|
2817
|
-
onEnded: () =>
|
|
2815
|
+
onPlay: () => f(!0),
|
|
2816
|
+
onPause: () => f(!1),
|
|
2817
|
+
onEnded: () => f(!1)
|
|
2818
2818
|
}
|
|
2819
2819
|
),
|
|
2820
2820
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2851,7 +2851,7 @@ const It = 1.25, Bt = [
|
|
|
2851
2851
|
"div",
|
|
2852
2852
|
{
|
|
2853
2853
|
ref: c,
|
|
2854
|
-
className:
|
|
2854
|
+
className: m(
|
|
2855
2855
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
2856
2856
|
ur[n],
|
|
2857
2857
|
!a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
@@ -2878,7 +2878,7 @@ const ot = k.forwardRef(
|
|
|
2878
2878
|
showRadio: g = !0,
|
|
2879
2879
|
radioVariant: x = "dot",
|
|
2880
2880
|
radioClassName: u,
|
|
2881
|
-
tag:
|
|
2881
|
+
tag: f,
|
|
2882
2882
|
tagClassName: b,
|
|
2883
2883
|
children: p,
|
|
2884
2884
|
note: w,
|
|
@@ -2891,21 +2891,21 @@ const ot = k.forwardRef(
|
|
|
2891
2891
|
const I = /* @__PURE__ */ e.jsxs(
|
|
2892
2892
|
"div",
|
|
2893
2893
|
{
|
|
2894
|
-
className:
|
|
2894
|
+
className: m(
|
|
2895
2895
|
"relative overflow-visible rounded-xl border transition-colors",
|
|
2896
2896
|
t ? "border-[#F38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
2897
2897
|
y && "opacity-50",
|
|
2898
2898
|
j
|
|
2899
2899
|
),
|
|
2900
2900
|
children: [
|
|
2901
|
-
|
|
2901
|
+
f && /* @__PURE__ */ e.jsx(
|
|
2902
2902
|
"span",
|
|
2903
2903
|
{
|
|
2904
|
-
className:
|
|
2904
|
+
className: m(
|
|
2905
2905
|
"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",
|
|
2906
2906
|
b
|
|
2907
2907
|
),
|
|
2908
|
-
children:
|
|
2908
|
+
children: f
|
|
2909
2909
|
}
|
|
2910
2910
|
),
|
|
2911
2911
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -2917,9 +2917,9 @@ const ot = k.forwardRef(
|
|
|
2917
2917
|
"aria-checked": t,
|
|
2918
2918
|
disabled: y,
|
|
2919
2919
|
onClick: a,
|
|
2920
|
-
className:
|
|
2920
|
+
className: m(
|
|
2921
2921
|
"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",
|
|
2922
|
-
|
|
2922
|
+
f && "pt-7"
|
|
2923
2923
|
),
|
|
2924
2924
|
...B,
|
|
2925
2925
|
children: [
|
|
@@ -2941,9 +2941,9 @@ const ot = k.forwardRef(
|
|
|
2941
2941
|
"span",
|
|
2942
2942
|
{
|
|
2943
2943
|
"aria-hidden": !0,
|
|
2944
|
-
className:
|
|
2944
|
+
className: m(
|
|
2945
2945
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",
|
|
2946
|
-
t ? x === "check" ?
|
|
2946
|
+
t ? x === "check" ? m(
|
|
2947
2947
|
"border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",
|
|
2948
2948
|
u
|
|
2949
2949
|
) : "border-[#F75E22]" : "border-gray-300"
|
|
@@ -2952,7 +2952,7 @@ const ot = k.forwardRef(
|
|
|
2952
2952
|
t && x === "dot" && /* @__PURE__ */ e.jsx(
|
|
2953
2953
|
"span",
|
|
2954
2954
|
{
|
|
2955
|
-
className:
|
|
2955
|
+
className: m(
|
|
2956
2956
|
"size-4 rounded-full bg-[#F75E22]",
|
|
2957
2957
|
u
|
|
2958
2958
|
)
|
|
@@ -2974,7 +2974,7 @@ const ot = k.forwardRef(
|
|
|
2974
2974
|
/* @__PURE__ */ e.jsx(
|
|
2975
2975
|
"div",
|
|
2976
2976
|
{
|
|
2977
|
-
className:
|
|
2977
|
+
className: m(
|
|
2978
2978
|
"px-4 py-1 text-center text-[10px] leading-3.5 font-medium bg-[#fccf9a] text-[#632E06]",
|
|
2979
2979
|
v
|
|
2980
2980
|
),
|
|
@@ -2991,7 +2991,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2991
2991
|
role: a ? "button" : void 0,
|
|
2992
2992
|
tabIndex: a ? 0 : void 0,
|
|
2993
2993
|
onClick: a,
|
|
2994
|
-
className:
|
|
2994
|
+
className: m(
|
|
2995
2995
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
2996
2996
|
a && "cursor-pointer",
|
|
2997
2997
|
s
|
|
@@ -3011,7 +3011,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3011
3011
|
}) => /* @__PURE__ */ e.jsxs(
|
|
3012
3012
|
"div",
|
|
3013
3013
|
{
|
|
3014
|
-
className:
|
|
3014
|
+
className: m(
|
|
3015
3015
|
"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",
|
|
3016
3016
|
n
|
|
3017
3017
|
),
|
|
@@ -3037,7 +3037,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3037
3037
|
}) => /* @__PURE__ */ e.jsx(
|
|
3038
3038
|
"span",
|
|
3039
3039
|
{
|
|
3040
|
-
className:
|
|
3040
|
+
className: m(
|
|
3041
3041
|
"inline-flex items-center rounded-full bg-white px-1.5 py-1 text-sm font-medium text-[#159169]",
|
|
3042
3042
|
a
|
|
3043
3043
|
),
|
|
@@ -3051,7 +3051,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3051
3051
|
}) => /* @__PURE__ */ e.jsx(
|
|
3052
3052
|
"div",
|
|
3053
3053
|
{
|
|
3054
|
-
className:
|
|
3054
|
+
className: m(
|
|
3055
3055
|
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",
|
|
3056
3056
|
t
|
|
3057
3057
|
),
|
|
@@ -3071,7 +3071,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3071
3071
|
{
|
|
3072
3072
|
type: "button",
|
|
3073
3073
|
onClick: a,
|
|
3074
|
-
className:
|
|
3074
|
+
className: m(
|
|
3075
3075
|
"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",
|
|
3076
3076
|
c
|
|
3077
3077
|
),
|
|
@@ -3083,7 +3083,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3083
3083
|
) : /* @__PURE__ */ e.jsxs(
|
|
3084
3084
|
"div",
|
|
3085
3085
|
{
|
|
3086
|
-
className:
|
|
3086
|
+
className: m(
|
|
3087
3087
|
"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",
|
|
3088
3088
|
c
|
|
3089
3089
|
),
|
|
@@ -3120,8 +3120,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3120
3120
|
addonsDescription: "These pujas will be performed on the day of Sarva Pitru Amavasya",
|
|
3121
3121
|
addedLabel: "Added",
|
|
3122
3122
|
addLabel: "Add",
|
|
3123
|
-
mandapTitle: "
|
|
3124
|
-
mandapDescription: "This fee covers the temple space, mandap, and
|
|
3123
|
+
mandapTitle: "Mandap Arrangement Fee",
|
|
3124
|
+
mandapDescription: "This fee covers the temple space, mandap, and essential arrangements required for the puja.",
|
|
3125
3125
|
checkoutProceedLabel: "Proceed to fill details",
|
|
3126
3126
|
checkoutRitualSingular: "Ritual",
|
|
3127
3127
|
checkoutRitualPlural: "Rituals"
|
|
@@ -3134,7 +3134,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3134
3134
|
addedLabel: "जोड़ा गया",
|
|
3135
3135
|
addLabel: "जोड़ें",
|
|
3136
3136
|
mandapTitle: "मंदिर और मंडप शुल्क",
|
|
3137
|
-
mandapDescription: "
|
|
3137
|
+
mandapDescription: "मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए",
|
|
3138
3138
|
checkoutProceedLabel: "आगे बढ़ें, और डिटेल्स भरें",
|
|
3139
3139
|
checkoutRitualSingular: "पूजा-विधि",
|
|
3140
3140
|
checkoutRitualPlural: "पूजा-विधि"
|
|
@@ -3146,8 +3146,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3146
3146
|
addonsDescription: "ಈ ಪೂಜೆಗಳನ್ನು ಸರ್ವ ಪಿತೃ ಅಮಾವಾಸ್ಯೆಯ ದಿನದಂದು ನೆರವೇರಿಸಲಾಗುತ್ತದೆ",
|
|
3147
3147
|
addedLabel: "ಸೇರಿಸಲಾಗಿದೆ",
|
|
3148
3148
|
addLabel: "ಸೇರಿಸಿ",
|
|
3149
|
-
mandapTitle: "
|
|
3150
|
-
mandapDescription: "ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ
|
|
3149
|
+
mandapTitle: "ಮಂಟಪ ಸಿದ್ಧತಾ ಶುಲ್ಕ",
|
|
3150
|
+
mandapDescription: "ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ ಪ್ರಮುಖ ವ್ಯವಸ್ಥೆಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.",
|
|
3151
3151
|
checkoutProceedLabel: "ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",
|
|
3152
3152
|
checkoutRitualSingular: "ಪೂಜೆ",
|
|
3153
3153
|
checkoutRitualPlural: "ಪೂಜೆಗಳು"
|
|
@@ -3159,8 +3159,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3159
3159
|
addonsDescription: "ఈ పూజలు సర్వ పితృ అమావాస్య రోజున జరుగుతాయి",
|
|
3160
3160
|
addedLabel: "జోడించబడింది",
|
|
3161
3161
|
addLabel: "జోడించండి",
|
|
3162
|
-
mandapTitle: "
|
|
3163
|
-
mandapDescription: "
|
|
3162
|
+
mandapTitle: "మండప ఏర్పాటు రుసుము",
|
|
3163
|
+
mandapDescription: "ఆలయంలో స్థలం, మండపం మరియు అవసరమైన పూజ ఏర్పాట్లు చేయడానికి",
|
|
3164
3164
|
checkoutProceedLabel: "ముందుకు సాగండి",
|
|
3165
3165
|
checkoutRitualSingular: "పూజ",
|
|
3166
3166
|
checkoutRitualPlural: "పూజలు"
|
|
@@ -3176,7 +3176,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3176
3176
|
}) => /* @__PURE__ */ e.jsx(
|
|
3177
3177
|
"div",
|
|
3178
3178
|
{
|
|
3179
|
-
className:
|
|
3179
|
+
className: m("rounded-2xl border border-gray-200 bg-white p-4", i),
|
|
3180
3180
|
...c,
|
|
3181
3181
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
3182
3182
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -3204,7 +3204,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3204
3204
|
"button",
|
|
3205
3205
|
{
|
|
3206
3206
|
type: s,
|
|
3207
|
-
className:
|
|
3207
|
+
className: m(
|
|
3208
3208
|
// text-gray-900 needs `!` — a host app's own scoped Preflight-style
|
|
3209
3209
|
// reset (`.some-root button { color: inherit; ... }`) outranks a
|
|
3210
3210
|
// plain single-class selector on specificity regardless of load order.
|
|
@@ -3228,7 +3228,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3228
3228
|
"button",
|
|
3229
3229
|
{
|
|
3230
3230
|
type: l,
|
|
3231
|
-
className:
|
|
3231
|
+
className: m(
|
|
3232
3232
|
"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]",
|
|
3233
3233
|
n
|
|
3234
3234
|
),
|
|
@@ -3265,7 +3265,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3265
3265
|
descriptionHtml: g,
|
|
3266
3266
|
price: x,
|
|
3267
3267
|
basePrice: u,
|
|
3268
|
-
currencySymbol:
|
|
3268
|
+
currencySymbol: f = "₹",
|
|
3269
3269
|
showSavedBadge: b,
|
|
3270
3270
|
savedLabel: p,
|
|
3271
3271
|
action: w
|
|
@@ -3282,11 +3282,11 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3282
3282
|
footer: /* @__PURE__ */ e.jsxs("div", { className: re.footer, children: [
|
|
3283
3283
|
/* @__PURE__ */ e.jsxs("div", { className: re.priceRow, children: [
|
|
3284
3284
|
/* @__PURE__ */ e.jsxs("span", { className: re.price, children: [
|
|
3285
|
-
|
|
3285
|
+
f,
|
|
3286
3286
|
x
|
|
3287
3287
|
] }),
|
|
3288
3288
|
v && /* @__PURE__ */ e.jsxs("span", { className: re.basePrice, children: [
|
|
3289
|
-
|
|
3289
|
+
f,
|
|
3290
3290
|
u
|
|
3291
3291
|
] }),
|
|
3292
3292
|
y && /* @__PURE__ */ e.jsx("span", { className: re.savedBadge, children: p ?? `Save ${j}%` })
|
|
@@ -3295,7 +3295,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3295
3295
|
] }),
|
|
3296
3296
|
children: /* @__PURE__ */ e.jsxs("div", { className: re.contentBlock, children: [
|
|
3297
3297
|
/* @__PURE__ */ e.jsx("div", { className: re.imageWrap, children: /* @__PURE__ */ e.jsx("img", { src: n, alt: l, className: re.image }) }),
|
|
3298
|
-
i && /* @__PURE__ */ e.jsx("div", { className:
|
|
3298
|
+
i && /* @__PURE__ */ e.jsx("div", { className: m(re.tag, c), children: i }),
|
|
3299
3299
|
/* @__PURE__ */ e.jsxs("div", { className: re.info, children: [
|
|
3300
3300
|
/* @__PURE__ */ e.jsx("p", { className: re.title, children: o }),
|
|
3301
3301
|
g ? /* @__PURE__ */ e.jsx("div", { className: re.description, dangerouslySetInnerHTML: { __html: g } }) : d && /* @__PURE__ */ e.jsx("p", { className: re.description, children: d })
|
|
@@ -3334,7 +3334,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3334
3334
|
readMoreLabel: g = Nt(d, "templeSignificanceReadMoreLabel"),
|
|
3335
3335
|
readLessLabel: x = Nt(d, "templeSignificanceReadLessLabel"),
|
|
3336
3336
|
price: u,
|
|
3337
|
-
originalPrice:
|
|
3337
|
+
originalPrice: f,
|
|
3338
3338
|
tag: b,
|
|
3339
3339
|
tagClassName: p,
|
|
3340
3340
|
action: w,
|
|
@@ -3355,7 +3355,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3355
3355
|
onClick: (te) => {
|
|
3356
3356
|
te.stopPropagation(), W ? (L(!0), I?.(!0)) : G((le) => (I?.(!le), !le));
|
|
3357
3357
|
},
|
|
3358
|
-
className:
|
|
3358
|
+
className: m(Q.readMoreToggle, i && Q.readMoreToggleBlock),
|
|
3359
3359
|
children: W ? g : F ? x : g
|
|
3360
3360
|
}
|
|
3361
3361
|
);
|
|
@@ -3363,11 +3363,11 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3363
3363
|
/* @__PURE__ */ e.jsxs(
|
|
3364
3364
|
"div",
|
|
3365
3365
|
{
|
|
3366
|
-
className:
|
|
3366
|
+
className: m(Q.card, W && Q.tappable, z),
|
|
3367
3367
|
onClick: W ? () => L(!0) : void 0,
|
|
3368
3368
|
...D,
|
|
3369
3369
|
children: [
|
|
3370
|
-
b && /* @__PURE__ */ e.jsx("div", { className:
|
|
3370
|
+
b && /* @__PURE__ */ e.jsx("div", { className: m(Q.tag, p), children: b }),
|
|
3371
3371
|
/* @__PURE__ */ e.jsxs("div", { className: Q.content, children: [
|
|
3372
3372
|
/* @__PURE__ */ e.jsxs("div", { className: Q.info, children: [
|
|
3373
3373
|
/* @__PURE__ */ e.jsxs("div", { className: Q.textGroup, children: [
|
|
@@ -3376,7 +3376,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3376
3376
|
/* @__PURE__ */ e.jsx(
|
|
3377
3377
|
"div",
|
|
3378
3378
|
{
|
|
3379
|
-
className:
|
|
3379
|
+
className: m(ne && Q.descriptionClamp),
|
|
3380
3380
|
style: ne ? { WebkitLineClamp: c } : void 0,
|
|
3381
3381
|
dangerouslySetInnerHTML: { __html: i }
|
|
3382
3382
|
}
|
|
@@ -3389,7 +3389,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3389
3389
|
] }),
|
|
3390
3390
|
/* @__PURE__ */ e.jsxs("div", { className: Q.priceRow, children: [
|
|
3391
3391
|
/* @__PURE__ */ e.jsx("span", { className: Q.price, children: u }),
|
|
3392
|
-
|
|
3392
|
+
f && /* @__PURE__ */ e.jsx("span", { className: Q.originalPrice, children: f })
|
|
3393
3393
|
] })
|
|
3394
3394
|
] }),
|
|
3395
3395
|
/* @__PURE__ */ e.jsxs("div", { className: Q.imageWrap, children: [
|
|
@@ -3537,7 +3537,7 @@ const Kr = [
|
|
|
3537
3537
|
], Dt = (t, a, s) => /* @__PURE__ */ e.jsxs(
|
|
3538
3538
|
"span",
|
|
3539
3539
|
{
|
|
3540
|
-
className:
|
|
3540
|
+
className: m("inline-flex shrink-0 items-center gap-1 text-xs font-semibold text-[#525252]", s, t.className),
|
|
3541
3541
|
children: [
|
|
3542
3542
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0", "aria-hidden": !0, children: t.icon }),
|
|
3543
3543
|
t.label
|
|
@@ -3551,7 +3551,7 @@ const Kr = [
|
|
|
3551
3551
|
marqueeDurationSeconds: n = 14,
|
|
3552
3552
|
className: l,
|
|
3553
3553
|
...i
|
|
3554
|
-
}) => s ? /* @__PURE__ */ e.jsx("div", { className:
|
|
3554
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: m("overflow-hidden bg-[#ededed] px-4 py-1", l), ...i, children: /* @__PURE__ */ e.jsx(
|
|
3555
3555
|
"div",
|
|
3556
3556
|
{
|
|
3557
3557
|
className: "flex w-max items-center gap-3 whitespace-nowrap motion-reduce:animate-none",
|
|
@@ -3561,7 +3561,7 @@ const Kr = [
|
|
|
3561
3561
|
) }) : /* @__PURE__ */ e.jsx(
|
|
3562
3562
|
"div",
|
|
3563
3563
|
{
|
|
3564
|
-
className:
|
|
3564
|
+
className: m(
|
|
3565
3565
|
"flex items-center gap-3 overflow-x-auto bg-[#ededed] px-4 py-1 whitespace-nowrap",
|
|
3566
3566
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
3567
3567
|
l
|
|
@@ -3599,7 +3599,7 @@ const Kr = [
|
|
|
3599
3599
|
proceedIcon: g = /* @__PURE__ */ e.jsx(Pe, { "aria-hidden": !0 }),
|
|
3600
3600
|
onProceed: x,
|
|
3601
3601
|
proceedButtonProps: u,
|
|
3602
|
-
buttonWrapperClassName:
|
|
3602
|
+
buttonWrapperClassName: f,
|
|
3603
3603
|
growProceedButton: b = !1,
|
|
3604
3604
|
className: p,
|
|
3605
3605
|
...w
|
|
@@ -3608,18 +3608,18 @@ const Kr = [
|
|
|
3608
3608
|
return /* @__PURE__ */ e.jsxs(
|
|
3609
3609
|
"div",
|
|
3610
3610
|
{
|
|
3611
|
-
className:
|
|
3611
|
+
className: m(
|
|
3612
3612
|
"flex items-center gap-3 rounded-t-[20px] bg-white px-4 py-4 shadow-[0_0_20px_rgba(0,0,0,0.15)]",
|
|
3613
3613
|
p
|
|
3614
3614
|
),
|
|
3615
3615
|
...w,
|
|
3616
3616
|
children: [
|
|
3617
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3617
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("min-w-0", b ? "flex-none" : "flex-1"), children: [
|
|
3618
3618
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
3619
3619
|
/* @__PURE__ */ e.jsx(
|
|
3620
3620
|
"span",
|
|
3621
3621
|
{
|
|
3622
|
-
className:
|
|
3622
|
+
className: m(
|
|
3623
3623
|
"text-xl font-extrabold text-[#1d2125]",
|
|
3624
3624
|
s
|
|
3625
3625
|
),
|
|
@@ -3632,7 +3632,7 @@ const Kr = [
|
|
|
3632
3632
|
type: "button",
|
|
3633
3633
|
onClick: c,
|
|
3634
3634
|
"aria-label": v.infoButtonAriaLabel ?? "View bill details",
|
|
3635
|
-
className:
|
|
3635
|
+
className: m(
|
|
3636
3636
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]!",
|
|
3637
3637
|
!c && "pointer-events-none",
|
|
3638
3638
|
o
|
|
@@ -3641,12 +3641,12 @@ const Kr = [
|
|
|
3641
3641
|
}
|
|
3642
3642
|
)
|
|
3643
3643
|
] }),
|
|
3644
|
-
n && /* @__PURE__ */ e.jsx("p", { className:
|
|
3644
|
+
n && /* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", l), children: n })
|
|
3645
3645
|
] }),
|
|
3646
3646
|
/* @__PURE__ */ e.jsx(
|
|
3647
3647
|
"div",
|
|
3648
3648
|
{
|
|
3649
|
-
className:
|
|
3649
|
+
className: m(
|
|
3650
3650
|
"min-w-0",
|
|
3651
3651
|
// Not a grow factor when the button keeps its own width: a 1.4
|
|
3652
3652
|
// wrapper is wider than a `min-w-40` button, and the slack lands
|
|
@@ -3655,7 +3655,7 @@ const Kr = [
|
|
|
3655
3655
|
// with the price block (flex-1 min-w-0) taking the rest and
|
|
3656
3656
|
// truncating first.
|
|
3657
3657
|
b ? "flex-1" : "flex-none",
|
|
3658
|
-
|
|
3658
|
+
f
|
|
3659
3659
|
),
|
|
3660
3660
|
children: /* @__PURE__ */ e.jsxs(
|
|
3661
3661
|
X,
|
|
@@ -3664,7 +3664,7 @@ const Kr = [
|
|
|
3664
3664
|
size: "xl",
|
|
3665
3665
|
onClick: x,
|
|
3666
3666
|
...u,
|
|
3667
|
-
className:
|
|
3667
|
+
className: m(
|
|
3668
3668
|
"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",
|
|
3669
3669
|
b ? "w-full" : "min-w-40",
|
|
3670
3670
|
u?.className
|
|
@@ -3758,7 +3758,7 @@ const Kr = [
|
|
|
3758
3758
|
className: g,
|
|
3759
3759
|
headerClassName: x,
|
|
3760
3760
|
benefitsClassName: u,
|
|
3761
|
-
optionsClassName:
|
|
3761
|
+
optionsClassName: f,
|
|
3762
3762
|
trustBadges: b,
|
|
3763
3763
|
checkout: p,
|
|
3764
3764
|
stickyFooter: w = !0,
|
|
@@ -3773,12 +3773,12 @@ const Kr = [
|
|
|
3773
3773
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(va, { className: "size-5" }), label: j.trustBadgeLabels.support }
|
|
3774
3774
|
]
|
|
3775
3775
|
};
|
|
3776
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3777
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3776
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("w-full", g), children: [
|
|
3777
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("px-4 pt-5 pb-4", x), children: [
|
|
3778
3778
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: y }),
|
|
3779
3779
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
3780
3780
|
] }),
|
|
3781
|
-
B && B.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
3781
|
+
B && B.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: B.map((I, z) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
3782
3782
|
/* @__PURE__ */ e.jsx(nt, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
3783
3783
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: I })
|
|
3784
3784
|
] }, z)) }),
|
|
@@ -3787,7 +3787,7 @@ const Kr = [
|
|
|
3787
3787
|
{
|
|
3788
3788
|
role: "radiogroup",
|
|
3789
3789
|
"aria-label": d ?? (typeof y == "string" ? y : void 0),
|
|
3790
|
-
className:
|
|
3790
|
+
className: m("flex flex-col gap-3 p-4", f),
|
|
3791
3791
|
children: l.map((I) => {
|
|
3792
3792
|
const {
|
|
3793
3793
|
id: z,
|
|
@@ -3800,12 +3800,12 @@ const Kr = [
|
|
|
3800
3800
|
iconClassName: J,
|
|
3801
3801
|
radioVariant: W,
|
|
3802
3802
|
...ne
|
|
3803
|
-
} = I, Z = i === z, te = G ?? (D == null ? void 0 : F ? /* @__PURE__ */ e.jsx("span", { className:
|
|
3803
|
+
} = I, Z = i === z, te = G ?? (D == null ? void 0 : F ? /* @__PURE__ */ e.jsx("span", { className: m("text-sm font-medium text-[#22272b]", _?.className), ..._, children: D }) : /* @__PURE__ */ e.jsx(xr, { value: D, ..._ }));
|
|
3804
3804
|
return /* @__PURE__ */ e.jsx(
|
|
3805
3805
|
ot,
|
|
3806
3806
|
{
|
|
3807
3807
|
...ne,
|
|
3808
|
-
iconClassName:
|
|
3808
|
+
iconClassName: m("size-10", J),
|
|
3809
3809
|
radioVariant: W ?? o,
|
|
3810
3810
|
badge: te,
|
|
3811
3811
|
selected: Z,
|
|
@@ -3818,7 +3818,7 @@ const Kr = [
|
|
|
3818
3818
|
})
|
|
3819
3819
|
}
|
|
3820
3820
|
),
|
|
3821
|
-
(U || p) && /* @__PURE__ */ e.jsxs("div", { className:
|
|
3821
|
+
(U || p) && /* @__PURE__ */ e.jsxs("div", { className: m(w && "sticky bottom-0 z-10", v), children: [
|
|
3822
3822
|
U && /* @__PURE__ */ e.jsx(Zr, { ...U }),
|
|
3823
3823
|
p && /* @__PURE__ */ e.jsx(ct, { locale: t, ...p })
|
|
3824
3824
|
] })
|
|
@@ -3828,25 +3828,40 @@ const Kr = [
|
|
|
3828
3828
|
title: "Pitru Paksha Special Rituals",
|
|
3829
3829
|
ancestorsLabel: "Ancestors",
|
|
3830
3830
|
ritualsLabel: "Rituals",
|
|
3831
|
-
performersLabel: "Performers"
|
|
3831
|
+
performersLabel: "Performers",
|
|
3832
|
+
ancestorLabel: "Ancestor",
|
|
3833
|
+
ritualLabel: "Ritual",
|
|
3834
|
+
performerLabel: "Performer"
|
|
3832
3835
|
},
|
|
3833
3836
|
hi: {
|
|
3834
3837
|
title: "पितृ पक्ष विशेष अनुष्ठान",
|
|
3835
3838
|
ancestorsLabel: "पितृजन",
|
|
3836
3839
|
ritualsLabel: "पूजा विधि",
|
|
3837
|
-
performersLabel: "कर्ता"
|
|
3840
|
+
performersLabel: "कर्ता",
|
|
3841
|
+
// Hindi doesn't inflect these for number (same as MYOR's own
|
|
3842
|
+
// ritualCountSingular/ritualCountPlural, which are also identical) — no
|
|
3843
|
+
// separate singular copy needed.
|
|
3844
|
+
ancestorLabel: "पितृजन",
|
|
3845
|
+
ritualLabel: "पूजा विधि",
|
|
3846
|
+
performerLabel: "कर्ता"
|
|
3838
3847
|
},
|
|
3839
3848
|
te: {
|
|
3840
3849
|
title: "పితృపక్ష ప్రత్యేక పూజలు",
|
|
3841
3850
|
ancestorsLabel: "మంది పితృదేవతలు",
|
|
3842
3851
|
ritualsLabel: "పూజలు",
|
|
3843
|
-
performersLabel: "కర్తలు"
|
|
3852
|
+
performersLabel: "కర్తలు",
|
|
3853
|
+
ancestorLabel: "మంది పితృదేవతలు",
|
|
3854
|
+
ritualLabel: "పూజలు",
|
|
3855
|
+
performerLabel: "కర్తలు"
|
|
3844
3856
|
},
|
|
3845
3857
|
kn: {
|
|
3846
3858
|
title: "ಪಿತೃ ಪಕ್ಷದ ವಿಶೇಷ ಆಚರಣೆಗಳು",
|
|
3847
3859
|
ancestorsLabel: "ಪೂರ್ವಜರು",
|
|
3848
3860
|
ritualsLabel: "ಆಚರಣೆಗಳು",
|
|
3849
|
-
performersLabel: "ಕರ್ತೃಗಳು"
|
|
3861
|
+
performersLabel: "ಕರ್ತೃಗಳು",
|
|
3862
|
+
ancestorLabel: "ಪೂರ್ವಜರು",
|
|
3863
|
+
ritualLabel: "ಆಚರಣೆಗಳು",
|
|
3864
|
+
performerLabel: "ಕರ್ತೃಗಳು"
|
|
3850
3865
|
}
|
|
3851
3866
|
}, Xr = (t) => Vt[t] ?? Vt.en, Qr = ({
|
|
3852
3867
|
locale: t = "en",
|
|
@@ -3862,17 +3877,17 @@ const Kr = [
|
|
|
3862
3877
|
className: x,
|
|
3863
3878
|
...u
|
|
3864
3879
|
}) => {
|
|
3865
|
-
const
|
|
3866
|
-
`${o.ancestors} ${
|
|
3867
|
-
`${o.rituals} ${
|
|
3868
|
-
`${o.performers} ${
|
|
3880
|
+
const f = Xr(t), b = n ?? f.title, p = c ?? (o && [
|
|
3881
|
+
`${o.ancestors} ${o.ancestors === 1 ? f.ancestorLabel : f.ancestorsLabel}`,
|
|
3882
|
+
`${o.rituals} ${o.rituals === 1 ? f.ritualLabel : f.ritualsLabel}`,
|
|
3883
|
+
`${o.performers} ${o.performers === 1 ? f.performerLabel : f.performersLabel}`
|
|
3869
3884
|
]);
|
|
3870
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
3871
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3872
|
-
a && /* @__PURE__ */ e.jsx("span", { className:
|
|
3885
|
+
return /* @__PURE__ */ e.jsx("div", { className: m("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", x), ...u, children: /* @__PURE__ */ e.jsxs("div", { className: m("rounded-2xl bg-white p-4 shadow-sm", g), children: [
|
|
3886
|
+
/* @__PURE__ */ e.jsxs("p", { className: m("flex items-center gap-2 text-sm font-bold text-[#db2777]", l), children: [
|
|
3887
|
+
a && /* @__PURE__ */ e.jsx("span", { className: m("shrink-0 text-sm", s), children: a }),
|
|
3873
3888
|
b
|
|
3874
3889
|
] }),
|
|
3875
|
-
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className:
|
|
3890
|
+
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className: m("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
3891
|
v > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
3877
3892
|
w
|
|
3878
3893
|
] }, v)) : i })
|
|
@@ -3908,7 +3923,7 @@ const Kr = [
|
|
|
3908
3923
|
}
|
|
3909
3924
|
}, ya = (t) => $t[t] ?? $t.en;
|
|
3910
3925
|
function Wt({ label: t, originalValue: a, freeLabel: s, rowClassName: n }) {
|
|
3911
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3926
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex items-start justify-between gap-3", n), children: [
|
|
3912
3927
|
/* @__PURE__ */ e.jsx("div", { className: "min-w-0", children: /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-[#6b7280]", children: t }) }),
|
|
3913
3928
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-center gap-2 whitespace-nowrap text-xs", children: [
|
|
3914
3929
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#d93640] line-through", children: a }),
|
|
@@ -3930,12 +3945,12 @@ const Na = ({
|
|
|
3930
3945
|
className: x,
|
|
3931
3946
|
...u
|
|
3932
3947
|
}) => {
|
|
3933
|
-
const { title:
|
|
3934
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3948
|
+
const { title: f, totalLabel: b, panditFeeLabel: p, photoVideoFeeLabel: w, freeLabel: v } = ya(t);
|
|
3949
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("bg-white px-4 py-6", x), ...u, children: [
|
|
3935
3950
|
s && /* @__PURE__ */ e.jsxs(
|
|
3936
3951
|
"h2",
|
|
3937
3952
|
{
|
|
3938
|
-
className:
|
|
3953
|
+
className: m(
|
|
3939
3954
|
"mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",
|
|
3940
3955
|
a
|
|
3941
3956
|
),
|
|
@@ -3947,7 +3962,7 @@ const Na = ({
|
|
|
3947
3962
|
className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"
|
|
3948
3963
|
}
|
|
3949
3964
|
),
|
|
3950
|
-
|
|
3965
|
+
f
|
|
3951
3966
|
]
|
|
3952
3967
|
}
|
|
3953
3968
|
),
|
|
@@ -3955,17 +3970,17 @@ const Na = ({
|
|
|
3955
3970
|
n.map((j) => /* @__PURE__ */ e.jsxs(
|
|
3956
3971
|
"div",
|
|
3957
3972
|
{
|
|
3958
|
-
className:
|
|
3973
|
+
className: m(
|
|
3959
3974
|
"flex items-start justify-between gap-3",
|
|
3960
3975
|
l
|
|
3961
3976
|
),
|
|
3962
3977
|
children: [
|
|
3963
3978
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
3964
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3979
|
+
/* @__PURE__ */ e.jsx("p", { className: m("text-sm text-[#1d2125]", j.labelClassName), children: j.label }),
|
|
3965
3980
|
j.subLabel && /* @__PURE__ */ e.jsx(
|
|
3966
3981
|
"p",
|
|
3967
3982
|
{
|
|
3968
|
-
className:
|
|
3983
|
+
className: m(
|
|
3969
3984
|
"mt-0.5 text-xs text-gray-400",
|
|
3970
3985
|
j.subLabelClassName
|
|
3971
3986
|
),
|
|
@@ -3978,7 +3993,7 @@ const Na = ({
|
|
|
3978
3993
|
j.originalValue && /* @__PURE__ */ e.jsx(
|
|
3979
3994
|
"span",
|
|
3980
3995
|
{
|
|
3981
|
-
className:
|
|
3996
|
+
className: m(
|
|
3982
3997
|
"text-gray-400 line-through",
|
|
3983
3998
|
j.originalValueClassName
|
|
3984
3999
|
),
|
|
@@ -3988,7 +4003,7 @@ const Na = ({
|
|
|
3988
4003
|
/* @__PURE__ */ e.jsx(
|
|
3989
4004
|
"span",
|
|
3990
4005
|
{
|
|
3991
|
-
className:
|
|
4006
|
+
className: m("font-medium text-[#1d2125]", j.valueClassName),
|
|
3992
4007
|
children: j.value
|
|
3993
4008
|
}
|
|
3994
4009
|
)
|
|
@@ -4021,7 +4036,7 @@ const Na = ({
|
|
|
4021
4036
|
c !== void 0 && /* @__PURE__ */ e.jsxs(
|
|
4022
4037
|
"div",
|
|
4023
4038
|
{
|
|
4024
|
-
className:
|
|
4039
|
+
className: m(
|
|
4025
4040
|
"mt-4 flex items-center justify-between border-t border-solid border-gray-300 pt-4",
|
|
4026
4041
|
o
|
|
4027
4042
|
),
|
|
@@ -4116,7 +4131,7 @@ const vl = ({
|
|
|
4116
4131
|
itemsClassName: g,
|
|
4117
4132
|
itemClassName: x,
|
|
4118
4133
|
onItemRef: u,
|
|
4119
|
-
addons:
|
|
4134
|
+
addons: f,
|
|
4120
4135
|
addonsSectionClassName: b,
|
|
4121
4136
|
addonsHeaderClassName: p,
|
|
4122
4137
|
addonsTitleClassName: w,
|
|
@@ -4133,50 +4148,50 @@ const vl = ({
|
|
|
4133
4148
|
...G
|
|
4134
4149
|
}) => {
|
|
4135
4150
|
const { backButtonAriaLabel: _, headerTitle: L, addonsTitle: H, addonsDescription: J, checkoutProceedLabel: W, checkoutRitualSingular: ne, checkoutRitualPlural: Z } = Ue(t), { price: te, ritualCount: le, ...T } = z ?? {};
|
|
4136
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4151
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex min-h-screen flex-col bg-white", D), ...G, children: [
|
|
4137
4152
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
4138
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4153
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3 px-4 py-3", n), children: [
|
|
4139
4154
|
a && /* @__PURE__ */ e.jsx(
|
|
4140
4155
|
"button",
|
|
4141
4156
|
{
|
|
4142
4157
|
type: "button",
|
|
4143
4158
|
onClick: a,
|
|
4144
4159
|
"aria-label": s ?? _,
|
|
4145
|
-
className:
|
|
4160
|
+
className: m(
|
|
4146
4161
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
4147
4162
|
l
|
|
4148
4163
|
),
|
|
4149
4164
|
children: /* @__PURE__ */ e.jsx(lt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
4150
4165
|
}
|
|
4151
4166
|
),
|
|
4152
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
4167
|
+
/* @__PURE__ */ e.jsx("h1", { className: m("text-lg font-bold text-[#1d2125]", i), children: L })
|
|
4153
4168
|
] }),
|
|
4154
4169
|
o && /* @__PURE__ */ e.jsx(Qr, { ...o }),
|
|
4155
|
-
d && d.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
4170
|
+
d && d.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3 bg-white px-4 py-4", g), children: d.map(({ id: O, className: oe, isMandapCharge: de, ...ce }) => /* @__PURE__ */ e.jsx("div", { ref: u ? (xe) => u(O, xe) : void 0, children: de ? /* @__PURE__ */ e.jsx(
|
|
4156
4171
|
fr,
|
|
4157
4172
|
{
|
|
4158
4173
|
locale: t,
|
|
4159
|
-
className:
|
|
4174
|
+
className: m(x, oe),
|
|
4160
4175
|
...ce
|
|
4161
4176
|
}
|
|
4162
4177
|
) : /* @__PURE__ */ e.jsx(
|
|
4163
4178
|
pa,
|
|
4164
4179
|
{
|
|
4165
|
-
className:
|
|
4180
|
+
className: m(x, oe),
|
|
4166
4181
|
...ce
|
|
4167
4182
|
}
|
|
4168
4183
|
) }, O)) }),
|
|
4169
4184
|
c,
|
|
4170
|
-
|
|
4185
|
+
f && f.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-4 bg-gray-50 px-4 py-6", b), children: [
|
|
4171
4186
|
/* @__PURE__ */ e.jsxs("div", { className: p, children: [
|
|
4172
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
4173
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4187
|
+
/* @__PURE__ */ e.jsx("h2", { className: m("text-base font-bold text-gray-700", w), children: H }),
|
|
4188
|
+
/* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", v), children: J })
|
|
4174
4189
|
] }),
|
|
4175
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4190
|
+
/* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-4", j), children: f.map(({ id: O, className: oe, ...de }) => /* @__PURE__ */ e.jsx("div", { ref: B ? (ce) => B(O, ce) : void 0, children: /* @__PURE__ */ e.jsx(
|
|
4176
4191
|
S,
|
|
4177
4192
|
{
|
|
4178
4193
|
locale: t,
|
|
4179
|
-
className:
|
|
4194
|
+
className: m(y, oe),
|
|
4180
4195
|
...de
|
|
4181
4196
|
}
|
|
4182
4197
|
) }, O)) })
|
|
@@ -4211,16 +4226,16 @@ const vl = ({
|
|
|
4211
4226
|
wrapperClassName: g,
|
|
4212
4227
|
maxLength: x,
|
|
4213
4228
|
id: u,
|
|
4214
|
-
...
|
|
4229
|
+
...f
|
|
4215
4230
|
}, b) => {
|
|
4216
4231
|
const p = k.useId(), w = u ?? p, v = i ?? (l ? `${a.length}${x ? `/${x}` : ""}` : void 0);
|
|
4217
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4232
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex w-full flex-col gap-2", d), children: [
|
|
4218
4233
|
t && /* @__PURE__ */ e.jsx("label", { htmlFor: w, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
4219
4234
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
4220
4235
|
/* @__PURE__ */ e.jsxs(
|
|
4221
4236
|
"div",
|
|
4222
4237
|
{
|
|
4223
|
-
className:
|
|
4238
|
+
className: m(
|
|
4224
4239
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
4225
4240
|
c ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
4226
4241
|
g
|
|
@@ -4236,17 +4251,17 @@ const vl = ({
|
|
|
4236
4251
|
maxLength: x,
|
|
4237
4252
|
onChange: (j) => s(j.target.value),
|
|
4238
4253
|
"aria-invalid": c,
|
|
4239
|
-
className:
|
|
4254
|
+
className: m(
|
|
4240
4255
|
"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",
|
|
4241
4256
|
o
|
|
4242
4257
|
),
|
|
4243
|
-
...
|
|
4258
|
+
...f
|
|
4244
4259
|
}
|
|
4245
4260
|
)
|
|
4246
4261
|
]
|
|
4247
4262
|
}
|
|
4248
4263
|
),
|
|
4249
|
-
v && /* @__PURE__ */ e.jsx("p", { className:
|
|
4264
|
+
v && /* @__PURE__ */ e.jsx("p", { className: m("text-[12px] leading-4 font-medium", c ? "text-[#ef4444]" : "text-[#9ca3af]"), children: v })
|
|
4250
4265
|
] })
|
|
4251
4266
|
] });
|
|
4252
4267
|
}
|
|
@@ -4296,13 +4311,13 @@ function yl({
|
|
|
4296
4311
|
)
|
|
4297
4312
|
] }),
|
|
4298
4313
|
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: l.map((u) => {
|
|
4299
|
-
const
|
|
4314
|
+
const f = d === u;
|
|
4300
4315
|
return /* @__PURE__ */ e.jsx(
|
|
4301
4316
|
"button",
|
|
4302
4317
|
{
|
|
4303
4318
|
type: "button",
|
|
4304
4319
|
onClick: () => g(u),
|
|
4305
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
4320
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${f ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
4306
4321
|
children: u
|
|
4307
4322
|
},
|
|
4308
4323
|
u
|
|
@@ -4364,20 +4379,20 @@ function Nl({
|
|
|
4364
4379
|
minYear: g,
|
|
4365
4380
|
maxYear: x = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
4366
4381
|
minDate: u,
|
|
4367
|
-
maxDate:
|
|
4382
|
+
maxDate: f
|
|
4368
4383
|
}) {
|
|
4369
|
-
const b = u?.year ?? g, p =
|
|
4384
|
+
const b = u?.year ?? g, p = f?.year ?? x, w = $e(() => {
|
|
4370
4385
|
const _ = b ?? p - 120;
|
|
4371
4386
|
return Array.from({ length: p - _ + 1 }, (L, H) => _ + H);
|
|
4372
4387
|
}, [b, p]), [v, j] = $(() => d ? d.day - 1 : Math.floor(Gt.length / 2)), [y, S] = $(() => d ? d.month - 1 : 0), [B, U] = $(
|
|
4373
4388
|
() => d ? Math.max(0, w.indexOf(d.year)) : Math.floor(w.length / 2)
|
|
4374
4389
|
), I = w[B], z = $e(() => {
|
|
4375
4390
|
let _ = en;
|
|
4376
|
-
return
|
|
4377
|
-
}, [I, u,
|
|
4391
|
+
return f && I === f.year && (_ = _.filter((L) => L <= f.month - 1)), u && I === u.year && (_ = _.filter((L) => L >= u.month - 1)), _;
|
|
4392
|
+
}, [I, u, f]), D = (z[y] ?? z[z.length - 1] ?? 0) + 1, F = $e(() => {
|
|
4378
4393
|
let _ = Gt;
|
|
4379
|
-
return
|
|
4380
|
-
}, [I, D, u,
|
|
4394
|
+
return f && I === f.year && D === f.month && (_ = _.filter((L) => L <= f.day)), u && I === u.year && D === u.month && (_ = _.filter((L) => L >= u.day)), _;
|
|
4395
|
+
}, [I, D, u, f]);
|
|
4381
4396
|
at(() => {
|
|
4382
4397
|
S((_) => Math.min(_, z.length - 1));
|
|
4383
4398
|
}, [z]), at(() => {
|
|
@@ -4442,8 +4457,8 @@ function wl({
|
|
|
4442
4457
|
amLabel: d = "AM",
|
|
4443
4458
|
pmLabel: g = "PM"
|
|
4444
4459
|
}) {
|
|
4445
|
-
const x = $e(() => tn(o?.hour ?? 11), [o?.hour]), u = [d, g], [
|
|
4446
|
-
const S = an(Je[
|
|
4460
|
+
const x = $e(() => tn(o?.hour ?? 11), [o?.hour]), u = [d, g], [f, b] = $(() => Je.indexOf(x.hour12)), [p, w] = $(() => o?.minute ?? 0), [v, j] = $(() => x.period === "AM" ? 0 : 1), y = () => {
|
|
4461
|
+
const S = an(Je[f], v === 0 ? "AM" : "PM");
|
|
4447
4462
|
i({ hour: S, minute: Ut[p] });
|
|
4448
4463
|
};
|
|
4449
4464
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4463,7 +4478,7 @@ function wl({
|
|
|
4463
4478
|
/* @__PURE__ */ e.jsx(X, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: y, children: l })
|
|
4464
4479
|
] }),
|
|
4465
4480
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4466
|
-
/* @__PURE__ */ e.jsx(Le, { options: Je.map(String), selectedIndex:
|
|
4481
|
+
/* @__PURE__ */ e.jsx(Le, { options: Je.map(String), selectedIndex: f, onChange: b }),
|
|
4467
4482
|
/* @__PURE__ */ e.jsx(
|
|
4468
4483
|
Le,
|
|
4469
4484
|
{
|
|
@@ -4521,7 +4536,7 @@ function Cl({
|
|
|
4521
4536
|
countries: d = Ua,
|
|
4522
4537
|
initialCountryIso: g = "IN"
|
|
4523
4538
|
}) {
|
|
4524
|
-
const x = d.find((v) => v.iso === g) ?? d[0], [u,
|
|
4539
|
+
const x = d.find((v) => v.iso === g) ?? d[0], [u, f] = $(o), b = sa(x.code), p = ra(u, x.code).isValid && u.length > 0, w = () => {
|
|
4525
4540
|
p && c(u, x);
|
|
4526
4541
|
};
|
|
4527
4542
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4561,7 +4576,7 @@ function Cl({
|
|
|
4561
4576
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children: x.code })
|
|
4562
4577
|
] }),
|
|
4563
4578
|
maxLength: b,
|
|
4564
|
-
onChange: (v) =>
|
|
4579
|
+
onChange: (v) => f(v.replace(/\D/g, "").slice(0, b)),
|
|
4565
4580
|
containerClassName: "mt-2 w-full gap-0",
|
|
4566
4581
|
wrapperClassName: "h-14 gap-2 rounded-xl px-4",
|
|
4567
4582
|
className: "text-[18px] placeholder:text-[#ced1d7]"
|
|
@@ -4582,8 +4597,8 @@ function Ll({
|
|
|
4582
4597
|
initialValue: c = "",
|
|
4583
4598
|
errorText: o = "Please enter a valid email"
|
|
4584
4599
|
}) {
|
|
4585
|
-
const [d, g] = $(c), [x, u] = $(!1),
|
|
4586
|
-
b && i(
|
|
4600
|
+
const [d, g] = $(c), [x, u] = $(!1), f = d.trim(), b = rn.test(f), p = x && f.length > 0 && !b, w = () => {
|
|
4601
|
+
b && i(f);
|
|
4587
4602
|
};
|
|
4588
4603
|
return /* @__PURE__ */ e.jsx(
|
|
4589
4604
|
ke,
|
|
@@ -4642,7 +4657,7 @@ function kl({
|
|
|
4642
4657
|
imageComponent: g,
|
|
4643
4658
|
ratingLabel: x,
|
|
4644
4659
|
bookedLabel: u,
|
|
4645
|
-
title:
|
|
4660
|
+
title: f,
|
|
4646
4661
|
description: b,
|
|
4647
4662
|
learnMoreLabel: p,
|
|
4648
4663
|
onLearnMoreClick: w,
|
|
@@ -4725,7 +4740,7 @@ function kl({
|
|
|
4725
4740
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
4726
4741
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
4727
4742
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
4728
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children:
|
|
4743
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: f }),
|
|
4729
4744
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-semibold leading-4 text-[#6B7280]", children: b })
|
|
4730
4745
|
] }),
|
|
4731
4746
|
G && p != null && /* @__PURE__ */ e.jsxs(
|
|
@@ -4844,7 +4859,7 @@ function on({
|
|
|
4844
4859
|
className: x,
|
|
4845
4860
|
isGlobal: u = !1
|
|
4846
4861
|
}) {
|
|
4847
|
-
const
|
|
4862
|
+
const f = ln(s), b = f.payButtonTemplate.replace("{amount}", o);
|
|
4848
4863
|
return /* @__PURE__ */ e.jsx(
|
|
4849
4864
|
Ie,
|
|
4850
4865
|
{
|
|
@@ -4852,11 +4867,11 @@ function on({
|
|
|
4852
4867
|
onClose: a,
|
|
4853
4868
|
showDragHandle: !1,
|
|
4854
4869
|
closeButtonOutside: !0,
|
|
4855
|
-
ariaLabel:
|
|
4856
|
-
className:
|
|
4870
|
+
ariaLabel: f.heading,
|
|
4871
|
+
className: m("rounded-t-[20px] bg-[#f7f8f9]", x),
|
|
4857
4872
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
4858
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children:
|
|
4859
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
4873
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: f.heading }),
|
|
4874
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: f.subtext })
|
|
4860
4875
|
] }),
|
|
4861
4876
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
4862
4877
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4866,7 +4881,7 @@ function on({
|
|
|
4866
4881
|
size: "lg",
|
|
4867
4882
|
className: "h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",
|
|
4868
4883
|
onClick: d,
|
|
4869
|
-
children:
|
|
4884
|
+
children: f.editDetailsLabel
|
|
4870
4885
|
}
|
|
4871
4886
|
),
|
|
4872
4887
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4882,7 +4897,7 @@ function on({
|
|
|
4882
4897
|
] }),
|
|
4883
4898
|
children: /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-4 px-4 py-3", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 rounded-lg bg-white py-3", children: [
|
|
4884
4899
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4885
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
4900
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: f.ancestorsLabel }),
|
|
4886
4901
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((p) => /* @__PURE__ */ e.jsxs(Zt, { children: [
|
|
4887
4902
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: p.value }),
|
|
4888
4903
|
p.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
@@ -4894,7 +4909,7 @@ function on({
|
|
|
4894
4909
|
] }),
|
|
4895
4910
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4896
4911
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4897
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
4912
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: f.performerLabel }),
|
|
4898
4913
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: l.filter((p) => p.trim().length > 0).map((p, w) => /* @__PURE__ */ e.jsx(Zt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
4899
4914
|
w + 1,
|
|
4900
4915
|
". ",
|
|
@@ -4904,11 +4919,11 @@ function on({
|
|
|
4904
4919
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4905
4920
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
4906
4921
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
4907
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
4922
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: f.gotraLabel }),
|
|
4908
4923
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: i })
|
|
4909
4924
|
] }),
|
|
4910
4925
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
4911
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: u ?
|
|
4926
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: u ? f.emailLabel : f.whatsappLabel }),
|
|
4912
4927
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: c })
|
|
4913
4928
|
] })
|
|
4914
4929
|
] })
|
|
@@ -4952,7 +4967,7 @@ function cn({ isOpen: t, onClose: a, onOkayClick: s, locale: n = "en", className
|
|
|
4952
4967
|
showCloseButton: !1,
|
|
4953
4968
|
showDragHandle: !1,
|
|
4954
4969
|
ariaLabel: i.heading,
|
|
4955
|
-
className:
|
|
4970
|
+
className: m("rounded-t-[20px]", l),
|
|
4956
4971
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
|
|
4957
4972
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
|
|
4958
4973
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5143,7 +5158,7 @@ function _l({
|
|
|
5143
5158
|
onPriceInfoClick: g,
|
|
5144
5159
|
showPriceInfoIcon: x = !0,
|
|
5145
5160
|
canProceed: u,
|
|
5146
|
-
copy:
|
|
5161
|
+
copy: f,
|
|
5147
5162
|
proceedCtaLabel: b,
|
|
5148
5163
|
proceedButtonProps: p,
|
|
5149
5164
|
onProceedPayment: w,
|
|
@@ -5155,8 +5170,8 @@ function _l({
|
|
|
5155
5170
|
onGotraInfoOkayClick: U,
|
|
5156
5171
|
className: I
|
|
5157
5172
|
}) {
|
|
5158
|
-
const [z, D] = $(!1), [F, G] = $(!1), _ = dn(t), L =
|
|
5159
|
-
Object.keys(_).map((C) => [C,
|
|
5173
|
+
const [z, D] = $(!1), [F, G] = $(!1), _ = dn(t), L = f ? Object.fromEntries(
|
|
5174
|
+
Object.keys(_).map((C) => [C, f[C] || _[C]])
|
|
5160
5175
|
) : _, H = wa(t), J = (C) => {
|
|
5161
5176
|
const q = xn(C + 1, t);
|
|
5162
5177
|
return C === 0 ? `*${q} ${L.kartaNameLabel}` : `${q} ${L.kartaNameLabel} ${L.kartaNameOptionalSuffix}`;
|
|
@@ -5201,7 +5216,7 @@ function _l({
|
|
|
5201
5216
|
return /* @__PURE__ */ e.jsxs(
|
|
5202
5217
|
"div",
|
|
5203
5218
|
{
|
|
5204
|
-
className:
|
|
5219
|
+
className: m(
|
|
5205
5220
|
"flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",
|
|
5206
5221
|
I
|
|
5207
5222
|
),
|
|
@@ -5281,7 +5296,7 @@ function _l({
|
|
|
5281
5296
|
showCharCount: !0,
|
|
5282
5297
|
error: O(C),
|
|
5283
5298
|
supportingText: O(C) ? L.nameMinLengthError : void 0,
|
|
5284
|
-
wrapperClassName:
|
|
5299
|
+
wrapperClassName: m(
|
|
5285
5300
|
"h-12 rounded-xl"
|
|
5286
5301
|
),
|
|
5287
5302
|
onChange: (ae) => ne(q, ae)
|
|
@@ -5340,7 +5355,7 @@ function _l({
|
|
|
5340
5355
|
role: "option",
|
|
5341
5356
|
"aria-selected": C === a.gotra,
|
|
5342
5357
|
onClick: () => je(C),
|
|
5343
|
-
className:
|
|
5358
|
+
className: m(
|
|
5344
5359
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
5345
5360
|
C === a.gotra && "bg-[#fff9e9]"
|
|
5346
5361
|
),
|
|
@@ -5508,7 +5523,7 @@ function hn({ date: t }) {
|
|
|
5508
5523
|
}
|
|
5509
5524
|
const bn = "https://srm-cdn.a4b.io/yoda/1788173590414.svg", Jt = "https://srm-cdn.a4b.io/yoda/1788173668895.svg";
|
|
5510
5525
|
function gn({ badgeLabel: t, dateLabel: a, className: s }) {
|
|
5511
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
5526
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col items-center gap-1", s), children: [
|
|
5512
5527
|
/* @__PURE__ */ e.jsxs("div", { className: "relative flex size-22.5 items-center justify-center", children: [
|
|
5513
5528
|
/* @__PURE__ */ e.jsx(
|
|
5514
5529
|
"img",
|
|
@@ -5615,11 +5630,11 @@ function Tl({
|
|
|
5615
5630
|
saveCta: d,
|
|
5616
5631
|
maxNameLength: g = Ln
|
|
5617
5632
|
}) {
|
|
5618
|
-
const [x, u] = $([""]),
|
|
5619
|
-
|
|
5633
|
+
const [x, u] = $([""]), f = () => u([""]), b = (v) => {
|
|
5634
|
+
f(), a(v);
|
|
5620
5635
|
}, p = () => {
|
|
5621
5636
|
const v = x.map((j) => j.trim()).filter(Boolean);
|
|
5622
|
-
v.length !== 0 && (s(v),
|
|
5637
|
+
v.length !== 0 && (s(v), f());
|
|
5623
5638
|
}, w = x.some((v) => v.trim().length > 0);
|
|
5624
5639
|
return /* @__PURE__ */ e.jsx(
|
|
5625
5640
|
ke,
|
|
@@ -5771,7 +5786,7 @@ function Al({
|
|
|
5771
5786
|
return /* @__PURE__ */ e.jsx(
|
|
5772
5787
|
"div",
|
|
5773
5788
|
{
|
|
5774
|
-
className:
|
|
5789
|
+
className: m(
|
|
5775
5790
|
"flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
5776
5791
|
i
|
|
5777
5792
|
),
|
|
@@ -5913,32 +5928,32 @@ const ta = {
|
|
|
5913
5928
|
helperTextClassName: g,
|
|
5914
5929
|
...x
|
|
5915
5930
|
}, u) => {
|
|
5916
|
-
const
|
|
5931
|
+
const f = Bn(t);
|
|
5917
5932
|
return /* @__PURE__ */ e.jsxs(
|
|
5918
5933
|
"div",
|
|
5919
5934
|
{
|
|
5920
5935
|
ref: u,
|
|
5921
|
-
className:
|
|
5936
|
+
className: m("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", c),
|
|
5922
5937
|
...x,
|
|
5923
5938
|
children: [
|
|
5924
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
5939
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3", o), children: [
|
|
5925
5940
|
/* @__PURE__ */ e.jsx(Me, { icon: i ?? /* @__PURE__ */ e.jsx(In, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
5926
5941
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
5927
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ??
|
|
5928
|
-
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ??
|
|
5942
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ?? f.title }),
|
|
5943
|
+
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? f.subtitle })
|
|
5929
5944
|
] })
|
|
5930
5945
|
] }),
|
|
5931
5946
|
/* @__PURE__ */ e.jsx(
|
|
5932
5947
|
"div",
|
|
5933
5948
|
{
|
|
5934
|
-
className:
|
|
5949
|
+
className: m(
|
|
5935
5950
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
5936
5951
|
d
|
|
5937
5952
|
),
|
|
5938
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ??
|
|
5953
|
+
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? f.value })
|
|
5939
5954
|
}
|
|
5940
5955
|
),
|
|
5941
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
5956
|
+
/* @__PURE__ */ e.jsx("p", { className: m("mt-3 text-sm leading-4.5 text-gray-500", g), children: l ?? f.helperText })
|
|
5942
5957
|
]
|
|
5943
5958
|
}
|
|
5944
5959
|
);
|
|
@@ -6016,7 +6031,7 @@ function Dl({
|
|
|
6016
6031
|
return /* @__PURE__ */ e.jsxs(
|
|
6017
6032
|
"div",
|
|
6018
6033
|
{
|
|
6019
|
-
className:
|
|
6034
|
+
className: m(
|
|
6020
6035
|
"relative flex w-full flex-col items-center gap-3 overflow-hidden bg-gradient-to-b from-[#FFF9E9] to-white pt-2 pb-4",
|
|
6021
6036
|
d
|
|
6022
6037
|
),
|
|
@@ -6068,25 +6083,25 @@ function Fl({
|
|
|
6068
6083
|
proceedButtonProps: x,
|
|
6069
6084
|
className: u
|
|
6070
6085
|
}) {
|
|
6071
|
-
const
|
|
6086
|
+
const f = g ?? t == null;
|
|
6072
6087
|
return /* @__PURE__ */ e.jsxs(
|
|
6073
6088
|
"div",
|
|
6074
6089
|
{
|
|
6075
|
-
className:
|
|
6090
|
+
className: m(
|
|
6076
6091
|
"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)]",
|
|
6077
6092
|
u
|
|
6078
6093
|
),
|
|
6079
6094
|
children: [
|
|
6080
6095
|
t != null && /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-start", children: [
|
|
6081
6096
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
6082
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
6097
|
+
/* @__PURE__ */ e.jsx("span", { className: m("text-lg leading-6 font-bold text-[#141414]", a), children: t }),
|
|
6083
6098
|
l && /* @__PURE__ */ e.jsx(
|
|
6084
6099
|
"button",
|
|
6085
6100
|
{
|
|
6086
6101
|
type: "button",
|
|
6087
6102
|
onClick: i,
|
|
6088
6103
|
"aria-label": "View bill details",
|
|
6089
|
-
className:
|
|
6104
|
+
className: m(
|
|
6090
6105
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
6091
6106
|
!i && "pointer-events-none"
|
|
6092
6107
|
),
|
|
@@ -6094,19 +6109,19 @@ function Fl({
|
|
|
6094
6109
|
}
|
|
6095
6110
|
)
|
|
6096
6111
|
] }),
|
|
6097
|
-
s && /* @__PURE__ */ e.jsx("p", { className:
|
|
6112
|
+
s && /* @__PURE__ */ e.jsx("p", { className: m("text-xs leading-4 text-gray-500", n), children: s })
|
|
6098
6113
|
] }),
|
|
6099
6114
|
/* @__PURE__ */ e.jsxs(
|
|
6100
6115
|
X,
|
|
6101
6116
|
{
|
|
6102
6117
|
variant: "primary",
|
|
6103
6118
|
size: "xl",
|
|
6104
|
-
disabled:
|
|
6119
|
+
disabled: f,
|
|
6105
6120
|
onClick: d,
|
|
6106
6121
|
...x,
|
|
6107
|
-
className:
|
|
6122
|
+
className: m(
|
|
6108
6123
|
"flex-1 justify-center gap-1 rounded-xl",
|
|
6109
|
-
|
|
6124
|
+
f ? "bg-none bg-gray-400" : "bg-gradient-to-b from-[#5eb98e] to-[#087955]",
|
|
6110
6125
|
x?.className
|
|
6111
6126
|
),
|
|
6112
6127
|
children: [
|