@srimandir/pitru-paksh-common 2.0.27 → 2.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pitru-paksh-common.js +204 -200
- package/dist/pitru-paksh-common.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn as c, BottomSheet as
|
|
1
|
+
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as pa, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as Pt, getFlagEmoji as Me } from "@srimandir/common";
|
|
2
2
|
import { cn as ns } from "@srimandir/common";
|
|
3
3
|
import * as ha from "react";
|
|
4
|
-
import
|
|
4
|
+
import E, { useState as V, useMemo as ma, useRef as St, useEffect as Tt } from "react";
|
|
5
5
|
import { cva as ba } from "class-variance-authority";
|
|
6
6
|
import ga from "react-player";
|
|
7
7
|
var je = { exports: {} }, ce = {};
|
|
@@ -9,7 +9,7 @@ var it;
|
|
|
9
9
|
function va() {
|
|
10
10
|
if (it) return ce;
|
|
11
11
|
it = 1;
|
|
12
|
-
var t =
|
|
12
|
+
var t = E, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
13
|
function x(f, u, m) {
|
|
14
14
|
var h, o = {}, v = null, b = null;
|
|
15
15
|
m !== void 0 && (v = "" + m), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (b = u.ref);
|
|
@@ -23,11 +23,11 @@ var de = {};
|
|
|
23
23
|
var ot;
|
|
24
24
|
function ja() {
|
|
25
25
|
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
-
var t =
|
|
26
|
+
var t = E, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), d = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, _ = "@@iterator";
|
|
27
27
|
function k(a) {
|
|
28
28
|
if (a === null || typeof a != "object")
|
|
29
29
|
return null;
|
|
30
|
-
var l = j && a[j] || a[
|
|
30
|
+
var l = j && a[j] || a[_];
|
|
31
31
|
return typeof l == "function" ? l : null;
|
|
32
32
|
}
|
|
33
33
|
var w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -42,16 +42,16 @@ function ja() {
|
|
|
42
42
|
{
|
|
43
43
|
var N = w.ReactDebugCurrentFrame, T = N.getStackAddendum();
|
|
44
44
|
T !== "" && (l += "%s", p = p.concat([T]));
|
|
45
|
-
var z = p.map(function(
|
|
46
|
-
return String(
|
|
45
|
+
var z = p.map(function(S) {
|
|
46
|
+
return String(S);
|
|
47
47
|
});
|
|
48
48
|
z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var L = !1, O = !1, F = !1, U = !1, G = !1, K;
|
|
52
52
|
K = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
53
|
function D(a) {
|
|
54
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a === d || G || a === i || a === m || a === h || U || a === b ||
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === d || G || a === i || a === m || a === h || U || a === b || L || O || F || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === o || a.$$typeof === x || a.$$typeof === f || a.$$typeof === u || // This needs to include all possible module reference object
|
|
55
55
|
// types supported by any Flight configuration anywhere since
|
|
56
56
|
// we don't know which Flight build this will end up being used
|
|
57
57
|
// with.
|
|
@@ -102,9 +102,9 @@ function ja() {
|
|
|
102
102
|
var N = a.displayName || null;
|
|
103
103
|
return N !== null ? N : M(a.type) || "Memo";
|
|
104
104
|
case v: {
|
|
105
|
-
var T = a, z = T._payload,
|
|
105
|
+
var T = a, z = T._payload, S = T._init;
|
|
106
106
|
try {
|
|
107
|
-
return M(
|
|
107
|
+
return M(S(z));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -174,27 +174,27 @@ function ja() {
|
|
|
174
174
|
J < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var ee = w.ReactCurrentDispatcher,
|
|
177
|
+
var ee = w.ReactCurrentDispatcher, Ee;
|
|
178
178
|
function me(a, l, p) {
|
|
179
179
|
{
|
|
180
|
-
if (
|
|
180
|
+
if (Ee === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
183
|
} catch (T) {
|
|
184
184
|
var N = T.stack.trim().match(/\n( *(at )?)/);
|
|
185
|
-
|
|
185
|
+
Ee = N && N[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
|
-
` +
|
|
188
|
+
` + Ee + a;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var Pe = !1, be;
|
|
192
192
|
{
|
|
193
193
|
var Ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
194
|
be = new Ht();
|
|
195
195
|
}
|
|
196
196
|
function Ge(a, l) {
|
|
197
|
-
if (!a ||
|
|
197
|
+
if (!a || Pe)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
200
|
var p = be.get(a);
|
|
@@ -202,34 +202,34 @@ function ja() {
|
|
|
202
202
|
return p;
|
|
203
203
|
}
|
|
204
204
|
var N;
|
|
205
|
-
|
|
205
|
+
Pe = !0;
|
|
206
206
|
var T = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
209
209
|
z = ee.current, ee.current = null, C();
|
|
210
210
|
try {
|
|
211
211
|
if (l) {
|
|
212
|
-
var
|
|
212
|
+
var S = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
215
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(S.prototype, "props", {
|
|
216
216
|
set: function() {
|
|
217
217
|
throw Error();
|
|
218
218
|
}
|
|
219
219
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
220
220
|
try {
|
|
221
|
-
Reflect.construct(
|
|
221
|
+
Reflect.construct(S, []);
|
|
222
222
|
} catch (W) {
|
|
223
223
|
N = W;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(a, [],
|
|
225
|
+
Reflect.construct(a, [], S);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
228
|
+
S.call();
|
|
229
229
|
} catch (W) {
|
|
230
230
|
N = W;
|
|
231
231
|
}
|
|
232
|
-
a.call(
|
|
232
|
+
a.call(S.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
@@ -241,17 +241,17 @@ function ja() {
|
|
|
241
241
|
}
|
|
242
242
|
} catch (W) {
|
|
243
243
|
if (W && N && typeof W.stack == "string") {
|
|
244
|
-
for (var
|
|
244
|
+
for (var P = W.stack.split(`
|
|
245
245
|
`), $ = N.stack.split(`
|
|
246
|
-
`), A =
|
|
246
|
+
`), A = P.length - 1, B = $.length - 1; A >= 1 && B >= 0 && P[A] !== $[B]; )
|
|
247
247
|
B--;
|
|
248
248
|
for (; A >= 1 && B >= 0; A--, B--)
|
|
249
|
-
if (
|
|
249
|
+
if (P[A] !== $[B]) {
|
|
250
250
|
if (A !== 1 || B !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--, B--, B < 0 ||
|
|
252
|
+
if (A--, B--, B < 0 || P[A] !== $[B]) {
|
|
253
253
|
var te = `
|
|
254
|
-
` +
|
|
254
|
+
` + P[A].replace(" at new ", " at ");
|
|
255
255
|
return a.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", a.displayName)), typeof a == "function" && be.set(a, te), te;
|
|
256
256
|
}
|
|
257
257
|
while (A >= 1 && B >= 0);
|
|
@@ -259,7 +259,7 @@ function ja() {
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
Pe = !1, ee.current = z, I(), Error.prepareStackTrace = T;
|
|
263
263
|
}
|
|
264
264
|
var ie = a ? a.displayName || a.name : "", se = ie ? me(ie) : "";
|
|
265
265
|
return typeof a == "function" && be.set(a, se), se;
|
|
@@ -311,24 +311,24 @@ function ja() {
|
|
|
311
311
|
function Gt(a, l, p, N, T) {
|
|
312
312
|
{
|
|
313
313
|
var z = Function.call.bind(oe);
|
|
314
|
-
for (var
|
|
315
|
-
if (z(a,
|
|
316
|
-
var
|
|
314
|
+
for (var S in a)
|
|
315
|
+
if (z(a, S)) {
|
|
316
|
+
var P = void 0;
|
|
317
317
|
try {
|
|
318
|
-
if (typeof a[
|
|
319
|
-
var $ = Error((N || "React class") + ": " + p + " type `" +
|
|
318
|
+
if (typeof a[S] != "function") {
|
|
319
|
+
var $ = Error((N || "React class") + ": " + p + " type `" + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[S] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
320
|
throw $.name = "Invariant Violation", $;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
P = a[S](l, S, N, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (A) {
|
|
324
|
-
|
|
324
|
+
P = A;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
P && !(P instanceof Error) && (ve(T), y("%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).", N || "React class", p, S, typeof P), ve(null)), P instanceof Error && !(P.message in Ye) && (Ye[P.message] = !0, ve(T), y("Failed %s type: %s", p, P.message), ve(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
var Yt = Array.isArray;
|
|
331
|
-
function
|
|
331
|
+
function Se(a) {
|
|
332
332
|
return Yt(a);
|
|
333
333
|
}
|
|
334
334
|
function qt(a) {
|
|
@@ -398,51 +398,51 @@ function ja() {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var aa = function(a, l, p, N, T, z,
|
|
402
|
-
var
|
|
401
|
+
var aa = function(a, l, p, N, T, z, S) {
|
|
402
|
+
var P = {
|
|
403
403
|
// This tag allows us to uniquely identify this as a React Element
|
|
404
404
|
$$typeof: r,
|
|
405
405
|
// Built-in properties that belong on the element
|
|
406
406
|
type: a,
|
|
407
407
|
key: l,
|
|
408
408
|
ref: p,
|
|
409
|
-
props:
|
|
409
|
+
props: S,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
411
|
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return P._store = {}, Object.defineProperty(P._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(P, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: N
|
|
423
|
-
}), Object.defineProperty(
|
|
423
|
+
}), Object.defineProperty(P, "_source", {
|
|
424
424
|
configurable: !1,
|
|
425
425
|
enumerable: !1,
|
|
426
426
|
writable: !1,
|
|
427
427
|
value: T
|
|
428
|
-
}), Object.freeze && (Object.freeze(
|
|
428
|
+
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
429
429
|
};
|
|
430
430
|
function ra(a, l, p, N, T) {
|
|
431
431
|
{
|
|
432
|
-
var z,
|
|
433
|
-
p !== void 0 && (Ze(p),
|
|
432
|
+
var z, S = {}, P = null, $ = null;
|
|
433
|
+
p !== void 0 && (Ze(p), P = "" + p), Xt(l) && (Ze(l.key), P = "" + l.key), Jt(l) && ($ = l.ref, Qt(l, T));
|
|
434
434
|
for (z in l)
|
|
435
|
-
oe.call(l, z) && !Zt.hasOwnProperty(z) && (
|
|
435
|
+
oe.call(l, z) && !Zt.hasOwnProperty(z) && (S[z] = l[z]);
|
|
436
436
|
if (a && a.defaultProps) {
|
|
437
437
|
var A = a.defaultProps;
|
|
438
438
|
for (z in A)
|
|
439
|
-
|
|
439
|
+
S[z] === void 0 && (S[z] = A[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (P || $) {
|
|
442
442
|
var B = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
-
|
|
443
|
+
P && ea(S, B), $ && ta(S, B);
|
|
444
444
|
}
|
|
445
|
-
return aa(a,
|
|
445
|
+
return aa(a, P, $, T, N, Je.current, S);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
var Te = w.ReactCurrentOwner, et = w.ReactDebugCurrentFrame;
|
|
@@ -503,7 +503,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
503
503
|
{
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
506
|
+
if (Se(a))
|
|
507
507
|
for (var p = 0; p < a.length; p++) {
|
|
508
508
|
var N = a[p];
|
|
509
509
|
Oe(N) && rt(N, l);
|
|
@@ -513,8 +513,8 @@ Check the top-level render call using <` + p + ">.");
|
|
|
513
513
|
else if (a) {
|
|
514
514
|
var T = k(a);
|
|
515
515
|
if (typeof T == "function" && T !== a.entries)
|
|
516
|
-
for (var z = T.call(a),
|
|
517
|
-
Oe(
|
|
516
|
+
for (var z = T.call(a), S; !(S = z.next()).done; )
|
|
517
|
+
Oe(S.value) && rt(S.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
@@ -558,23 +558,23 @@ Check the top-level render call using <` + p + ">.");
|
|
|
558
558
|
var nt = {};
|
|
559
559
|
function lt(a, l, p, N, T, z) {
|
|
560
560
|
{
|
|
561
|
-
var
|
|
562
|
-
if (!
|
|
563
|
-
var
|
|
564
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (
|
|
561
|
+
var S = D(a);
|
|
562
|
+
if (!S) {
|
|
563
|
+
var P = "";
|
|
564
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
565
565
|
var $ = sa();
|
|
566
|
-
$ ?
|
|
566
|
+
$ ? P += $ : P += tt();
|
|
567
567
|
var A;
|
|
568
|
-
a === null ? A = "null" :
|
|
568
|
+
a === null ? A = "null" : Se(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : A = typeof a, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, P);
|
|
569
569
|
}
|
|
570
570
|
var B = ra(a, l, p, T, z);
|
|
571
571
|
if (B == null)
|
|
572
572
|
return B;
|
|
573
|
-
if (
|
|
573
|
+
if (S) {
|
|
574
574
|
var te = l.children;
|
|
575
575
|
if (te !== void 0)
|
|
576
576
|
if (N)
|
|
577
|
-
if (
|
|
577
|
+
if (Se(te)) {
|
|
578
578
|
for (var ie = 0; ie < te.length; ie++)
|
|
579
579
|
st(te[ie], a);
|
|
580
580
|
Object.freeze && Object.freeze(te);
|
|
@@ -620,7 +620,7 @@ var e = ya(), Rt = {
|
|
|
620
620
|
className: void 0,
|
|
621
621
|
style: void 0,
|
|
622
622
|
attr: void 0
|
|
623
|
-
}, dt =
|
|
623
|
+
}, dt = E.createContext && /* @__PURE__ */ E.createContext(Rt), Na = ["attr", "size", "title"];
|
|
624
624
|
function wa(t, r) {
|
|
625
625
|
if (t == null) return {};
|
|
626
626
|
var s, n, i = ka(t, r);
|
|
@@ -670,13 +670,13 @@ function we(t) {
|
|
|
670
670
|
return t;
|
|
671
671
|
}
|
|
672
672
|
function Ca(t, r, s) {
|
|
673
|
-
return (r =
|
|
673
|
+
return (r = La(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
var r =
|
|
675
|
+
function La(t) {
|
|
676
|
+
var r = _a(t, "string");
|
|
677
677
|
return typeof r == "symbol" ? r : r + "";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function _a(t, r) {
|
|
680
680
|
if (typeof t != "object" || !t) return t;
|
|
681
681
|
var s = t[Symbol.toPrimitive];
|
|
682
682
|
if (s !== void 0) {
|
|
@@ -687,19 +687,19 @@ function La(t, r) {
|
|
|
687
687
|
return (r === "string" ? String : Number)(t);
|
|
688
688
|
}
|
|
689
689
|
function Ot(t) {
|
|
690
|
-
return t && t.map((r, s) => /* @__PURE__ */
|
|
690
|
+
return t && t.map((r, s) => /* @__PURE__ */ E.createElement(r.tag, we({
|
|
691
691
|
key: s
|
|
692
692
|
}, r.attr), Ot(r.child)));
|
|
693
693
|
}
|
|
694
694
|
function R(t) {
|
|
695
|
-
return (r) => /* @__PURE__ */
|
|
695
|
+
return (r) => /* @__PURE__ */ E.createElement(Ea, Ne({
|
|
696
696
|
attr: we({}, t.attr)
|
|
697
697
|
}, r), Ot(t.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Ea(t) {
|
|
700
700
|
var r = (s) => {
|
|
701
701
|
var n = t.attr, i = t.size, d = t.title, x = wa(t, Na), f = i || s.size || "1em", u;
|
|
702
|
-
return s.className && (u = s.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */
|
|
702
|
+
return s.className && (u = s.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */ E.createElement("svg", Ne({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
@@ -711,14 +711,14 @@ function Sa(t) {
|
|
|
711
711
|
height: f,
|
|
712
712
|
width: f,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
|
-
}), d && /* @__PURE__ */
|
|
714
|
+
}), d && /* @__PURE__ */ E.createElement("title", null, d), t.children);
|
|
715
715
|
};
|
|
716
|
-
return dt !== void 0 ? /* @__PURE__ */
|
|
716
|
+
return dt !== void 0 ? /* @__PURE__ */ E.createElement(dt.Consumer, null, (s) => r(s)) : r(Rt);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Pa(t) {
|
|
719
719
|
return R({ 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);
|
|
720
720
|
}
|
|
721
|
-
const
|
|
721
|
+
const Sa = ba(
|
|
722
722
|
"appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
|
|
723
723
|
{
|
|
724
724
|
variants: {
|
|
@@ -768,9 +768,9 @@ const Pa = ba(
|
|
|
768
768
|
ref: o,
|
|
769
769
|
type: m,
|
|
770
770
|
disabled: d || i,
|
|
771
|
-
className: c(
|
|
771
|
+
className: c(Sa({ variant: r, size: s, iconOnly: n }), t),
|
|
772
772
|
...h,
|
|
773
|
-
children: i ? /* @__PURE__ */ e.jsx(
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(Pa, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
774
|
x,
|
|
775
775
|
u,
|
|
776
776
|
f
|
|
@@ -785,7 +785,7 @@ function $e(t) {
|
|
|
785
785
|
{
|
|
786
786
|
className: "fixed inset-0 z-[1100] mx-auto w-full max-w-md",
|
|
787
787
|
style: { transform: "translateZ(0)" },
|
|
788
|
-
children: /* @__PURE__ */ e.jsx(
|
|
788
|
+
children: /* @__PURE__ */ e.jsx(Le, { ...t })
|
|
789
789
|
}
|
|
790
790
|
) : null;
|
|
791
791
|
}
|
|
@@ -819,24 +819,24 @@ const Ar = ({
|
|
|
819
819
|
"div",
|
|
820
820
|
{
|
|
821
821
|
className: c(
|
|
822
|
-
"flex flex-col gap-3 rounded-lg bg-[#
|
|
822
|
+
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
823
823
|
d
|
|
824
824
|
),
|
|
825
825
|
...x,
|
|
826
826
|
children: [
|
|
827
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125]
|
|
827
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125]", children: t }),
|
|
828
828
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-x-2.5", children: [
|
|
829
829
|
s ? /* @__PURE__ */ e.jsx(
|
|
830
830
|
"img",
|
|
831
831
|
{
|
|
832
832
|
src: s,
|
|
833
833
|
alt: "",
|
|
834
|
-
className: "
|
|
834
|
+
className: "size-8 shrink-0 rounded-full object-cover"
|
|
835
835
|
}
|
|
836
836
|
) : /* @__PURE__ */ e.jsx(
|
|
837
837
|
"div",
|
|
838
838
|
{
|
|
839
|
-
className: "
|
|
839
|
+
className: "size-8 shrink-0 rounded-full",
|
|
840
840
|
style: {
|
|
841
841
|
background: "linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%)"
|
|
842
842
|
},
|
|
@@ -844,9 +844,9 @@ const Ar = ({
|
|
|
844
844
|
}
|
|
845
845
|
),
|
|
846
846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
847
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-
|
|
848
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-
|
|
849
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-
|
|
847
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.75", children: [
|
|
848
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-sm font-bold text-[#1d2125]", children: r }),
|
|
849
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, u) => /* @__PURE__ */ e.jsx(zt, { size: 14 }, u)) })
|
|
850
850
|
] }),
|
|
851
851
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
852
852
|
] })
|
|
@@ -914,24 +914,27 @@ const $a = ({
|
|
|
914
914
|
),
|
|
915
915
|
children: [
|
|
916
916
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
917
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((
|
|
917
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((_, k) => {
|
|
918
918
|
const w = o === k;
|
|
919
919
|
return /* @__PURE__ */ e.jsxs(
|
|
920
920
|
"div",
|
|
921
921
|
{
|
|
922
|
-
className: "w-full rounded-lg border border-[#
|
|
922
|
+
className: "w-full overflow-hidden rounded-lg border border-[#f3f4f6]",
|
|
923
923
|
children: [
|
|
924
924
|
/* @__PURE__ */ e.jsxs(
|
|
925
925
|
"button",
|
|
926
926
|
{
|
|
927
927
|
type: "button",
|
|
928
|
-
className:
|
|
928
|
+
className: c(
|
|
929
|
+
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
930
|
+
w ? "bg-[#f7f8f9]" : "bg-white"
|
|
931
|
+
),
|
|
929
932
|
onClick: () => v(w ? -1 : k),
|
|
930
933
|
"aria-expanded": w,
|
|
931
934
|
"aria-controls": `faq-answer-${k}`,
|
|
932
935
|
id: `faq-question-${k}`,
|
|
933
936
|
children: [
|
|
934
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#
|
|
937
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: _.question }),
|
|
935
938
|
/* @__PURE__ */ e.jsx(
|
|
936
939
|
ke,
|
|
937
940
|
{
|
|
@@ -950,7 +953,8 @@ const $a = ({
|
|
|
950
953
|
role: "region",
|
|
951
954
|
"aria-labelledby": `faq-question-${k}`,
|
|
952
955
|
hidden: !w,
|
|
953
|
-
|
|
956
|
+
className: "bg-white p-3",
|
|
957
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: _.answer })
|
|
954
958
|
}
|
|
955
959
|
)
|
|
956
960
|
]
|
|
@@ -964,7 +968,7 @@ const $a = ({
|
|
|
964
968
|
variant: "secondary",
|
|
965
969
|
size: "lg",
|
|
966
970
|
className: "w-full",
|
|
967
|
-
onClick: () => h((
|
|
971
|
+
onClick: () => h((_) => !_),
|
|
968
972
|
"aria-expanded": m,
|
|
969
973
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
970
974
|
ke,
|
|
@@ -980,12 +984,12 @@ const $a = ({
|
|
|
980
984
|
]
|
|
981
985
|
}
|
|
982
986
|
);
|
|
983
|
-
}, Va =
|
|
987
|
+
}, Va = E.forwardRef(
|
|
984
988
|
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: d }, x) => {
|
|
985
|
-
const [f, u] =
|
|
989
|
+
const [f, u] = E.useState(!1), [m, h] = E.useState(!0), [o, v] = E.useState(!1), [b, j] = E.useState(0), [_, k] = E.useState(0), w = E.useRef(null), g = c(
|
|
986
990
|
"block w-full",
|
|
987
991
|
(i !== void 0 || d !== void 0) && "h-full object-cover"
|
|
988
|
-
),
|
|
992
|
+
), L = (O) => {
|
|
989
993
|
const F = Number(O.target.value);
|
|
990
994
|
j(F), w.current && (w.current.currentTime = F);
|
|
991
995
|
};
|
|
@@ -1045,10 +1049,10 @@ const $a = ({
|
|
|
1045
1049
|
{
|
|
1046
1050
|
type: "range",
|
|
1047
1051
|
min: 0,
|
|
1048
|
-
max:
|
|
1052
|
+
max: _ || 0,
|
|
1049
1053
|
step: 0.1,
|
|
1050
1054
|
value: b,
|
|
1051
|
-
onChange:
|
|
1055
|
+
onChange: L,
|
|
1052
1056
|
"aria-label": "Seek",
|
|
1053
1057
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
1054
1058
|
}
|
|
@@ -1074,7 +1078,7 @@ const $a = ({
|
|
|
1074
1078
|
}
|
|
1075
1079
|
);
|
|
1076
1080
|
Va.displayName = "VideoPlayer";
|
|
1077
|
-
const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Ft =
|
|
1081
|
+
const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Ft = E.forwardRef(
|
|
1078
1082
|
({
|
|
1079
1083
|
options: t,
|
|
1080
1084
|
value: r,
|
|
@@ -1087,32 +1091,32 @@ const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1087
1091
|
menuClassName: u = "",
|
|
1088
1092
|
...m
|
|
1089
1093
|
}, h) => {
|
|
1090
|
-
const [o, v] =
|
|
1094
|
+
const [o, v] = E.useState(n), b = i !== void 0, j = b ? i : o, _ = E.useCallback(
|
|
1091
1095
|
(y) => {
|
|
1092
1096
|
b || v(y), d?.(y);
|
|
1093
1097
|
},
|
|
1094
1098
|
[b, d]
|
|
1095
|
-
), k =
|
|
1096
|
-
|
|
1099
|
+
), k = E.useRef(null);
|
|
1100
|
+
E.useImperativeHandle(h, () => k.current), E.useEffect(() => {
|
|
1097
1101
|
if (!j) return;
|
|
1098
|
-
const y = (
|
|
1099
|
-
k.current?.contains(
|
|
1100
|
-
}, g = (
|
|
1101
|
-
|
|
1102
|
+
const y = (L) => {
|
|
1103
|
+
k.current?.contains(L.target) || _(!1);
|
|
1104
|
+
}, g = (L) => {
|
|
1105
|
+
L.key === "Escape" && _(!1);
|
|
1102
1106
|
};
|
|
1103
1107
|
return document.addEventListener("mousedown", y), document.addEventListener("keydown", g), () => {
|
|
1104
1108
|
document.removeEventListener("mousedown", y), document.removeEventListener("keydown", g);
|
|
1105
1109
|
};
|
|
1106
|
-
}, [j,
|
|
1110
|
+
}, [j, _]);
|
|
1107
1111
|
const w = (y) => {
|
|
1108
|
-
s?.(y.value),
|
|
1112
|
+
s?.(y.value), _(!1);
|
|
1109
1113
|
};
|
|
1110
1114
|
return /* @__PURE__ */ e.jsxs("div", { ref: k, className: c("relative inline-block", x), ...m, children: [
|
|
1111
1115
|
/* @__PURE__ */ e.jsxs(
|
|
1112
1116
|
"button",
|
|
1113
1117
|
{
|
|
1114
1118
|
type: "button",
|
|
1115
|
-
onClick: () =>
|
|
1119
|
+
onClick: () => _(!j),
|
|
1116
1120
|
"aria-label": "Switch language",
|
|
1117
1121
|
"aria-haspopup": "listbox",
|
|
1118
1122
|
"aria-expanded": j,
|
|
@@ -1201,7 +1205,7 @@ function Fr({
|
|
|
1201
1205
|
}
|
|
1202
1206
|
);
|
|
1203
1207
|
}
|
|
1204
|
-
const Wa =
|
|
1208
|
+
const Wa = E.forwardRef(
|
|
1205
1209
|
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: d = "button", ...x }, f) => /* @__PURE__ */ e.jsxs(
|
|
1206
1210
|
"button",
|
|
1207
1211
|
{
|
|
@@ -1210,7 +1214,7 @@ const Wa = S.forwardRef(
|
|
|
1210
1214
|
onClick: s,
|
|
1211
1215
|
"aria-pressed": r,
|
|
1212
1216
|
className: c(
|
|
1213
|
-
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border
|
|
1217
|
+
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
1214
1218
|
r ? "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",
|
|
1215
1219
|
i
|
|
1216
1220
|
),
|
|
@@ -1318,8 +1322,8 @@ const pt = 1.25, ht = [
|
|
|
1318
1322
|
className: i,
|
|
1319
1323
|
...d
|
|
1320
1324
|
}) => {
|
|
1321
|
-
const x =
|
|
1322
|
-
|
|
1325
|
+
const x = E.useRef(null), f = E.useRef(!1), [u, m] = E.useState(!1), [h, o] = E.useState(!1);
|
|
1326
|
+
E.useEffect(() => {
|
|
1323
1327
|
!n || f.current || (f.current = !0, x.current?.play().catch(() => {
|
|
1324
1328
|
}));
|
|
1325
1329
|
}, [n]);
|
|
@@ -1411,7 +1415,7 @@ const pt = 1.25, ht = [
|
|
|
1411
1415
|
sm: "size-9",
|
|
1412
1416
|
md: "size-11",
|
|
1413
1417
|
lg: "size-16"
|
|
1414
|
-
},
|
|
1418
|
+
}, _e = E.forwardRef(
|
|
1415
1419
|
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...d }, x) => /* @__PURE__ */ e.jsx(
|
|
1416
1420
|
"div",
|
|
1417
1421
|
{
|
|
@@ -1428,8 +1432,8 @@ const pt = 1.25, ht = [
|
|
|
1428
1432
|
}
|
|
1429
1433
|
)
|
|
1430
1434
|
);
|
|
1431
|
-
|
|
1432
|
-
const Bt =
|
|
1435
|
+
_e.displayName = "IconBadge";
|
|
1436
|
+
const Bt = E.forwardRef(
|
|
1433
1437
|
({
|
|
1434
1438
|
selected: t = !1,
|
|
1435
1439
|
onSelect: r,
|
|
@@ -1446,7 +1450,7 @@ const Bt = S.forwardRef(
|
|
|
1446
1450
|
tag: v,
|
|
1447
1451
|
tagClassName: b,
|
|
1448
1452
|
children: j,
|
|
1449
|
-
className:
|
|
1453
|
+
className: _,
|
|
1450
1454
|
disabled: k,
|
|
1451
1455
|
type: w = "button",
|
|
1452
1456
|
...y
|
|
@@ -1457,7 +1461,7 @@ const Bt = S.forwardRef(
|
|
|
1457
1461
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1458
1462
|
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1459
1463
|
k && "opacity-50",
|
|
1460
|
-
|
|
1464
|
+
_
|
|
1461
1465
|
),
|
|
1462
1466
|
children: [
|
|
1463
1467
|
v && /* @__PURE__ */ e.jsx(
|
|
@@ -1485,9 +1489,9 @@ const Bt = S.forwardRef(
|
|
|
1485
1489
|
),
|
|
1486
1490
|
...y,
|
|
1487
1491
|
children: [
|
|
1488
|
-
(s || n) && /* @__PURE__ */ e.jsx(
|
|
1492
|
+
(s || n) && /* @__PURE__ */ e.jsx(_e, { icon: s, avatarUrl: n, size: i, className: d }),
|
|
1489
1493
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1490
|
-
/* @__PURE__ */ e.jsx("p", { className: "
|
|
1494
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: x }),
|
|
1491
1495
|
f && !j && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
|
|
1492
1496
|
] }),
|
|
1493
1497
|
u && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: u }),
|
|
@@ -1610,7 +1614,7 @@ const Ir = ({
|
|
|
1610
1614
|
type: "button",
|
|
1611
1615
|
onClick: r,
|
|
1612
1616
|
className: c(
|
|
1613
|
-
"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]
|
|
1617
|
+
"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",
|
|
1614
1618
|
x
|
|
1615
1619
|
),
|
|
1616
1620
|
children: [
|
|
@@ -1636,7 +1640,7 @@ const Ir = ({
|
|
|
1636
1640
|
children: /* @__PURE__ */ e.jsx(Ba, { size: 18, "aria-hidden": !0 })
|
|
1637
1641
|
}
|
|
1638
1642
|
),
|
|
1639
|
-
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center
|
|
1643
|
+
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center text-base font-bold", children: t }),
|
|
1640
1644
|
/* @__PURE__ */ e.jsx(
|
|
1641
1645
|
"button",
|
|
1642
1646
|
{
|
|
@@ -1690,7 +1694,7 @@ const Ir = ({
|
|
|
1690
1694
|
...x,
|
|
1691
1695
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1692
1696
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1693
|
-
/* @__PURE__ */ e.jsx("p", { className: "
|
|
1697
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[15px] leading-5 font-bold text-[#1d2125]", children: t }),
|
|
1694
1698
|
r && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-sm leading-5 text-gray-500", children: r })
|
|
1695
1699
|
] }),
|
|
1696
1700
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-end gap-2", children: [
|
|
@@ -1778,8 +1782,8 @@ const Ir = ({
|
|
|
1778
1782
|
),
|
|
1779
1783
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
|
|
1780
1784
|
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1781
|
-
/* @__PURE__ */ e.jsx("p", { className: "
|
|
1782
|
-
n && /* @__PURE__ */ e.jsx("p", { className: "
|
|
1785
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm leading-5 font-bold text-[#232323]", children: s }),
|
|
1786
|
+
n && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1783
1787
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1784
1788
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
|
|
1785
1789
|
d && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: d })
|
|
@@ -1942,10 +1946,10 @@ const Qa = [
|
|
|
1942
1946
|
optionsClassName: v,
|
|
1943
1947
|
trustBadges: b,
|
|
1944
1948
|
checkout: j,
|
|
1945
|
-
stickyFooter:
|
|
1949
|
+
stickyFooter: _ = !0,
|
|
1946
1950
|
footerClassName: k
|
|
1947
1951
|
}) => {
|
|
1948
|
-
const w = ar(t), y = r ?? w.title, g = s ?? w.description,
|
|
1952
|
+
const w = ar(t), y = r ?? w.title, g = s ?? w.description, L = n ?? w.benefits, O = b ?? {
|
|
1949
1953
|
badges: [
|
|
1950
1954
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: w.trustBadgeLabels.moneyBack },
|
|
1951
1955
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(It, { "aria-hidden": !0 }), label: w.trustBadgeLabels.noHiddenCost },
|
|
@@ -1954,10 +1958,10 @@ const Qa = [
|
|
|
1954
1958
|
};
|
|
1955
1959
|
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full", m), children: [
|
|
1956
1960
|
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", h), children: [
|
|
1957
|
-
/* @__PURE__ */ e.jsx("p", { className: "
|
|
1961
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: y }),
|
|
1958
1962
|
g && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: g })
|
|
1959
1963
|
] }),
|
|
1960
|
-
|
|
1964
|
+
L && L.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", o), children: L.map((F, U) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1961
1965
|
/* @__PURE__ */ e.jsx(Ve, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1962
1966
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: F })
|
|
1963
1967
|
] }, U)) }),
|
|
@@ -1997,7 +2001,7 @@ const Qa = [
|
|
|
1997
2001
|
})
|
|
1998
2002
|
}
|
|
1999
2003
|
),
|
|
2000
|
-
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(
|
|
2004
|
+
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(_ && "sticky bottom-0 z-10", k), children: [
|
|
2001
2005
|
O && /* @__PURE__ */ e.jsx(er, { ...O }),
|
|
2002
2006
|
j && /* @__PURE__ */ e.jsx(Ue, { ...j })
|
|
2003
2007
|
] })
|
|
@@ -2039,9 +2043,9 @@ const Qa = [
|
|
|
2039
2043
|
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
|
|
2040
2044
|
b
|
|
2041
2045
|
] }),
|
|
2042
|
-
(d || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", u), children: j && j.length > 0 ? j.map((
|
|
2046
|
+
(d || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", u), children: j && j.length > 0 ? j.map((_, k) => /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
2043
2047
|
k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2044
|
-
|
|
2048
|
+
_
|
|
2045
2049
|
] }, k)) : d })
|
|
2046
2050
|
] }) });
|
|
2047
2051
|
}, jt = {
|
|
@@ -2102,17 +2106,17 @@ const Qa = [
|
|
|
2102
2106
|
addonsHeaderClassName: v,
|
|
2103
2107
|
addonsTitleClassName: b,
|
|
2104
2108
|
addonsDescriptionClassName: j,
|
|
2105
|
-
addonsClassName:
|
|
2109
|
+
addonsClassName: _,
|
|
2106
2110
|
addonClassName: k,
|
|
2107
2111
|
billDetails: w,
|
|
2108
2112
|
faq: y,
|
|
2109
2113
|
checkout: g,
|
|
2110
|
-
className:
|
|
2114
|
+
className: L,
|
|
2111
2115
|
children: O,
|
|
2112
2116
|
...F
|
|
2113
2117
|
}) => {
|
|
2114
2118
|
const { headerTitle: U, addonsTitle: G, addonsDescription: K, checkoutProceedLabel: D, checkoutRitualSingular: Y, checkoutRitualPlural: Z } = Ce(t), { price: M, ritualCount: H, ...J } = g ?? {};
|
|
2115
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white",
|
|
2119
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white", L), ...F, children: [
|
|
2116
2120
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2117
2121
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2118
2122
|
r && /* @__PURE__ */ e.jsx(
|
|
@@ -2154,7 +2158,7 @@ const Qa = [
|
|
|
2154
2158
|
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", b), children: G }),
|
|
2155
2159
|
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: K })
|
|
2156
2160
|
] }),
|
|
2157
|
-
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4",
|
|
2161
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", _), children: h.map(({ id: X, className: Q, ...ae }) => /* @__PURE__ */ e.jsx(Xa, { className: c(k, Q), ...ae }, X)) })
|
|
2158
2162
|
] }),
|
|
2159
2163
|
w && /* @__PURE__ */ e.jsx(lr, { ...w, locale: t }),
|
|
2160
2164
|
y && /* @__PURE__ */ e.jsx($a, { ...y }),
|
|
@@ -2171,7 +2175,7 @@ const Qa = [
|
|
|
2171
2175
|
}
|
|
2172
2176
|
) })
|
|
2173
2177
|
] });
|
|
2174
|
-
}, ne =
|
|
2178
|
+
}, ne = E.forwardRef(
|
|
2175
2179
|
({
|
|
2176
2180
|
label: t,
|
|
2177
2181
|
value: r,
|
|
@@ -2187,9 +2191,9 @@ const Qa = [
|
|
|
2187
2191
|
id: o,
|
|
2188
2192
|
...v
|
|
2189
2193
|
}, b) => {
|
|
2190
|
-
const j =
|
|
2194
|
+
const j = E.useId(), _ = o ?? j, k = d ?? (i ? `${r.length}${h ? `/${h}` : ""}` : void 0);
|
|
2191
2195
|
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", u), children: [
|
|
2192
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2196
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: _, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2193
2197
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2194
2198
|
/* @__PURE__ */ e.jsxs(
|
|
2195
2199
|
"div",
|
|
@@ -2205,7 +2209,7 @@ const Qa = [
|
|
|
2205
2209
|
"input",
|
|
2206
2210
|
{
|
|
2207
2211
|
ref: b,
|
|
2208
|
-
id:
|
|
2212
|
+
id: _,
|
|
2209
2213
|
value: r,
|
|
2210
2214
|
maxLength: h,
|
|
2211
2215
|
onChange: (w) => s(w.target.value),
|
|
@@ -2240,7 +2244,7 @@ function Gr({
|
|
|
2240
2244
|
u && x(u);
|
|
2241
2245
|
};
|
|
2242
2246
|
return /* @__PURE__ */ e.jsx(
|
|
2243
|
-
|
|
2247
|
+
Le,
|
|
2244
2248
|
{
|
|
2245
2249
|
isOpen: t,
|
|
2246
2250
|
onClose: r,
|
|
@@ -2286,8 +2290,8 @@ function Gr({
|
|
|
2286
2290
|
}
|
|
2287
2291
|
const ye = 48;
|
|
2288
2292
|
function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
2289
|
-
const n =
|
|
2290
|
-
|
|
2293
|
+
const n = E.useRef(null), i = E.useRef(!1);
|
|
2294
|
+
E.useEffect(() => {
|
|
2291
2295
|
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * ye);
|
|
2292
2296
|
}, []);
|
|
2293
2297
|
const d = () => {
|
|
@@ -2337,14 +2341,14 @@ function Yr({
|
|
|
2337
2341
|
}) {
|
|
2338
2342
|
const o = ma(() => {
|
|
2339
2343
|
const g = m ?? h - 120;
|
|
2340
|
-
return Array.from({ length: h - g + 1 }, (
|
|
2341
|
-
}, [m, h]), [v, b] = V(() => u ? u.day - 1 : Math.floor(Fe.length / 2)), [j,
|
|
2344
|
+
return Array.from({ length: h - g + 1 }, (L, O) => g + O);
|
|
2345
|
+
}, [m, h]), [v, b] = V(() => u ? u.day - 1 : Math.floor(Fe.length / 2)), [j, _] = V(() => u ? u.month - 1 : 0), [k, w] = V(
|
|
2342
2346
|
() => u ? Math.max(0, o.indexOf(u.year)) : Math.floor(o.length / 2)
|
|
2343
2347
|
), y = () => {
|
|
2344
2348
|
x({ day: Fe[v], month: j + 1, year: o[k] });
|
|
2345
2349
|
};
|
|
2346
2350
|
return /* @__PURE__ */ e.jsx(
|
|
2347
|
-
|
|
2351
|
+
Le,
|
|
2348
2352
|
{
|
|
2349
2353
|
isOpen: t,
|
|
2350
2354
|
onClose: r,
|
|
@@ -2367,7 +2371,7 @@ function Yr({
|
|
|
2367
2371
|
] }),
|
|
2368
2372
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2369
2373
|
/* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange: b }),
|
|
2370
|
-
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange:
|
|
2374
|
+
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange: _ }),
|
|
2371
2375
|
/* @__PURE__ */ e.jsx(Ae, { options: o.map(String), selectedIndex: k, onChange: w })
|
|
2372
2376
|
] })
|
|
2373
2377
|
}
|
|
@@ -2385,17 +2389,17 @@ function qr({
|
|
|
2385
2389
|
initialCountryIso: u = "IN"
|
|
2386
2390
|
}) {
|
|
2387
2391
|
const [m, h] = V(
|
|
2388
|
-
() => f.find((
|
|
2389
|
-
), [o, v] = V(x), [b, j] = V(!1),
|
|
2392
|
+
() => f.find((L) => L.iso === u) ?? f[0]
|
|
2393
|
+
), [o, v] = V(x), [b, j] = V(!1), _ = St(null);
|
|
2390
2394
|
Tt(() => {
|
|
2391
2395
|
if (!b) return;
|
|
2392
|
-
const
|
|
2393
|
-
|
|
2396
|
+
const L = (O) => {
|
|
2397
|
+
_.current && !_.current.contains(O.target) && j(!1);
|
|
2394
2398
|
};
|
|
2395
|
-
return document.addEventListener("mousedown",
|
|
2399
|
+
return document.addEventListener("mousedown", L), () => document.removeEventListener("mousedown", L);
|
|
2396
2400
|
}, [b]);
|
|
2397
|
-
const k = Ie(m.code), w =
|
|
2398
|
-
h(
|
|
2401
|
+
const k = Ie(m.code), w = Pt(o, m.code).isValid && o.length > 0, y = (L) => {
|
|
2402
|
+
h(L), j(!1), v((O) => O.slice(0, Ie(L.code)));
|
|
2399
2403
|
}, g = () => {
|
|
2400
2404
|
w && d(o, m);
|
|
2401
2405
|
};
|
|
@@ -2423,12 +2427,12 @@ function qr({
|
|
|
2423
2427
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2424
2428
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2425
2429
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2426
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2430
|
+
/* @__PURE__ */ e.jsxs("div", { ref: _, className: "relative shrink-0", children: [
|
|
2427
2431
|
/* @__PURE__ */ e.jsxs(
|
|
2428
2432
|
"button",
|
|
2429
2433
|
{
|
|
2430
2434
|
type: "button",
|
|
2431
|
-
onClick: () => j((
|
|
2435
|
+
onClick: () => j((L) => !L),
|
|
2432
2436
|
"aria-expanded": b,
|
|
2433
2437
|
"aria-haspopup": "listbox",
|
|
2434
2438
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
@@ -2444,21 +2448,21 @@ function qr({
|
|
|
2444
2448
|
{
|
|
2445
2449
|
role: "listbox",
|
|
2446
2450
|
className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
2447
|
-
children: f.map((
|
|
2451
|
+
children: f.map((L) => /* @__PURE__ */ e.jsxs(
|
|
2448
2452
|
"button",
|
|
2449
2453
|
{
|
|
2450
2454
|
type: "button",
|
|
2451
2455
|
role: "option",
|
|
2452
|
-
"aria-selected":
|
|
2453
|
-
onClick: () => y(
|
|
2454
|
-
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${
|
|
2456
|
+
"aria-selected": L.iso === m.iso,
|
|
2457
|
+
onClick: () => y(L),
|
|
2458
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${L.iso === m.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2455
2459
|
children: [
|
|
2456
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(
|
|
2457
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children:
|
|
2458
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children:
|
|
2460
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(L.iso) }),
|
|
2461
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: L.code }),
|
|
2462
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: L.name })
|
|
2459
2463
|
]
|
|
2460
2464
|
},
|
|
2461
|
-
`${
|
|
2465
|
+
`${L.iso}-${L.code}`
|
|
2462
2466
|
))
|
|
2463
2467
|
}
|
|
2464
2468
|
)
|
|
@@ -2470,7 +2474,7 @@ function qr({
|
|
|
2470
2474
|
inputMode: "numeric",
|
|
2471
2475
|
value: o,
|
|
2472
2476
|
maxLength: k,
|
|
2473
|
-
onChange: (
|
|
2477
|
+
onChange: (L) => v(L.replace(/\D/g, "").slice(0, k)),
|
|
2474
2478
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2475
2479
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2476
2480
|
className: "text-[18px]"
|
|
@@ -2492,11 +2496,11 @@ function Kr({
|
|
|
2492
2496
|
initialValue: x = "",
|
|
2493
2497
|
errorText: f = "Please enter a valid email"
|
|
2494
2498
|
}) {
|
|
2495
|
-
const [u, m] = V(x), [h, o] = V(!1), v = u.trim(), b = ir.test(v), j = h && v.length > 0 && !b,
|
|
2499
|
+
const [u, m] = V(x), [h, o] = V(!1), v = u.trim(), b = ir.test(v), j = h && v.length > 0 && !b, _ = () => {
|
|
2496
2500
|
b && d(v);
|
|
2497
2501
|
};
|
|
2498
2502
|
return /* @__PURE__ */ e.jsx(
|
|
2499
|
-
|
|
2503
|
+
Le,
|
|
2500
2504
|
{
|
|
2501
2505
|
isOpen: t,
|
|
2502
2506
|
onClose: r,
|
|
@@ -2510,7 +2514,7 @@ function Kr({
|
|
|
2510
2514
|
className: "w-full rounded-xl",
|
|
2511
2515
|
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2512
2516
|
disabled: !b,
|
|
2513
|
-
onClick:
|
|
2517
|
+
onClick: _,
|
|
2514
2518
|
children: i
|
|
2515
2519
|
}
|
|
2516
2520
|
) }),
|
|
@@ -2561,12 +2565,12 @@ function Zr({
|
|
|
2561
2565
|
title: v,
|
|
2562
2566
|
description: b,
|
|
2563
2567
|
learnMoreLabel: j,
|
|
2564
|
-
onLearnMoreClick:
|
|
2568
|
+
onLearnMoreClick: _,
|
|
2565
2569
|
learnMoreHref: k,
|
|
2566
2570
|
dateLabel: w,
|
|
2567
2571
|
locationLabel: y,
|
|
2568
2572
|
priceInfoLabel: g,
|
|
2569
|
-
onPriceInfoClick:
|
|
2573
|
+
onPriceInfoClick: L,
|
|
2570
2574
|
price: O,
|
|
2571
2575
|
cta: F,
|
|
2572
2576
|
className: U = ""
|
|
@@ -2646,7 +2650,7 @@ function Zr({
|
|
|
2646
2650
|
{
|
|
2647
2651
|
href: k,
|
|
2648
2652
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2649
|
-
onClick:
|
|
2653
|
+
onClick: _,
|
|
2650
2654
|
children: [
|
|
2651
2655
|
j,
|
|
2652
2656
|
/* @__PURE__ */ e.jsx(Da, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
@@ -2671,12 +2675,12 @@ function Zr({
|
|
|
2671
2675
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2672
2676
|
g != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2673
2677
|
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: g }),
|
|
2674
|
-
|
|
2678
|
+
L && /* @__PURE__ */ e.jsx(
|
|
2675
2679
|
"button",
|
|
2676
2680
|
{
|
|
2677
2681
|
type: "button",
|
|
2678
2682
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2679
|
-
onClick:
|
|
2683
|
+
onClick: L,
|
|
2680
2684
|
"aria-label": "More info",
|
|
2681
2685
|
children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2682
2686
|
}
|
|
@@ -3034,7 +3038,7 @@ function es({
|
|
|
3034
3038
|
onProceedPayment: b,
|
|
3035
3039
|
className: j
|
|
3036
3040
|
}) {
|
|
3037
|
-
const [
|
|
3041
|
+
const [_, k] = V(!1), [w, y] = V(!1), g = br(t), L = Vt(t), O = (C) => {
|
|
3038
3042
|
const I = vr(C + 1, t);
|
|
3039
3043
|
return C === 0 ? `*${I} ${g.kartaNameLabel}` : `${I} ${g.kartaNameLabel} ${g.kartaNameOptionalSuffix}`;
|
|
3040
3044
|
}, F = (C) => s({ ...r, ...C }), U = (C, I) => {
|
|
@@ -3042,7 +3046,7 @@ function es({
|
|
|
3042
3046
|
ee[C] = I, F({ kartaNames: ee });
|
|
3043
3047
|
}, G = (C, I) => {
|
|
3044
3048
|
F({ ancestors: r.ancestors.map((ee) => ee.id === C ? { ...ee, value: I } : ee) });
|
|
3045
|
-
}, [K, D] = V(!1), Y =
|
|
3049
|
+
}, [K, D] = V(!1), Y = St(null);
|
|
3046
3050
|
Tt(() => {
|
|
3047
3051
|
if (!K) return;
|
|
3048
3052
|
const C = (I) => {
|
|
@@ -3057,7 +3061,7 @@ function es({
|
|
|
3057
3061
|
}, H = () => {
|
|
3058
3062
|
const C = !r.isGotraUnknown;
|
|
3059
3063
|
F({ isGotraUnknown: C, gotra: C ? g.kashyapGotraLabel : r.gotra });
|
|
3060
|
-
}, J = Ie(De), X =
|
|
3064
|
+
}, J = Ie(De), X = Pt(r.whatsappNumber, De).isValid, Q = jr.test(r.email), ae = r.whatsappNumber.length > 0 && !X, re = r.email.length > 0 && !Q, xe = (n ? Q : X) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (d || r.ancestors.every((C) => C.value.trim().length > 0)), fe = h ?? xe, pe = r.gotra.trim().length > 0 ? r.gotra : g.kashyapGotraLabel, he = n ? r.email : r.whatsappNumber;
|
|
3061
3065
|
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", j), children: [
|
|
3062
3066
|
/* @__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: [
|
|
3063
3067
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3151,7 +3155,7 @@ function es({
|
|
|
3151
3155
|
{
|
|
3152
3156
|
type: "button",
|
|
3153
3157
|
onClick: () => y(!0),
|
|
3154
|
-
"aria-label":
|
|
3158
|
+
"aria-label": L.heading,
|
|
3155
3159
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3156
3160
|
children: /* @__PURE__ */ e.jsx(ue, { size: 24, "aria-hidden": !0 })
|
|
3157
3161
|
}
|
|
@@ -3199,7 +3203,7 @@ function es({
|
|
|
3199
3203
|
] }),
|
|
3200
3204
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3201
3205
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3202
|
-
/* @__PURE__ */ e.jsx(
|
|
3206
|
+
/* @__PURE__ */ e.jsx(_e, { size: "sm", icon: /* @__PURE__ */ e.jsx(Oa, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3203
3207
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3204
3208
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: g.ancestorNameSectionTitle }),
|
|
3205
3209
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: d ? g.sarvaPitruSectionSubtitle : g.ancestorNameSectionSubtitle })
|
|
@@ -3238,7 +3242,7 @@ function es({
|
|
|
3238
3242
|
/* @__PURE__ */ e.jsx(
|
|
3239
3243
|
hr,
|
|
3240
3244
|
{
|
|
3241
|
-
isOpen:
|
|
3245
|
+
isOpen: _,
|
|
3242
3246
|
onClose: () => k(!1),
|
|
3243
3247
|
onEditDetailsClick: () => k(!1),
|
|
3244
3248
|
locale: t,
|
|
@@ -3265,12 +3269,12 @@ function ts(t = 3, r = []) {
|
|
|
3265
3269
|
ancestors: r
|
|
3266
3270
|
};
|
|
3267
3271
|
}
|
|
3268
|
-
const
|
|
3269
|
-
function
|
|
3272
|
+
const Lt = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", yr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", Nr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Cr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3273
|
+
function Lr({ variant: t }) {
|
|
3270
3274
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3271
3275
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3272
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3273
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3276
|
+
/* @__PURE__ */ e.jsx("img", { src: Lt, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3277
|
+
/* @__PURE__ */ e.jsx("img", { src: Lt, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3274
3278
|
/* @__PURE__ */ e.jsx("img", { src: yr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3275
3279
|
] }),
|
|
3276
3280
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
@@ -3284,7 +3288,7 @@ function _r({ variant: t }) {
|
|
|
3284
3288
|
] })
|
|
3285
3289
|
] });
|
|
3286
3290
|
}
|
|
3287
|
-
const
|
|
3291
|
+
const _r = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", _t = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3288
3292
|
function as({
|
|
3289
3293
|
badgeLabel: t,
|
|
3290
3294
|
headingPrefix: r,
|
|
@@ -3299,7 +3303,7 @@ function as({
|
|
|
3299
3303
|
/* @__PURE__ */ e.jsx(
|
|
3300
3304
|
"img",
|
|
3301
3305
|
{
|
|
3302
|
-
src:
|
|
3306
|
+
src: _t,
|
|
3303
3307
|
alt: "",
|
|
3304
3308
|
"aria-hidden": !0,
|
|
3305
3309
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3312,7 +3316,7 @@ function as({
|
|
|
3312
3316
|
/* @__PURE__ */ e.jsx(
|
|
3313
3317
|
"img",
|
|
3314
3318
|
{
|
|
3315
|
-
src:
|
|
3319
|
+
src: _t,
|
|
3316
3320
|
alt: "",
|
|
3317
3321
|
"aria-hidden": !0,
|
|
3318
3322
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3322,7 +3326,7 @@ function as({
|
|
|
3322
3326
|
}
|
|
3323
3327
|
}
|
|
3324
3328
|
),
|
|
3325
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3329
|
+
/* @__PURE__ */ e.jsx("img", { src: _r, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3326
3330
|
] }),
|
|
3327
3331
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3328
3332
|
"✦ ",
|
|
@@ -3339,15 +3343,15 @@ function as({
|
|
|
3339
3343
|
i
|
|
3340
3344
|
] }),
|
|
3341
3345
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: d.map((x) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3342
|
-
/* @__PURE__ */ e.jsx(
|
|
3346
|
+
/* @__PURE__ */ e.jsx(Lr, { variant: x.variant }),
|
|
3343
3347
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: x.text })
|
|
3344
3348
|
] }, x.variant)) })
|
|
3345
3349
|
] });
|
|
3346
3350
|
}
|
|
3347
|
-
function
|
|
3351
|
+
function Er(t) {
|
|
3348
3352
|
return R({ 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);
|
|
3349
3353
|
}
|
|
3350
|
-
const
|
|
3354
|
+
const Et = {
|
|
3351
3355
|
en: {
|
|
3352
3356
|
title: "Who is this puja for?",
|
|
3353
3357
|
subtitle: "Your ancestors",
|
|
@@ -3360,7 +3364,7 @@ const St = {
|
|
|
3360
3364
|
value: "सर्वपितृ के लिए",
|
|
3361
3365
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3362
3366
|
}
|
|
3363
|
-
},
|
|
3367
|
+
}, Pr = (t) => Et[t] ?? Et.en, Sr = E.forwardRef(
|
|
3364
3368
|
({
|
|
3365
3369
|
locale: t = "en",
|
|
3366
3370
|
title: r,
|
|
@@ -3374,7 +3378,7 @@ const St = {
|
|
|
3374
3378
|
helperTextClassName: m,
|
|
3375
3379
|
...h
|
|
3376
3380
|
}, o) => {
|
|
3377
|
-
const v =
|
|
3381
|
+
const v = Pr(t);
|
|
3378
3382
|
return /* @__PURE__ */ e.jsxs(
|
|
3379
3383
|
"div",
|
|
3380
3384
|
{
|
|
@@ -3383,9 +3387,9 @@ const St = {
|
|
|
3383
3387
|
...h,
|
|
3384
3388
|
children: [
|
|
3385
3389
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
|
|
3386
|
-
/* @__PURE__ */ e.jsx(
|
|
3390
|
+
/* @__PURE__ */ e.jsx(_e, { icon: d ?? /* @__PURE__ */ e.jsx(Er, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3387
3391
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3388
|
-
/* @__PURE__ */ e.jsx("p", { className: "
|
|
3392
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3389
3393
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
3390
3394
|
] })
|
|
3391
3395
|
] }),
|
|
@@ -3405,7 +3409,7 @@ const St = {
|
|
|
3405
3409
|
);
|
|
3406
3410
|
}
|
|
3407
3411
|
);
|
|
3408
|
-
|
|
3412
|
+
Sr.displayName = "SarvaPitruCard";
|
|
3409
3413
|
export {
|
|
3410
3414
|
Dr as AudioQuestionCard,
|
|
3411
3415
|
vt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
@@ -3429,7 +3433,7 @@ export {
|
|
|
3429
3433
|
$a as FAQSection,
|
|
3430
3434
|
wt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3431
3435
|
mr as GotraInfoModal,
|
|
3432
|
-
|
|
3436
|
+
_e as IconBadge,
|
|
3433
3437
|
Zr as L2Card,
|
|
3434
3438
|
Ft as LanguageSwitcher,
|
|
3435
3439
|
Jr as OutcomeButton,
|
|
@@ -3441,8 +3445,8 @@ export {
|
|
|
3441
3445
|
Xr as PlusIcon,
|
|
3442
3446
|
es as PujaDetailsForm,
|
|
3443
3447
|
$r as QuantityStepper,
|
|
3444
|
-
|
|
3445
|
-
|
|
3448
|
+
Et as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3449
|
+
Sr as SarvaPitruCard,
|
|
3446
3450
|
Bt as SelectorCard,
|
|
3447
3451
|
Ir as SelectorCardEditableField,
|
|
3448
3452
|
Mr as SelectorCardInfoRow,
|
|
@@ -3456,7 +3460,7 @@ export {
|
|
|
3456
3460
|
Fr as TopBar,
|
|
3457
3461
|
er as TrustBadgesBar,
|
|
3458
3462
|
Va as VideoPlayer,
|
|
3459
|
-
|
|
3463
|
+
Sa as buttonVariants,
|
|
3460
3464
|
ns as cn,
|
|
3461
3465
|
ts as createEmptyPujaDetailsFormValues,
|
|
3462
3466
|
rr as getBookingSummaryBannerDefaultCopy,
|
|
@@ -3466,5 +3470,5 @@ export {
|
|
|
3466
3470
|
vr as getKartaOrdinalLabel,
|
|
3467
3471
|
ar as getPackageSelectDefaultCopy,
|
|
3468
3472
|
br as getPujaDetailsFormDefaultCopy,
|
|
3469
|
-
|
|
3473
|
+
Pr as getSarvaPitruCardDefaultCopy
|
|
3470
3474
|
};
|