@srimandir/pitru-paksh-common 3.1.6 → 3.1.7
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,10 +1,10 @@
|
|
|
1
1
|
import { createI18n as Ga, cn as m, BottomSheet as ze, DEFAULT_COUNTRIES as Ua, getMaxLengthForCountry as sa, validatePhoneByCountryCode as ra, getFlagEmoji as Ka } from "@srimandir/common";
|
|
2
|
-
import { cn as
|
|
2
|
+
import { cn as Kl } from "@srimandir/common";
|
|
3
3
|
import * as Za from "react";
|
|
4
|
-
import
|
|
4
|
+
import _, { useState as H, useRef as Ze, useMemo as $e, useEffect as We, forwardRef as qa, Fragment as Ya } from "react";
|
|
5
5
|
import { cva as Xa } from "class-variance-authority";
|
|
6
6
|
import Qa from "react-player";
|
|
7
|
-
const
|
|
7
|
+
const qn = ["en", "hi", "kn", "te"], Ja = {
|
|
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 Kn = ["en", "hi", "kn", "te"], Ja = {
|
|
|
257
257
|
hi: es,
|
|
258
258
|
kn: ts,
|
|
259
259
|
te: as
|
|
260
|
-
}, na = Ga(rt),
|
|
260
|
+
}, na = Ga(rt), Yn = na.I18nProvider;
|
|
261
261
|
function ke() {
|
|
262
262
|
return na.useI18n();
|
|
263
263
|
}
|
|
@@ -267,21 +267,21 @@ var wt;
|
|
|
267
267
|
function ss() {
|
|
268
268
|
if (wt) return Re;
|
|
269
269
|
wt = 1;
|
|
270
|
-
var t =
|
|
271
|
-
function
|
|
272
|
-
var
|
|
273
|
-
g !== void 0 && (
|
|
274
|
-
for (
|
|
275
|
-
if (o && o.defaultProps) for (
|
|
276
|
-
return { $$typeof: a, type: o, key:
|
|
270
|
+
var t = _, a = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__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
|
+
function d(o, c, g) {
|
|
272
|
+
var f, u = {}, x = null, b = null;
|
|
273
|
+
g !== void 0 && (x = "" + g), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (b = c.ref);
|
|
274
|
+
for (f in c) n.call(c, f) && !i.hasOwnProperty(f) && (u[f] = c[f]);
|
|
275
|
+
if (o && o.defaultProps) for (f in c = o.defaultProps, c) u[f] === void 0 && (u[f] = c[f]);
|
|
276
|
+
return { $$typeof: a, type: o, key: x, ref: b, props: u, _owner: l.current };
|
|
277
277
|
}
|
|
278
|
-
return Re.Fragment = r, Re.jsx =
|
|
278
|
+
return Re.Fragment = r, Re.jsx = d, Re.jsxs = d, Re;
|
|
279
279
|
}
|
|
280
280
|
var Ee = {};
|
|
281
281
|
var Ct;
|
|
282
282
|
function rs() {
|
|
283
283
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
284
|
-
var t =
|
|
284
|
+
var t = _, a = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), d = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), f = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, C = "@@iterator";
|
|
285
285
|
function y(s) {
|
|
286
286
|
if (s === null || typeof s != "object")
|
|
287
287
|
return null;
|
|
@@ -293,27 +293,27 @@ function rs() {
|
|
|
293
293
|
{
|
|
294
294
|
for (var h = arguments.length, N = new Array(h > 1 ? h - 1 : 0), S = 1; S < h; S++)
|
|
295
295
|
N[S - 1] = arguments[S];
|
|
296
|
-
|
|
296
|
+
k("error", s, N);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function k(s, h, N) {
|
|
300
300
|
{
|
|
301
301
|
var S = j.ReactDebugCurrentFrame, z = S.getStackAddendum();
|
|
302
302
|
z !== "" && (h += "%s", N = N.concat([z]));
|
|
303
|
-
var
|
|
304
|
-
return String(
|
|
303
|
+
var F = N.map(function(O) {
|
|
304
|
+
return String(O);
|
|
305
305
|
});
|
|
306
|
-
|
|
306
|
+
F.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, F);
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
var M = !1,
|
|
310
|
-
|
|
311
|
-
function
|
|
312
|
-
return !!(typeof s == "string" || typeof s == "function" || s === n || s === i ||
|
|
309
|
+
var M = !1, K = !1, B = !1, D = !1, I = !1, V;
|
|
310
|
+
V = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
311
|
+
function W(s) {
|
|
312
|
+
return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || I || s === l || s === g || s === f || D || s === b || M || K || B || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === u || s.$$typeof === d || s.$$typeof === o || s.$$typeof === c || // 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.
|
|
316
|
-
s.$$typeof ===
|
|
316
|
+
s.$$typeof === V || s.getModuleId !== void 0));
|
|
317
317
|
}
|
|
318
318
|
function P(s, h, N) {
|
|
319
319
|
var S = s.displayName;
|
|
@@ -325,7 +325,7 @@ function rs() {
|
|
|
325
325
|
function L(s) {
|
|
326
326
|
return s.displayName || "Context";
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function $(s) {
|
|
329
329
|
if (s == null)
|
|
330
330
|
return null;
|
|
331
331
|
if (typeof s.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
@@ -343,7 +343,7 @@ function rs() {
|
|
|
343
343
|
return "StrictMode";
|
|
344
344
|
case g:
|
|
345
345
|
return "Suspense";
|
|
346
|
-
case
|
|
346
|
+
case f:
|
|
347
347
|
return "SuspenseList";
|
|
348
348
|
}
|
|
349
349
|
if (typeof s == "object")
|
|
@@ -351,18 +351,18 @@ function rs() {
|
|
|
351
351
|
case o:
|
|
352
352
|
var h = s;
|
|
353
353
|
return L(h) + ".Consumer";
|
|
354
|
-
case
|
|
354
|
+
case d:
|
|
355
355
|
var N = s;
|
|
356
356
|
return L(N._context) + ".Provider";
|
|
357
357
|
case c:
|
|
358
358
|
return P(s, s.render, "ForwardRef");
|
|
359
|
-
case
|
|
359
|
+
case u:
|
|
360
360
|
var S = s.displayName || null;
|
|
361
|
-
return S !== null ? S :
|
|
362
|
-
case
|
|
363
|
-
var z = s,
|
|
361
|
+
return S !== null ? S : $(s.type) || "Memo";
|
|
362
|
+
case x: {
|
|
363
|
+
var z = s, F = z._payload, O = z._init;
|
|
364
364
|
try {
|
|
365
|
-
return
|
|
365
|
+
return $(O(F));
|
|
366
366
|
} catch {
|
|
367
367
|
return null;
|
|
368
368
|
}
|
|
@@ -370,14 +370,14 @@ function rs() {
|
|
|
370
370
|
}
|
|
371
371
|
return null;
|
|
372
372
|
}
|
|
373
|
-
var J = Object.assign,
|
|
373
|
+
var J = Object.assign, G = 0, ne, U, ae, le, T, E, oe;
|
|
374
374
|
function de() {
|
|
375
375
|
}
|
|
376
376
|
de.__reactDisabledLog = !0;
|
|
377
377
|
function ce() {
|
|
378
378
|
{
|
|
379
|
-
if (
|
|
380
|
-
|
|
379
|
+
if (G === 0) {
|
|
380
|
+
ne = console.log, U = console.info, ae = console.warn, le = console.error, T = console.group, E = console.groupCollapsed, oe = console.groupEnd;
|
|
381
381
|
var s = {
|
|
382
382
|
configurable: !0,
|
|
383
383
|
enumerable: !0,
|
|
@@ -394,12 +394,12 @@ function rs() {
|
|
|
394
394
|
groupEnd: s
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
G++;
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function xe() {
|
|
401
401
|
{
|
|
402
|
-
if (
|
|
402
|
+
if (G--, G === 0) {
|
|
403
403
|
var s = {
|
|
404
404
|
configurable: !0,
|
|
405
405
|
enumerable: !0,
|
|
@@ -407,13 +407,13 @@ function rs() {
|
|
|
407
407
|
};
|
|
408
408
|
Object.defineProperties(console, {
|
|
409
409
|
log: J({}, s, {
|
|
410
|
-
value:
|
|
410
|
+
value: ne
|
|
411
411
|
}),
|
|
412
412
|
info: J({}, s, {
|
|
413
|
-
value:
|
|
413
|
+
value: U
|
|
414
414
|
}),
|
|
415
415
|
warn: J({}, s, {
|
|
416
|
-
value:
|
|
416
|
+
value: ae
|
|
417
417
|
}),
|
|
418
418
|
error: J({}, s, {
|
|
419
419
|
value: le
|
|
@@ -422,14 +422,14 @@ function rs() {
|
|
|
422
422
|
value: T
|
|
423
423
|
}),
|
|
424
424
|
groupCollapsed: J({}, s, {
|
|
425
|
-
value:
|
|
425
|
+
value: E
|
|
426
426
|
}),
|
|
427
427
|
groupEnd: J({}, s, {
|
|
428
428
|
value: oe
|
|
429
429
|
})
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
G < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
var be = j.ReactCurrentDispatcher, ge;
|
|
@@ -463,69 +463,69 @@ function rs() {
|
|
|
463
463
|
Se = !0;
|
|
464
464
|
var z = Error.prepareStackTrace;
|
|
465
465
|
Error.prepareStackTrace = void 0;
|
|
466
|
-
var
|
|
467
|
-
|
|
466
|
+
var F;
|
|
467
|
+
F = be.current, be.current = null, ce();
|
|
468
468
|
try {
|
|
469
469
|
if (h) {
|
|
470
|
-
var
|
|
470
|
+
var O = function() {
|
|
471
471
|
throw Error();
|
|
472
472
|
};
|
|
473
|
-
if (Object.defineProperty(
|
|
473
|
+
if (Object.defineProperty(O.prototype, "props", {
|
|
474
474
|
set: function() {
|
|
475
475
|
throw Error();
|
|
476
476
|
}
|
|
477
477
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
478
478
|
try {
|
|
479
|
-
Reflect.construct(
|
|
480
|
-
} catch (
|
|
481
|
-
S =
|
|
479
|
+
Reflect.construct(O, []);
|
|
480
|
+
} catch (re) {
|
|
481
|
+
S = re;
|
|
482
482
|
}
|
|
483
|
-
Reflect.construct(s, [],
|
|
483
|
+
Reflect.construct(s, [], O);
|
|
484
484
|
} else {
|
|
485
485
|
try {
|
|
486
|
-
|
|
487
|
-
} catch (
|
|
488
|
-
S =
|
|
486
|
+
O.call();
|
|
487
|
+
} catch (re) {
|
|
488
|
+
S = re;
|
|
489
489
|
}
|
|
490
|
-
s.call(
|
|
490
|
+
s.call(O.prototype);
|
|
491
491
|
}
|
|
492
492
|
} else {
|
|
493
493
|
try {
|
|
494
494
|
throw Error();
|
|
495
|
-
} catch (
|
|
496
|
-
S =
|
|
495
|
+
} catch (re) {
|
|
496
|
+
S = re;
|
|
497
497
|
}
|
|
498
498
|
s();
|
|
499
499
|
}
|
|
500
|
-
} catch (
|
|
501
|
-
if (
|
|
502
|
-
for (var R =
|
|
500
|
+
} catch (re) {
|
|
501
|
+
if (re && S && typeof re.stack == "string") {
|
|
502
|
+
for (var R = re.stack.split(`
|
|
503
503
|
`), te = S.stack.split(`
|
|
504
|
-
`), Z = R.length - 1,
|
|
505
|
-
|
|
506
|
-
for (; Z >= 1 &&
|
|
507
|
-
if (R[Z] !== te[
|
|
508
|
-
if (Z !== 1 ||
|
|
504
|
+
`), Z = R.length - 1, q = te.length - 1; Z >= 1 && q >= 0 && R[Z] !== te[q]; )
|
|
505
|
+
q--;
|
|
506
|
+
for (; Z >= 1 && q >= 0; Z--, q--)
|
|
507
|
+
if (R[Z] !== te[q]) {
|
|
508
|
+
if (Z !== 1 || q !== 1)
|
|
509
509
|
do
|
|
510
|
-
if (Z--,
|
|
510
|
+
if (Z--, q--, q < 0 || R[Z] !== te[q]) {
|
|
511
511
|
var ie = `
|
|
512
512
|
` + R[Z].replace(" at new ", " at ");
|
|
513
513
|
return s.displayName && ie.includes("<anonymous>") && (ie = ie.replace("<anonymous>", s.displayName)), typeof s == "function" && fe.set(s, ie), ie;
|
|
514
514
|
}
|
|
515
|
-
while (Z >= 1 &&
|
|
515
|
+
while (Z >= 1 && q >= 0);
|
|
516
516
|
break;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
} finally {
|
|
520
|
-
Se = !1, be.current =
|
|
520
|
+
Se = !1, be.current = F, xe(), Error.prepareStackTrace = z;
|
|
521
521
|
}
|
|
522
522
|
var we = s ? s.displayName || s.name : "", pe = we ? je(we) : "";
|
|
523
523
|
return typeof s == "function" && fe.set(s, pe), pe;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function qe(s, h, N) {
|
|
526
526
|
return Te(s, !1);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Ye(s) {
|
|
529
529
|
var h = s.prototype;
|
|
530
530
|
return !!(h && h.isReactComponent);
|
|
531
531
|
}
|
|
@@ -533,25 +533,25 @@ function rs() {
|
|
|
533
533
|
if (s == null)
|
|
534
534
|
return "";
|
|
535
535
|
if (typeof s == "function")
|
|
536
|
-
return Te(s,
|
|
536
|
+
return Te(s, Ye(s));
|
|
537
537
|
if (typeof s == "string")
|
|
538
538
|
return je(s);
|
|
539
539
|
switch (s) {
|
|
540
540
|
case g:
|
|
541
541
|
return je("Suspense");
|
|
542
|
-
case
|
|
542
|
+
case f:
|
|
543
543
|
return je("SuspenseList");
|
|
544
544
|
}
|
|
545
545
|
if (typeof s == "object")
|
|
546
546
|
switch (s.$$typeof) {
|
|
547
547
|
case c:
|
|
548
|
-
return
|
|
549
|
-
case
|
|
548
|
+
return qe(s.render);
|
|
549
|
+
case u:
|
|
550
550
|
return ve(s.type, h, N);
|
|
551
|
-
case
|
|
552
|
-
var S = s, z = S._payload,
|
|
551
|
+
case x: {
|
|
552
|
+
var S = s, z = S._payload, F = S._init;
|
|
553
553
|
try {
|
|
554
|
-
return ve(
|
|
554
|
+
return ve(F(z), h, N);
|
|
555
555
|
} catch {
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -568,26 +568,26 @@ function rs() {
|
|
|
568
568
|
}
|
|
569
569
|
function w(s, h, N, S, z) {
|
|
570
570
|
{
|
|
571
|
-
var
|
|
572
|
-
for (var
|
|
573
|
-
if (
|
|
571
|
+
var F = Function.call.bind(me);
|
|
572
|
+
for (var O in s)
|
|
573
|
+
if (F(s, O)) {
|
|
574
574
|
var R = void 0;
|
|
575
575
|
try {
|
|
576
|
-
if (typeof s[
|
|
577
|
-
var te = Error((S || "React class") + ": " + N + " type `" +
|
|
576
|
+
if (typeof s[O] != "function") {
|
|
577
|
+
var te = Error((S || "React class") + ": " + N + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
578
578
|
throw te.name = "Invariant Violation", te;
|
|
579
579
|
}
|
|
580
|
-
R = s[
|
|
580
|
+
R = s[O](h, O, S, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
581
581
|
} catch (Z) {
|
|
582
582
|
R = Z;
|
|
583
583
|
}
|
|
584
|
-
R && !(R instanceof Error) && (ye(z), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", N,
|
|
584
|
+
R && !(R instanceof Error) && (ye(z), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", N, O, typeof R), ye(null)), R instanceof Error && !(R.message in Be) && (Be[R.message] = !0, ye(z), v("Failed %s type: %s", N, R.message), ye(null));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
function
|
|
590
|
-
return
|
|
588
|
+
var Y = Array.isArray;
|
|
589
|
+
function se(s) {
|
|
590
|
+
return Y(s);
|
|
591
591
|
}
|
|
592
592
|
function La(s) {
|
|
593
593
|
{
|
|
@@ -656,7 +656,7 @@ function rs() {
|
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
var Aa = function(s, h, N, S, z,
|
|
659
|
+
var Aa = function(s, h, N, S, z, F, O) {
|
|
660
660
|
var R = {
|
|
661
661
|
// This tag allows us to uniquely identify this as a React Element
|
|
662
662
|
$$typeof: a,
|
|
@@ -664,9 +664,9 @@ function rs() {
|
|
|
664
664
|
type: s,
|
|
665
665
|
key: h,
|
|
666
666
|
ref: N,
|
|
667
|
-
props:
|
|
667
|
+
props: O,
|
|
668
668
|
// Record the component responsible for creating this element.
|
|
669
|
-
_owner:
|
|
669
|
+
_owner: F
|
|
670
670
|
};
|
|
671
671
|
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
672
672
|
configurable: !1,
|
|
@@ -687,20 +687,20 @@ function rs() {
|
|
|
687
687
|
};
|
|
688
688
|
function Oa(s, h, N, S, z) {
|
|
689
689
|
{
|
|
690
|
-
var
|
|
690
|
+
var F, O = {}, R = null, te = null;
|
|
691
691
|
N !== void 0 && (ut(N), R = "" + N), Sa(h) && (ut(h.key), R = "" + h.key), Pa(h) && (te = h.ref, Ta(h, z));
|
|
692
|
-
for (
|
|
693
|
-
me.call(h,
|
|
692
|
+
for (F in h)
|
|
693
|
+
me.call(h, F) && !_a.hasOwnProperty(F) && (O[F] = h[F]);
|
|
694
694
|
if (s && s.defaultProps) {
|
|
695
695
|
var Z = s.defaultProps;
|
|
696
|
-
for (
|
|
697
|
-
|
|
696
|
+
for (F in Z)
|
|
697
|
+
O[F] === void 0 && (O[F] = Z[F]);
|
|
698
698
|
}
|
|
699
699
|
if (R || te) {
|
|
700
|
-
var
|
|
701
|
-
R && Ra(
|
|
700
|
+
var q = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
701
|
+
R && Ra(O, q), te && Ea(O, q);
|
|
702
702
|
}
|
|
703
|
-
return Aa(s, R, te, z, S, xt.current,
|
|
703
|
+
return Aa(s, R, te, z, S, xt.current, O);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
706
|
var Xe = j.ReactCurrentOwner, pt = j.ReactDebugCurrentFrame;
|
|
@@ -719,7 +719,7 @@ function rs() {
|
|
|
719
719
|
function ht() {
|
|
720
720
|
{
|
|
721
721
|
if (Xe.current) {
|
|
722
|
-
var s =
|
|
722
|
+
var s = $(Xe.current.type);
|
|
723
723
|
if (s)
|
|
724
724
|
return `
|
|
725
725
|
|
|
@@ -754,14 +754,14 @@ Check the top-level render call using <` + N + ">.");
|
|
|
754
754
|
return;
|
|
755
755
|
bt[N] = !0;
|
|
756
756
|
var S = "";
|
|
757
|
-
s && s._owner && s._owner !== Xe.current && (S = " It was passed a child from " +
|
|
757
|
+
s && s._owner && s._owner !== Xe.current && (S = " It was passed a child from " + $(s._owner.type) + "."), Ne(s), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, S), Ne(null);
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
function jt(s, h) {
|
|
761
761
|
{
|
|
762
762
|
if (typeof s != "object")
|
|
763
763
|
return;
|
|
764
|
-
if (
|
|
764
|
+
if (se(s))
|
|
765
765
|
for (var N = 0; N < s.length; N++) {
|
|
766
766
|
var S = s[N];
|
|
767
767
|
Je(S) && gt(S, h);
|
|
@@ -771,8 +771,8 @@ Check the top-level render call using <` + N + ">.");
|
|
|
771
771
|
else if (s) {
|
|
772
772
|
var z = y(s);
|
|
773
773
|
if (typeof z == "function" && z !== s.entries)
|
|
774
|
-
for (var
|
|
775
|
-
Je(
|
|
774
|
+
for (var F = z.call(s), O; !(O = F.next()).done; )
|
|
775
|
+
Je(O.value) && gt(O.value, h);
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
}
|
|
@@ -786,16 +786,16 @@ Check the top-level render call using <` + N + ">.");
|
|
|
786
786
|
N = h.propTypes;
|
|
787
787
|
else if (typeof h == "object" && (h.$$typeof === c || // Note: Memo only checks outer props here.
|
|
788
788
|
// Inner props are checked in the reconciler.
|
|
789
|
-
h.$$typeof ===
|
|
789
|
+
h.$$typeof === u))
|
|
790
790
|
N = h.propTypes;
|
|
791
791
|
else
|
|
792
792
|
return;
|
|
793
793
|
if (N) {
|
|
794
|
-
var S =
|
|
794
|
+
var S = $(h);
|
|
795
795
|
w(N, s.props, "prop", S, s);
|
|
796
796
|
} else if (h.PropTypes !== void 0 && !Qe) {
|
|
797
797
|
Qe = !0;
|
|
798
|
-
var z =
|
|
798
|
+
var z = $(h);
|
|
799
799
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
800
800
|
}
|
|
801
801
|
typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -814,25 +814,25 @@ Check the top-level render call using <` + N + ">.");
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
var vt = {};
|
|
817
|
-
function yt(s, h, N, S, z,
|
|
817
|
+
function yt(s, h, N, S, z, F) {
|
|
818
818
|
{
|
|
819
|
-
var
|
|
820
|
-
if (!
|
|
819
|
+
var O = W(s);
|
|
820
|
+
if (!O) {
|
|
821
821
|
var R = "";
|
|
822
822
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
823
823
|
var te = Ma();
|
|
824
824
|
te ? R += te : R += ht();
|
|
825
825
|
var Z;
|
|
826
|
-
s === null ? Z = "null" :
|
|
826
|
+
s === null ? Z = "null" : se(s) ? Z = "array" : s !== void 0 && s.$$typeof === a ? (Z = "<" + ($(s.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : Z = typeof s, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Z, R);
|
|
827
827
|
}
|
|
828
|
-
var
|
|
829
|
-
if (
|
|
830
|
-
return
|
|
831
|
-
if (
|
|
828
|
+
var q = Oa(s, h, N, z, F);
|
|
829
|
+
if (q == null)
|
|
830
|
+
return q;
|
|
831
|
+
if (O) {
|
|
832
832
|
var ie = h.children;
|
|
833
833
|
if (ie !== void 0)
|
|
834
834
|
if (S)
|
|
835
|
-
if (
|
|
835
|
+
if (se(ie)) {
|
|
836
836
|
for (var we = 0; we < ie.length; we++)
|
|
837
837
|
jt(ie[we], s);
|
|
838
838
|
Object.freeze && Object.freeze(ie);
|
|
@@ -842,11 +842,11 @@ Check the top-level render call using <` + N + ">.");
|
|
|
842
842
|
jt(ie, s);
|
|
843
843
|
}
|
|
844
844
|
if (me.call(h, "key")) {
|
|
845
|
-
var pe =
|
|
845
|
+
var pe = $(s), re = Object.keys(h).filter(function(Wa) {
|
|
846
846
|
return Wa !== "key";
|
|
847
|
-
}), et =
|
|
847
|
+
}), et = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
848
848
|
if (!vt[pe + et]) {
|
|
849
|
-
var $a =
|
|
849
|
+
var $a = re.length > 0 ? "{" + re.join(": ..., ") + ": ...}" : "{}";
|
|
850
850
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
851
851
|
let props = %s;
|
|
852
852
|
<%s {...props} />
|
|
@@ -855,7 +855,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
855
855
|
<%s key={someKey} {...props} />`, et, pe, $a, pe), vt[pe + et] = !0;
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
return s === n ? Ba(
|
|
858
|
+
return s === n ? Ba(q) : Ia(q), q;
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
function Da(s, h, N) {
|
|
@@ -878,7 +878,7 @@ var e = ns(), la = {
|
|
|
878
878
|
className: void 0,
|
|
879
879
|
style: void 0,
|
|
880
880
|
attr: void 0
|
|
881
|
-
}, kt =
|
|
881
|
+
}, kt = _.createContext && /* @__PURE__ */ _.createContext(la), ls = ["attr", "size", "title"];
|
|
882
882
|
function is(t, a) {
|
|
883
883
|
if (t == null) return {};
|
|
884
884
|
var r, n, l = os(t, a);
|
|
@@ -945,23 +945,23 @@ function us(t, a) {
|
|
|
945
945
|
return (a === "string" ? String : Number)(t);
|
|
946
946
|
}
|
|
947
947
|
function ia(t) {
|
|
948
|
-
return t && t.map((a, r) => /* @__PURE__ */
|
|
948
|
+
return t && t.map((a, r) => /* @__PURE__ */ _.createElement(a.tag, Ue({
|
|
949
949
|
key: r
|
|
950
950
|
}, a.attr), ia(a.child)));
|
|
951
951
|
}
|
|
952
|
-
function
|
|
953
|
-
return (a) => /* @__PURE__ */
|
|
952
|
+
function A(t) {
|
|
953
|
+
return (a) => /* @__PURE__ */ _.createElement(xs, Ge({
|
|
954
954
|
attr: Ue({}, t.attr)
|
|
955
955
|
}, a), ia(t.child));
|
|
956
956
|
}
|
|
957
957
|
function xs(t) {
|
|
958
958
|
var a = (r) => {
|
|
959
|
-
var n = t.attr, l = t.size, i = t.title,
|
|
960
|
-
return r.className && (c = r.className), t.className && (c = (c ? c + " " : "") + t.className), /* @__PURE__ */
|
|
959
|
+
var n = t.attr, l = t.size, i = t.title, d = is(t, ls), o = l || r.size || "1em", c;
|
|
960
|
+
return r.className && (c = r.className), t.className && (c = (c ? c + " " : "") + t.className), /* @__PURE__ */ _.createElement("svg", Ge({
|
|
961
961
|
stroke: "currentColor",
|
|
962
962
|
fill: "currentColor",
|
|
963
963
|
strokeWidth: "0"
|
|
964
|
-
}, r.attr, n,
|
|
964
|
+
}, r.attr, n, d, {
|
|
965
965
|
className: c,
|
|
966
966
|
style: Ue(Ue({
|
|
967
967
|
color: t.color || r.color
|
|
@@ -969,36 +969,36 @@ function xs(t) {
|
|
|
969
969
|
height: o,
|
|
970
970
|
width: o,
|
|
971
971
|
xmlns: "http://www.w3.org/2000/svg"
|
|
972
|
-
}), i && /* @__PURE__ */
|
|
972
|
+
}), i && /* @__PURE__ */ _.createElement("title", null, i), t.children);
|
|
973
973
|
};
|
|
974
|
-
return kt !== void 0 ? /* @__PURE__ */
|
|
974
|
+
return kt !== void 0 ? /* @__PURE__ */ _.createElement(kt.Consumer, null, (r) => a(r)) : a(la);
|
|
975
975
|
}
|
|
976
976
|
function fs(t) {
|
|
977
|
-
return
|
|
977
|
+
return A({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(t);
|
|
978
978
|
}
|
|
979
979
|
function ms(t) {
|
|
980
|
-
return
|
|
980
|
+
return A({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z" }, child: [] }] })(t);
|
|
981
981
|
}
|
|
982
982
|
function ps(t) {
|
|
983
|
-
return
|
|
983
|
+
return A({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440" }, child: [] }] })(t);
|
|
984
984
|
}
|
|
985
985
|
function oa(t) {
|
|
986
|
-
return
|
|
986
|
+
return A({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(t);
|
|
987
987
|
}
|
|
988
988
|
function hs(t) {
|
|
989
|
-
return
|
|
989
|
+
return A({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z" }, child: [] }] })(t);
|
|
990
990
|
}
|
|
991
991
|
function bs(t) {
|
|
992
|
-
return
|
|
992
|
+
return A({ 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 Xn({
|
|
995
995
|
isOpen: t,
|
|
996
996
|
onClose: a,
|
|
997
997
|
closeButtonAriaLabel: r = "Close",
|
|
998
998
|
heading: n,
|
|
999
999
|
items: l,
|
|
1000
1000
|
totalLabel: i,
|
|
1001
|
-
totalAmount:
|
|
1001
|
+
totalAmount: d
|
|
1002
1002
|
}) {
|
|
1003
1003
|
return t ? /* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-[1200] mx-auto flex w-full max-w-md items-end justify-center", children: [
|
|
1004
1004
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1057,7 +1057,7 @@ function Yn({
|
|
|
1057
1057
|
)),
|
|
1058
1058
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between border-t border-gray-200 pt-3", children: [
|
|
1059
1059
|
/* @__PURE__ */ e.jsx("p", { className: "text-base font-bold leading-[22px] text-[#22272b]", children: i }),
|
|
1060
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xl font-bold leading-7 text-[#159169]", children:
|
|
1060
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xl font-bold leading-7 text-[#159169]", children: d })
|
|
1061
1061
|
] })
|
|
1062
1062
|
] })
|
|
1063
1063
|
] })
|
|
@@ -1082,13 +1082,13 @@ function ys({
|
|
|
1082
1082
|
children: n,
|
|
1083
1083
|
className: l = "",
|
|
1084
1084
|
style: i,
|
|
1085
|
-
type:
|
|
1085
|
+
type: d = "button",
|
|
1086
1086
|
...o
|
|
1087
1087
|
}) {
|
|
1088
1088
|
return /* @__PURE__ */ e.jsxs(
|
|
1089
1089
|
"button",
|
|
1090
1090
|
{
|
|
1091
|
-
type:
|
|
1091
|
+
type: d,
|
|
1092
1092
|
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${js[a]} ${gs[t]} ${l}`,
|
|
1093
1093
|
style: { ...vs[t], ...i },
|
|
1094
1094
|
...o,
|
|
@@ -1099,7 +1099,7 @@ function ys({
|
|
|
1099
1099
|
}
|
|
1100
1100
|
);
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function Qn({ 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 qn({ className: t = "size-5" }) {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
) });
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Jn({ 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
|
{
|
|
@@ -1125,7 +1125,7 @@ function Ns({
|
|
|
1125
1125
|
highlightedNames: n,
|
|
1126
1126
|
messageSuffix: l = "",
|
|
1127
1127
|
confirmLabel: i,
|
|
1128
|
-
cancelLabel:
|
|
1128
|
+
cancelLabel: d,
|
|
1129
1129
|
onConfirm: o,
|
|
1130
1130
|
onCancel: c
|
|
1131
1131
|
}) {
|
|
@@ -1134,7 +1134,7 @@ function Ns({
|
|
|
1134
1134
|
"button",
|
|
1135
1135
|
{
|
|
1136
1136
|
type: "button",
|
|
1137
|
-
"aria-label":
|
|
1137
|
+
"aria-label": d,
|
|
1138
1138
|
onClick: c,
|
|
1139
1139
|
className: "absolute inset-0 border-0 p-0",
|
|
1140
1140
|
style: { backgroundColor: "rgba(0, 0, 0, 0.5)" }
|
|
@@ -1188,32 +1188,32 @@ function Ns({
|
|
|
1188
1188
|
style: {
|
|
1189
1189
|
backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)"
|
|
1190
1190
|
},
|
|
1191
|
-
children:
|
|
1191
|
+
children: d
|
|
1192
1192
|
}
|
|
1193
1193
|
)
|
|
1194
1194
|
] })
|
|
1195
1195
|
] })
|
|
1196
1196
|
] }) : null;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function el({
|
|
1199
1199
|
isOpen: t,
|
|
1200
1200
|
onClose: a,
|
|
1201
1201
|
avatarUrl: r = da,
|
|
1202
1202
|
question: n,
|
|
1203
1203
|
ancestors: l,
|
|
1204
1204
|
onToggle: i,
|
|
1205
|
-
confirmLabel:
|
|
1205
|
+
confirmLabel: d,
|
|
1206
1206
|
onConfirmClick: o,
|
|
1207
1207
|
addAgainLabel: c,
|
|
1208
1208
|
removeLabel: g,
|
|
1209
|
-
removeWarningMessagePrefix:
|
|
1210
|
-
removeWarningMessageSuffix:
|
|
1211
|
-
removeWarningConfirmLabel:
|
|
1209
|
+
removeWarningMessagePrefix: f,
|
|
1210
|
+
removeWarningMessageSuffix: u = "?",
|
|
1211
|
+
removeWarningConfirmLabel: x,
|
|
1212
1212
|
removeWarningCancelLabel: b,
|
|
1213
1213
|
onRemoveWarningShown: p,
|
|
1214
1214
|
onRemoveWarningCancel: C
|
|
1215
1215
|
}) {
|
|
1216
|
-
const [y, j] =
|
|
1216
|
+
const [y, j] = H(null);
|
|
1217
1217
|
if (!t)
|
|
1218
1218
|
return null;
|
|
1219
1219
|
const v = y != null ? l[y] : null;
|
|
@@ -1223,7 +1223,7 @@ function Qn({
|
|
|
1223
1223
|
"button",
|
|
1224
1224
|
{
|
|
1225
1225
|
type: "button",
|
|
1226
|
-
"aria-label":
|
|
1226
|
+
"aria-label": d,
|
|
1227
1227
|
onClick: a,
|
|
1228
1228
|
className: "absolute inset-0 border-0 p-0",
|
|
1229
1229
|
style: { backgroundColor: "rgba(0, 0, 0, 0.5)" }
|
|
@@ -1254,7 +1254,7 @@ function Qn({
|
|
|
1254
1254
|
}
|
|
1255
1255
|
),
|
|
1256
1256
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-base font-semibold leading-[22px] text-gray-700", children: n }),
|
|
1257
|
-
/* @__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((
|
|
1257
|
+
/* @__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((k, M) => /* @__PURE__ */ e.jsxs(
|
|
1258
1258
|
"div",
|
|
1259
1259
|
{
|
|
1260
1260
|
className: "flex w-full items-center justify-between gap-3",
|
|
@@ -1262,20 +1262,20 @@ function Qn({
|
|
|
1262
1262
|
/* @__PURE__ */ e.jsxs(
|
|
1263
1263
|
"p",
|
|
1264
1264
|
{
|
|
1265
|
-
className: `min-w-0 flex-1 text-base font-semibold leading-[22px] ${
|
|
1265
|
+
className: `min-w-0 flex-1 text-base font-semibold leading-[22px] ${k.isActive ? "text-[#22272b]" : "text-[#22272b]/50"}`,
|
|
1266
1266
|
children: [
|
|
1267
|
-
|
|
1267
|
+
k.name,
|
|
1268
1268
|
" ",
|
|
1269
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-xs font-medium leading-4 text-gray-500", children:
|
|
1269
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-xs font-medium leading-4 text-gray-500", children: k.tithi })
|
|
1270
1270
|
]
|
|
1271
1271
|
}
|
|
1272
1272
|
),
|
|
1273
|
-
|
|
1273
|
+
k.isActive ? /* @__PURE__ */ e.jsxs(
|
|
1274
1274
|
"button",
|
|
1275
1275
|
{
|
|
1276
1276
|
type: "button",
|
|
1277
1277
|
onClick: () => {
|
|
1278
|
-
j(M), p?.(
|
|
1278
|
+
j(M), p?.(k);
|
|
1279
1279
|
},
|
|
1280
1280
|
className: "flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-gray-500 underline",
|
|
1281
1281
|
children: [
|
|
@@ -1297,7 +1297,7 @@ function Qn({
|
|
|
1297
1297
|
)
|
|
1298
1298
|
]
|
|
1299
1299
|
},
|
|
1300
|
-
|
|
1300
|
+
k.id
|
|
1301
1301
|
)) }),
|
|
1302
1302
|
/* @__PURE__ */ e.jsx(
|
|
1303
1303
|
ys,
|
|
@@ -1306,7 +1306,7 @@ function Qn({
|
|
|
1306
1306
|
size: "lg",
|
|
1307
1307
|
className: "w-full",
|
|
1308
1308
|
onClick: o,
|
|
1309
|
-
children:
|
|
1309
|
+
children: d
|
|
1310
1310
|
}
|
|
1311
1311
|
)
|
|
1312
1312
|
] })
|
|
@@ -1316,10 +1316,10 @@ function Qn({
|
|
|
1316
1316
|
{
|
|
1317
1317
|
isOpen: v != null,
|
|
1318
1318
|
avatarUrl: r,
|
|
1319
|
-
messagePrefix:
|
|
1319
|
+
messagePrefix: f,
|
|
1320
1320
|
highlightedNames: v ? v.name : "",
|
|
1321
|
-
messageSuffix:
|
|
1322
|
-
confirmLabel:
|
|
1321
|
+
messageSuffix: u,
|
|
1322
|
+
confirmLabel: x,
|
|
1323
1323
|
cancelLabel: b,
|
|
1324
1324
|
onConfirm: () => {
|
|
1325
1325
|
y != null && i(y), j(null);
|
|
@@ -1332,51 +1332,51 @@ function Qn({
|
|
|
1332
1332
|
] });
|
|
1333
1333
|
}
|
|
1334
1334
|
function ws(t) {
|
|
1335
|
-
return
|
|
1335
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "18", y1: "6", x2: "6", y2: "18" }, child: [] }, { tag: "line", attr: { x1: "6", y1: "6", x2: "18", y2: "18" }, child: [] }] })(t);
|
|
1336
1336
|
}
|
|
1337
1337
|
function Cs(t) {
|
|
1338
|
-
return
|
|
1338
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }] })(t);
|
|
1339
1339
|
}
|
|
1340
1340
|
function Pt(t) {
|
|
1341
|
-
return
|
|
1341
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "12", y1: "5", x2: "12", y2: "19" }, child: [] }, { tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
|
|
1342
1342
|
}
|
|
1343
1343
|
function Ls(t) {
|
|
1344
|
-
return
|
|
1344
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12", y2: "16" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "12", x2: "16", y2: "12" }, child: [] }] })(t);
|
|
1345
1345
|
}
|
|
1346
1346
|
function ks(t) {
|
|
1347
|
-
return
|
|
1347
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
|
|
1348
1348
|
}
|
|
1349
1349
|
function he(t) {
|
|
1350
|
-
return
|
|
1350
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(t);
|
|
1351
1351
|
}
|
|
1352
1352
|
function ua(t) {
|
|
1353
|
-
return
|
|
1353
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(t);
|
|
1354
1354
|
}
|
|
1355
1355
|
function _s(t) {
|
|
1356
|
-
return
|
|
1356
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "18 15 12 9 6 15" }, child: [] }] })(t);
|
|
1357
1357
|
}
|
|
1358
1358
|
function Ps(t) {
|
|
1359
|
-
return
|
|
1359
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(t);
|
|
1360
1360
|
}
|
|
1361
1361
|
function Oe(t) {
|
|
1362
|
-
return
|
|
1362
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "6 9 12 15 18 9" }, child: [] }] })(t);
|
|
1363
1363
|
}
|
|
1364
1364
|
function nt(t) {
|
|
1365
|
-
return
|
|
1365
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(t);
|
|
1366
1366
|
}
|
|
1367
1367
|
function Ss(t) {
|
|
1368
|
-
return
|
|
1368
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 11 12 14 22 4" }, child: [] }, { tag: "path", attr: { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" }, child: [] }] })(t);
|
|
1369
1369
|
}
|
|
1370
1370
|
function xa(t) {
|
|
1371
|
-
return
|
|
1371
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(t);
|
|
1372
1372
|
}
|
|
1373
1373
|
function _e(t) {
|
|
1374
|
-
return
|
|
1374
|
+
return A({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(t);
|
|
1375
1375
|
}
|
|
1376
1376
|
function lt(t) {
|
|
1377
|
-
return
|
|
1377
|
+
return A({ 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);
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function tl({
|
|
1380
1380
|
totalPrice: t,
|
|
1381
1381
|
ritualCountLabel: a,
|
|
1382
1382
|
proceedLabel: r,
|
|
@@ -1384,7 +1384,7 @@ function Jn({
|
|
|
1384
1384
|
onProceedClick: l,
|
|
1385
1385
|
disabled: i
|
|
1386
1386
|
}) {
|
|
1387
|
-
const { t:
|
|
1387
|
+
const { t: d } = ke();
|
|
1388
1388
|
return /* @__PURE__ */ e.jsxs(
|
|
1389
1389
|
"div",
|
|
1390
1390
|
{
|
|
@@ -1402,7 +1402,7 @@ function Jn({
|
|
|
1402
1402
|
type: "button",
|
|
1403
1403
|
className: "flex size-[18px] shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1404
1404
|
onClick: n,
|
|
1405
|
-
"aria-label":
|
|
1405
|
+
"aria-label": d("outcomeStickyCtaPriceInfoAriaLabel"),
|
|
1406
1406
|
children: /* @__PURE__ */ e.jsx(he, { "aria-hidden": !0, className: "size-full text-[#E6327A]" })
|
|
1407
1407
|
}
|
|
1408
1408
|
)
|
|
@@ -1420,7 +1420,7 @@ function Jn({
|
|
|
1420
1420
|
backgroundImage: "linear-gradient(to bottom, #5eb98e, #087955)"
|
|
1421
1421
|
},
|
|
1422
1422
|
children: [
|
|
1423
|
-
r ??
|
|
1423
|
+
r ?? d("outcomeStickyCtaProceedLabel"),
|
|
1424
1424
|
/* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0, className: "size-[18px] text-white" })
|
|
1425
1425
|
]
|
|
1426
1426
|
}
|
|
@@ -1430,7 +1430,7 @@ function Jn({
|
|
|
1430
1430
|
);
|
|
1431
1431
|
}
|
|
1432
1432
|
const Ts = "https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";
|
|
1433
|
-
function
|
|
1433
|
+
function al() {
|
|
1434
1434
|
const { t } = ke();
|
|
1435
1435
|
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: [
|
|
1436
1436
|
/* @__PURE__ */ e.jsx("img", { src: Ts, alt: "", "aria-hidden": !0, className: "size-6" }),
|
|
@@ -1441,7 +1441,7 @@ function el() {
|
|
|
1441
1441
|
] });
|
|
1442
1442
|
}
|
|
1443
1443
|
const Rs = "https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp", Es = "https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp", St = "https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg", As = "linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";
|
|
1444
|
-
function
|
|
1444
|
+
function sl() {
|
|
1445
1445
|
const { t } = ke();
|
|
1446
1446
|
return /* @__PURE__ */ e.jsxs(
|
|
1447
1447
|
"section",
|
|
@@ -1534,7 +1534,7 @@ const Tt = "https://srm-cdn.a4b.io/yoda/1788322995409.svg", Rt = "https://srm-cd
|
|
|
1534
1534
|
labelKey: "whySriMandirSupportLabel"
|
|
1535
1535
|
}
|
|
1536
1536
|
];
|
|
1537
|
-
function
|
|
1537
|
+
function rl() {
|
|
1538
1538
|
const { t } = ke();
|
|
1539
1539
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center justify-center gap-5 px-4 py-8", children: [
|
|
1540
1540
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
@@ -1621,7 +1621,7 @@ const Et = "https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg", At = "https://s
|
|
|
1621
1621
|
isVideo: !0
|
|
1622
1622
|
}
|
|
1623
1623
|
];
|
|
1624
|
-
function
|
|
1624
|
+
function nl() {
|
|
1625
1625
|
const { t } = ke();
|
|
1626
1626
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-4 py-4", children: [
|
|
1627
1627
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2 px-4", children: [
|
|
@@ -1672,7 +1672,7 @@ function sl() {
|
|
|
1672
1672
|
] });
|
|
1673
1673
|
}
|
|
1674
1674
|
const Us = "https://srm-cdn.a4b.io/yoda/1788253585577.svg", Ks = "https://srm-cdn.a4b.io/yoda/1788323562516.svg";
|
|
1675
|
-
function
|
|
1675
|
+
function ll({
|
|
1676
1676
|
images: t,
|
|
1677
1677
|
useCase: a,
|
|
1678
1678
|
title: r,
|
|
@@ -1680,12 +1680,12 @@ function rl({
|
|
|
1680
1680
|
dateLabel: l,
|
|
1681
1681
|
locationLabel: i
|
|
1682
1682
|
}) {
|
|
1683
|
-
const [
|
|
1684
|
-
const
|
|
1685
|
-
if (!
|
|
1683
|
+
const [d, o] = H(0), c = Ze(null), g = () => {
|
|
1684
|
+
const f = c.current;
|
|
1685
|
+
if (!f || f.children.length === 0)
|
|
1686
1686
|
return;
|
|
1687
|
-
const
|
|
1688
|
-
o(Math.round(
|
|
1687
|
+
const u = f.children[0].offsetWidth + 16;
|
|
1688
|
+
o(Math.round(f.scrollLeft / u));
|
|
1689
1689
|
};
|
|
1690
1690
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4", children: [
|
|
1691
1691
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1694,24 +1694,24 @@ function rl({
|
|
|
1694
1694
|
ref: c,
|
|
1695
1695
|
onScroll: g,
|
|
1696
1696
|
className: `flex w-full snap-x snap-mandatory gap-4 overflow-x-auto ${t.length === 1 ? "justify-center" : ""}`,
|
|
1697
|
-
children: t.map((
|
|
1697
|
+
children: t.map((f, u) => /* @__PURE__ */ e.jsx(
|
|
1698
1698
|
"img",
|
|
1699
1699
|
{
|
|
1700
|
-
src:
|
|
1700
|
+
src: f,
|
|
1701
1701
|
alt: "",
|
|
1702
|
-
"aria-hidden":
|
|
1702
|
+
"aria-hidden": u !== 0,
|
|
1703
1703
|
className: `h-52 shrink-0 snap-center rounded-2xl object-cover ${t.length === 1 ? "w-full" : "w-78"}`
|
|
1704
1704
|
},
|
|
1705
|
-
`${
|
|
1705
|
+
`${f}-${u}`
|
|
1706
1706
|
))
|
|
1707
1707
|
}
|
|
1708
1708
|
),
|
|
1709
|
-
t.length > 1 && /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-center justify-center gap-1.5", children: t.map((
|
|
1709
|
+
t.length > 1 && /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-center justify-center gap-1.5", children: t.map((f, u) => /* @__PURE__ */ e.jsx(
|
|
1710
1710
|
"span",
|
|
1711
1711
|
{
|
|
1712
|
-
className: `size-1.5 rounded-full ${
|
|
1712
|
+
className: `size-1.5 rounded-full ${u === d ? "bg-[#e6327a]" : "bg-gray-200"}`
|
|
1713
1713
|
},
|
|
1714
|
-
`${
|
|
1714
|
+
`${f}-${u}`
|
|
1715
1715
|
)) }),
|
|
1716
1716
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3", children: [
|
|
1717
1717
|
a && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-semibold uppercase leading-4 text-[#e6327a]", children: a }),
|
|
@@ -1746,7 +1746,7 @@ function rl({
|
|
|
1746
1746
|
] });
|
|
1747
1747
|
}
|
|
1748
1748
|
const Zs = "https://srm-cdn.a4b.io/yoda/1788323512851.webp";
|
|
1749
|
-
function
|
|
1749
|
+
function il({
|
|
1750
1750
|
heading: t,
|
|
1751
1751
|
benefits: a
|
|
1752
1752
|
}) {
|
|
@@ -1776,20 +1776,20 @@ function nl({
|
|
|
1776
1776
|
)) })
|
|
1777
1777
|
] });
|
|
1778
1778
|
}
|
|
1779
|
-
function
|
|
1780
|
-
return
|
|
1779
|
+
function qs(t) {
|
|
1780
|
+
return A({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z" }, child: [] }] })(t);
|
|
1781
1781
|
}
|
|
1782
1782
|
function fa(t) {
|
|
1783
|
-
return
|
|
1783
|
+
return A({ 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);
|
|
1784
1784
|
}
|
|
1785
|
-
const
|
|
1786
|
-
function
|
|
1785
|
+
const Ys = 168;
|
|
1786
|
+
function ol({
|
|
1787
1787
|
question: t,
|
|
1788
1788
|
imageUrl: a,
|
|
1789
1789
|
imageAlt: r = "",
|
|
1790
1790
|
paragraphs: n
|
|
1791
1791
|
}) {
|
|
1792
|
-
const { t: l } = ke(), [i,
|
|
1792
|
+
const { t: l } = ke(), [i, d] = H(!1);
|
|
1793
1793
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start bg-white px-4 py-4", children: [
|
|
1794
1794
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-lg font-bold leading-6 text-[#242424]", children: t }),
|
|
1795
1795
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start pt-4", children: [
|
|
@@ -1806,7 +1806,7 @@ function ll({
|
|
|
1806
1806
|
"div",
|
|
1807
1807
|
{
|
|
1808
1808
|
className: "flex w-full flex-col gap-4 overflow-hidden text-justify text-sm font-normal leading-5 text-gray-500",
|
|
1809
|
-
style: i ? void 0 : { maxHeight:
|
|
1809
|
+
style: i ? void 0 : { maxHeight: Ys },
|
|
1810
1810
|
children: n.map((o, c) => /* @__PURE__ */ e.jsx("p", { className: "w-full", children: o }, `${o}-${c}`))
|
|
1811
1811
|
}
|
|
1812
1812
|
),
|
|
@@ -1814,7 +1814,7 @@ function ll({
|
|
|
1814
1814
|
"button",
|
|
1815
1815
|
{
|
|
1816
1816
|
type: "button",
|
|
1817
|
-
onClick: () =>
|
|
1817
|
+
onClick: () => d((o) => !o),
|
|
1818
1818
|
className: "flex items-center gap-1 border-0 bg-transparent pt-2",
|
|
1819
1819
|
children: [
|
|
1820
1820
|
/* @__PURE__ */ e.jsx("span", { className: "text-sm font-bold leading-[21px] text-[#f18912]", children: l(
|
|
@@ -1835,31 +1835,31 @@ function ll({
|
|
|
1835
1835
|
] });
|
|
1836
1836
|
}
|
|
1837
1837
|
function Xs(t) {
|
|
1838
|
-
return
|
|
1838
|
+
return A({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(t);
|
|
1839
1839
|
}
|
|
1840
1840
|
function Qs(t) {
|
|
1841
|
-
return
|
|
1841
|
+
return A({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(t);
|
|
1842
1842
|
}
|
|
1843
1843
|
function Js(t) {
|
|
1844
|
-
return
|
|
1844
|
+
return A({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z" }, child: [] }] })(t);
|
|
1845
1845
|
}
|
|
1846
1846
|
function er(t) {
|
|
1847
|
-
return
|
|
1847
|
+
return A({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z" }, child: [] }] })(t);
|
|
1848
1848
|
}
|
|
1849
1849
|
function it(t) {
|
|
1850
|
-
return
|
|
1850
|
+
return A({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(t);
|
|
1851
1851
|
}
|
|
1852
1852
|
function Ot(t) {
|
|
1853
|
-
return
|
|
1853
|
+
return A({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(t);
|
|
1854
1854
|
}
|
|
1855
1855
|
function tr(t) {
|
|
1856
|
-
return
|
|
1856
|
+
return A({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z" }, child: [] }] })(t);
|
|
1857
1857
|
}
|
|
1858
1858
|
function ar(t) {
|
|
1859
|
-
return
|
|
1859
|
+
return A({ 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);
|
|
1860
1860
|
}
|
|
1861
1861
|
const Mt = 3;
|
|
1862
|
-
function
|
|
1862
|
+
function cl({
|
|
1863
1863
|
heading: t,
|
|
1864
1864
|
subtitle: a,
|
|
1865
1865
|
reviews: r,
|
|
@@ -1867,12 +1867,12 @@ function il({
|
|
|
1867
1867
|
seeMoreLabel: l,
|
|
1868
1868
|
onSeeMoreClick: i
|
|
1869
1869
|
}) {
|
|
1870
|
-
const [
|
|
1871
|
-
const b =
|
|
1870
|
+
const [d, o] = H(!1), c = d ? r : r.slice(0, Mt), [g, f] = H(0), u = Ze(null), x = () => {
|
|
1871
|
+
const b = u.current;
|
|
1872
1872
|
if (!b || b.children.length === 0)
|
|
1873
1873
|
return;
|
|
1874
1874
|
const p = b.children[0].offsetWidth + 12;
|
|
1875
|
-
|
|
1875
|
+
f(Math.round(b.scrollLeft / p));
|
|
1876
1876
|
};
|
|
1877
1877
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start bg-white pb-6 pt-7", children: [
|
|
1878
1878
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 px-4 py-2", children: [
|
|
@@ -1883,8 +1883,8 @@ function il({
|
|
|
1883
1883
|
/* @__PURE__ */ e.jsx(
|
|
1884
1884
|
"div",
|
|
1885
1885
|
{
|
|
1886
|
-
ref:
|
|
1887
|
-
onScroll:
|
|
1886
|
+
ref: u,
|
|
1887
|
+
onScroll: x,
|
|
1888
1888
|
className: `flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length === 1 ? "justify-center" : ""}`,
|
|
1889
1889
|
children: n.map((b, p) => /* @__PURE__ */ e.jsxs(
|
|
1890
1890
|
"div",
|
|
@@ -1979,7 +1979,7 @@ function il({
|
|
|
1979
1979
|
},
|
|
1980
1980
|
`${b.name}-${b.date}-${p}`
|
|
1981
1981
|
)) }),
|
|
1982
|
-
!
|
|
1982
|
+
!d && r.length > Mt && l && /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-center px-4 pt-5", children: /* @__PURE__ */ e.jsx(
|
|
1983
1983
|
"button",
|
|
1984
1984
|
{
|
|
1985
1985
|
type: "button",
|
|
@@ -1992,13 +1992,13 @@ function il({
|
|
|
1992
1992
|
) })
|
|
1993
1993
|
] });
|
|
1994
1994
|
}
|
|
1995
|
-
const
|
|
1995
|
+
const dl = [
|
|
1996
1996
|
{ variant: "pandits", textKey: "outcomeTrustPanditsText" },
|
|
1997
1997
|
{ variant: "gotra", textKey: "outcomeTrustGotraText" },
|
|
1998
1998
|
{ variant: "video", textKey: "outcomeTrustVideoText" }
|
|
1999
1999
|
];
|
|
2000
2000
|
function sr(t) {
|
|
2001
|
-
return
|
|
2001
|
+
return A({ attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z" }, child: [] }] })(t);
|
|
2002
2002
|
}
|
|
2003
2003
|
const rr = Xa(
|
|
2004
2004
|
"group appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
|
|
@@ -2045,21 +2045,21 @@ const rr = Xa(
|
|
|
2045
2045
|
iconOnly: n,
|
|
2046
2046
|
loading: l = !1,
|
|
2047
2047
|
disabled: i,
|
|
2048
|
-
leftIcon:
|
|
2048
|
+
leftIcon: d,
|
|
2049
2049
|
rightIcon: o,
|
|
2050
2050
|
children: c,
|
|
2051
2051
|
type: g = "button",
|
|
2052
|
-
...
|
|
2053
|
-
},
|
|
2052
|
+
...f
|
|
2053
|
+
}, u) => /* @__PURE__ */ e.jsx(
|
|
2054
2054
|
"button",
|
|
2055
2055
|
{
|
|
2056
|
-
ref:
|
|
2056
|
+
ref: u,
|
|
2057
2057
|
type: g,
|
|
2058
2058
|
disabled: i || l,
|
|
2059
2059
|
className: m(rr({ variant: a, size: r, iconOnly: n }), t),
|
|
2060
|
-
...
|
|
2060
|
+
...f,
|
|
2061
2061
|
children: l ? /* @__PURE__ */ e.jsx(sr, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs("span", { className: "inline-flex items-center gap-2", children: [
|
|
2062
|
-
|
|
2062
|
+
d,
|
|
2063
2063
|
c,
|
|
2064
2064
|
o
|
|
2065
2065
|
] })
|
|
@@ -2081,14 +2081,14 @@ function Pe(t) {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
) : null;
|
|
2083
2083
|
}
|
|
2084
|
-
const
|
|
2084
|
+
const ul = ({
|
|
2085
2085
|
quote: t,
|
|
2086
2086
|
authorName: a,
|
|
2087
2087
|
authorAvatarUrl: r,
|
|
2088
2088
|
meta: n,
|
|
2089
2089
|
rating: l = 5,
|
|
2090
2090
|
className: i = "",
|
|
2091
|
-
...
|
|
2091
|
+
...d
|
|
2092
2092
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2093
2093
|
"div",
|
|
2094
2094
|
{
|
|
@@ -2096,7 +2096,7 @@ const cl = ({
|
|
|
2096
2096
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
2097
2097
|
i
|
|
2098
2098
|
),
|
|
2099
|
-
...
|
|
2099
|
+
...d,
|
|
2100
2100
|
children: [
|
|
2101
2101
|
/* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125]", children: t }),
|
|
2102
2102
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-x-2.5", children: [
|
|
@@ -2134,13 +2134,13 @@ const cl = ({
|
|
|
2134
2134
|
showCta: n = !0,
|
|
2135
2135
|
defaultExpanded: l = !1,
|
|
2136
2136
|
ctaExpandLabel: i = "और देखें",
|
|
2137
|
-
ctaCollapseLabel:
|
|
2137
|
+
ctaCollapseLabel: d = "कम देखें",
|
|
2138
2138
|
defaultOpenIndex: o = -1,
|
|
2139
2139
|
className: c = "",
|
|
2140
2140
|
showTitleAccent: g = !1,
|
|
2141
|
-
titleClassName:
|
|
2141
|
+
titleClassName: f
|
|
2142
2142
|
}) => {
|
|
2143
|
-
const [
|
|
2143
|
+
const [u, x] = H(l), [b, p] = H(o), C = n && a.length > r, y = C && !u ? a.slice(0, r) : a;
|
|
2144
2144
|
return /* @__PURE__ */ e.jsxs(
|
|
2145
2145
|
"div",
|
|
2146
2146
|
{
|
|
@@ -2149,12 +2149,12 @@ const cl = ({
|
|
|
2149
2149
|
c
|
|
2150
2150
|
),
|
|
2151
2151
|
children: [
|
|
2152
|
-
g ? /* @__PURE__ */ e.jsxs("h2", { className: m("flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]",
|
|
2152
|
+
g ? /* @__PURE__ */ e.jsxs("h2", { className: m("flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]", f), children: [
|
|
2153
2153
|
/* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2154
2154
|
t
|
|
2155
|
-
] }) : /* @__PURE__ */ e.jsx("h2", { className: m("w-full text-base font-bold text-[#1d2125]",
|
|
2155
|
+
] }) : /* @__PURE__ */ e.jsx("h2", { className: m("w-full text-base font-bold text-[#1d2125]", f), children: t }),
|
|
2156
2156
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: y.map((j, v) => {
|
|
2157
|
-
const
|
|
2157
|
+
const k = b === v;
|
|
2158
2158
|
return /* @__PURE__ */ e.jsxs(
|
|
2159
2159
|
"div",
|
|
2160
2160
|
{
|
|
@@ -2166,10 +2166,10 @@ const cl = ({
|
|
|
2166
2166
|
type: "button",
|
|
2167
2167
|
className: m(
|
|
2168
2168
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
2169
|
-
|
|
2169
|
+
k ? "bg-[#f7f8f9]" : "bg-white"
|
|
2170
2170
|
),
|
|
2171
|
-
onClick: () => p(
|
|
2172
|
-
"aria-expanded":
|
|
2171
|
+
onClick: () => p(k ? -1 : v),
|
|
2172
|
+
"aria-expanded": k,
|
|
2173
2173
|
"aria-controls": `faq-answer-${v}`,
|
|
2174
2174
|
id: `faq-question-${v}`,
|
|
2175
2175
|
children: [
|
|
@@ -2180,7 +2180,7 @@ const cl = ({
|
|
|
2180
2180
|
size: 24,
|
|
2181
2181
|
className: m(
|
|
2182
2182
|
"shrink-0 text-[#f75e22] transition-transform duration-200",
|
|
2183
|
-
|
|
2183
|
+
k ? "rotate-180" : ""
|
|
2184
2184
|
),
|
|
2185
2185
|
"aria-hidden": !0
|
|
2186
2186
|
}
|
|
@@ -2194,7 +2194,7 @@ const cl = ({
|
|
|
2194
2194
|
id: `faq-answer-${v}`,
|
|
2195
2195
|
role: "region",
|
|
2196
2196
|
"aria-labelledby": `faq-question-${v}`,
|
|
2197
|
-
hidden: !
|
|
2197
|
+
hidden: !k,
|
|
2198
2198
|
className: "bg-white p-3",
|
|
2199
2199
|
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: j.answer })
|
|
2200
2200
|
}
|
|
@@ -2210,42 +2210,42 @@ const cl = ({
|
|
|
2210
2210
|
variant: "secondary",
|
|
2211
2211
|
size: "lg",
|
|
2212
2212
|
className: "w-full",
|
|
2213
|
-
onClick: () =>
|
|
2214
|
-
"aria-expanded":
|
|
2213
|
+
onClick: () => x((j) => !j),
|
|
2214
|
+
"aria-expanded": u,
|
|
2215
2215
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2216
2216
|
Oe,
|
|
2217
2217
|
{
|
|
2218
2218
|
size: 24,
|
|
2219
|
-
className: m("shrink-0 transition-transform duration-200",
|
|
2219
|
+
className: m("shrink-0 transition-transform duration-200", u ? "rotate-180" : ""),
|
|
2220
2220
|
"aria-hidden": !0
|
|
2221
2221
|
}
|
|
2222
2222
|
),
|
|
2223
|
-
children:
|
|
2223
|
+
children: u ? d : i
|
|
2224
2224
|
}
|
|
2225
2225
|
)
|
|
2226
2226
|
]
|
|
2227
2227
|
}
|
|
2228
2228
|
);
|
|
2229
|
-
},
|
|
2229
|
+
}, xl = ({
|
|
2230
2230
|
title: t = "Frequently Asked Questions",
|
|
2231
2231
|
showTitleAccent: a = !0,
|
|
2232
2232
|
items: r,
|
|
2233
2233
|
initialVisibleCount: n = 6,
|
|
2234
2234
|
showCta: l = !0,
|
|
2235
2235
|
defaultExpanded: i = !1,
|
|
2236
|
-
ctaExpandLabel:
|
|
2236
|
+
ctaExpandLabel: d = "See more",
|
|
2237
2237
|
ctaCollapseLabel: o = "See less",
|
|
2238
2238
|
defaultOpenIndex: c = -1,
|
|
2239
2239
|
className: g = ""
|
|
2240
2240
|
}) => {
|
|
2241
|
-
const [
|
|
2241
|
+
const [f, u] = H(i), [x, b] = H(c), p = l && r.length > n, C = p && !f ? r.slice(0, n) : r;
|
|
2242
2242
|
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-3 bg-white px-4 py-6", g), children: [
|
|
2243
2243
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
2244
2244
|
a && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
2245
2245
|
t
|
|
2246
2246
|
] }),
|
|
2247
2247
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: C.map((y, j) => {
|
|
2248
|
-
const v =
|
|
2248
|
+
const v = x === j, k = v ? _s : Oe;
|
|
2249
2249
|
return /* @__PURE__ */ e.jsxs(
|
|
2250
2250
|
"div",
|
|
2251
2251
|
{
|
|
@@ -2262,7 +2262,7 @@ const cl = ({
|
|
|
2262
2262
|
id: `faq-accordion-question-${j}`,
|
|
2263
2263
|
children: [
|
|
2264
2264
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: y.question }),
|
|
2265
|
-
/* @__PURE__ */ e.jsx(
|
|
2265
|
+
/* @__PURE__ */ e.jsx(k, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
2266
2266
|
]
|
|
2267
2267
|
}
|
|
2268
2268
|
),
|
|
@@ -2287,21 +2287,21 @@ const cl = ({
|
|
|
2287
2287
|
variant: "secondary",
|
|
2288
2288
|
size: "lg",
|
|
2289
2289
|
className: "w-full",
|
|
2290
|
-
onClick: () =>
|
|
2291
|
-
"aria-expanded":
|
|
2290
|
+
onClick: () => u((y) => !y),
|
|
2291
|
+
"aria-expanded": f,
|
|
2292
2292
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2293
2293
|
Oe,
|
|
2294
2294
|
{
|
|
2295
2295
|
size: 24,
|
|
2296
|
-
className: m("shrink-0 transition-transform duration-200",
|
|
2296
|
+
className: m("shrink-0 transition-transform duration-200", f ? "rotate-180" : ""),
|
|
2297
2297
|
"aria-hidden": !0
|
|
2298
2298
|
}
|
|
2299
2299
|
),
|
|
2300
|
-
children:
|
|
2300
|
+
children: f ? o : d
|
|
2301
2301
|
}
|
|
2302
2302
|
)
|
|
2303
2303
|
] });
|
|
2304
|
-
}, lr =
|
|
2304
|
+
}, lr = _.forwardRef(
|
|
2305
2305
|
({
|
|
2306
2306
|
src: t,
|
|
2307
2307
|
poster: a,
|
|
@@ -2309,107 +2309,107 @@ const cl = ({
|
|
|
2309
2309
|
rounded: n = !0,
|
|
2310
2310
|
inlineOnly: l = !1,
|
|
2311
2311
|
width: i,
|
|
2312
|
-
height:
|
|
2312
|
+
height: d,
|
|
2313
2313
|
aspectRatio: o,
|
|
2314
2314
|
fill: c = !1,
|
|
2315
2315
|
autoPlay: g = !1,
|
|
2316
|
-
onPlayToggle:
|
|
2317
|
-
},
|
|
2318
|
-
const [
|
|
2319
|
-
}), P =
|
|
2320
|
-
|
|
2316
|
+
onPlayToggle: f
|
|
2317
|
+
}, u) => {
|
|
2318
|
+
const [x, b] = _.useState(!1), [p, C] = _.useState(!0), [y, j] = _.useState(!1), [v, k] = _.useState(0), [M, K] = _.useState(0), [B, D] = _.useState(!0), I = _.useRef(null), V = _.useRef(null), W = _.useRef(() => {
|
|
2319
|
+
}), P = _.useRef(null);
|
|
2320
|
+
_.useEffect(() => {
|
|
2321
2321
|
g && (b(!0), j(!1));
|
|
2322
2322
|
}, [g]);
|
|
2323
|
-
const L =
|
|
2323
|
+
const L = _.useCallback(() => {
|
|
2324
2324
|
P.current && clearTimeout(P.current), P.current = setTimeout(
|
|
2325
|
-
() =>
|
|
2325
|
+
() => D(!1),
|
|
2326
2326
|
1500
|
|
2327
2327
|
);
|
|
2328
2328
|
}, []);
|
|
2329
|
-
|
|
2330
|
-
if (!
|
|
2331
|
-
P.current && clearTimeout(P.current),
|
|
2329
|
+
_.useEffect(() => {
|
|
2330
|
+
if (!x || !p) {
|
|
2331
|
+
P.current && clearTimeout(P.current), D(!0);
|
|
2332
2332
|
return;
|
|
2333
2333
|
}
|
|
2334
2334
|
return L(), () => {
|
|
2335
2335
|
P.current && clearTimeout(P.current);
|
|
2336
2336
|
};
|
|
2337
|
-
}, [
|
|
2338
|
-
const
|
|
2337
|
+
}, [x, p, L]);
|
|
2338
|
+
const $ = i !== void 0 || d !== void 0, G = m(
|
|
2339
2339
|
"block w-full",
|
|
2340
|
-
(
|
|
2341
|
-
),
|
|
2340
|
+
($ || !$ && o !== void 0 || c) && "h-full object-cover object-center"
|
|
2341
|
+
), ne = _.useCallback(
|
|
2342
2342
|
(T) => {
|
|
2343
|
-
|
|
2343
|
+
I.current = T, typeof u == "function" ? u(T) : u && (u.current = T);
|
|
2344
2344
|
},
|
|
2345
|
-
[
|
|
2346
|
-
),
|
|
2347
|
-
if (!l || !
|
|
2345
|
+
[u]
|
|
2346
|
+
), U = _.useCallback(() => {
|
|
2347
|
+
if (!l || !V.current)
|
|
2348
2348
|
return;
|
|
2349
|
-
const T =
|
|
2350
|
-
|
|
2349
|
+
const T = V.current, E = document.fullscreenElement;
|
|
2350
|
+
E && I.current?.contains(E) && document.exitFullscreen?.().catch(() => {
|
|
2351
2351
|
}), document.pictureInPictureElement === T && document.exitPictureInPicture?.().catch(() => {
|
|
2352
2352
|
}), T.webkitSetPresentationMode?.("inline"), T.webkitDisplayingFullscreen && T.webkitExitFullscreen?.();
|
|
2353
|
-
}, [l]),
|
|
2353
|
+
}, [l]), ae = _.useCallback(
|
|
2354
2354
|
(T) => {
|
|
2355
|
-
if (
|
|
2356
|
-
},
|
|
2355
|
+
if (W.current(), W.current = () => {
|
|
2356
|
+
}, V.current = T, !l || !T)
|
|
2357
2357
|
return;
|
|
2358
|
-
const
|
|
2359
|
-
|
|
2358
|
+
const E = T;
|
|
2359
|
+
E.playsInline = !0, E.disablePictureInPicture = !0, E.disableRemotePlayback = !0, E.setAttribute("playsinline", ""), E.setAttribute("webkit-playsinline", "true"), E.setAttribute("x5-playsinline", "true"), E.setAttribute("x5-video-player-type", "h5-page"), E.setAttribute("x5-video-player-fullscreen", "false"), E.setAttribute(
|
|
2360
2360
|
"controlslist",
|
|
2361
2361
|
"nofullscreen noremoteplayback nodownload"
|
|
2362
|
-
),
|
|
2362
|
+
), E.addEventListener(
|
|
2363
2363
|
"webkitbeginfullscreen",
|
|
2364
|
-
|
|
2365
|
-
), document.addEventListener("fullscreenchange",
|
|
2366
|
-
|
|
2364
|
+
U
|
|
2365
|
+
), document.addEventListener("fullscreenchange", U), W.current = () => {
|
|
2366
|
+
E.removeEventListener(
|
|
2367
2367
|
"webkitbeginfullscreen",
|
|
2368
|
-
|
|
2369
|
-
), document.removeEventListener("fullscreenchange",
|
|
2368
|
+
U
|
|
2369
|
+
), document.removeEventListener("fullscreenchange", U);
|
|
2370
2370
|
};
|
|
2371
2371
|
},
|
|
2372
|
-
[l,
|
|
2372
|
+
[l, U]
|
|
2373
2373
|
);
|
|
2374
|
-
|
|
2374
|
+
_.useEffect(
|
|
2375
2375
|
() => () => {
|
|
2376
|
-
|
|
2376
|
+
W.current();
|
|
2377
2377
|
},
|
|
2378
2378
|
[]
|
|
2379
|
-
),
|
|
2380
|
-
if (!
|
|
2381
|
-
const T =
|
|
2379
|
+
), _.useEffect(() => {
|
|
2380
|
+
if (!x) return;
|
|
2381
|
+
const T = I.current;
|
|
2382
2382
|
if (!T || typeof IntersectionObserver > "u") return;
|
|
2383
|
-
const
|
|
2383
|
+
const E = new IntersectionObserver(
|
|
2384
2384
|
([oe]) => {
|
|
2385
2385
|
oe.isIntersecting || C(!1);
|
|
2386
2386
|
},
|
|
2387
2387
|
{ threshold: 0 }
|
|
2388
2388
|
);
|
|
2389
|
-
return
|
|
2390
|
-
}, [
|
|
2389
|
+
return E.observe(T), () => E.disconnect();
|
|
2390
|
+
}, [x]);
|
|
2391
2391
|
const le = (T) => {
|
|
2392
|
-
const
|
|
2393
|
-
|
|
2392
|
+
const E = Number(T.target.value);
|
|
2393
|
+
k(E), V.current && (V.current.currentTime = E);
|
|
2394
2394
|
};
|
|
2395
2395
|
return /* @__PURE__ */ e.jsx(
|
|
2396
2396
|
"div",
|
|
2397
2397
|
{
|
|
2398
|
-
ref:
|
|
2399
|
-
style:
|
|
2398
|
+
ref: ne,
|
|
2399
|
+
style: $ ? { width: i, height: d } : { aspectRatio: o },
|
|
2400
2400
|
className: m(
|
|
2401
2401
|
"relative w-full overflow-hidden",
|
|
2402
2402
|
n && "rounded-2xl",
|
|
2403
2403
|
r
|
|
2404
2404
|
),
|
|
2405
2405
|
onClick: () => {
|
|
2406
|
-
|
|
2406
|
+
x && !B && (D(!0), p && L());
|
|
2407
2407
|
},
|
|
2408
|
-
children:
|
|
2408
|
+
children: x ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2409
2409
|
/* @__PURE__ */ e.jsx(
|
|
2410
2410
|
Qa,
|
|
2411
2411
|
{
|
|
2412
|
-
ref:
|
|
2412
|
+
ref: ae,
|
|
2413
2413
|
src: t,
|
|
2414
2414
|
poster: a,
|
|
2415
2415
|
playing: p,
|
|
@@ -2419,8 +2419,8 @@ const cl = ({
|
|
|
2419
2419
|
playsInline: !0,
|
|
2420
2420
|
disablePictureInPicture: l,
|
|
2421
2421
|
disableRemotePlayback: l,
|
|
2422
|
-
onPlay:
|
|
2423
|
-
onPlaying:
|
|
2422
|
+
onPlay: U,
|
|
2423
|
+
onPlaying: U,
|
|
2424
2424
|
onDoubleClick: (T) => {
|
|
2425
2425
|
l && T.preventDefault();
|
|
2426
2426
|
},
|
|
@@ -2429,15 +2429,15 @@ const cl = ({
|
|
|
2429
2429
|
},
|
|
2430
2430
|
autoPlay: g,
|
|
2431
2431
|
width: i,
|
|
2432
|
-
height:
|
|
2433
|
-
className:
|
|
2434
|
-
onTimeUpdate: (T) =>
|
|
2435
|
-
onDurationChange: (T) =>
|
|
2432
|
+
height: d,
|
|
2433
|
+
className: G,
|
|
2434
|
+
onTimeUpdate: (T) => k(T.currentTarget.currentTime),
|
|
2435
|
+
onDurationChange: (T) => K(T.currentTarget.duration),
|
|
2436
2436
|
onPause: () => C(!1),
|
|
2437
2437
|
onEnded: () => C(!1)
|
|
2438
2438
|
}
|
|
2439
2439
|
),
|
|
2440
|
-
|
|
2440
|
+
B && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2441
2441
|
/* @__PURE__ */ e.jsx(
|
|
2442
2442
|
Q,
|
|
2443
2443
|
{
|
|
@@ -2446,7 +2446,7 @@ const cl = ({
|
|
|
2446
2446
|
size: "lg",
|
|
2447
2447
|
"aria-label": p ? "Pause" : "Play",
|
|
2448
2448
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white! backdrop-blur-sm hover:bg-black/50",
|
|
2449
|
-
onClick: () => C((T) => (
|
|
2449
|
+
onClick: () => C((T) => (f?.(!T), !T)),
|
|
2450
2450
|
children: p ? /* @__PURE__ */ e.jsx(tr, { size: 16 }) : /* @__PURE__ */ e.jsx(
|
|
2451
2451
|
Ot,
|
|
2452
2452
|
{
|
|
@@ -2483,7 +2483,7 @@ const cl = ({
|
|
|
2483
2483
|
)
|
|
2484
2484
|
] })
|
|
2485
2485
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2486
|
-
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className:
|
|
2486
|
+
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className: G }),
|
|
2487
2487
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
2488
2488
|
/* @__PURE__ */ e.jsx(
|
|
2489
2489
|
Q,
|
|
@@ -2494,7 +2494,7 @@ const cl = ({
|
|
|
2494
2494
|
"aria-label": "Play video",
|
|
2495
2495
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white! backdrop-blur-sm hover:bg-black/50",
|
|
2496
2496
|
onClick: () => {
|
|
2497
|
-
b(!0),
|
|
2497
|
+
b(!0), f?.(!0);
|
|
2498
2498
|
},
|
|
2499
2499
|
children: /* @__PURE__ */ e.jsx(Ot, { size: 16, style: { transform: "translateX(1px)" } })
|
|
2500
2500
|
}
|
|
@@ -2505,7 +2505,7 @@ const cl = ({
|
|
|
2505
2505
|
}
|
|
2506
2506
|
);
|
|
2507
2507
|
lr.displayName = "VideoPlayer";
|
|
2508
|
-
const ir = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), ma =
|
|
2508
|
+
const ir = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), ma = _.forwardRef(
|
|
2509
2509
|
({
|
|
2510
2510
|
options: t,
|
|
2511
2511
|
value: a,
|
|
@@ -2513,32 +2513,32 @@ const ir = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2513
2513
|
defaultOpen: n = !1,
|
|
2514
2514
|
open: l,
|
|
2515
2515
|
onOpenChange: i,
|
|
2516
|
-
className:
|
|
2516
|
+
className: d = "",
|
|
2517
2517
|
triggerClassName: o = "",
|
|
2518
2518
|
menuClassName: c = "",
|
|
2519
2519
|
...g
|
|
2520
|
-
},
|
|
2521
|
-
const [
|
|
2520
|
+
}, f) => {
|
|
2521
|
+
const [u, x] = _.useState(n), b = l !== void 0, p = b ? l : u, C = _.useCallback(
|
|
2522
2522
|
(v) => {
|
|
2523
|
-
b ||
|
|
2523
|
+
b || x(v), i?.(v);
|
|
2524
2524
|
},
|
|
2525
2525
|
[b, i]
|
|
2526
|
-
), y =
|
|
2527
|
-
|
|
2526
|
+
), y = _.useRef(null);
|
|
2527
|
+
_.useImperativeHandle(f, () => y.current), _.useEffect(() => {
|
|
2528
2528
|
if (!p) return;
|
|
2529
2529
|
const v = (M) => {
|
|
2530
2530
|
y.current?.contains(M.target) || C(!1);
|
|
2531
|
-
},
|
|
2531
|
+
}, k = (M) => {
|
|
2532
2532
|
M.key === "Escape" && C(!1);
|
|
2533
2533
|
};
|
|
2534
|
-
return document.addEventListener("mousedown", v), document.addEventListener("keydown",
|
|
2535
|
-
document.removeEventListener("mousedown", v), document.removeEventListener("keydown",
|
|
2534
|
+
return document.addEventListener("mousedown", v), document.addEventListener("keydown", k), () => {
|
|
2535
|
+
document.removeEventListener("mousedown", v), document.removeEventListener("keydown", k);
|
|
2536
2536
|
};
|
|
2537
2537
|
}, [p, C]);
|
|
2538
2538
|
const j = (v) => {
|
|
2539
2539
|
r?.(v.value), C(!1);
|
|
2540
2540
|
};
|
|
2541
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: y, className: m("relative inline-block",
|
|
2541
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: y, className: m("relative inline-block", d), ...g, children: [
|
|
2542
2542
|
/* @__PURE__ */ e.jsxs(
|
|
2543
2543
|
"button",
|
|
2544
2544
|
{
|
|
@@ -2573,15 +2573,15 @@ const ir = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2573
2573
|
c
|
|
2574
2574
|
),
|
|
2575
2575
|
children: t.map((v) => {
|
|
2576
|
-
const
|
|
2577
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
2576
|
+
const k = v.value === a;
|
|
2577
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": k, children: /* @__PURE__ */ e.jsx(
|
|
2578
2578
|
"button",
|
|
2579
2579
|
{
|
|
2580
2580
|
type: "button",
|
|
2581
2581
|
onClick: () => j(v),
|
|
2582
2582
|
className: m(
|
|
2583
2583
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
2584
|
-
|
|
2584
|
+
k ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
2585
2585
|
),
|
|
2586
2586
|
children: v.label
|
|
2587
2587
|
}
|
|
@@ -2593,7 +2593,7 @@ const ir = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2593
2593
|
}
|
|
2594
2594
|
);
|
|
2595
2595
|
ma.displayName = "LanguageSwitcher";
|
|
2596
|
-
function
|
|
2596
|
+
function fl({
|
|
2597
2597
|
onBackClick: t,
|
|
2598
2598
|
backButtonAriaLabel: a = "Go back",
|
|
2599
2599
|
locale: r,
|
|
@@ -2644,8 +2644,8 @@ function ul({
|
|
|
2644
2644
|
}
|
|
2645
2645
|
);
|
|
2646
2646
|
}
|
|
2647
|
-
const or =
|
|
2648
|
-
({ label: t, selected: a = !1, onClick: r, icon: n, className: l, type: i = "button", ...
|
|
2647
|
+
const or = _.forwardRef(
|
|
2648
|
+
({ label: t, selected: a = !1, onClick: r, icon: n, className: l, type: i = "button", ...d }, o) => /* @__PURE__ */ e.jsxs(
|
|
2649
2649
|
"button",
|
|
2650
2650
|
{
|
|
2651
2651
|
ref: o,
|
|
@@ -2657,7 +2657,7 @@ const or = k.forwardRef(
|
|
|
2657
2657
|
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",
|
|
2658
2658
|
l
|
|
2659
2659
|
),
|
|
2660
|
-
...
|
|
2660
|
+
...d,
|
|
2661
2661
|
children: [
|
|
2662
2662
|
n,
|
|
2663
2663
|
t
|
|
@@ -2666,7 +2666,7 @@ const or = k.forwardRef(
|
|
|
2666
2666
|
)
|
|
2667
2667
|
);
|
|
2668
2668
|
or.displayName = "Chip";
|
|
2669
|
-
const
|
|
2669
|
+
const ml = ({
|
|
2670
2670
|
quote: t,
|
|
2671
2671
|
currentStep: a,
|
|
2672
2672
|
totalSteps: r,
|
|
@@ -2711,10 +2711,10 @@ const xl = ({
|
|
|
2711
2711
|
] });
|
|
2712
2712
|
};
|
|
2713
2713
|
function cr(t) {
|
|
2714
|
-
return
|
|
2714
|
+
return A({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z" }, child: [] }, { tag: "path", attr: { d: "M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z" }, child: [] }] })(t);
|
|
2715
2715
|
}
|
|
2716
2716
|
function dr(t) {
|
|
2717
|
-
return
|
|
2717
|
+
return A({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z" }, child: [] }] })(t);
|
|
2718
2718
|
}
|
|
2719
2719
|
const zt = 1.25, It = [
|
|
2720
2720
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
@@ -2753,29 +2753,29 @@ const zt = 1.25, It = [
|
|
|
2753
2753
|
n
|
|
2754
2754
|
))
|
|
2755
2755
|
}
|
|
2756
|
-
),
|
|
2756
|
+
), pl = ({
|
|
2757
2757
|
avatarUrl: t,
|
|
2758
2758
|
question: a,
|
|
2759
2759
|
description: r,
|
|
2760
2760
|
audioSrc: n,
|
|
2761
2761
|
onMuteToggle: l,
|
|
2762
2762
|
className: i,
|
|
2763
|
-
...
|
|
2763
|
+
...d
|
|
2764
2764
|
}) => {
|
|
2765
|
-
const o =
|
|
2766
|
-
|
|
2765
|
+
const o = _.useRef(null), c = _.useRef(!1), [g, f] = _.useState(!1), [u, x] = _.useState(!1);
|
|
2766
|
+
_.useEffect(() => {
|
|
2767
2767
|
!n || c.current || (c.current = !0, o.current?.play().catch(() => {
|
|
2768
2768
|
}));
|
|
2769
2769
|
}, [n]);
|
|
2770
2770
|
const b = () => {
|
|
2771
2771
|
const p = o.current;
|
|
2772
|
-
p && (p.muted = !p.muted,
|
|
2772
|
+
p && (p.muted = !p.muted, f(p.muted), l?.(p.muted));
|
|
2773
2773
|
};
|
|
2774
2774
|
return /* @__PURE__ */ e.jsxs(
|
|
2775
2775
|
"div",
|
|
2776
2776
|
{
|
|
2777
2777
|
className: m("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
2778
|
-
...
|
|
2778
|
+
...d,
|
|
2779
2779
|
children: [
|
|
2780
2780
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
2781
2781
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2821,9 +2821,9 @@ const zt = 1.25, It = [
|
|
|
2821
2821
|
{
|
|
2822
2822
|
ref: o,
|
|
2823
2823
|
src: n,
|
|
2824
|
-
onPlay: () =>
|
|
2825
|
-
onPause: () =>
|
|
2826
|
-
onEnded: () =>
|
|
2824
|
+
onPlay: () => x(!0),
|
|
2825
|
+
onPause: () => x(!1),
|
|
2826
|
+
onEnded: () => x(!1)
|
|
2827
2827
|
}
|
|
2828
2828
|
),
|
|
2829
2829
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2840,7 +2840,7 @@ const zt = 1.25, It = [
|
|
|
2840
2840
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((p) => /* @__PURE__ */ e.jsx(
|
|
2841
2841
|
ur,
|
|
2842
2842
|
{
|
|
2843
|
-
animate:
|
|
2843
|
+
animate: u && !g,
|
|
2844
2844
|
iconIndex: p
|
|
2845
2845
|
},
|
|
2846
2846
|
p
|
|
@@ -2855,11 +2855,11 @@ const zt = 1.25, It = [
|
|
|
2855
2855
|
sm: "size-9",
|
|
2856
2856
|
md: "size-11",
|
|
2857
2857
|
lg: "size-16"
|
|
2858
|
-
}, Me =
|
|
2859
|
-
({ icon: t, avatarUrl: a, alt: r = "", size: n = "md", className: l, ...i },
|
|
2858
|
+
}, Me = _.forwardRef(
|
|
2859
|
+
({ icon: t, avatarUrl: a, alt: r = "", size: n = "md", className: l, ...i }, d) => /* @__PURE__ */ e.jsx(
|
|
2860
2860
|
"div",
|
|
2861
2861
|
{
|
|
2862
|
-
ref:
|
|
2862
|
+
ref: d,
|
|
2863
2863
|
className: m(
|
|
2864
2864
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
2865
2865
|
xr[n],
|
|
@@ -2873,7 +2873,7 @@ const zt = 1.25, It = [
|
|
|
2873
2873
|
)
|
|
2874
2874
|
);
|
|
2875
2875
|
Me.displayName = "IconBadge";
|
|
2876
|
-
const ot =
|
|
2876
|
+
const ot = _.forwardRef(
|
|
2877
2877
|
({
|
|
2878
2878
|
selected: t = !1,
|
|
2879
2879
|
onSelect: a,
|
|
@@ -2881,23 +2881,23 @@ const ot = k.forwardRef(
|
|
|
2881
2881
|
avatarUrl: n,
|
|
2882
2882
|
iconSize: l = "md",
|
|
2883
2883
|
iconClassName: i,
|
|
2884
|
-
title:
|
|
2884
|
+
title: d,
|
|
2885
2885
|
description: o,
|
|
2886
2886
|
badge: c,
|
|
2887
2887
|
showRadio: g = !0,
|
|
2888
|
-
radioVariant:
|
|
2889
|
-
radioClassName:
|
|
2890
|
-
tag:
|
|
2888
|
+
radioVariant: f = "dot",
|
|
2889
|
+
radioClassName: u,
|
|
2890
|
+
tag: x,
|
|
2891
2891
|
tagClassName: b,
|
|
2892
2892
|
children: p,
|
|
2893
2893
|
note: C,
|
|
2894
2894
|
noteClassName: y,
|
|
2895
2895
|
className: j,
|
|
2896
2896
|
disabled: v,
|
|
2897
|
-
type:
|
|
2897
|
+
type: k = "button",
|
|
2898
2898
|
...M
|
|
2899
|
-
},
|
|
2900
|
-
const
|
|
2899
|
+
}, K) => {
|
|
2900
|
+
const B = /* @__PURE__ */ e.jsxs(
|
|
2901
2901
|
"div",
|
|
2902
2902
|
{
|
|
2903
2903
|
className: m(
|
|
@@ -2907,28 +2907,28 @@ const ot = k.forwardRef(
|
|
|
2907
2907
|
j
|
|
2908
2908
|
),
|
|
2909
2909
|
children: [
|
|
2910
|
-
|
|
2910
|
+
x && /* @__PURE__ */ e.jsx(
|
|
2911
2911
|
"span",
|
|
2912
2912
|
{
|
|
2913
2913
|
className: m(
|
|
2914
2914
|
"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",
|
|
2915
2915
|
b
|
|
2916
2916
|
),
|
|
2917
|
-
children:
|
|
2917
|
+
children: x
|
|
2918
2918
|
}
|
|
2919
2919
|
),
|
|
2920
2920
|
/* @__PURE__ */ e.jsxs(
|
|
2921
2921
|
"button",
|
|
2922
2922
|
{
|
|
2923
|
-
ref:
|
|
2924
|
-
type:
|
|
2923
|
+
ref: K,
|
|
2924
|
+
type: k,
|
|
2925
2925
|
role: "radio",
|
|
2926
2926
|
"aria-checked": t,
|
|
2927
2927
|
disabled: v,
|
|
2928
2928
|
onClick: a,
|
|
2929
2929
|
className: m(
|
|
2930
2930
|
"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",
|
|
2931
|
-
|
|
2931
|
+
x && "pt-7"
|
|
2932
2932
|
),
|
|
2933
2933
|
...M,
|
|
2934
2934
|
children: [
|
|
@@ -2942,7 +2942,7 @@ const ot = k.forwardRef(
|
|
|
2942
2942
|
}
|
|
2943
2943
|
),
|
|
2944
2944
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
2945
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children:
|
|
2945
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: d }),
|
|
2946
2946
|
o && !p && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: o })
|
|
2947
2947
|
] }),
|
|
2948
2948
|
c && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: c }),
|
|
@@ -2952,22 +2952,22 @@ const ot = k.forwardRef(
|
|
|
2952
2952
|
"aria-hidden": !0,
|
|
2953
2953
|
className: m(
|
|
2954
2954
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",
|
|
2955
|
-
t ?
|
|
2955
|
+
t ? f === "check" ? m(
|
|
2956
2956
|
"border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",
|
|
2957
|
-
|
|
2957
|
+
u
|
|
2958
2958
|
) : "border-[#F75E22]" : "border-gray-300"
|
|
2959
2959
|
),
|
|
2960
2960
|
children: [
|
|
2961
|
-
t &&
|
|
2961
|
+
t && f === "dot" && /* @__PURE__ */ e.jsx(
|
|
2962
2962
|
"span",
|
|
2963
2963
|
{
|
|
2964
2964
|
className: m(
|
|
2965
2965
|
"size-4 rounded-full bg-[#F75E22]",
|
|
2966
|
-
|
|
2966
|
+
u
|
|
2967
2967
|
)
|
|
2968
2968
|
}
|
|
2969
2969
|
),
|
|
2970
|
-
t &&
|
|
2970
|
+
t && f === "check" && /* @__PURE__ */ e.jsx(nt, { size: 14, "aria-hidden": !0 })
|
|
2971
2971
|
]
|
|
2972
2972
|
}
|
|
2973
2973
|
)
|
|
@@ -2979,7 +2979,7 @@ const ot = k.forwardRef(
|
|
|
2979
2979
|
}
|
|
2980
2980
|
);
|
|
2981
2981
|
return C ? /* @__PURE__ */ e.jsxs("div", { className: "overflow-hidden rounded-xl bg-[#FCCF9A]", children: [
|
|
2982
|
-
|
|
2982
|
+
B,
|
|
2983
2983
|
/* @__PURE__ */ e.jsx(
|
|
2984
2984
|
"div",
|
|
2985
2985
|
{
|
|
@@ -2990,11 +2990,11 @@ const ot = k.forwardRef(
|
|
|
2990
2990
|
children: C
|
|
2991
2991
|
}
|
|
2992
2992
|
)
|
|
2993
|
-
] }) :
|
|
2993
|
+
] }) : B;
|
|
2994
2994
|
}
|
|
2995
2995
|
);
|
|
2996
2996
|
ot.displayName = "SelectorCard";
|
|
2997
|
-
const
|
|
2997
|
+
const hl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.jsxs(
|
|
2998
2998
|
"div",
|
|
2999
2999
|
{
|
|
3000
3000
|
role: a ? "button" : void 0,
|
|
@@ -3011,7 +3011,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3011
3011
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
3012
3012
|
]
|
|
3013
3013
|
}
|
|
3014
|
-
),
|
|
3014
|
+
), bl = ({
|
|
3015
3015
|
value: t,
|
|
3016
3016
|
onInfoClick: a,
|
|
3017
3017
|
infoLabel: r = "More info",
|
|
@@ -3053,7 +3053,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3053
3053
|
...r,
|
|
3054
3054
|
children: t
|
|
3055
3055
|
}
|
|
3056
|
-
),
|
|
3056
|
+
), gl = ({
|
|
3057
3057
|
className: t,
|
|
3058
3058
|
children: a,
|
|
3059
3059
|
...r
|
|
@@ -3067,14 +3067,14 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3067
3067
|
...r,
|
|
3068
3068
|
children: a
|
|
3069
3069
|
}
|
|
3070
|
-
),
|
|
3070
|
+
), jl = ({
|
|
3071
3071
|
value: t,
|
|
3072
3072
|
onIncrement: a,
|
|
3073
3073
|
onDecrement: r,
|
|
3074
3074
|
min: n = 0,
|
|
3075
3075
|
max: l,
|
|
3076
3076
|
addLabel: i = "Add",
|
|
3077
|
-
className:
|
|
3077
|
+
className: d
|
|
3078
3078
|
}) => t <= n ? /* @__PURE__ */ e.jsxs(
|
|
3079
3079
|
"button",
|
|
3080
3080
|
{
|
|
@@ -3082,7 +3082,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3082
3082
|
onClick: a,
|
|
3083
3083
|
className: m(
|
|
3084
3084
|
"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",
|
|
3085
|
-
|
|
3085
|
+
d
|
|
3086
3086
|
),
|
|
3087
3087
|
children: [
|
|
3088
3088
|
/* @__PURE__ */ e.jsx(Pt, { size: 20, "aria-hidden": !0 }),
|
|
@@ -3094,7 +3094,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3094
3094
|
{
|
|
3095
3095
|
className: m(
|
|
3096
3096
|
"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",
|
|
3097
|
-
|
|
3097
|
+
d
|
|
3098
3098
|
),
|
|
3099
3099
|
children: [
|
|
3100
3100
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3181,12 +3181,12 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3181
3181
|
originalPrice: n,
|
|
3182
3182
|
action: l,
|
|
3183
3183
|
className: i,
|
|
3184
|
-
...
|
|
3184
|
+
...d
|
|
3185
3185
|
}) => /* @__PURE__ */ e.jsx(
|
|
3186
3186
|
"div",
|
|
3187
3187
|
{
|
|
3188
3188
|
className: m("rounded-2xl border border-gray-200 bg-white p-4", i),
|
|
3189
|
-
...
|
|
3189
|
+
...d,
|
|
3190
3190
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
3191
3191
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3192
3192
|
/* @__PURE__ */ e.jsx("p", { className: "text-[15px] leading-5 font-bold text-[#1d2125]", children: t }),
|
|
@@ -3204,7 +3204,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3204
3204
|
), mr = ({ locale: t = "en", ...a }) => {
|
|
3205
3205
|
const { mandapTitle: r, mandapDescription: n } = Ke(t);
|
|
3206
3206
|
return /* @__PURE__ */ e.jsx(pa, { title: r, description: n, ...a });
|
|
3207
|
-
},
|
|
3207
|
+
}, vl = ({
|
|
3208
3208
|
children: t = "Change",
|
|
3209
3209
|
className: a,
|
|
3210
3210
|
type: r = "button",
|
|
@@ -3226,7 +3226,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3226
3226
|
t
|
|
3227
3227
|
]
|
|
3228
3228
|
}
|
|
3229
|
-
),
|
|
3229
|
+
), yl = ({
|
|
3230
3230
|
locale: t = "en",
|
|
3231
3231
|
isAdded: a = !0,
|
|
3232
3232
|
children: r,
|
|
@@ -3247,39 +3247,42 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3247
3247
|
r ?? (a ? Ke(t).addedLabel : Ke(t).addLabel)
|
|
3248
3248
|
]
|
|
3249
3249
|
}
|
|
3250
|
-
), pr = "
|
|
3250
|
+
), pr = "_contentBlock_5wpmm_8", hr = "_imageWrap_5wpmm_18", br = "_image_5wpmm_18", gr = "_imageWrapSquare_5wpmm_32", jr = "_imageSquare_5wpmm_37", vr = "_tag_5wpmm_41", yr = "_info_5wpmm_56", Nr = "_title_5wpmm_63", wr = "_description_5wpmm_70", Cr = "_footer_5wpmm_77", Lr = "_priceRow_5wpmm_86", kr = "_price_5wpmm_86", _r = "_basePrice_5wpmm_101", Pr = "_savedBadge_5wpmm_110", Sr = "_actionWrap_5wpmm_131", ee = {
|
|
3251
3251
|
contentBlock: pr,
|
|
3252
3252
|
imageWrap: hr,
|
|
3253
3253
|
image: br,
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3254
|
+
imageWrapSquare: gr,
|
|
3255
|
+
imageSquare: jr,
|
|
3256
|
+
tag: vr,
|
|
3257
|
+
info: yr,
|
|
3258
|
+
title: Nr,
|
|
3259
|
+
description: wr,
|
|
3260
|
+
footer: Cr,
|
|
3261
|
+
priceRow: Lr,
|
|
3262
|
+
price: kr,
|
|
3263
|
+
basePrice: _r,
|
|
3264
|
+
savedBadge: Pr,
|
|
3265
|
+
actionWrap: Sr
|
|
3266
|
+
}, Tr = ({
|
|
3265
3267
|
isOpen: t,
|
|
3266
3268
|
onClose: a,
|
|
3267
3269
|
ariaLabel: r,
|
|
3268
3270
|
image: n,
|
|
3269
3271
|
imageAlt: l = "",
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3272
|
+
squareImage: i = !1,
|
|
3273
|
+
tag: d,
|
|
3274
|
+
tagClassName: o,
|
|
3275
|
+
title: c,
|
|
3276
|
+
description: g,
|
|
3277
|
+
descriptionHtml: f,
|
|
3278
|
+
price: u,
|
|
3279
|
+
basePrice: x,
|
|
3280
|
+
currencySymbol: b = "₹",
|
|
3281
|
+
showSavedBadge: p,
|
|
3282
|
+
savedLabel: C,
|
|
3283
|
+
action: y
|
|
3281
3284
|
}) => {
|
|
3282
|
-
const
|
|
3285
|
+
const j = typeof x == "number" && x > u, v = j ? Math.round((x - u) / x * 100) : 0, k = (p ?? j) && v > 0;
|
|
3283
3286
|
return /* @__PURE__ */ e.jsx(
|
|
3284
3287
|
Pe,
|
|
3285
3288
|
{
|
|
@@ -3288,99 +3291,107 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3288
3291
|
ariaLabel: r,
|
|
3289
3292
|
showCloseButton: !0,
|
|
3290
3293
|
closeButtonOutside: !0,
|
|
3291
|
-
footer: /* @__PURE__ */ e.jsxs("div", { className:
|
|
3292
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3293
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
3294
|
-
|
|
3295
|
-
|
|
3294
|
+
footer: /* @__PURE__ */ e.jsxs("div", { className: ee.footer, children: [
|
|
3295
|
+
/* @__PURE__ */ e.jsxs("div", { className: ee.priceRow, children: [
|
|
3296
|
+
/* @__PURE__ */ e.jsxs("span", { className: ee.price, children: [
|
|
3297
|
+
b,
|
|
3298
|
+
u
|
|
3296
3299
|
] }),
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
+
j && /* @__PURE__ */ e.jsxs("span", { className: ee.basePrice, children: [
|
|
3301
|
+
b,
|
|
3302
|
+
x
|
|
3300
3303
|
] }),
|
|
3301
|
-
|
|
3304
|
+
k && /* @__PURE__ */ e.jsx("span", { className: ee.savedBadge, children: C ?? `Save ${v}%` })
|
|
3302
3305
|
] }),
|
|
3303
|
-
|
|
3306
|
+
y && /* @__PURE__ */ e.jsx("div", { className: ee.actionWrap, children: y })
|
|
3304
3307
|
] }),
|
|
3305
|
-
children: /* @__PURE__ */ e.jsxs("div", { className:
|
|
3306
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3308
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: ee.contentBlock, children: [
|
|
3309
|
+
/* @__PURE__ */ e.jsx("div", { className: m(ee.imageWrap, i && ee.imageWrapSquare), children: /* @__PURE__ */ e.jsx(
|
|
3310
|
+
"img",
|
|
3311
|
+
{
|
|
3312
|
+
src: n,
|
|
3313
|
+
alt: l,
|
|
3314
|
+
className: m(ee.image, i && ee.imageSquare)
|
|
3315
|
+
}
|
|
3316
|
+
) }),
|
|
3317
|
+
d && /* @__PURE__ */ e.jsx("div", { className: m(ee.tag, o), children: d }),
|
|
3318
|
+
/* @__PURE__ */ e.jsxs("div", { className: ee.info, children: [
|
|
3319
|
+
/* @__PURE__ */ e.jsx("p", { className: ee.title, children: c }),
|
|
3320
|
+
f ? /* @__PURE__ */ e.jsx("div", { className: ee.description, dangerouslySetInnerHTML: { __html: f } }) : g && /* @__PURE__ */ e.jsx("p", { className: ee.description, children: g })
|
|
3311
3321
|
] })
|
|
3312
3322
|
] })
|
|
3313
3323
|
}
|
|
3314
3324
|
);
|
|
3315
|
-
},
|
|
3316
|
-
card:
|
|
3317
|
-
tappable:
|
|
3318
|
-
tag:
|
|
3319
|
-
content:
|
|
3320
|
-
info:
|
|
3321
|
-
textGroup:
|
|
3322
|
-
title:
|
|
3323
|
-
description:
|
|
3324
|
-
descriptionClamp:
|
|
3325
|
-
readMoreToggleBlock:
|
|
3326
|
-
readMoreToggle:
|
|
3327
|
-
readMoreToggleOverlay:
|
|
3328
|
-
priceRow:
|
|
3329
|
-
price:
|
|
3330
|
-
originalPrice:
|
|
3331
|
-
imageWrap:
|
|
3332
|
-
image:
|
|
3333
|
-
actionWrap:
|
|
3334
|
-
},
|
|
3325
|
+
}, Rr = "_card_rz1ei_11", Er = "_tappable_rz1ei_19", Ar = "_tag_rz1ei_23", Or = "_content_rz1ei_37", Mr = "_info_rz1ei_44", zr = "_textGroup_rz1ei_53", Ir = "_title_rz1ei_59", Br = "_description_rz1ei_66", Dr = "_descriptionClamp_rz1ei_79", Fr = "_readMoreToggleBlock_rz1ei_90", Hr = "_readMoreToggle_rz1ei_90", Vr = "_readMoreToggleOverlay_rz1ei_112", $r = "_priceRow_rz1ei_126", Wr = "_price_rz1ei_126", Gr = "_originalPrice_rz1ei_141", Ur = "_imageWrap_rz1ei_152", Kr = "_image_rz1ei_152", Zr = "_actionWrap_rz1ei_166", X = {
|
|
3326
|
+
card: Rr,
|
|
3327
|
+
tappable: Er,
|
|
3328
|
+
tag: Ar,
|
|
3329
|
+
content: Or,
|
|
3330
|
+
info: Mr,
|
|
3331
|
+
textGroup: zr,
|
|
3332
|
+
title: Ir,
|
|
3333
|
+
description: Br,
|
|
3334
|
+
descriptionClamp: Dr,
|
|
3335
|
+
readMoreToggleBlock: Fr,
|
|
3336
|
+
readMoreToggle: Hr,
|
|
3337
|
+
readMoreToggleOverlay: Vr,
|
|
3338
|
+
priceRow: $r,
|
|
3339
|
+
price: Wr,
|
|
3340
|
+
originalPrice: Gr,
|
|
3341
|
+
imageWrap: Ur,
|
|
3342
|
+
image: Kr,
|
|
3343
|
+
actionWrap: Zr
|
|
3344
|
+
}, qr = (t) => t.replace(/<[^>]*>/g, "").trim(), Yr = ({
|
|
3335
3345
|
image: t,
|
|
3336
3346
|
imageAlt: a = "",
|
|
3337
3347
|
sheetImage: r,
|
|
3338
3348
|
title: n,
|
|
3339
3349
|
description: l,
|
|
3340
3350
|
descriptionHtml: i,
|
|
3341
|
-
descriptionClampLines:
|
|
3351
|
+
descriptionClampLines: d = 2,
|
|
3342
3352
|
descriptionMaxLength: o = 40,
|
|
3343
3353
|
locale: c = "en",
|
|
3344
3354
|
readMoreLabel: g = Nt(c, "templeSignificanceReadMoreLabel"),
|
|
3345
|
-
readLessLabel:
|
|
3346
|
-
price:
|
|
3347
|
-
originalPrice:
|
|
3355
|
+
readLessLabel: f = Nt(c, "templeSignificanceReadLessLabel"),
|
|
3356
|
+
price: u,
|
|
3357
|
+
originalPrice: x,
|
|
3348
3358
|
tag: b,
|
|
3349
3359
|
tagClassName: p,
|
|
3350
3360
|
action: C,
|
|
3351
3361
|
sheetPrice: y,
|
|
3352
3362
|
sheetBasePrice: j,
|
|
3353
3363
|
sheetCurrencySymbol: v,
|
|
3354
|
-
sheetShowSavedBadge:
|
|
3364
|
+
sheetShowSavedBadge: k,
|
|
3355
3365
|
sheetSavedLabel: M,
|
|
3356
|
-
sheetAriaLabel:
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3366
|
+
sheetAriaLabel: K,
|
|
3367
|
+
sheetSquareImage: B,
|
|
3368
|
+
onReadMoreClick: D,
|
|
3369
|
+
onSheetOpenChange: I,
|
|
3370
|
+
className: V,
|
|
3360
3371
|
...W
|
|
3361
3372
|
}) => {
|
|
3362
|
-
const [
|
|
3373
|
+
const [P, L] = H(!1), [$, J] = H(!1), G = i ? qr(i).length > o : typeof l == "string" && l.length > o, ne = G && !i && !P ? `${l.slice(0, o).trimEnd()}... ` : l, U = typeof y == "number", ae = !!i && G && !P, le = G && /* @__PURE__ */ e.jsx(
|
|
3363
3374
|
"button",
|
|
3364
3375
|
{
|
|
3365
3376
|
type: "button",
|
|
3366
|
-
onClick: (
|
|
3367
|
-
|
|
3377
|
+
onClick: (T) => {
|
|
3378
|
+
T.stopPropagation(), U ? (J(!0), D?.(!0), I?.(!0)) : L((E) => (D?.(!E), !E));
|
|
3368
3379
|
},
|
|
3369
3380
|
className: m(
|
|
3370
3381
|
X.readMoreToggle,
|
|
3371
3382
|
i && X.readMoreToggleBlock,
|
|
3372
|
-
|
|
3383
|
+
ae && X.readMoreToggleOverlay
|
|
3373
3384
|
),
|
|
3374
|
-
children:
|
|
3385
|
+
children: U ? g : P ? f : g
|
|
3375
3386
|
}
|
|
3376
3387
|
);
|
|
3377
3388
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3378
3389
|
/* @__PURE__ */ e.jsxs(
|
|
3379
3390
|
"div",
|
|
3380
3391
|
{
|
|
3381
|
-
className: m(X.card,
|
|
3382
|
-
onClick:
|
|
3383
|
-
|
|
3392
|
+
className: m(X.card, U && X.tappable, V),
|
|
3393
|
+
onClick: U ? () => {
|
|
3394
|
+
J(!0), I?.(!0);
|
|
3384
3395
|
} : void 0,
|
|
3385
3396
|
...W,
|
|
3386
3397
|
children: [
|
|
@@ -3393,40 +3404,41 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3393
3404
|
/* @__PURE__ */ e.jsx(
|
|
3394
3405
|
"div",
|
|
3395
3406
|
{
|
|
3396
|
-
className: m(
|
|
3397
|
-
style:
|
|
3407
|
+
className: m(ae && X.descriptionClamp),
|
|
3408
|
+
style: ae ? { WebkitLineClamp: d } : void 0,
|
|
3398
3409
|
dangerouslySetInnerHTML: { __html: i }
|
|
3399
3410
|
}
|
|
3400
3411
|
),
|
|
3401
|
-
|
|
3412
|
+
le
|
|
3402
3413
|
] }) : l && /* @__PURE__ */ e.jsxs("p", { className: X.description, children: [
|
|
3403
|
-
|
|
3404
|
-
|
|
3414
|
+
ne,
|
|
3415
|
+
le
|
|
3405
3416
|
] })
|
|
3406
3417
|
] }),
|
|
3407
3418
|
/* @__PURE__ */ e.jsxs("div", { className: X.priceRow, children: [
|
|
3408
|
-
/* @__PURE__ */ e.jsx("span", { className: X.price, children:
|
|
3409
|
-
|
|
3419
|
+
/* @__PURE__ */ e.jsx("span", { className: X.price, children: u }),
|
|
3420
|
+
x && /* @__PURE__ */ e.jsx("span", { className: X.originalPrice, children: x })
|
|
3410
3421
|
] })
|
|
3411
3422
|
] }),
|
|
3412
3423
|
/* @__PURE__ */ e.jsxs("div", { className: X.imageWrap, children: [
|
|
3413
3424
|
/* @__PURE__ */ e.jsx("img", { src: t, alt: a, className: X.image }),
|
|
3414
|
-
C && /* @__PURE__ */ e.jsx("div", { className: X.actionWrap, onClick: (
|
|
3425
|
+
C && /* @__PURE__ */ e.jsx("div", { className: X.actionWrap, onClick: (T) => T.stopPropagation(), children: C })
|
|
3415
3426
|
] })
|
|
3416
3427
|
] })
|
|
3417
3428
|
]
|
|
3418
3429
|
}
|
|
3419
3430
|
),
|
|
3420
|
-
|
|
3421
|
-
|
|
3431
|
+
U && /* @__PURE__ */ e.jsx(
|
|
3432
|
+
Tr,
|
|
3422
3433
|
{
|
|
3423
|
-
isOpen:
|
|
3434
|
+
isOpen: $,
|
|
3424
3435
|
onClose: () => {
|
|
3425
|
-
|
|
3436
|
+
J(!1), I?.(!1);
|
|
3426
3437
|
},
|
|
3427
|
-
ariaLabel:
|
|
3438
|
+
ariaLabel: K,
|
|
3428
3439
|
image: r || t,
|
|
3429
3440
|
imageAlt: a,
|
|
3441
|
+
squareImage: B,
|
|
3430
3442
|
tag: b,
|
|
3431
3443
|
tagClassName: p,
|
|
3432
3444
|
title: n,
|
|
@@ -3435,7 +3447,7 @@ const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3435
3447
|
price: y,
|
|
3436
3448
|
basePrice: j,
|
|
3437
3449
|
currencySymbol: v,
|
|
3438
|
-
showSavedBadge:
|
|
3450
|
+
showSavedBadge: k,
|
|
3439
3451
|
savedLabel: M,
|
|
3440
3452
|
action: C
|
|
3441
3453
|
}
|
|
@@ -3547,7 +3559,7 @@ function va(t) {
|
|
|
3547
3559
|
)
|
|
3548
3560
|
] });
|
|
3549
3561
|
}
|
|
3550
|
-
const
|
|
3562
|
+
const Xr = [
|
|
3551
3563
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: "100% Money Back Guarantee" },
|
|
3552
3564
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: "No Hidden Cost" },
|
|
3553
3565
|
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label: "ISO 27001 Certified Company" },
|
|
@@ -3563,8 +3575,8 @@ const Yr = [
|
|
|
3563
3575
|
]
|
|
3564
3576
|
},
|
|
3565
3577
|
a
|
|
3566
|
-
),
|
|
3567
|
-
badges: t =
|
|
3578
|
+
), Qr = ({
|
|
3579
|
+
badges: t = Xr,
|
|
3568
3580
|
badgeClassName: a,
|
|
3569
3581
|
marquee: r = !0,
|
|
3570
3582
|
marqueeDurationSeconds: n = 14,
|
|
@@ -3575,7 +3587,7 @@ const Yr = [
|
|
|
3575
3587
|
{
|
|
3576
3588
|
className: "flex w-max items-center gap-3 whitespace-nowrap motion-reduce:animate-none",
|
|
3577
3589
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
3578
|
-
children: [...t, ...t].map((
|
|
3590
|
+
children: [...t, ...t].map((d, o) => Dt(d, `${d.id}-${o}`, a))
|
|
3579
3591
|
}
|
|
3580
3592
|
) }) : /* @__PURE__ */ e.jsx(
|
|
3581
3593
|
"div",
|
|
@@ -3586,7 +3598,7 @@ const Yr = [
|
|
|
3586
3598
|
l
|
|
3587
3599
|
),
|
|
3588
3600
|
...i,
|
|
3589
|
-
children: t.map((
|
|
3601
|
+
children: t.map((d) => Dt(d, d.id, a))
|
|
3590
3602
|
}
|
|
3591
3603
|
), Ft = {
|
|
3592
3604
|
en: {
|
|
@@ -3605,25 +3617,25 @@ const Yr = [
|
|
|
3605
3617
|
proceedLabel: "ముందుకు సాగండి",
|
|
3606
3618
|
infoButtonAriaLabel: "బిల్లు వివరాలను చూడండి"
|
|
3607
3619
|
}
|
|
3608
|
-
},
|
|
3620
|
+
}, Jr = (t) => Ft[t] ?? Ft.en, ct = ({
|
|
3609
3621
|
locale: t = "en",
|
|
3610
3622
|
amount: a,
|
|
3611
3623
|
amountClassName: r,
|
|
3612
3624
|
subtitle: n,
|
|
3613
3625
|
subtitleClassName: l,
|
|
3614
3626
|
showInfoIcon: i = !0,
|
|
3615
|
-
onInfoClick:
|
|
3627
|
+
onInfoClick: d,
|
|
3616
3628
|
infoIconClassName: o,
|
|
3617
3629
|
proceedLabel: c,
|
|
3618
3630
|
proceedIcon: g = /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
3619
|
-
onProceed:
|
|
3620
|
-
proceedButtonProps:
|
|
3621
|
-
buttonWrapperClassName:
|
|
3631
|
+
onProceed: f,
|
|
3632
|
+
proceedButtonProps: u,
|
|
3633
|
+
buttonWrapperClassName: x,
|
|
3622
3634
|
growProceedButton: b = !1,
|
|
3623
3635
|
className: p,
|
|
3624
3636
|
...C
|
|
3625
3637
|
}) => {
|
|
3626
|
-
const y =
|
|
3638
|
+
const y = Jr(t);
|
|
3627
3639
|
return /* @__PURE__ */ e.jsxs(
|
|
3628
3640
|
"div",
|
|
3629
3641
|
{
|
|
@@ -3649,11 +3661,11 @@ const Yr = [
|
|
|
3649
3661
|
"button",
|
|
3650
3662
|
{
|
|
3651
3663
|
type: "button",
|
|
3652
|
-
onClick:
|
|
3664
|
+
onClick: d,
|
|
3653
3665
|
"aria-label": y.infoButtonAriaLabel ?? "View bill details",
|
|
3654
3666
|
className: m(
|
|
3655
3667
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]!",
|
|
3656
|
-
!
|
|
3668
|
+
!d && "pointer-events-none",
|
|
3657
3669
|
o
|
|
3658
3670
|
),
|
|
3659
3671
|
children: /* @__PURE__ */ e.jsx(he, { size: 18, "aria-hidden": !0 })
|
|
@@ -3674,19 +3686,19 @@ const Yr = [
|
|
|
3674
3686
|
// with the price block (flex-1 min-w-0) taking the rest and
|
|
3675
3687
|
// truncating first.
|
|
3676
3688
|
b ? "flex-1" : "flex-none",
|
|
3677
|
-
|
|
3689
|
+
x
|
|
3678
3690
|
),
|
|
3679
3691
|
children: /* @__PURE__ */ e.jsxs(
|
|
3680
3692
|
Q,
|
|
3681
3693
|
{
|
|
3682
3694
|
variant: "primary",
|
|
3683
3695
|
size: "xl",
|
|
3684
|
-
onClick:
|
|
3685
|
-
...
|
|
3696
|
+
onClick: f,
|
|
3697
|
+
...u,
|
|
3686
3698
|
className: m(
|
|
3687
3699
|
"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",
|
|
3688
3700
|
b ? "w-full" : "min-w-40",
|
|
3689
|
-
|
|
3701
|
+
u?.className
|
|
3690
3702
|
),
|
|
3691
3703
|
children: [
|
|
3692
3704
|
c ?? y.proceedLabel,
|
|
@@ -3764,26 +3776,26 @@ const Yr = [
|
|
|
3764
3776
|
support: "కస్టమర్ సపోర్ట్"
|
|
3765
3777
|
}
|
|
3766
3778
|
}
|
|
3767
|
-
},
|
|
3779
|
+
}, en = (t) => Ht[t] ?? Ht.en, Nl = ({
|
|
3768
3780
|
locale: t = "en",
|
|
3769
3781
|
title: a,
|
|
3770
3782
|
description: r,
|
|
3771
3783
|
benefits: n,
|
|
3772
3784
|
options: l,
|
|
3773
3785
|
value: i,
|
|
3774
|
-
onChange:
|
|
3786
|
+
onChange: d,
|
|
3775
3787
|
radioVariant: o = "dot",
|
|
3776
3788
|
radiogroupLabel: c,
|
|
3777
3789
|
className: g,
|
|
3778
|
-
headerClassName:
|
|
3779
|
-
benefitsClassName:
|
|
3780
|
-
optionsClassName:
|
|
3790
|
+
headerClassName: f,
|
|
3791
|
+
benefitsClassName: u,
|
|
3792
|
+
optionsClassName: x,
|
|
3781
3793
|
trustBadges: b,
|
|
3782
3794
|
checkout: p,
|
|
3783
3795
|
stickyFooter: C = !0,
|
|
3784
3796
|
footerClassName: y
|
|
3785
3797
|
}) => {
|
|
3786
|
-
const j =
|
|
3798
|
+
const j = en(t), v = a ?? j.title, k = r ?? j.description, M = n ?? j.benefits, K = b ?? {
|
|
3787
3799
|
badges: [
|
|
3788
3800
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: j.trustBadgeLabels.moneyBack },
|
|
3789
3801
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: j.trustBadgeLabels.noHiddenCost },
|
|
@@ -3793,52 +3805,52 @@ const Yr = [
|
|
|
3793
3805
|
]
|
|
3794
3806
|
};
|
|
3795
3807
|
return /* @__PURE__ */ e.jsxs("div", { className: m("w-full", g), children: [
|
|
3796
|
-
/* @__PURE__ */ e.jsxs("div", { className: m("px-4 pt-5 pb-4",
|
|
3808
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("px-4 pt-5 pb-4", f), children: [
|
|
3797
3809
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: v }),
|
|
3798
|
-
|
|
3810
|
+
k && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: k })
|
|
3799
3811
|
] }),
|
|
3800
|
-
M && M.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",
|
|
3812
|
+
M && M.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: M.map((B, D) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
3801
3813
|
/* @__PURE__ */ e.jsx(nt, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
3802
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
3803
|
-
] },
|
|
3814
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: B })
|
|
3815
|
+
] }, D)) }),
|
|
3804
3816
|
/* @__PURE__ */ e.jsx(
|
|
3805
3817
|
"div",
|
|
3806
3818
|
{
|
|
3807
3819
|
role: "radiogroup",
|
|
3808
3820
|
"aria-label": c ?? (typeof v == "string" ? v : void 0),
|
|
3809
|
-
className: m("flex flex-col gap-3 p-4",
|
|
3810
|
-
children: l.map((
|
|
3821
|
+
className: m("flex flex-col gap-3 p-4", x),
|
|
3822
|
+
children: l.map((B) => {
|
|
3811
3823
|
const {
|
|
3812
|
-
id:
|
|
3813
|
-
price:
|
|
3814
|
-
free:
|
|
3815
|
-
badge:
|
|
3824
|
+
id: D,
|
|
3825
|
+
price: I,
|
|
3826
|
+
free: V,
|
|
3827
|
+
badge: W,
|
|
3816
3828
|
priceBadgeProps: P,
|
|
3817
3829
|
note: L,
|
|
3818
|
-
children:
|
|
3830
|
+
children: $,
|
|
3819
3831
|
iconClassName: J,
|
|
3820
|
-
radioVariant:
|
|
3821
|
-
...
|
|
3822
|
-
} =
|
|
3832
|
+
radioVariant: G,
|
|
3833
|
+
...ne
|
|
3834
|
+
} = B, U = i === D, ae = W ?? (I == null ? void 0 : V ? /* @__PURE__ */ e.jsx("span", { className: m("text-sm font-medium text-[#22272b]", P?.className), ...P, children: I }) : /* @__PURE__ */ e.jsx(fr, { value: I, ...P }));
|
|
3823
3835
|
return /* @__PURE__ */ e.jsx(
|
|
3824
3836
|
ot,
|
|
3825
3837
|
{
|
|
3826
|
-
...
|
|
3838
|
+
...ne,
|
|
3827
3839
|
iconClassName: m("size-10", J),
|
|
3828
|
-
radioVariant:
|
|
3829
|
-
badge:
|
|
3830
|
-
selected:
|
|
3831
|
-
onSelect: () =>
|
|
3832
|
-
note:
|
|
3833
|
-
children:
|
|
3840
|
+
radioVariant: G ?? o,
|
|
3841
|
+
badge: ae,
|
|
3842
|
+
selected: U,
|
|
3843
|
+
onSelect: () => d(D),
|
|
3844
|
+
note: U ? L : void 0,
|
|
3845
|
+
children: $
|
|
3834
3846
|
},
|
|
3835
|
-
|
|
3847
|
+
D
|
|
3836
3848
|
);
|
|
3837
3849
|
})
|
|
3838
3850
|
}
|
|
3839
3851
|
),
|
|
3840
|
-
(
|
|
3841
|
-
|
|
3852
|
+
(K || p) && /* @__PURE__ */ e.jsxs("div", { className: m(C && "sticky bottom-0 z-10", y), children: [
|
|
3853
|
+
K && /* @__PURE__ */ e.jsx(Qr, { ...K }),
|
|
3842
3854
|
p && /* @__PURE__ */ e.jsx(ct, { locale: t, ...p })
|
|
3843
3855
|
] })
|
|
3844
3856
|
] });
|
|
@@ -3882,31 +3894,31 @@ const Yr = [
|
|
|
3882
3894
|
ritualLabel: "ಆಚರಣೆಗಳು",
|
|
3883
3895
|
performerLabel: "ಕರ್ತೃಗಳು"
|
|
3884
3896
|
}
|
|
3885
|
-
},
|
|
3897
|
+
}, tn = (t) => Vt[t] ?? Vt.en, an = ({
|
|
3886
3898
|
locale: t = "en",
|
|
3887
3899
|
icon: a = /* @__PURE__ */ e.jsx(it, { "aria-hidden": !0 }),
|
|
3888
3900
|
iconClassName: r,
|
|
3889
3901
|
title: n,
|
|
3890
3902
|
titleClassName: l,
|
|
3891
3903
|
subtitle: i,
|
|
3892
|
-
subtitleItems:
|
|
3904
|
+
subtitleItems: d,
|
|
3893
3905
|
stats: o,
|
|
3894
3906
|
subtitleClassName: c,
|
|
3895
3907
|
cardClassName: g,
|
|
3896
|
-
className:
|
|
3897
|
-
...
|
|
3908
|
+
className: f,
|
|
3909
|
+
...u
|
|
3898
3910
|
}) => {
|
|
3899
|
-
const
|
|
3900
|
-
`${o.ancestors} ${o.ancestors === 1 ?
|
|
3901
|
-
`${o.rituals} ${o.rituals === 1 ?
|
|
3902
|
-
`${o.performers} ${o.performers === 1 ?
|
|
3911
|
+
const x = tn(t), b = n ?? x.title, p = d ?? (o && [
|
|
3912
|
+
`${o.ancestors} ${o.ancestors === 1 ? x.ancestorLabel : x.ancestorsLabel}`,
|
|
3913
|
+
`${o.rituals} ${o.rituals === 1 ? x.ritualLabel : x.ritualsLabel}`,
|
|
3914
|
+
`${o.performers} ${o.performers === 1 ? x.performerLabel : x.performersLabel}`
|
|
3903
3915
|
]);
|
|
3904
|
-
return /* @__PURE__ */ e.jsx("div", { className: m("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",
|
|
3916
|
+
return /* @__PURE__ */ e.jsx("div", { className: m("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", f), ...u, children: /* @__PURE__ */ e.jsxs("div", { className: m("rounded-2xl bg-white p-4 shadow-sm", g), children: [
|
|
3905
3917
|
/* @__PURE__ */ e.jsxs("p", { className: m("flex items-center gap-2 text-sm font-bold text-[#db2777]", l), children: [
|
|
3906
3918
|
a && /* @__PURE__ */ e.jsx("span", { className: m("shrink-0 text-sm", r), children: a }),
|
|
3907
3919
|
b
|
|
3908
3920
|
] }),
|
|
3909
|
-
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className: m("mt-2 text-[15px] font-semibold text-[#1d2125]", c), children: p && p.length > 0 ? p.map((C, y) => /* @__PURE__ */ e.jsxs(
|
|
3921
|
+
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className: m("mt-2 text-[15px] font-semibold text-[#1d2125]", c), children: p && p.length > 0 ? p.map((C, y) => /* @__PURE__ */ e.jsxs(_.Fragment, { children: [
|
|
3910
3922
|
y > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
3911
3923
|
C
|
|
3912
3924
|
] }, y)) : i })
|
|
@@ -3957,15 +3969,15 @@ const Na = ({
|
|
|
3957
3969
|
rows: n,
|
|
3958
3970
|
rowClassName: l,
|
|
3959
3971
|
showTitleAccent: i = !0,
|
|
3960
|
-
totalValue:
|
|
3972
|
+
totalValue: d,
|
|
3961
3973
|
totalClassName: o,
|
|
3962
3974
|
isGlobalUser: c = !1,
|
|
3963
3975
|
showDefaultWaivedFees: g = !0,
|
|
3964
|
-
className:
|
|
3965
|
-
...
|
|
3976
|
+
className: f,
|
|
3977
|
+
...u
|
|
3966
3978
|
}) => {
|
|
3967
|
-
const { title:
|
|
3968
|
-
return /* @__PURE__ */ e.jsxs("div", { className: m("bg-white px-4 py-6",
|
|
3979
|
+
const { title: x, totalLabel: b, panditFeeLabel: p, photoVideoFeeLabel: C, freeLabel: y } = ya(t);
|
|
3980
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("bg-white px-4 py-6", f), ...u, children: [
|
|
3969
3981
|
r && /* @__PURE__ */ e.jsxs(
|
|
3970
3982
|
"h2",
|
|
3971
3983
|
{
|
|
@@ -3981,7 +3993,7 @@ const Na = ({
|
|
|
3981
3993
|
className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"
|
|
3982
3994
|
}
|
|
3983
3995
|
),
|
|
3984
|
-
|
|
3996
|
+
x
|
|
3985
3997
|
]
|
|
3986
3998
|
}
|
|
3987
3999
|
),
|
|
@@ -4052,7 +4064,7 @@ const Na = ({
|
|
|
4052
4064
|
)
|
|
4053
4065
|
] })
|
|
4054
4066
|
] }),
|
|
4055
|
-
|
|
4067
|
+
d !== void 0 && /* @__PURE__ */ e.jsxs(
|
|
4056
4068
|
"div",
|
|
4057
4069
|
{
|
|
4058
4070
|
className: m(
|
|
@@ -4061,31 +4073,31 @@ const Na = ({
|
|
|
4061
4073
|
),
|
|
4062
4074
|
children: [
|
|
4063
4075
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: b }),
|
|
4064
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children:
|
|
4076
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: d })
|
|
4065
4077
|
]
|
|
4066
4078
|
}
|
|
4067
4079
|
)
|
|
4068
4080
|
] });
|
|
4069
|
-
},
|
|
4070
|
-
function
|
|
4081
|
+
}, sn = "https://srm-cdn.a4b.io/yoda/1789670818921.svg";
|
|
4082
|
+
function wl({
|
|
4071
4083
|
isOpen: t,
|
|
4072
4084
|
onClose: a,
|
|
4073
4085
|
locale: r = "en",
|
|
4074
4086
|
title: n,
|
|
4075
4087
|
itemCountLabel: l,
|
|
4076
4088
|
closeButtonAriaLabel: i = "Close",
|
|
4077
|
-
rows:
|
|
4089
|
+
rows: d,
|
|
4078
4090
|
totalValue: o,
|
|
4079
4091
|
isGlobalUser: c = !1,
|
|
4080
4092
|
showDefaultWaivedFees: g = !0
|
|
4081
4093
|
}) {
|
|
4082
|
-
const
|
|
4094
|
+
const f = ya(r);
|
|
4083
4095
|
return /* @__PURE__ */ e.jsx(
|
|
4084
4096
|
Pe,
|
|
4085
4097
|
{
|
|
4086
4098
|
isOpen: t,
|
|
4087
4099
|
onClose: a,
|
|
4088
|
-
ariaLabel: String(n ??
|
|
4100
|
+
ariaLabel: String(n ?? f.title),
|
|
4089
4101
|
showCloseButton: !1,
|
|
4090
4102
|
className: "overflow-hidden rounded-t-[20px] bg-[#f7f8f9]",
|
|
4091
4103
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between border-b border-black/5 bg-white p-4", children: [
|
|
@@ -4093,14 +4105,14 @@ function yl({
|
|
|
4093
4105
|
/* @__PURE__ */ e.jsx(
|
|
4094
4106
|
"img",
|
|
4095
4107
|
{
|
|
4096
|
-
src:
|
|
4108
|
+
src: sn,
|
|
4097
4109
|
alt: "",
|
|
4098
4110
|
"aria-hidden": !0,
|
|
4099
4111
|
className: "size-8 shrink-0"
|
|
4100
4112
|
}
|
|
4101
4113
|
),
|
|
4102
4114
|
/* @__PURE__ */ e.jsxs("h2", { className: "min-w-0 flex-1 text-base font-bold leading-5.5 text-gray-700", children: [
|
|
4103
|
-
n ??
|
|
4115
|
+
n ?? f.title,
|
|
4104
4116
|
l && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4105
4117
|
" (",
|
|
4106
4118
|
l,
|
|
@@ -4123,7 +4135,7 @@ function yl({
|
|
|
4123
4135
|
Na,
|
|
4124
4136
|
{
|
|
4125
4137
|
locale: r,
|
|
4126
|
-
rows:
|
|
4138
|
+
rows: d,
|
|
4127
4139
|
totalValue: o,
|
|
4128
4140
|
isGlobalUser: c,
|
|
4129
4141
|
showTitle: !1,
|
|
@@ -4137,37 +4149,37 @@ function yl({
|
|
|
4137
4149
|
}
|
|
4138
4150
|
);
|
|
4139
4151
|
}
|
|
4140
|
-
const
|
|
4152
|
+
const Cl = ({
|
|
4141
4153
|
locale: t = "en",
|
|
4142
4154
|
onBack: a,
|
|
4143
4155
|
backButtonAriaLabel: r,
|
|
4144
4156
|
headerClassName: n,
|
|
4145
4157
|
backButtonClassName: l,
|
|
4146
4158
|
headerTitleClassName: i,
|
|
4147
|
-
beforeAddons:
|
|
4159
|
+
beforeAddons: d,
|
|
4148
4160
|
summary: o,
|
|
4149
4161
|
items: c,
|
|
4150
4162
|
itemsClassName: g,
|
|
4151
|
-
itemClassName:
|
|
4152
|
-
onItemRef:
|
|
4153
|
-
addons:
|
|
4163
|
+
itemClassName: f,
|
|
4164
|
+
onItemRef: u,
|
|
4165
|
+
addons: x,
|
|
4154
4166
|
addonsSectionClassName: b,
|
|
4155
4167
|
addonsHeaderClassName: p,
|
|
4156
4168
|
addonsTitleClassName: C,
|
|
4157
4169
|
addonsDescriptionClassName: y,
|
|
4158
4170
|
addonsClassName: j,
|
|
4159
4171
|
addonClassName: v,
|
|
4160
|
-
addonComponent:
|
|
4172
|
+
addonComponent: k = Yr,
|
|
4161
4173
|
onAddonRef: M,
|
|
4162
|
-
billDetails:
|
|
4163
|
-
faq:
|
|
4164
|
-
checkout:
|
|
4165
|
-
className:
|
|
4166
|
-
children:
|
|
4167
|
-
|
|
4174
|
+
billDetails: K,
|
|
4175
|
+
faq: B,
|
|
4176
|
+
checkout: D,
|
|
4177
|
+
className: I,
|
|
4178
|
+
children: V,
|
|
4179
|
+
...W
|
|
4168
4180
|
}) => {
|
|
4169
|
-
const { backButtonAriaLabel: P, headerTitle: L, addonsTitle:
|
|
4170
|
-
return /* @__PURE__ */ e.jsxs("div", { className: m("flex min-h-screen flex-col bg-white",
|
|
4181
|
+
const { backButtonAriaLabel: P, headerTitle: L, addonsTitle: $, addonsDescription: J, checkoutProceedLabel: G, checkoutRitualSingular: ne, checkoutRitualPlural: U } = Ke(t), { price: ae, ritualCount: le, ...T } = D ?? {};
|
|
4182
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex min-h-screen flex-col bg-white", I), ...W, children: [
|
|
4171
4183
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
4172
4184
|
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3 px-4 py-3", n), children: [
|
|
4173
4185
|
a && /* @__PURE__ */ e.jsx(
|
|
@@ -4185,53 +4197,53 @@ const Nl = ({
|
|
|
4185
4197
|
),
|
|
4186
4198
|
/* @__PURE__ */ e.jsx("h1", { className: m("text-lg font-bold text-[#1d2125]", i), children: L })
|
|
4187
4199
|
] }),
|
|
4188
|
-
o && /* @__PURE__ */ e.jsx(
|
|
4189
|
-
c && c.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3 bg-white px-4 py-4", g), children: c.map(({ id:
|
|
4200
|
+
o && /* @__PURE__ */ e.jsx(an, { ...o }),
|
|
4201
|
+
c && c.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3 bg-white px-4 py-4", g), children: c.map(({ id: E, className: oe, isMandapCharge: de, ...ce }) => /* @__PURE__ */ e.jsx("div", { ref: u ? (xe) => u(E, xe) : void 0, children: de ? /* @__PURE__ */ e.jsx(
|
|
4190
4202
|
mr,
|
|
4191
4203
|
{
|
|
4192
4204
|
locale: t,
|
|
4193
|
-
className: m(
|
|
4205
|
+
className: m(f, oe),
|
|
4194
4206
|
...ce
|
|
4195
4207
|
}
|
|
4196
4208
|
) : /* @__PURE__ */ e.jsx(
|
|
4197
4209
|
pa,
|
|
4198
4210
|
{
|
|
4199
|
-
className: m(
|
|
4211
|
+
className: m(f, oe),
|
|
4200
4212
|
...ce
|
|
4201
4213
|
}
|
|
4202
|
-
) },
|
|
4203
|
-
|
|
4204
|
-
|
|
4214
|
+
) }, E)) }),
|
|
4215
|
+
d,
|
|
4216
|
+
x && x.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-4 bg-gray-50 px-4 py-6", b), children: [
|
|
4205
4217
|
/* @__PURE__ */ e.jsxs("div", { className: p, children: [
|
|
4206
|
-
/* @__PURE__ */ e.jsx("h2", { className: m("text-base font-bold text-gray-700", C), children:
|
|
4218
|
+
/* @__PURE__ */ e.jsx("h2", { className: m("text-base font-bold text-gray-700", C), children: $ }),
|
|
4207
4219
|
/* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", y), children: J })
|
|
4208
4220
|
] }),
|
|
4209
|
-
/* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-4", j), children:
|
|
4210
|
-
|
|
4221
|
+
/* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-4", j), children: x.map(({ id: E, className: oe, ...de }) => /* @__PURE__ */ e.jsx("div", { ref: M ? (ce) => M(E, ce) : void 0, children: /* @__PURE__ */ e.jsx(
|
|
4222
|
+
k,
|
|
4211
4223
|
{
|
|
4212
4224
|
locale: t,
|
|
4213
4225
|
className: m(v, oe),
|
|
4214
4226
|
...de
|
|
4215
4227
|
}
|
|
4216
|
-
) },
|
|
4228
|
+
) }, E)) })
|
|
4217
4229
|
] }),
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4230
|
+
K && /* @__PURE__ */ e.jsx(Na, { ...K, locale: t }),
|
|
4231
|
+
B && /* @__PURE__ */ e.jsx(nr, { ...B }),
|
|
4232
|
+
V
|
|
4221
4233
|
] }),
|
|
4222
|
-
|
|
4234
|
+
D && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
4223
4235
|
ct,
|
|
4224
4236
|
{
|
|
4225
4237
|
growProceedButton: !0,
|
|
4226
4238
|
...T,
|
|
4227
4239
|
locale: t,
|
|
4228
|
-
amount:
|
|
4229
|
-
subtitle: `${le} ${le === 1 ?
|
|
4230
|
-
proceedLabel:
|
|
4240
|
+
amount: ae,
|
|
4241
|
+
subtitle: `${le} ${le === 1 ? ne : U}`,
|
|
4242
|
+
proceedLabel: G
|
|
4231
4243
|
}
|
|
4232
4244
|
) })
|
|
4233
4245
|
] });
|
|
4234
|
-
}, ue =
|
|
4246
|
+
}, ue = _.forwardRef(
|
|
4235
4247
|
({
|
|
4236
4248
|
label: t,
|
|
4237
4249
|
value: a,
|
|
@@ -4239,15 +4251,15 @@ const Nl = ({
|
|
|
4239
4251
|
prefix: n,
|
|
4240
4252
|
showCharCount: l = !1,
|
|
4241
4253
|
supportingText: i,
|
|
4242
|
-
error:
|
|
4254
|
+
error: d = !1,
|
|
4243
4255
|
className: o,
|
|
4244
4256
|
containerClassName: c,
|
|
4245
4257
|
wrapperClassName: g,
|
|
4246
|
-
maxLength:
|
|
4247
|
-
id:
|
|
4248
|
-
...
|
|
4258
|
+
maxLength: f,
|
|
4259
|
+
id: u,
|
|
4260
|
+
...x
|
|
4249
4261
|
}, b) => {
|
|
4250
|
-
const p =
|
|
4262
|
+
const p = _.useId(), C = u ?? p, y = i ?? (l ? `${a.length}${f ? `/${f}` : ""}` : void 0);
|
|
4251
4263
|
return /* @__PURE__ */ e.jsxs("div", { className: m("flex w-full flex-col gap-2", c), children: [
|
|
4252
4264
|
t && /* @__PURE__ */ e.jsx("label", { htmlFor: C, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
4253
4265
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
@@ -4256,7 +4268,7 @@ const Nl = ({
|
|
|
4256
4268
|
{
|
|
4257
4269
|
className: m(
|
|
4258
4270
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
4259
|
-
|
|
4271
|
+
d ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
4260
4272
|
g
|
|
4261
4273
|
),
|
|
4262
4274
|
children: [
|
|
@@ -4267,37 +4279,37 @@ const Nl = ({
|
|
|
4267
4279
|
ref: b,
|
|
4268
4280
|
id: C,
|
|
4269
4281
|
value: a,
|
|
4270
|
-
maxLength:
|
|
4282
|
+
maxLength: f,
|
|
4271
4283
|
onChange: (j) => r(j.target.value),
|
|
4272
|
-
"aria-invalid":
|
|
4284
|
+
"aria-invalid": d,
|
|
4273
4285
|
className: m(
|
|
4274
4286
|
"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",
|
|
4275
4287
|
o
|
|
4276
4288
|
),
|
|
4277
|
-
...
|
|
4289
|
+
...x
|
|
4278
4290
|
}
|
|
4279
4291
|
)
|
|
4280
4292
|
]
|
|
4281
4293
|
}
|
|
4282
4294
|
),
|
|
4283
|
-
y && /* @__PURE__ */ e.jsx("p", { className: m("text-[12px] leading-4 font-medium",
|
|
4295
|
+
y && /* @__PURE__ */ e.jsx("p", { className: m("text-[12px] leading-4 font-medium", d ? "text-[#ef4444]" : "text-[#9ca3af]"), children: y })
|
|
4284
4296
|
] })
|
|
4285
4297
|
] });
|
|
4286
4298
|
}
|
|
4287
4299
|
);
|
|
4288
4300
|
ue.displayName = "TextField";
|
|
4289
|
-
function
|
|
4301
|
+
function Ll({
|
|
4290
4302
|
isOpen: t,
|
|
4291
4303
|
onClose: a,
|
|
4292
4304
|
avatarUrl: r,
|
|
4293
4305
|
heading: n,
|
|
4294
4306
|
tithis: l,
|
|
4295
4307
|
confirmLabel: i,
|
|
4296
|
-
onConfirm:
|
|
4308
|
+
onConfirm: d,
|
|
4297
4309
|
initialTithi: o
|
|
4298
4310
|
}) {
|
|
4299
|
-
const [c, g] =
|
|
4300
|
-
c &&
|
|
4311
|
+
const [c, g] = H(o), f = () => {
|
|
4312
|
+
c && d(c);
|
|
4301
4313
|
};
|
|
4302
4314
|
return /* @__PURE__ */ e.jsx(
|
|
4303
4315
|
ze,
|
|
@@ -4324,22 +4336,22 @@ function wl({
|
|
|
4324
4336
|
size: "md",
|
|
4325
4337
|
className: "w-full rounded-xl",
|
|
4326
4338
|
disabled: !c,
|
|
4327
|
-
onClick:
|
|
4339
|
+
onClick: f,
|
|
4328
4340
|
children: i
|
|
4329
4341
|
}
|
|
4330
4342
|
)
|
|
4331
4343
|
] }),
|
|
4332
|
-
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((
|
|
4333
|
-
const
|
|
4344
|
+
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) => {
|
|
4345
|
+
const x = c === u;
|
|
4334
4346
|
return /* @__PURE__ */ e.jsx(
|
|
4335
4347
|
"button",
|
|
4336
4348
|
{
|
|
4337
4349
|
type: "button",
|
|
4338
|
-
onClick: () => g(
|
|
4339
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
4340
|
-
children:
|
|
4350
|
+
onClick: () => g(u),
|
|
4351
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${x ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
4352
|
+
children: u
|
|
4341
4353
|
},
|
|
4342
|
-
|
|
4354
|
+
u
|
|
4343
4355
|
);
|
|
4344
4356
|
}) })
|
|
4345
4357
|
}
|
|
@@ -4347,17 +4359,17 @@ function wl({
|
|
|
4347
4359
|
}
|
|
4348
4360
|
const Ce = 48;
|
|
4349
4361
|
function Le({ options: t, selectedIndex: a, onChange: r }) {
|
|
4350
|
-
const n =
|
|
4351
|
-
|
|
4362
|
+
const n = _.useRef(null), l = _.useRef(!1);
|
|
4363
|
+
_.useEffect(() => {
|
|
4352
4364
|
l.current || !n.current || (l.current = !0, n.current.scrollTop = a * Ce);
|
|
4353
|
-
}, []),
|
|
4365
|
+
}, []), _.useEffect(() => {
|
|
4354
4366
|
!l.current || !n.current || (n.current.scrollTop = a * Ce);
|
|
4355
4367
|
}, [t.length, a]);
|
|
4356
4368
|
const i = () => {
|
|
4357
4369
|
if (!n.current) return;
|
|
4358
4370
|
const o = Math.round(n.current.scrollTop / Ce), c = Math.max(0, Math.min(t.length - 1, o));
|
|
4359
4371
|
c !== a && r(c);
|
|
4360
|
-
},
|
|
4372
|
+
}, d = (o) => {
|
|
4361
4373
|
n.current?.scrollTo({ top: o * Ce, behavior: "smooth" }), r(o);
|
|
4362
4374
|
};
|
|
4363
4375
|
return /* @__PURE__ */ e.jsx("div", { className: "relative h-36 w-full", children: /* @__PURE__ */ e.jsxs(
|
|
@@ -4373,7 +4385,7 @@ function Le({ options: t, selectedIndex: a, onChange: r }) {
|
|
|
4373
4385
|
"button",
|
|
4374
4386
|
{
|
|
4375
4387
|
type: "button",
|
|
4376
|
-
onClick: () =>
|
|
4388
|
+
onClick: () => d(c),
|
|
4377
4389
|
className: `flex h-12 w-full snap-center items-center justify-center whitespace-nowrap border-0 bg-transparent text-[20px] leading-7 ${c === a ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
|
|
4378
4390
|
children: o
|
|
4379
4391
|
},
|
|
@@ -4384,42 +4396,42 @@ function Le({ options: t, selectedIndex: a, onChange: r }) {
|
|
|
4384
4396
|
}
|
|
4385
4397
|
) });
|
|
4386
4398
|
}
|
|
4387
|
-
const Gt = Array.from({ length: 31 }, (t, a) => a + 1),
|
|
4388
|
-
function
|
|
4399
|
+
const Gt = Array.from({ length: 31 }, (t, a) => a + 1), rn = Array.from({ length: 12 }, (t, a) => a);
|
|
4400
|
+
function kl({
|
|
4389
4401
|
isOpen: t,
|
|
4390
4402
|
onClose: a,
|
|
4391
4403
|
avatarUrl: r,
|
|
4392
4404
|
heading: n,
|
|
4393
4405
|
monthLabels: l,
|
|
4394
4406
|
confirmLabel: i,
|
|
4395
|
-
onConfirm:
|
|
4407
|
+
onConfirm: d,
|
|
4396
4408
|
timezoneLabel: o,
|
|
4397
4409
|
initialDate: c,
|
|
4398
4410
|
minYear: g,
|
|
4399
|
-
maxYear:
|
|
4400
|
-
minDate:
|
|
4401
|
-
maxDate:
|
|
4411
|
+
maxYear: f = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
4412
|
+
minDate: u,
|
|
4413
|
+
maxDate: x
|
|
4402
4414
|
}) {
|
|
4403
|
-
const b =
|
|
4415
|
+
const b = u?.year ?? g, p = x?.year ?? f, C = $e(() => {
|
|
4404
4416
|
const P = b ?? p - 120;
|
|
4405
|
-
return Array.from({ length: p - P + 1 }, (L,
|
|
4406
|
-
}, [b, p]), [y, j] =
|
|
4417
|
+
return Array.from({ length: p - P + 1 }, (L, $) => P + $);
|
|
4418
|
+
}, [b, p]), [y, j] = H(() => c ? c.day - 1 : Math.floor(Gt.length / 2)), [v, k] = H(() => c ? c.month - 1 : 0), [M, K] = H(
|
|
4407
4419
|
() => c ? Math.max(0, C.indexOf(c.year)) : Math.floor(C.length / 2)
|
|
4408
|
-
),
|
|
4409
|
-
let P =
|
|
4410
|
-
return
|
|
4411
|
-
}, [
|
|
4420
|
+
), B = C[M], D = $e(() => {
|
|
4421
|
+
let P = rn;
|
|
4422
|
+
return x && B === x.year && (P = P.filter((L) => L <= x.month - 1)), u && B === u.year && (P = P.filter((L) => L >= u.month - 1)), P;
|
|
4423
|
+
}, [B, u, x]), I = (D[v] ?? D[D.length - 1] ?? 0) + 1, V = $e(() => {
|
|
4412
4424
|
let P = Gt;
|
|
4413
|
-
return
|
|
4414
|
-
}, [
|
|
4425
|
+
return x && B === x.year && I === x.month && (P = P.filter((L) => L <= x.day)), u && B === u.year && I === u.month && (P = P.filter((L) => L >= u.day)), P;
|
|
4426
|
+
}, [B, I, u, x]);
|
|
4415
4427
|
We(() => {
|
|
4416
|
-
|
|
4417
|
-
}, [
|
|
4418
|
-
j((P) => Math.min(P,
|
|
4419
|
-
}, [
|
|
4420
|
-
const
|
|
4421
|
-
const P =
|
|
4422
|
-
|
|
4428
|
+
k((P) => Math.min(P, D.length - 1));
|
|
4429
|
+
}, [D]), We(() => {
|
|
4430
|
+
j((P) => Math.min(P, V.length - 1));
|
|
4431
|
+
}, [V]);
|
|
4432
|
+
const W = () => {
|
|
4433
|
+
const P = V[y] ?? V[V.length - 1] ?? 1;
|
|
4434
|
+
d({ day: P, month: I, year: B });
|
|
4423
4435
|
};
|
|
4424
4436
|
return /* @__PURE__ */ e.jsx(
|
|
4425
4437
|
ze,
|
|
@@ -4435,19 +4447,19 @@ function Cl({
|
|
|
4435
4447
|
] }),
|
|
4436
4448
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6 px-5 pt-2 pb-5", children: [
|
|
4437
4449
|
o && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: o }),
|
|
4438
|
-
/* @__PURE__ */ e.jsx(Q, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick:
|
|
4450
|
+
/* @__PURE__ */ e.jsx(Q, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: W, children: i })
|
|
4439
4451
|
] }),
|
|
4440
4452
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4441
|
-
/* @__PURE__ */ e.jsx(Le, { options:
|
|
4453
|
+
/* @__PURE__ */ e.jsx(Le, { options: V.map(String), selectedIndex: y, onChange: j }),
|
|
4442
4454
|
/* @__PURE__ */ e.jsx(
|
|
4443
4455
|
Le,
|
|
4444
4456
|
{
|
|
4445
|
-
options:
|
|
4457
|
+
options: D.map((P) => l[P]),
|
|
4446
4458
|
selectedIndex: v,
|
|
4447
|
-
onChange:
|
|
4459
|
+
onChange: k
|
|
4448
4460
|
}
|
|
4449
4461
|
),
|
|
4450
|
-
/* @__PURE__ */ e.jsx(Le, { options: C.map(String), selectedIndex: M, onChange:
|
|
4462
|
+
/* @__PURE__ */ e.jsx(Le, { options: C.map(String), selectedIndex: M, onChange: K }),
|
|
4451
4463
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]" }),
|
|
4452
4464
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]" })
|
|
4453
4465
|
] })
|
|
@@ -4455,28 +4467,28 @@ function Cl({
|
|
|
4455
4467
|
);
|
|
4456
4468
|
}
|
|
4457
4469
|
const tt = Array.from({ length: 12 }, (t, a) => a + 1), Ut = Array.from({ length: 60 }, (t, a) => a);
|
|
4458
|
-
function
|
|
4470
|
+
function nn(t) {
|
|
4459
4471
|
const a = t >= 12 ? "PM" : "AM";
|
|
4460
4472
|
return { hour12: t % 12 === 0 ? 12 : t % 12, period: a };
|
|
4461
4473
|
}
|
|
4462
|
-
function
|
|
4474
|
+
function ln(t, a) {
|
|
4463
4475
|
return a === "AM" ? t === 12 ? 0 : t : t === 12 ? 12 : t + 12;
|
|
4464
4476
|
}
|
|
4465
|
-
function
|
|
4477
|
+
function _l({
|
|
4466
4478
|
isOpen: t,
|
|
4467
4479
|
onClose: a,
|
|
4468
4480
|
avatarUrl: r,
|
|
4469
4481
|
heading: n,
|
|
4470
4482
|
confirmLabel: l,
|
|
4471
4483
|
onConfirm: i,
|
|
4472
|
-
timezoneLabel:
|
|
4484
|
+
timezoneLabel: d,
|
|
4473
4485
|
initialTime: o,
|
|
4474
4486
|
amLabel: c = "AM",
|
|
4475
4487
|
pmLabel: g = "PM"
|
|
4476
4488
|
}) {
|
|
4477
|
-
const
|
|
4478
|
-
const
|
|
4479
|
-
i({ hour:
|
|
4489
|
+
const f = $e(() => nn(o?.hour ?? 11), [o?.hour]), u = [c, g], [x, b] = H(() => tt.indexOf(f.hour12)), [p, C] = H(() => o?.minute ?? 0), [y, j] = H(() => f.period === "AM" ? 0 : 1), v = () => {
|
|
4490
|
+
const k = ln(tt[x], y === 0 ? "AM" : "PM");
|
|
4491
|
+
i({ hour: k, minute: Ut[p] });
|
|
4480
4492
|
};
|
|
4481
4493
|
return /* @__PURE__ */ e.jsx(
|
|
4482
4494
|
ze,
|
|
@@ -4491,27 +4503,27 @@ function Ll({
|
|
|
4491
4503
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#1d2125]", children: n })
|
|
4492
4504
|
] }),
|
|
4493
4505
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6 px-5 pt-2 pb-5", children: [
|
|
4494
|
-
|
|
4506
|
+
d && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: d }),
|
|
4495
4507
|
/* @__PURE__ */ e.jsx(Q, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: v, children: l })
|
|
4496
4508
|
] }),
|
|
4497
4509
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4498
|
-
/* @__PURE__ */ e.jsx(Le, { options: tt.map(String), selectedIndex:
|
|
4510
|
+
/* @__PURE__ */ e.jsx(Le, { options: tt.map(String), selectedIndex: x, onChange: b }),
|
|
4499
4511
|
/* @__PURE__ */ e.jsx(
|
|
4500
4512
|
Le,
|
|
4501
4513
|
{
|
|
4502
|
-
options: Ut.map((
|
|
4514
|
+
options: Ut.map((k) => String(k).padStart(2, "0")),
|
|
4503
4515
|
selectedIndex: p,
|
|
4504
4516
|
onChange: C
|
|
4505
4517
|
}
|
|
4506
4518
|
),
|
|
4507
|
-
/* @__PURE__ */ e.jsx(Le, { options:
|
|
4519
|
+
/* @__PURE__ */ e.jsx(Le, { options: u, selectedIndex: y, onChange: j }),
|
|
4508
4520
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]" }),
|
|
4509
4521
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]" })
|
|
4510
4522
|
] })
|
|
4511
4523
|
}
|
|
4512
4524
|
);
|
|
4513
4525
|
}
|
|
4514
|
-
function
|
|
4526
|
+
function on({ className: t }) {
|
|
4515
4527
|
return /* @__PURE__ */ e.jsxs(
|
|
4516
4528
|
"svg",
|
|
4517
4529
|
{
|
|
@@ -4541,20 +4553,20 @@ function nn({ className: t }) {
|
|
|
4541
4553
|
}
|
|
4542
4554
|
);
|
|
4543
4555
|
}
|
|
4544
|
-
function
|
|
4556
|
+
function Pl({
|
|
4545
4557
|
isOpen: t,
|
|
4546
4558
|
onClose: a,
|
|
4547
4559
|
heading: r,
|
|
4548
4560
|
subtext: n,
|
|
4549
4561
|
placeholder: l,
|
|
4550
4562
|
confirmLabel: i,
|
|
4551
|
-
onConfirm:
|
|
4563
|
+
onConfirm: d,
|
|
4552
4564
|
initialValue: o = "",
|
|
4553
4565
|
countries: c = Ua,
|
|
4554
4566
|
initialCountryIso: g = "IN"
|
|
4555
4567
|
}) {
|
|
4556
|
-
const
|
|
4557
|
-
p && u
|
|
4568
|
+
const f = c.find((y) => y.iso === g) ?? c[0], [u, x] = H(o), b = sa(f.code), p = ra(u, f.code).isValid && u.length > 0, C = () => {
|
|
4569
|
+
p && d(u, f);
|
|
4558
4570
|
};
|
|
4559
4571
|
return /* @__PURE__ */ e.jsx(
|
|
4560
4572
|
Pe,
|
|
@@ -4587,14 +4599,14 @@ function kl({
|
|
|
4587
4599
|
{
|
|
4588
4600
|
type: "tel",
|
|
4589
4601
|
inputMode: "numeric",
|
|
4590
|
-
value:
|
|
4602
|
+
value: u,
|
|
4591
4603
|
placeholder: l,
|
|
4592
4604
|
prefix: /* @__PURE__ */ e.jsxs("span", { className: "inline-flex shrink-0 items-center gap-1", children: [
|
|
4593
|
-
/* @__PURE__ */ e.jsx(
|
|
4594
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children:
|
|
4605
|
+
/* @__PURE__ */ e.jsx(on, { className: "size-6" }),
|
|
4606
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children: f.code })
|
|
4595
4607
|
] }),
|
|
4596
4608
|
maxLength: b,
|
|
4597
|
-
onChange: (y) =>
|
|
4609
|
+
onChange: (y) => x(y.replace(/\D/g, "").slice(0, b)),
|
|
4598
4610
|
containerClassName: "mt-2 w-full gap-0",
|
|
4599
4611
|
wrapperClassName: "h-14 gap-2 rounded-xl px-4",
|
|
4600
4612
|
className: "text-[18px] placeholder:text-[#ced1d7]"
|
|
@@ -4604,19 +4616,19 @@ function kl({
|
|
|
4604
4616
|
}
|
|
4605
4617
|
);
|
|
4606
4618
|
}
|
|
4607
|
-
const
|
|
4608
|
-
function
|
|
4619
|
+
const cn = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
4620
|
+
function Sl({
|
|
4609
4621
|
isOpen: t,
|
|
4610
4622
|
onClose: a,
|
|
4611
4623
|
heading: r,
|
|
4612
4624
|
subtext: n,
|
|
4613
4625
|
confirmLabel: l,
|
|
4614
4626
|
onConfirm: i,
|
|
4615
|
-
initialValue:
|
|
4627
|
+
initialValue: d = "",
|
|
4616
4628
|
errorText: o = "Please enter a valid email"
|
|
4617
4629
|
}) {
|
|
4618
|
-
const [c, g] =
|
|
4619
|
-
b && i(
|
|
4630
|
+
const [c, g] = H(d), [f, u] = H(!1), x = c.trim(), b = cn.test(x), p = f && x.length > 0 && !b, C = () => {
|
|
4631
|
+
b && i(x);
|
|
4620
4632
|
};
|
|
4621
4633
|
return /* @__PURE__ */ e.jsx(
|
|
4622
4634
|
Pe,
|
|
@@ -4653,7 +4665,7 @@ function _l({
|
|
|
4653
4665
|
error: p,
|
|
4654
4666
|
supportingText: p ? o : void 0,
|
|
4655
4667
|
onChange: g,
|
|
4656
|
-
onBlur: () =>
|
|
4668
|
+
onBlur: () => u(!0),
|
|
4657
4669
|
containerClassName: "mt-2",
|
|
4658
4670
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
4659
4671
|
className: "text-[18px]"
|
|
@@ -4663,41 +4675,41 @@ function _l({
|
|
|
4663
4675
|
}
|
|
4664
4676
|
);
|
|
4665
4677
|
}
|
|
4666
|
-
const
|
|
4667
|
-
function
|
|
4678
|
+
const dn = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
4679
|
+
function Tl({
|
|
4668
4680
|
chipNumber: t,
|
|
4669
4681
|
chipLabel: a,
|
|
4670
4682
|
isAdded: r,
|
|
4671
4683
|
onEditClick: n,
|
|
4672
4684
|
editButtonAriaLabel: l = "Edit",
|
|
4673
4685
|
onExpandClick: i,
|
|
4674
|
-
expandButtonAriaLabel:
|
|
4686
|
+
expandButtonAriaLabel: d = "Expand",
|
|
4675
4687
|
imageUrl: o,
|
|
4676
4688
|
imageAlt: c,
|
|
4677
4689
|
imageComponent: g,
|
|
4678
|
-
ratingLabel:
|
|
4679
|
-
bookedLabel:
|
|
4680
|
-
title:
|
|
4690
|
+
ratingLabel: f,
|
|
4691
|
+
bookedLabel: u,
|
|
4692
|
+
title: x,
|
|
4681
4693
|
description: b,
|
|
4682
4694
|
learnMoreLabel: p,
|
|
4683
4695
|
onLearnMoreClick: C,
|
|
4684
4696
|
learnMoreHref: y,
|
|
4685
4697
|
dateLabel: j,
|
|
4686
4698
|
locationLabel: v,
|
|
4687
|
-
priceInfoLabel:
|
|
4699
|
+
priceInfoLabel: k,
|
|
4688
4700
|
onPriceInfoClick: M,
|
|
4689
|
-
price:
|
|
4690
|
-
cta:
|
|
4691
|
-
className:
|
|
4701
|
+
price: K,
|
|
4702
|
+
cta: B,
|
|
4703
|
+
className: D = ""
|
|
4692
4704
|
}) {
|
|
4693
|
-
const [
|
|
4705
|
+
const [I, V] = H(!1), W = r || I, P = W && (f != null || u != null), L = W && (j != null || v != null);
|
|
4694
4706
|
return /* @__PURE__ */ e.jsxs(
|
|
4695
4707
|
"div",
|
|
4696
4708
|
{
|
|
4697
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${
|
|
4709
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${W ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${D}`,
|
|
4698
4710
|
children: [
|
|
4699
4711
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center", children: [
|
|
4700
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 ${
|
|
4712
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 ${W ? "py-4" : "pt-4"}`, children: [
|
|
4701
4713
|
/* @__PURE__ */ e.jsxs(
|
|
4702
4714
|
"div",
|
|
4703
4715
|
{
|
|
@@ -4728,31 +4740,31 @@ function Pl({
|
|
|
4728
4740
|
type: "button",
|
|
4729
4741
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
4730
4742
|
onClick: () => {
|
|
4731
|
-
|
|
4743
|
+
V(($) => (i?.(!$), !$));
|
|
4732
4744
|
},
|
|
4733
|
-
"aria-label":
|
|
4734
|
-
"aria-expanded":
|
|
4745
|
+
"aria-label": d,
|
|
4746
|
+
"aria-expanded": I,
|
|
4735
4747
|
children: /* @__PURE__ */ e.jsx(
|
|
4736
4748
|
fa,
|
|
4737
4749
|
{
|
|
4738
4750
|
"aria-hidden": !0,
|
|
4739
|
-
className: `size-8 text-[#1D2125] ${
|
|
4751
|
+
className: `size-8 text-[#1D2125] ${I ? "" : "-scale-y-100"}`
|
|
4740
4752
|
}
|
|
4741
4753
|
)
|
|
4742
4754
|
}
|
|
4743
4755
|
)
|
|
4744
4756
|
] })
|
|
4745
4757
|
] }),
|
|
4746
|
-
|
|
4758
|
+
W && o != null && /* @__PURE__ */ e.jsx("div", { className: "-mx-4 aspect-[2/1] self-stretch overflow-hidden ", children: g ? /* @__PURE__ */ e.jsx(g, { src: o, alt: c ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: o, alt: c, className: "size-full object-cover" }) }),
|
|
4747
4759
|
P && /* @__PURE__ */ e.jsxs(
|
|
4748
4760
|
"div",
|
|
4749
4761
|
{
|
|
4750
4762
|
className: "-mx-4 flex items-center gap-2.5 self-stretch px-4 py-1",
|
|
4751
4763
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
4752
4764
|
children: [
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4765
|
+
f != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: f }),
|
|
4766
|
+
f != null && u != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
|
|
4767
|
+
u != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: u })
|
|
4756
4768
|
]
|
|
4757
4769
|
}
|
|
4758
4770
|
)
|
|
@@ -4760,10 +4772,10 @@ function Pl({
|
|
|
4760
4772
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
4761
4773
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
4762
4774
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
4763
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children:
|
|
4775
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: x }),
|
|
4764
4776
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-semibold leading-4 text-[#6B7280]", children: b })
|
|
4765
4777
|
] }),
|
|
4766
|
-
|
|
4778
|
+
W && p != null && /* @__PURE__ */ e.jsxs(
|
|
4767
4779
|
"a",
|
|
4768
4780
|
{
|
|
4769
4781
|
href: y,
|
|
@@ -4785,7 +4797,7 @@ function Pl({
|
|
|
4785
4797
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
|
|
4786
4798
|
] }),
|
|
4787
4799
|
v != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
4788
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
4800
|
+
/* @__PURE__ */ e.jsx("img", { src: dn, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
4789
4801
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: v })
|
|
4790
4802
|
] })
|
|
4791
4803
|
] })
|
|
@@ -4793,8 +4805,8 @@ function Pl({
|
|
|
4793
4805
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
4794
4806
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
4795
4807
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
4796
|
-
|
|
4797
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children:
|
|
4808
|
+
k != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
4809
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: k }),
|
|
4798
4810
|
M && /* @__PURE__ */ e.jsx(
|
|
4799
4811
|
"button",
|
|
4800
4812
|
{
|
|
@@ -4806,9 +4818,9 @@ function Pl({
|
|
|
4806
4818
|
}
|
|
4807
4819
|
)
|
|
4808
4820
|
] }),
|
|
4809
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children:
|
|
4821
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: K })
|
|
4810
4822
|
] }),
|
|
4811
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
4823
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: B })
|
|
4812
4824
|
] })
|
|
4813
4825
|
] })
|
|
4814
4826
|
] })
|
|
@@ -4861,25 +4873,25 @@ const Kt = {
|
|
|
4861
4873
|
payButtonTemplate: "{amount} చెల్లించండి",
|
|
4862
4874
|
emailLabel: "ఇమెయిల్"
|
|
4863
4875
|
}
|
|
4864
|
-
},
|
|
4876
|
+
}, un = (t) => Kt[t] ?? Kt.en;
|
|
4865
4877
|
function Zt({ children: t }) {
|
|
4866
4878
|
return /* @__PURE__ */ e.jsx("div", { className: "inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5", children: t });
|
|
4867
4879
|
}
|
|
4868
|
-
function
|
|
4880
|
+
function xn({
|
|
4869
4881
|
isOpen: t,
|
|
4870
4882
|
onClose: a,
|
|
4871
4883
|
locale: r = "en",
|
|
4872
4884
|
ancestors: n,
|
|
4873
4885
|
kartaNames: l,
|
|
4874
4886
|
gotra: i,
|
|
4875
|
-
whatsappNumber:
|
|
4887
|
+
whatsappNumber: d,
|
|
4876
4888
|
amount: o,
|
|
4877
4889
|
onEditDetailsClick: c,
|
|
4878
4890
|
onProceedPayment: g,
|
|
4879
|
-
className:
|
|
4880
|
-
isGlobal:
|
|
4891
|
+
className: f,
|
|
4892
|
+
isGlobal: u = !1
|
|
4881
4893
|
}) {
|
|
4882
|
-
const
|
|
4894
|
+
const x = un(r), b = x.payButtonTemplate.replace("{amount}", o);
|
|
4883
4895
|
return /* @__PURE__ */ e.jsx(
|
|
4884
4896
|
Pe,
|
|
4885
4897
|
{
|
|
@@ -4887,11 +4899,11 @@ function dn({
|
|
|
4887
4899
|
onClose: a,
|
|
4888
4900
|
showDragHandle: !1,
|
|
4889
4901
|
closeButtonOutside: !0,
|
|
4890
|
-
ariaLabel:
|
|
4891
|
-
className: m("rounded-t-[20px] bg-[#f7f8f9]",
|
|
4902
|
+
ariaLabel: x.heading,
|
|
4903
|
+
className: m("rounded-t-[20px] bg-[#f7f8f9]", f),
|
|
4892
4904
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
4893
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children:
|
|
4894
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
4905
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: x.heading }),
|
|
4906
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: x.subtext })
|
|
4895
4907
|
] }),
|
|
4896
4908
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
4897
4909
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4901,7 +4913,7 @@ function dn({
|
|
|
4901
4913
|
size: "lg",
|
|
4902
4914
|
className: "h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",
|
|
4903
4915
|
onClick: c,
|
|
4904
|
-
children:
|
|
4916
|
+
children: x.editDetailsLabel
|
|
4905
4917
|
}
|
|
4906
4918
|
),
|
|
4907
4919
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4917,7 +4929,7 @@ function dn({
|
|
|
4917
4929
|
] }),
|
|
4918
4930
|
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: [
|
|
4919
4931
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4920
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
4932
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: x.ancestorsLabel }),
|
|
4921
4933
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((p) => /* @__PURE__ */ e.jsxs(Zt, { children: [
|
|
4922
4934
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: p.value }),
|
|
4923
4935
|
p.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
@@ -4929,7 +4941,7 @@ function dn({
|
|
|
4929
4941
|
] }),
|
|
4930
4942
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4931
4943
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4932
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
4944
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: x.performerLabel }),
|
|
4933
4945
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: l.filter((p) => p.trim().length > 0).map((p, C) => /* @__PURE__ */ e.jsx(Zt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
4934
4946
|
C + 1,
|
|
4935
4947
|
". ",
|
|
@@ -4939,19 +4951,19 @@ function dn({
|
|
|
4939
4951
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4940
4952
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
4941
4953
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
4942
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
4954
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: x.gotraLabel }),
|
|
4943
4955
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: i })
|
|
4944
4956
|
] }),
|
|
4945
4957
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
4946
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
4947
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
4958
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: u ? x.emailLabel : x.whatsappLabel }),
|
|
4959
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: d })
|
|
4948
4960
|
] })
|
|
4949
4961
|
] })
|
|
4950
4962
|
] }) })
|
|
4951
4963
|
}
|
|
4952
4964
|
);
|
|
4953
4965
|
}
|
|
4954
|
-
const
|
|
4966
|
+
const qt = {
|
|
4955
4967
|
en: {
|
|
4956
4968
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
4957
4969
|
body: "If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",
|
|
@@ -4976,8 +4988,8 @@ const Yt = {
|
|
|
4976
4988
|
okayLabel: "సరే",
|
|
4977
4989
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
4978
4990
|
}
|
|
4979
|
-
}, wa = (t) =>
|
|
4980
|
-
function
|
|
4991
|
+
}, wa = (t) => qt[t] ?? qt.en;
|
|
4992
|
+
function fn({ isOpen: t, onClose: a, onOkayClick: r, locale: n = "en", className: l }) {
|
|
4981
4993
|
const i = wa(n);
|
|
4982
4994
|
return /* @__PURE__ */ e.jsx(
|
|
4983
4995
|
Pe,
|
|
@@ -5017,7 +5029,7 @@ function un({ isOpen: t, onClose: a, onOkayClick: r, locale: n = "en", className
|
|
|
5017
5029
|
}
|
|
5018
5030
|
);
|
|
5019
5031
|
}
|
|
5020
|
-
const
|
|
5032
|
+
const Yt = {
|
|
5021
5033
|
en: {
|
|
5022
5034
|
topBarTitle: "Fill in necessary details for Puja",
|
|
5023
5035
|
backButtonAriaLabel: "Go back",
|
|
@@ -5141,8 +5153,8 @@ const qt = {
|
|
|
5141
5153
|
proceedCtaLabel: "ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",
|
|
5142
5154
|
kashyapGotraLabel: "ಕಶ್ಯಪ"
|
|
5143
5155
|
}
|
|
5144
|
-
},
|
|
5145
|
-
const a =
|
|
5156
|
+
}, mn = (t) => {
|
|
5157
|
+
const a = Yt.en, r = Yt[t];
|
|
5146
5158
|
return r ? Object.fromEntries(
|
|
5147
5159
|
Object.keys(a).map((n) => [
|
|
5148
5160
|
n,
|
|
@@ -5156,68 +5168,68 @@ const qt = {
|
|
|
5156
5168
|
// Kannada ordinals are regular (number + "ನೇ"), unlike English's — per
|
|
5157
5169
|
// Figma node 7650:35513 ("1ನೇ ಕರ್ತೃವಿನ ಹೆಸರು", "2ನೇ ...", "3ನೇ ...").
|
|
5158
5170
|
kn: ["1ನೇ", "2ನೇ", "3ನೇ", "4ನೇ", "5ನೇ", "6ನೇ", "7ನೇ", "8ನೇ", "9ನೇ", "10ನೇ"]
|
|
5159
|
-
},
|
|
5171
|
+
}, pn = {
|
|
5160
5172
|
en: "th",
|
|
5161
5173
|
hi: "वें",
|
|
5162
5174
|
te: "వ",
|
|
5163
5175
|
kn: "ನೇ"
|
|
5164
|
-
},
|
|
5176
|
+
}, hn = (t, a) => {
|
|
5165
5177
|
const r = a in Xt ? a : "en";
|
|
5166
|
-
return Xt[r][t - 1] ?? `${t}${
|
|
5167
|
-
}, at = 40,
|
|
5168
|
-
function
|
|
5178
|
+
return Xt[r][t - 1] ?? `${t}${pn[r]}`;
|
|
5179
|
+
}, at = 40, bn = 3, st = "+91", gn = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, jn = /[^\p{L}\s]/gu, Qt = (t) => t.replace(jn, ""), Ae = (t) => t.trim().length >= bn;
|
|
5180
|
+
function Rl({
|
|
5169
5181
|
locale: t = "en",
|
|
5170
5182
|
values: a,
|
|
5171
5183
|
onValuesChange: r,
|
|
5172
5184
|
isGlobal: n = !1,
|
|
5173
5185
|
gotraOptions: l = [],
|
|
5174
5186
|
isSarvaPitru: i = !1,
|
|
5175
|
-
onBackClick:
|
|
5187
|
+
onBackClick: d,
|
|
5176
5188
|
amount: o,
|
|
5177
5189
|
ritualsCountLabel: c,
|
|
5178
5190
|
onPriceInfoClick: g,
|
|
5179
|
-
showPriceInfoIcon:
|
|
5180
|
-
canProceed:
|
|
5181
|
-
copy:
|
|
5191
|
+
showPriceInfoIcon: f = !0,
|
|
5192
|
+
canProceed: u,
|
|
5193
|
+
copy: x,
|
|
5182
5194
|
proceedCtaLabel: b,
|
|
5183
5195
|
proceedButtonProps: p,
|
|
5184
5196
|
onProceedPayment: C,
|
|
5185
5197
|
onProceedCtaClick: y,
|
|
5186
5198
|
onConfirmModalOpen: j,
|
|
5187
5199
|
onConfirmEditDetailsClick: v,
|
|
5188
|
-
onConfirmModalDismiss:
|
|
5200
|
+
onConfirmModalDismiss: k,
|
|
5189
5201
|
onGotraInfoOpen: M,
|
|
5190
|
-
onGotraInfoOkayClick:
|
|
5191
|
-
className:
|
|
5202
|
+
onGotraInfoOkayClick: K,
|
|
5203
|
+
className: B
|
|
5192
5204
|
}) {
|
|
5193
|
-
const [
|
|
5194
|
-
Object.keys(P).map((w) => [w,
|
|
5195
|
-
) : P,
|
|
5196
|
-
const
|
|
5197
|
-
return w === 0 ? `*${
|
|
5198
|
-
},
|
|
5199
|
-
const
|
|
5200
|
-
|
|
5201
|
-
},
|
|
5202
|
-
|
|
5205
|
+
const [D, I] = H(!1), [V, W] = H(!1), P = mn(t), L = x ? Object.fromEntries(
|
|
5206
|
+
Object.keys(P).map((w) => [w, x[w] || P[w]])
|
|
5207
|
+
) : P, $ = wa(t), J = (w) => {
|
|
5208
|
+
const Y = hn(w + 1, t);
|
|
5209
|
+
return w === 0 ? `*${Y} ${L.kartaNameLabel}` : `${Y} ${L.kartaNameLabel} ${L.kartaNameOptionalSuffix}`;
|
|
5210
|
+
}, G = (w) => r({ ...a, ...w }), ne = (w, Y) => {
|
|
5211
|
+
const se = [...a.kartaNames];
|
|
5212
|
+
se[w] = Qt(Y), G({ kartaNames: se });
|
|
5213
|
+
}, U = (w, Y) => {
|
|
5214
|
+
G({
|
|
5203
5215
|
ancestors: a.ancestors.map(
|
|
5204
|
-
(
|
|
5216
|
+
(se) => se.id === w ? { ...se, value: Qt(Y) } : se
|
|
5205
5217
|
)
|
|
5206
5218
|
});
|
|
5207
|
-
}, [
|
|
5219
|
+
}, [ae, le] = H(
|
|
5208
5220
|
/* @__PURE__ */ new Set()
|
|
5209
|
-
), T = (w) => le((
|
|
5221
|
+
), T = (w) => le((Y) => new Set(Y).add(w)), E = (w) => w.length > 0 && !Ae(w), oe = (w) => w.value.length > 0 ? Ae(w.value) ? void 0 : L.nameMinLengthError : ae.has(w.id) ? L.ancestorNameRequiredError : void 0, [de, ce] = H(!1), xe = Ze(null);
|
|
5210
5222
|
We(() => {
|
|
5211
5223
|
if (!de) return;
|
|
5212
|
-
const w = (
|
|
5213
|
-
xe.current && !xe.current.contains(
|
|
5224
|
+
const w = (Y) => {
|
|
5225
|
+
xe.current && !xe.current.contains(Y.target) && ce(!1);
|
|
5214
5226
|
};
|
|
5215
5227
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
5216
5228
|
}, [de]);
|
|
5217
5229
|
const be = l.filter(
|
|
5218
5230
|
(w) => w.toLowerCase().includes(a.gotra.trim().toLowerCase())
|
|
5219
5231
|
), ge = (w) => {
|
|
5220
|
-
|
|
5232
|
+
G({
|
|
5221
5233
|
gotra: w,
|
|
5222
5234
|
isGotraUnknown: w.trim() === L.kashyapGotraLabel
|
|
5223
5235
|
});
|
|
@@ -5225,20 +5237,20 @@ function Sl({
|
|
|
5225
5237
|
ge(w), ce(!1);
|
|
5226
5238
|
}, Se = () => {
|
|
5227
5239
|
const w = !a.isGotraUnknown;
|
|
5228
|
-
|
|
5240
|
+
G({ isGotraUnknown: w, gotra: w ? L.kashyapGotraLabel : "" });
|
|
5229
5241
|
}, fe = sa(st), Ie = ra(
|
|
5230
5242
|
a.whatsappNumber,
|
|
5231
5243
|
st
|
|
5232
|
-
).isValid, Te =
|
|
5244
|
+
).isValid, Te = gn.test(a.email), qe = a.whatsappNumber.length > 0 && !Ie, Ye = a.email.length > 0 && !Te, ve = (n ? Te : a.whatsappNumber.trim().length > 0 && Ie) && Ae(a.kartaNames[0]) && // Karta names after the first are optional (see `getKartaNameLabel`) —
|
|
5233
5245
|
// left blank is fine, but a partially-typed one still has to clear
|
|
5234
5246
|
// `MIN_NAME_LENGTH` like every other name field.
|
|
5235
|
-
a.kartaNames.slice(1).every((w) => w.trim().length === 0 || Ae(w)) && a.gotra.trim().length > 0 && a.ancestors.every((w) => Ae(w.value)), me =
|
|
5247
|
+
a.kartaNames.slice(1).every((w) => w.trim().length === 0 || Ae(w)) && a.gotra.trim().length > 0 && a.ancestors.every((w) => Ae(w.value)), me = u ?? ve, Be = a.gotra.trim().length > 0 ? a.gotra : L.kashyapGotraLabel, De = n ? a.email : a.whatsappNumber, ye = t;
|
|
5236
5248
|
return /* @__PURE__ */ e.jsxs(
|
|
5237
5249
|
"div",
|
|
5238
5250
|
{
|
|
5239
5251
|
className: m(
|
|
5240
5252
|
"flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",
|
|
5241
|
-
|
|
5253
|
+
B
|
|
5242
5254
|
),
|
|
5243
5255
|
children: [
|
|
5244
5256
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ", children: [
|
|
@@ -5246,7 +5258,7 @@ function Sl({
|
|
|
5246
5258
|
"button",
|
|
5247
5259
|
{
|
|
5248
5260
|
type: "button",
|
|
5249
|
-
onClick:
|
|
5261
|
+
onClick: d,
|
|
5250
5262
|
"aria-label": L.backButtonAriaLabel,
|
|
5251
5263
|
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)]",
|
|
5252
5264
|
children: /* @__PURE__ */ e.jsx(lt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
@@ -5264,8 +5276,8 @@ function Sl({
|
|
|
5264
5276
|
inputMode: "email",
|
|
5265
5277
|
value: a.email,
|
|
5266
5278
|
placeholder: L.emailPlaceholder,
|
|
5267
|
-
error:
|
|
5268
|
-
onChange: (w) =>
|
|
5279
|
+
error: Ye,
|
|
5280
|
+
onChange: (w) => G({ email: w }),
|
|
5269
5281
|
containerClassName: "w-full gap-0",
|
|
5270
5282
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
5271
5283
|
className: "text-[18px]"
|
|
@@ -5283,8 +5295,8 @@ function Sl({
|
|
|
5283
5295
|
value: a.whatsappNumber,
|
|
5284
5296
|
placeholder: L.whatsappNumberPlaceholder,
|
|
5285
5297
|
maxLength: fe,
|
|
5286
|
-
error:
|
|
5287
|
-
onChange: (w) =>
|
|
5298
|
+
error: qe,
|
|
5299
|
+
onChange: (w) => G({
|
|
5288
5300
|
whatsappNumber: w.replace(/\D/g, "").slice(0, fe)
|
|
5289
5301
|
}),
|
|
5290
5302
|
containerClassName: "w-auto flex-1 gap-0",
|
|
@@ -5306,22 +5318,22 @@ function Sl({
|
|
|
5306
5318
|
),
|
|
5307
5319
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[16px] leading-[22px] font-bold text-[#22272b]", children: L.kartaNameSectionTitle })
|
|
5308
5320
|
] }),
|
|
5309
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: a.kartaNames.map((w,
|
|
5321
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: a.kartaNames.map((w, Y) => /* @__PURE__ */ e.jsx(
|
|
5310
5322
|
ue,
|
|
5311
5323
|
{
|
|
5312
|
-
label: J(
|
|
5324
|
+
label: J(Y),
|
|
5313
5325
|
placeholder: L.kartaNamePlaceholder,
|
|
5314
5326
|
value: w,
|
|
5315
5327
|
maxLength: at,
|
|
5316
5328
|
showCharCount: !0,
|
|
5317
|
-
error:
|
|
5318
|
-
supportingText:
|
|
5329
|
+
error: E(w),
|
|
5330
|
+
supportingText: E(w) ? L.nameMinLengthError : void 0,
|
|
5319
5331
|
wrapperClassName: m(
|
|
5320
5332
|
"h-12 rounded-xl"
|
|
5321
5333
|
),
|
|
5322
|
-
onChange: (
|
|
5334
|
+
onChange: (se) => ne(Y, se)
|
|
5323
5335
|
},
|
|
5324
|
-
|
|
5336
|
+
Y
|
|
5325
5337
|
)) })
|
|
5326
5338
|
] }),
|
|
5327
5339
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
@@ -5355,9 +5367,9 @@ function Sl({
|
|
|
5355
5367
|
{
|
|
5356
5368
|
type: "button",
|
|
5357
5369
|
onClick: () => {
|
|
5358
|
-
|
|
5370
|
+
W(!0), M?.();
|
|
5359
5371
|
},
|
|
5360
|
-
"aria-label":
|
|
5372
|
+
"aria-label": $.heading,
|
|
5361
5373
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
5362
5374
|
children: /* @__PURE__ */ e.jsx(he, { size: 24, "aria-hidden": !0 })
|
|
5363
5375
|
}
|
|
@@ -5437,7 +5449,7 @@ function Sl({
|
|
|
5437
5449
|
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: L.sarvaPitruHelperText })
|
|
5438
5450
|
] }),
|
|
5439
5451
|
a.ancestors.map((w) => {
|
|
5440
|
-
const
|
|
5452
|
+
const Y = oe(w);
|
|
5441
5453
|
return /* @__PURE__ */ e.jsx(
|
|
5442
5454
|
ue,
|
|
5443
5455
|
{
|
|
@@ -5447,10 +5459,10 @@ function Sl({
|
|
|
5447
5459
|
placeholder: L.kartaNamePlaceholder,
|
|
5448
5460
|
maxLength: at,
|
|
5449
5461
|
showCharCount: !0,
|
|
5450
|
-
error:
|
|
5451
|
-
supportingText:
|
|
5462
|
+
error: Y != null,
|
|
5463
|
+
supportingText: Y,
|
|
5452
5464
|
wrapperClassName: "h-12 rounded-xl",
|
|
5453
|
-
onChange: (
|
|
5465
|
+
onChange: (se) => U(w.id, se),
|
|
5454
5466
|
onBlur: () => T(w.id)
|
|
5455
5467
|
},
|
|
5456
5468
|
w.id
|
|
@@ -5465,10 +5477,10 @@ function Sl({
|
|
|
5465
5477
|
amount: o,
|
|
5466
5478
|
subtitle: c,
|
|
5467
5479
|
onInfoClick: g,
|
|
5468
|
-
showInfoIcon:
|
|
5480
|
+
showInfoIcon: f,
|
|
5469
5481
|
proceedLabel: b ?? L.proceedCtaLabel,
|
|
5470
5482
|
onProceed: () => {
|
|
5471
|
-
|
|
5483
|
+
I(!0), y?.(), j?.();
|
|
5472
5484
|
},
|
|
5473
5485
|
growProceedButton: !0,
|
|
5474
5486
|
proceedButtonProps: {
|
|
@@ -5478,15 +5490,15 @@ function Sl({
|
|
|
5478
5490
|
}
|
|
5479
5491
|
) }),
|
|
5480
5492
|
/* @__PURE__ */ e.jsx(
|
|
5481
|
-
|
|
5493
|
+
xn,
|
|
5482
5494
|
{
|
|
5483
5495
|
isGlobal: n,
|
|
5484
|
-
isOpen:
|
|
5496
|
+
isOpen: D,
|
|
5485
5497
|
onClose: () => {
|
|
5486
|
-
|
|
5498
|
+
I(!1), k?.();
|
|
5487
5499
|
},
|
|
5488
5500
|
onEditDetailsClick: () => {
|
|
5489
|
-
|
|
5501
|
+
I(!1), v?.();
|
|
5490
5502
|
},
|
|
5491
5503
|
locale: t,
|
|
5492
5504
|
ancestors: i ? [
|
|
@@ -5502,16 +5514,16 @@ function Sl({
|
|
|
5502
5514
|
whatsappNumber: De,
|
|
5503
5515
|
amount: o,
|
|
5504
5516
|
onProceedPayment: () => {
|
|
5505
|
-
|
|
5517
|
+
I(!1), C();
|
|
5506
5518
|
}
|
|
5507
5519
|
}
|
|
5508
5520
|
),
|
|
5509
5521
|
/* @__PURE__ */ e.jsx(
|
|
5510
|
-
|
|
5522
|
+
fn,
|
|
5511
5523
|
{
|
|
5512
|
-
isOpen:
|
|
5513
|
-
onClose: () =>
|
|
5514
|
-
onOkayClick:
|
|
5524
|
+
isOpen: V,
|
|
5525
|
+
onClose: () => W(!1),
|
|
5526
|
+
onOkayClick: K,
|
|
5515
5527
|
locale: ye
|
|
5516
5528
|
}
|
|
5517
5529
|
)
|
|
@@ -5519,7 +5531,7 @@ function Sl({
|
|
|
5519
5531
|
}
|
|
5520
5532
|
);
|
|
5521
5533
|
}
|
|
5522
|
-
function
|
|
5534
|
+
function El(t = 3, a = []) {
|
|
5523
5535
|
return {
|
|
5524
5536
|
whatsappNumber: "",
|
|
5525
5537
|
email: "",
|
|
@@ -5529,7 +5541,7 @@ function Tl(t = 3, a = []) {
|
|
|
5529
5541
|
ancestors: a
|
|
5530
5542
|
};
|
|
5531
5543
|
}
|
|
5532
|
-
function
|
|
5544
|
+
function vn({ date: t }) {
|
|
5533
5545
|
return /* @__PURE__ */ e.jsx(
|
|
5534
5546
|
"div",
|
|
5535
5547
|
{
|
|
@@ -5541,8 +5553,8 @@ function gn({ date: t }) {
|
|
|
5541
5553
|
}
|
|
5542
5554
|
);
|
|
5543
5555
|
}
|
|
5544
|
-
const
|
|
5545
|
-
function
|
|
5556
|
+
const yn = "https://srm-cdn.a4b.io/yoda/1788173590414.svg", Jt = "https://srm-cdn.a4b.io/yoda/1788173668895.svg";
|
|
5557
|
+
function Nn({ badgeLabel: t, dateLabel: a, className: r }) {
|
|
5546
5558
|
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col items-center gap-1", r), children: [
|
|
5547
5559
|
/* @__PURE__ */ e.jsxs("div", { className: "relative flex size-22.5 items-center justify-center", children: [
|
|
5548
5560
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5571,36 +5583,36 @@ function vn({ badgeLabel: t, dateLabel: a, className: r }) {
|
|
|
5571
5583
|
}
|
|
5572
5584
|
}
|
|
5573
5585
|
),
|
|
5574
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5586
|
+
/* @__PURE__ */ e.jsx("img", { src: yn, alt: "Sri Mandir", className: "relative z-10 mt-3 h-14 w-auto object-contain" })
|
|
5575
5587
|
] }),
|
|
5576
5588
|
/* @__PURE__ */ e.jsxs("p", { className: "-mt-2.75 text-xs font-semibold text-[#d51f68]", children: [
|
|
5577
5589
|
"✦ ",
|
|
5578
5590
|
t,
|
|
5579
5591
|
" ✦"
|
|
5580
5592
|
] }),
|
|
5581
|
-
a && /* @__PURE__ */ e.jsx(
|
|
5593
|
+
a && /* @__PURE__ */ e.jsx(vn, { date: a })
|
|
5582
5594
|
] });
|
|
5583
5595
|
}
|
|
5584
|
-
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg",
|
|
5585
|
-
function
|
|
5596
|
+
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", wn = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", Cn = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Ln = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", kn = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", _n = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
5597
|
+
function Pn({ variant: t }) {
|
|
5586
5598
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
5587
5599
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
5588
5600
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
5589
5601
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
5590
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5602
|
+
/* @__PURE__ */ e.jsx("img", { src: wn, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
5591
5603
|
] }),
|
|
5592
5604
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
5593
5605
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
5594
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5606
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: Cn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5595
5607
|
] }),
|
|
5596
5608
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
5597
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5598
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5599
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5609
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Ln, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
5610
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: kn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
5611
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: _n, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5600
5612
|
] })
|
|
5601
5613
|
] });
|
|
5602
5614
|
}
|
|
5603
|
-
function
|
|
5615
|
+
function Al({
|
|
5604
5616
|
badgeLabel: t,
|
|
5605
5617
|
headingPrefix: a,
|
|
5606
5618
|
ritualCount: r,
|
|
@@ -5610,7 +5622,7 @@ function Rl({
|
|
|
5610
5622
|
}) {
|
|
5611
5623
|
return /* @__PURE__ */ e.jsxs("section", { className: "relative flex w-full flex-col items-center gap-3 rounded-b-4xl border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4 z-20", children: [
|
|
5612
5624
|
/* @__PURE__ */ e.jsx(
|
|
5613
|
-
|
|
5625
|
+
Nn,
|
|
5614
5626
|
{
|
|
5615
5627
|
badgeLabel: t,
|
|
5616
5628
|
className: "w-full"
|
|
@@ -5624,38 +5636,38 @@ function Rl({
|
|
|
5624
5636
|
" ",
|
|
5625
5637
|
l
|
|
5626
5638
|
] }),
|
|
5627
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: i.map((
|
|
5639
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: i.map((d) => /* @__PURE__ */ e.jsxs(
|
|
5628
5640
|
"div",
|
|
5629
5641
|
{
|
|
5630
5642
|
className: "flex w-25 flex-col items-center gap-1 py-2",
|
|
5631
5643
|
children: [
|
|
5632
|
-
/* @__PURE__ */ e.jsx(
|
|
5633
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children:
|
|
5644
|
+
/* @__PURE__ */ e.jsx(Pn, { variant: d.variant }),
|
|
5645
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: d.text })
|
|
5634
5646
|
]
|
|
5635
5647
|
},
|
|
5636
|
-
|
|
5648
|
+
d.variant
|
|
5637
5649
|
)) })
|
|
5638
5650
|
] });
|
|
5639
5651
|
}
|
|
5640
|
-
const
|
|
5641
|
-
function
|
|
5652
|
+
const Sn = 40;
|
|
5653
|
+
function Ol({
|
|
5642
5654
|
isOpen: t,
|
|
5643
5655
|
onClose: a,
|
|
5644
5656
|
onSave: r,
|
|
5645
5657
|
title: n,
|
|
5646
5658
|
fieldLabel: l,
|
|
5647
5659
|
namePrefix: i,
|
|
5648
|
-
namePlaceholder:
|
|
5660
|
+
namePlaceholder: d,
|
|
5649
5661
|
addMoreLabel: o,
|
|
5650
5662
|
saveCta: c,
|
|
5651
|
-
maxNameLength: g =
|
|
5663
|
+
maxNameLength: g = Sn
|
|
5652
5664
|
}) {
|
|
5653
|
-
const [
|
|
5654
|
-
|
|
5665
|
+
const [f, u] = H([""]), x = () => u([""]), b = (y) => {
|
|
5666
|
+
x(), a(y);
|
|
5655
5667
|
}, p = () => {
|
|
5656
|
-
const y =
|
|
5657
|
-
y.length !== 0 && (r(y),
|
|
5658
|
-
}, C =
|
|
5668
|
+
const y = f.map((j) => j.trim()).filter(Boolean);
|
|
5669
|
+
y.length !== 0 && (r(y), x());
|
|
5670
|
+
}, C = f.some((y) => y.trim().length > 0);
|
|
5659
5671
|
return /* @__PURE__ */ e.jsx(
|
|
5660
5672
|
ze,
|
|
5661
5673
|
{
|
|
@@ -5678,16 +5690,16 @@ function El({
|
|
|
5678
5690
|
}
|
|
5679
5691
|
) }),
|
|
5680
5692
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2.5 px-4 py-3", children: [
|
|
5681
|
-
|
|
5693
|
+
f.map((y, j) => /* @__PURE__ */ e.jsx(
|
|
5682
5694
|
ue,
|
|
5683
5695
|
{
|
|
5684
5696
|
label: l,
|
|
5685
|
-
placeholder:
|
|
5697
|
+
placeholder: d,
|
|
5686
5698
|
value: y,
|
|
5687
5699
|
prefix: i,
|
|
5688
5700
|
maxLength: g,
|
|
5689
5701
|
showCharCount: !0,
|
|
5690
|
-
onChange: (v) =>
|
|
5702
|
+
onChange: (v) => u((k) => k.map((M, K) => K === j ? v : M))
|
|
5691
5703
|
},
|
|
5692
5704
|
j
|
|
5693
5705
|
)),
|
|
@@ -5698,7 +5710,7 @@ function El({
|
|
|
5698
5710
|
size: "sm",
|
|
5699
5711
|
className: "self-start text-[#f75e22]",
|
|
5700
5712
|
leftIcon: /* @__PURE__ */ e.jsx(Ls, { "aria-hidden": !0 }),
|
|
5701
|
-
onClick: () =>
|
|
5713
|
+
onClick: () => u((y) => [...y, ""]),
|
|
5702
5714
|
children: o
|
|
5703
5715
|
}
|
|
5704
5716
|
)
|
|
@@ -5706,10 +5718,10 @@ function El({
|
|
|
5706
5718
|
}
|
|
5707
5719
|
);
|
|
5708
5720
|
}
|
|
5709
|
-
function
|
|
5721
|
+
function Tn(t) {
|
|
5710
5722
|
return t.replace(/Grand(father|mother)/gi, "Grand $1");
|
|
5711
5723
|
}
|
|
5712
|
-
const
|
|
5724
|
+
const Rn = qa(function({ label: a, avatarUrl: r, state: n, onClick: l }, i) {
|
|
5713
5725
|
return /* @__PURE__ */ e.jsxs(
|
|
5714
5726
|
"button",
|
|
5715
5727
|
{
|
|
@@ -5727,19 +5739,19 @@ const Sn = Ya(function({ label: a, avatarUrl: r, state: n, onClick: l }, i) {
|
|
|
5727
5739
|
children: /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: "size-full object-cover" })
|
|
5728
5740
|
}
|
|
5729
5741
|
),
|
|
5730
|
-
n === "filled" && /* @__PURE__ */ e.jsx("span", { className: "absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-[#159169]", children: /* @__PURE__ */ e.jsx(
|
|
5742
|
+
n === "filled" && /* @__PURE__ */ e.jsx("span", { className: "absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-[#159169]", children: /* @__PURE__ */ e.jsx(qs, { size: 8, className: "text-white", "aria-hidden": !0 }) })
|
|
5731
5743
|
] }),
|
|
5732
5744
|
/* @__PURE__ */ e.jsx(
|
|
5733
5745
|
"p",
|
|
5734
5746
|
{
|
|
5735
5747
|
className: `w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${n === "enabled" ? "text-[#f75e22]" : n === "filled" ? "text-[#374151]" : "text-[#9ca3af]"}`,
|
|
5736
|
-
children:
|
|
5748
|
+
children: Tn(a)
|
|
5737
5749
|
}
|
|
5738
5750
|
)
|
|
5739
5751
|
]
|
|
5740
5752
|
}
|
|
5741
5753
|
);
|
|
5742
|
-
}), Ca = "all",
|
|
5754
|
+
}), Ca = "all", En = [
|
|
5743
5755
|
{ id: Ca, labelKey: "selectAncestorsOptionAll" },
|
|
5744
5756
|
{ id: "mother", labelKey: "selectAncestorsOptionMother", gender: "female" },
|
|
5745
5757
|
{ id: "father", labelKey: "selectAncestorsOptionFather", gender: "male" },
|
|
@@ -5753,13 +5765,13 @@ const Sn = Ya(function({ label: a, avatarUrl: r, state: n, onClick: l }, i) {
|
|
|
5753
5765
|
{ id: "greatGrandmotherPaternal", labelKey: "selectAncestorsOptionGreatGrandmotherPaternal", gender: "female" },
|
|
5754
5766
|
{ id: "greatGrandfatherMaternal", labelKey: "selectAncestorsOptionGreatGrandfatherMaternal", gender: "male" },
|
|
5755
5767
|
{ id: "greatGrandmotherMaternal", labelKey: "selectAncestorsOptionGreatGrandmotherMaternal", gender: "female" }
|
|
5756
|
-
],
|
|
5757
|
-
function
|
|
5758
|
-
if (t === Ca) return
|
|
5759
|
-
const a =
|
|
5760
|
-
return a ? a.gender === "female" ?
|
|
5768
|
+
], An = "https://srm-cdn.a4b.io/yoda/1788334548628.webp", On = "https://srm-cdn.a4b.io/yoda/1788334564281.webp", Mn = "https://srm-cdn.a4b.io/yoda/1789386222504.svg", zn = "https://srm-cdn.a4b.io/yoda/1789653082304.webp";
|
|
5769
|
+
function In(t) {
|
|
5770
|
+
if (t === Ca) return zn;
|
|
5771
|
+
const a = En.find((r) => r.id === t);
|
|
5772
|
+
return a ? a.gender === "female" ? On : An : Mn;
|
|
5761
5773
|
}
|
|
5762
|
-
const
|
|
5774
|
+
const Ml = [
|
|
5763
5775
|
{
|
|
5764
5776
|
value: "tithi",
|
|
5765
5777
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1788883529190.svg",
|
|
@@ -5778,7 +5790,7 @@ const Al = [
|
|
|
5778
5790
|
titleKey: "deathTithiOption3Title",
|
|
5779
5791
|
subtextKey: "deathTithiOption3Subtext"
|
|
5780
5792
|
}
|
|
5781
|
-
],
|
|
5793
|
+
], zl = [
|
|
5782
5794
|
"tithiNamePratipada",
|
|
5783
5795
|
"tithiNameDvitiya",
|
|
5784
5796
|
"tithiNameTritiya",
|
|
@@ -5795,7 +5807,7 @@ const Al = [
|
|
|
5795
5807
|
"tithiNameChaturdashi",
|
|
5796
5808
|
"tithiNameAmavasya"
|
|
5797
5809
|
];
|
|
5798
|
-
function
|
|
5810
|
+
function Il({
|
|
5799
5811
|
entries: t,
|
|
5800
5812
|
viewedIndex: a,
|
|
5801
5813
|
isEntryFilled: r,
|
|
@@ -5803,9 +5815,9 @@ function Ml({
|
|
|
5803
5815
|
onSelect: l,
|
|
5804
5816
|
className: i
|
|
5805
5817
|
}) {
|
|
5806
|
-
const
|
|
5818
|
+
const d = Ze(null);
|
|
5807
5819
|
return We(() => {
|
|
5808
|
-
|
|
5820
|
+
d.current?.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
5809
5821
|
}, [a]), /* @__PURE__ */ e.jsx(
|
|
5810
5822
|
"div",
|
|
5811
5823
|
{
|
|
@@ -5814,16 +5826,16 @@ function Ml({
|
|
|
5814
5826
|
i
|
|
5815
5827
|
),
|
|
5816
5828
|
children: t.map((o, c) => {
|
|
5817
|
-
const g = r(o.key),
|
|
5818
|
-
return /* @__PURE__ */ e.jsxs(
|
|
5829
|
+
const g = r(o.key), f = n(c), u = c === a, x = u ? "enabled" : g ? "filled" : "disabled";
|
|
5830
|
+
return /* @__PURE__ */ e.jsxs(Ya, { children: [
|
|
5819
5831
|
/* @__PURE__ */ e.jsx(
|
|
5820
|
-
|
|
5832
|
+
Rn,
|
|
5821
5833
|
{
|
|
5822
|
-
ref:
|
|
5834
|
+
ref: u ? d : void 0,
|
|
5823
5835
|
label: o.label,
|
|
5824
|
-
avatarUrl:
|
|
5825
|
-
state:
|
|
5826
|
-
onClick:
|
|
5836
|
+
avatarUrl: In(o.key),
|
|
5837
|
+
state: x,
|
|
5838
|
+
onClick: f ? () => l(c) : void 0
|
|
5827
5839
|
}
|
|
5828
5840
|
),
|
|
5829
5841
|
c < t.length - 1 && /* @__PURE__ */ e.jsx(
|
|
@@ -5837,31 +5849,31 @@ function Ml({
|
|
|
5837
5849
|
}
|
|
5838
5850
|
);
|
|
5839
5851
|
}
|
|
5840
|
-
const
|
|
5841
|
-
function
|
|
5852
|
+
const Bn = "https://srm-cdn.a4b.io/yoda/1788163138113.svg";
|
|
5853
|
+
function Bl({
|
|
5842
5854
|
isOpen: t,
|
|
5843
5855
|
onClose: a,
|
|
5844
5856
|
avatarUrl: r,
|
|
5845
5857
|
heading: n,
|
|
5846
5858
|
ctaLabel: l,
|
|
5847
5859
|
onCtaClick: i,
|
|
5848
|
-
cardIcon:
|
|
5860
|
+
cardIcon: d,
|
|
5849
5861
|
cardTitle: o,
|
|
5850
5862
|
cardDescription: c,
|
|
5851
5863
|
cardTag: g,
|
|
5852
|
-
cardTagClassName:
|
|
5864
|
+
cardTagClassName: f = "bg-[#1d79fc] text-white"
|
|
5853
5865
|
}) {
|
|
5854
5866
|
return t ? /* @__PURE__ */ e.jsx(
|
|
5855
5867
|
"div",
|
|
5856
5868
|
{
|
|
5857
5869
|
className: "avatar-card-dialog",
|
|
5858
5870
|
role: "presentation",
|
|
5859
|
-
onClick: (
|
|
5860
|
-
|
|
5871
|
+
onClick: (u) => {
|
|
5872
|
+
u.target === u.currentTarget && a();
|
|
5861
5873
|
},
|
|
5862
5874
|
children: /* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__card", children: [
|
|
5863
5875
|
/* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__avatar", children: [
|
|
5864
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5876
|
+
/* @__PURE__ */ e.jsx("img", { src: Bn, alt: "", className: "avatar-card-dialog__avatar-glow" }),
|
|
5865
5877
|
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: "avatar-card-dialog__avatar-image" })
|
|
5866
5878
|
] }),
|
|
5867
5879
|
/* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__content", children: [
|
|
@@ -5872,8 +5884,8 @@ function zl({
|
|
|
5872
5884
|
selected: !0,
|
|
5873
5885
|
showRadio: !1,
|
|
5874
5886
|
tag: g,
|
|
5875
|
-
tagClassName:
|
|
5876
|
-
icon:
|
|
5887
|
+
tagClassName: f,
|
|
5888
|
+
icon: d,
|
|
5877
5889
|
iconClassName: "bg-white",
|
|
5878
5890
|
title: o,
|
|
5879
5891
|
description: c
|
|
@@ -5894,24 +5906,24 @@ function zl({
|
|
|
5894
5906
|
}
|
|
5895
5907
|
) : null;
|
|
5896
5908
|
}
|
|
5897
|
-
function
|
|
5909
|
+
function Dn(t) {
|
|
5898
5910
|
if (!t) return;
|
|
5899
5911
|
const [a, r, n] = t.split("-").map(Number);
|
|
5900
5912
|
return { day: n, month: r, year: a };
|
|
5901
5913
|
}
|
|
5902
|
-
function
|
|
5914
|
+
function Dl({ day: t, month: a, year: r }) {
|
|
5903
5915
|
return `${r}-${String(a).padStart(2, "0")}-${String(t).padStart(2, "0")}`;
|
|
5904
5916
|
}
|
|
5905
|
-
function
|
|
5917
|
+
function Fl(t = "en-IN") {
|
|
5906
5918
|
const a = new Intl.DateTimeFormat(t, { month: "long" });
|
|
5907
5919
|
return Array.from({ length: 12 }, (r, n) => a.format(new Date(2e3, n, 1)));
|
|
5908
5920
|
}
|
|
5909
|
-
function
|
|
5910
|
-
const r =
|
|
5921
|
+
function Hl(t, a) {
|
|
5922
|
+
const r = Dn(t);
|
|
5911
5923
|
return r ? `${r.day} ${a[r.month - 1]} ${r.year}` : t;
|
|
5912
5924
|
}
|
|
5913
|
-
function
|
|
5914
|
-
return
|
|
5925
|
+
function Fn(t) {
|
|
5926
|
+
return A({ 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);
|
|
5915
5927
|
}
|
|
5916
5928
|
const ta = {
|
|
5917
5929
|
en: {
|
|
@@ -5938,7 +5950,7 @@ const ta = {
|
|
|
5938
5950
|
value: "ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",
|
|
5939
5951
|
helperText: "ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಪಠಿಸುತ್ತಾರೆ"
|
|
5940
5952
|
}
|
|
5941
|
-
},
|
|
5953
|
+
}, Hn = (t) => ta[t] ?? ta.en, Vn = _.forwardRef(
|
|
5942
5954
|
({
|
|
5943
5955
|
locale: t = "en",
|
|
5944
5956
|
title: a,
|
|
@@ -5946,25 +5958,25 @@ const ta = {
|
|
|
5946
5958
|
value: n,
|
|
5947
5959
|
helperText: l,
|
|
5948
5960
|
icon: i,
|
|
5949
|
-
className:
|
|
5961
|
+
className: d,
|
|
5950
5962
|
headerClassName: o,
|
|
5951
5963
|
valueBoxClassName: c,
|
|
5952
5964
|
helperTextClassName: g,
|
|
5953
|
-
...
|
|
5954
|
-
},
|
|
5955
|
-
const
|
|
5965
|
+
...f
|
|
5966
|
+
}, u) => {
|
|
5967
|
+
const x = Hn(t);
|
|
5956
5968
|
return /* @__PURE__ */ e.jsxs(
|
|
5957
5969
|
"div",
|
|
5958
5970
|
{
|
|
5959
|
-
ref:
|
|
5960
|
-
className: m("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",
|
|
5961
|
-
...
|
|
5971
|
+
ref: u,
|
|
5972
|
+
className: m("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", d),
|
|
5973
|
+
...f,
|
|
5962
5974
|
children: [
|
|
5963
5975
|
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3", o), children: [
|
|
5964
|
-
/* @__PURE__ */ e.jsx(Me, { icon: i ?? /* @__PURE__ */ e.jsx(
|
|
5976
|
+
/* @__PURE__ */ e.jsx(Me, { icon: i ?? /* @__PURE__ */ e.jsx(Fn, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
5965
5977
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
5966
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ??
|
|
5967
|
-
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: r ??
|
|
5978
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ?? x.title }),
|
|
5979
|
+
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: r ?? x.subtitle })
|
|
5968
5980
|
] })
|
|
5969
5981
|
] }),
|
|
5970
5982
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5974,63 +5986,63 @@ const ta = {
|
|
|
5974
5986
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
5975
5987
|
c
|
|
5976
5988
|
),
|
|
5977
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ??
|
|
5989
|
+
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? x.value })
|
|
5978
5990
|
}
|
|
5979
5991
|
),
|
|
5980
|
-
/* @__PURE__ */ e.jsx("p", { className: m("mt-3 text-sm leading-4.5 text-gray-500", g), children: l ??
|
|
5992
|
+
/* @__PURE__ */ e.jsx("p", { className: m("mt-3 text-sm leading-4.5 text-gray-500", g), children: l ?? x.helperText })
|
|
5981
5993
|
]
|
|
5982
5994
|
}
|
|
5983
5995
|
);
|
|
5984
5996
|
}
|
|
5985
5997
|
);
|
|
5986
|
-
|
|
5998
|
+
Vn.displayName = "SarvaPitruCard";
|
|
5987
5999
|
function He(t, a) {
|
|
5988
6000
|
return t.find((r) => r[a] != null);
|
|
5989
6001
|
}
|
|
5990
|
-
function
|
|
6002
|
+
function Vl(t) {
|
|
5991
6003
|
const a = t.data.cards, r = He(a, "store"), n = He(
|
|
5992
6004
|
a,
|
|
5993
6005
|
"user_reviews"
|
|
5994
6006
|
), l = He(a, "pooja_benefits"), i = He(
|
|
5995
6007
|
a,
|
|
5996
6008
|
"location_details"
|
|
5997
|
-
),
|
|
6009
|
+
), d = r?.store, o = d?.location_details.temple_details, c = i?.location_details, g = n?.user_reviews.reviews ?? [], f = l?.pooja_benefits.benefits;
|
|
5998
6010
|
return {
|
|
5999
|
-
detailImages:
|
|
6000
|
-
title:
|
|
6001
|
-
description:
|
|
6002
|
-
pooja_usecase:
|
|
6003
|
-
pooja_specificity:
|
|
6004
|
-
dateLabel:
|
|
6005
|
-
locationLabel: c?.location_name ??
|
|
6011
|
+
detailImages: d?.info_media.filter((u) => u.type === "image").map((u) => u.media_url) ?? [],
|
|
6012
|
+
title: d?.pooja_title || d?.name || "",
|
|
6013
|
+
description: d?.description ?? "",
|
|
6014
|
+
pooja_usecase: d?.pooja_usecase ?? "",
|
|
6015
|
+
pooja_specificity: d?.pooja_specificity ?? "",
|
|
6016
|
+
dateLabel: d?.process_date ?? "",
|
|
6017
|
+
locationLabel: c?.location_name ?? d?.location ?? "",
|
|
6006
6018
|
detailTempleSignificance: o?.name ? {
|
|
6007
6019
|
question: o.name,
|
|
6008
6020
|
imageUrl: o.image,
|
|
6009
6021
|
paragraphs: [
|
|
6010
6022
|
o.description,
|
|
6011
6023
|
o.location
|
|
6012
|
-
].filter((
|
|
6024
|
+
].filter((u) => !!u)
|
|
6013
6025
|
} : c?.location_name ? {
|
|
6014
6026
|
question: c.header || c.location_name,
|
|
6015
6027
|
imageUrl: c.image,
|
|
6016
6028
|
paragraphs: [c.location_description].filter(
|
|
6017
|
-
(
|
|
6029
|
+
(u) => !!u
|
|
6018
6030
|
)
|
|
6019
6031
|
} : void 0,
|
|
6020
|
-
detailBenefits:
|
|
6021
|
-
icon:
|
|
6022
|
-
title:
|
|
6023
|
-
description:
|
|
6032
|
+
detailBenefits: f?.map((u) => ({
|
|
6033
|
+
icon: u.icon,
|
|
6034
|
+
title: u.title,
|
|
6035
|
+
description: u.description
|
|
6024
6036
|
})),
|
|
6025
|
-
devoteesReviews: g.map((
|
|
6026
|
-
name:
|
|
6027
|
-
date:
|
|
6028
|
-
stars:
|
|
6029
|
-
text:
|
|
6037
|
+
devoteesReviews: g.map((u) => ({
|
|
6038
|
+
name: u.name,
|
|
6039
|
+
date: u.date,
|
|
6040
|
+
stars: u.rating,
|
|
6041
|
+
text: u.suggestion
|
|
6030
6042
|
}))
|
|
6031
6043
|
};
|
|
6032
6044
|
}
|
|
6033
|
-
const
|
|
6045
|
+
const $n = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Wn = "https://srm-cdn.a4b.io/yoda/1789996033193.svg", Ve = (t) => typeof t == "number" ? `${t}px` : t;
|
|
6034
6046
|
function aa({ className: t }) {
|
|
6035
6047
|
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(
|
|
6036
6048
|
"path",
|
|
@@ -6040,18 +6052,18 @@ function aa({ className: t }) {
|
|
|
6040
6052
|
}
|
|
6041
6053
|
) });
|
|
6042
6054
|
}
|
|
6043
|
-
function
|
|
6055
|
+
function $l({
|
|
6044
6056
|
badgeLabel: t,
|
|
6045
6057
|
dateRangeLabel: a,
|
|
6046
6058
|
headline: r,
|
|
6047
6059
|
mandalaWidth: n = 225,
|
|
6048
6060
|
mandalaTop: l = -149,
|
|
6049
6061
|
showMandala: i = !0,
|
|
6050
|
-
mandalaLeft:
|
|
6062
|
+
mandalaLeft: d,
|
|
6051
6063
|
mandalaRight: o,
|
|
6052
6064
|
className: c
|
|
6053
6065
|
}) {
|
|
6054
|
-
const g =
|
|
6066
|
+
const g = d !== void 0 ? { left: Ve(d) } : o !== void 0 ? { right: Ve(o) } : { left: "50%", transform: "translateX(-50%)" };
|
|
6055
6067
|
return /* @__PURE__ */ e.jsxs(
|
|
6056
6068
|
"div",
|
|
6057
6069
|
{
|
|
@@ -6063,7 +6075,7 @@ function Hl({
|
|
|
6063
6075
|
i && /* @__PURE__ */ e.jsx(
|
|
6064
6076
|
"img",
|
|
6065
6077
|
{
|
|
6066
|
-
src:
|
|
6078
|
+
src: Wn,
|
|
6067
6079
|
alt: "",
|
|
6068
6080
|
"aria-hidden": !0,
|
|
6069
6081
|
className: "pointer-events-none absolute z-0 h-auto",
|
|
@@ -6071,7 +6083,7 @@ function Hl({
|
|
|
6071
6083
|
}
|
|
6072
6084
|
),
|
|
6073
6085
|
/* @__PURE__ */ e.jsxs("div", { className: "relative z-10 flex flex-col items-center gap-1", children: [
|
|
6074
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
6086
|
+
/* @__PURE__ */ e.jsx("img", { src: $n, alt: "Sri Mandir", className: "h-14 w-auto object-contain" }),
|
|
6075
6087
|
/* @__PURE__ */ e.jsxs("p", { className: "flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]", children: [
|
|
6076
6088
|
/* @__PURE__ */ e.jsx(aa, {}),
|
|
6077
6089
|
t,
|
|
@@ -6093,27 +6105,27 @@ function Hl({
|
|
|
6093
6105
|
}
|
|
6094
6106
|
);
|
|
6095
6107
|
}
|
|
6096
|
-
function
|
|
6108
|
+
function Wl({
|
|
6097
6109
|
amount: t,
|
|
6098
6110
|
amountClassName: a,
|
|
6099
6111
|
subtitle: r,
|
|
6100
6112
|
subtitleClassName: n,
|
|
6101
6113
|
showInfoIcon: l = !0,
|
|
6102
6114
|
onInfoClick: i,
|
|
6103
|
-
proceedLabel:
|
|
6115
|
+
proceedLabel: d = "Continue",
|
|
6104
6116
|
proceedIcon: o = /* @__PURE__ */ e.jsx(_e, { "aria-hidden": !0 }),
|
|
6105
6117
|
onProceed: c,
|
|
6106
6118
|
disabled: g,
|
|
6107
|
-
proceedButtonProps:
|
|
6108
|
-
className:
|
|
6119
|
+
proceedButtonProps: f,
|
|
6120
|
+
className: u
|
|
6109
6121
|
}) {
|
|
6110
|
-
const
|
|
6122
|
+
const x = g ?? t == null;
|
|
6111
6123
|
return /* @__PURE__ */ e.jsxs(
|
|
6112
6124
|
"div",
|
|
6113
6125
|
{
|
|
6114
6126
|
className: m(
|
|
6115
6127
|
"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)]",
|
|
6116
|
-
|
|
6128
|
+
u
|
|
6117
6129
|
),
|
|
6118
6130
|
children: [
|
|
6119
6131
|
t != null && /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-start", children: [
|
|
@@ -6140,16 +6152,16 @@ function Vl({
|
|
|
6140
6152
|
{
|
|
6141
6153
|
variant: "primary",
|
|
6142
6154
|
size: "xl",
|
|
6143
|
-
disabled:
|
|
6155
|
+
disabled: x,
|
|
6144
6156
|
onClick: c,
|
|
6145
|
-
...
|
|
6157
|
+
...f,
|
|
6146
6158
|
className: m(
|
|
6147
6159
|
"flex-1 justify-center gap-1 rounded-xl",
|
|
6148
|
-
|
|
6149
|
-
|
|
6160
|
+
x ? "bg-none bg-gray-400" : "bg-gradient-to-b from-[#5eb98e] to-[#087955]",
|
|
6161
|
+
f?.className
|
|
6150
6162
|
),
|
|
6151
6163
|
children: [
|
|
6152
|
-
|
|
6164
|
+
d,
|
|
6153
6165
|
o
|
|
6154
6166
|
]
|
|
6155
6167
|
}
|
|
@@ -6160,105 +6172,105 @@ function Vl({
|
|
|
6160
6172
|
}
|
|
6161
6173
|
export {
|
|
6162
6174
|
Ca as ALL_ANCESTORS_ID,
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6175
|
+
En as ANCESTOR_OPTIONS,
|
|
6176
|
+
Ol as AddAncestorSheet,
|
|
6177
|
+
Rn as AncestorTab,
|
|
6178
|
+
Il as AncestorTabRow,
|
|
6179
|
+
pl as AudioQuestionCard,
|
|
6180
|
+
Bl as AvatarCardDialog,
|
|
6169
6181
|
Vt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
6170
6182
|
Na as BillDetails,
|
|
6171
|
-
|
|
6172
|
-
|
|
6183
|
+
wl as BillDetailsSheet,
|
|
6184
|
+
an as BookingSummaryBanner,
|
|
6173
6185
|
Q as Button,
|
|
6174
6186
|
Ft as CHECKOUT_BAR_DEFAULT_COPY,
|
|
6175
6187
|
Kt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6188
|
+
Mn as CUSTOM_ANCESTOR_AVATAR_URL,
|
|
6189
|
+
yl as CartReviewAddedBadge,
|
|
6190
|
+
vl as CartReviewChangeButton,
|
|
6179
6191
|
pa as CartReviewItem,
|
|
6180
6192
|
mr as CartReviewMandapItem,
|
|
6181
|
-
|
|
6182
|
-
|
|
6193
|
+
Cl as CartView,
|
|
6194
|
+
Jn as CheckIcon,
|
|
6183
6195
|
ct as CheckoutBar,
|
|
6184
6196
|
or as Chip,
|
|
6185
6197
|
Pe as ConfinedBottomSheet,
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6198
|
+
xn as ConfirmPujaDetailsModal,
|
|
6199
|
+
Ml as DEATH_TITHI_OPTIONS,
|
|
6200
|
+
kl as DatePickerSheet,
|
|
6201
|
+
vn as DatesCard,
|
|
6202
|
+
cl as DevoteesReviews,
|
|
6203
|
+
Sl as EmailSheet,
|
|
6204
|
+
$l as EventHeader,
|
|
6205
|
+
xl as FAQAccordion,
|
|
6194
6206
|
nr as FAQSection,
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6207
|
+
On as FEMALE_ANCESTOR_AVATAR_URL,
|
|
6208
|
+
qt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
6209
|
+
fn as GotraInfoModal,
|
|
6210
|
+
Nn as HeroLogoBadge,
|
|
6199
6211
|
Me as IconBadge,
|
|
6200
|
-
|
|
6212
|
+
Tl as L2Card,
|
|
6201
6213
|
ma as LanguageSwitcher,
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6214
|
+
An as MALE_ANCESTOR_AVATAR_URL,
|
|
6215
|
+
qn as OUTCOME_SUPPORTED_LOCALES,
|
|
6216
|
+
dl as OUTCOME_TRUST_ITEMS,
|
|
6217
|
+
sl as OnlinePujaTestimonial,
|
|
6218
|
+
el as OutcomeAncestorEditModal,
|
|
6219
|
+
Xn as OutcomeBillDetails,
|
|
6208
6220
|
ys as OutcomeButton,
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6221
|
+
al as OutcomeEmptyRituals,
|
|
6222
|
+
Yn as OutcomeI18nProvider,
|
|
6223
|
+
tl as OutcomeStickyCta,
|
|
6224
|
+
Al as OutcomeSummary,
|
|
6213
6225
|
Ht as PACKAGE_SELECT_DEFAULT_COPY,
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6226
|
+
Yt as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
6227
|
+
Nl as PackageSelect,
|
|
6228
|
+
Pl as PhoneNumberSheet,
|
|
6229
|
+
Qn as PlusIcon,
|
|
6230
|
+
nl as ProcessInvolved,
|
|
6231
|
+
il as PujaBenefitsSection,
|
|
6232
|
+
ll as PujaDetailsCarouselHeader,
|
|
6233
|
+
Rl as PujaDetailsForm,
|
|
6234
|
+
jl as QuantityStepper,
|
|
6235
|
+
Wl as RitualProceedBar,
|
|
6224
6236
|
ta as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
6225
|
-
|
|
6237
|
+
Vn as SarvaPitruCard,
|
|
6226
6238
|
ot as SelectorCard,
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6239
|
+
hl as SelectorCardEditableField,
|
|
6240
|
+
bl as SelectorCardInfoRow,
|
|
6241
|
+
gl as SelectorCardNote,
|
|
6230
6242
|
fr as SelectorCardPriceBadge,
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6243
|
+
Yr as ServiceOfferCard,
|
|
6244
|
+
Tr as ServiceOfferSheet,
|
|
6245
|
+
ml as StepProgressHeader,
|
|
6246
|
+
zl as TITHI_NAME_KEYS,
|
|
6247
|
+
ol as TempleSignificanceSection,
|
|
6248
|
+
ul as TestimonialCard,
|
|
6237
6249
|
ue as TextField,
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6250
|
+
_l as TimeOfBirthPickerSheet,
|
|
6251
|
+
Ll as TithiPickerSheet,
|
|
6252
|
+
fl as TopBar,
|
|
6253
|
+
Qr as TrustBadgesBar,
|
|
6242
6254
|
lr as VideoPlayer,
|
|
6243
|
-
|
|
6255
|
+
rl as WhySriMandir,
|
|
6244
6256
|
rr as buttonVariants,
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6257
|
+
Kl as cn,
|
|
6258
|
+
El as createEmptyPujaDetailsFormValues,
|
|
6259
|
+
Hl as formatDisplayDate,
|
|
6260
|
+
Dl as formatIsoDate,
|
|
6261
|
+
In as getAncestorAvatarUrl,
|
|
6262
|
+
tn as getBookingSummaryBannerDefaultCopy,
|
|
6263
|
+
Jr as getCheckoutBarDefaultCopy,
|
|
6264
|
+
un as getConfirmPujaDetailsModalDefaultCopy,
|
|
6253
6265
|
wa as getGotraInfoModalDefaultCopy,
|
|
6254
|
-
|
|
6255
|
-
|
|
6266
|
+
hn as getKartaOrdinalLabel,
|
|
6267
|
+
Fl as getMonthLabels,
|
|
6256
6268
|
Nt as getOutcomeTranslation,
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6269
|
+
en as getPackageSelectDefaultCopy,
|
|
6270
|
+
mn as getPujaDetailsFormDefaultCopy,
|
|
6271
|
+
Hn as getSarvaPitruCardDefaultCopy,
|
|
6272
|
+
Vl as mapPujaL2Response,
|
|
6261
6273
|
rt as outcomeTranslations,
|
|
6262
|
-
|
|
6274
|
+
Dn as parseIsoDate,
|
|
6263
6275
|
ke as useOutcomeI18n
|
|
6264
6276
|
};
|