@srimandir/pitru-paksh-common 2.0.39 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/FAQAccordion/FAQAccordion.d.ts +31 -0
- package/dist/components/FAQAccordion/index.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/pitru-paksh-common.js +864 -779
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +4 -3
- package/dist/pitru-paksh-common.d.ts +0 -80
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as ha, getMaxLengthForCountry as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { cva as
|
|
6
|
-
import
|
|
1
|
+
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as ha, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as St, getFlagEmoji as Me } from "@srimandir/common";
|
|
2
|
+
import { cn as os } from "@srimandir/common";
|
|
3
|
+
import * as ma from "react";
|
|
4
|
+
import _, { useState as $, useMemo as ba, useRef as Tt, useEffect as Rt } from "react";
|
|
5
|
+
import { cva as ga } from "class-variance-authority";
|
|
6
|
+
import va from "react-player";
|
|
7
7
|
var ye = { exports: {} }, de = {};
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
if (
|
|
11
|
-
|
|
12
|
-
var t =
|
|
8
|
+
var it;
|
|
9
|
+
function ja() {
|
|
10
|
+
if (it) return de;
|
|
11
|
+
it = 1;
|
|
12
|
+
var t = _, 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, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
13
|
function u(f, x, b) {
|
|
14
|
-
var
|
|
14
|
+
var p, d = {}, v = null, g = null;
|
|
15
15
|
b !== void 0 && (v = "" + b), x.key !== void 0 && (v = "" + x.key), x.ref !== void 0 && (g = x.ref);
|
|
16
|
-
for (
|
|
17
|
-
if (f && f.defaultProps) for (
|
|
16
|
+
for (p in x) n.call(x, p) && !o.hasOwnProperty(p) && (d[p] = x[p]);
|
|
17
|
+
if (f && f.defaultProps) for (p in x = f.defaultProps, x) d[p] === void 0 && (d[p] = x[p]);
|
|
18
18
|
return { $$typeof: r, type: f, key: v, ref: g, props: d, _owner: i.current };
|
|
19
19
|
}
|
|
20
20
|
return de.Fragment = s, de.jsx = u, de.jsxs = u, de;
|
|
21
21
|
}
|
|
22
22
|
var ue = {};
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
var t =
|
|
27
|
-
function
|
|
23
|
+
var ot;
|
|
24
|
+
function ya() {
|
|
25
|
+
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
+
var t = _, 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"), o = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@iterator";
|
|
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[L];
|
|
31
31
|
return typeof l == "function" ? l : null;
|
|
32
32
|
}
|
|
33
|
-
var
|
|
34
|
-
function
|
|
33
|
+
var y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
34
|
+
function N(a) {
|
|
35
35
|
{
|
|
36
36
|
for (var l = arguments.length, m = new Array(l > 1 ? l - 1 : 0), w = 1; w < l; w++)
|
|
37
37
|
m[w - 1] = arguments[w];
|
|
38
|
-
|
|
38
|
+
S("error", a, m);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function S(a, l, m) {
|
|
42
42
|
{
|
|
43
|
-
var w =
|
|
44
|
-
|
|
45
|
-
var z = m.map(function(
|
|
46
|
-
return String(
|
|
43
|
+
var w = y.ReactDebugCurrentFrame, T = w.getStackAddendum();
|
|
44
|
+
T !== "" && (l += "%s", m = m.concat([T]));
|
|
45
|
+
var z = m.map(function(P) {
|
|
46
|
+
return String(P);
|
|
47
47
|
});
|
|
48
48
|
z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
|
|
51
|
+
var h = !1, O = !1, H = !1, B = !1, Y = !1, ae;
|
|
52
|
+
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
53
|
function I(a) {
|
|
54
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Y || a === i || a === b || a ===
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Y || a === i || a === b || a === p || B || a === g || h || O || H || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === d || a.$$typeof === u || a.$$typeof === f || a.$$typeof === x || // 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.
|
|
58
|
-
a.$$typeof ===
|
|
58
|
+
a.$$typeof === ae || a.getModuleId !== void 0));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function W(a, l, m) {
|
|
61
61
|
var w = a.displayName;
|
|
62
62
|
if (w)
|
|
63
63
|
return w;
|
|
64
|
-
var
|
|
65
|
-
return
|
|
64
|
+
var T = l.displayName || l.name || "";
|
|
65
|
+
return T !== "" ? m + "(" + T + ")" : m;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function K(a) {
|
|
68
68
|
return a.displayName || "Context";
|
|
69
69
|
}
|
|
70
70
|
function M(a) {
|
|
71
71
|
if (a == null)
|
|
72
72
|
return null;
|
|
73
|
-
if (typeof a.tag == "number" &&
|
|
73
|
+
if (typeof a.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
74
74
|
return a.displayName || a.name || null;
|
|
75
75
|
if (typeof a == "string")
|
|
76
76
|
return a;
|
|
@@ -85,26 +85,26 @@ function Na() {
|
|
|
85
85
|
return "StrictMode";
|
|
86
86
|
case b:
|
|
87
87
|
return "Suspense";
|
|
88
|
-
case
|
|
88
|
+
case p:
|
|
89
89
|
return "SuspenseList";
|
|
90
90
|
}
|
|
91
91
|
if (typeof a == "object")
|
|
92
92
|
switch (a.$$typeof) {
|
|
93
93
|
case f:
|
|
94
94
|
var l = a;
|
|
95
|
-
return
|
|
95
|
+
return K(l) + ".Consumer";
|
|
96
96
|
case u:
|
|
97
97
|
var m = a;
|
|
98
|
-
return
|
|
98
|
+
return K(m._context) + ".Provider";
|
|
99
99
|
case x:
|
|
100
|
-
return
|
|
100
|
+
return W(a, a.render, "ForwardRef");
|
|
101
101
|
case d:
|
|
102
102
|
var w = a.displayName || null;
|
|
103
103
|
return w !== null ? w : M(a.type) || "Memo";
|
|
104
104
|
case v: {
|
|
105
|
-
var
|
|
105
|
+
var T = a, z = T._payload, P = T._init;
|
|
106
106
|
try {
|
|
107
|
-
return M(
|
|
107
|
+
return M(P(z));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -112,18 +112,18 @@ function Na() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var U = Object.assign,
|
|
116
|
-
function
|
|
115
|
+
var U = Object.assign, te = 0, Z, J, X, re, fe, pe, he;
|
|
116
|
+
function me() {
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
me.__reactDisabledLog = !0;
|
|
119
119
|
function Ee() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
Z = console.log, J = console.info, X = console.warn,
|
|
121
|
+
if (te === 0) {
|
|
122
|
+
Z = console.log, J = console.info, X = console.warn, re = console.error, fe = console.group, pe = console.groupCollapsed, he = console.groupEnd;
|
|
123
123
|
var a = {
|
|
124
124
|
configurable: !0,
|
|
125
125
|
enumerable: !0,
|
|
126
|
-
value:
|
|
126
|
+
value: me,
|
|
127
127
|
writable: !0
|
|
128
128
|
};
|
|
129
129
|
Object.defineProperties(console, {
|
|
@@ -136,12 +136,12 @@ function Na() {
|
|
|
136
136
|
groupEnd: a
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
te++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function C() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (te--, te === 0) {
|
|
145
145
|
var a = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
@@ -158,7 +158,7 @@ function Na() {
|
|
|
158
158
|
value: X
|
|
159
159
|
}),
|
|
160
160
|
error: U({}, a, {
|
|
161
|
-
value:
|
|
161
|
+
value: re
|
|
162
162
|
}),
|
|
163
163
|
group: U({}, a, {
|
|
164
164
|
value: fe
|
|
@@ -167,34 +167,34 @@ function Na() {
|
|
|
167
167
|
value: pe
|
|
168
168
|
}),
|
|
169
169
|
groupEnd: U({}, a, {
|
|
170
|
-
value:
|
|
170
|
+
value: he
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
te < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var D =
|
|
177
|
+
var D = y.ReactCurrentDispatcher, Q;
|
|
178
178
|
function be(a, l, m) {
|
|
179
179
|
{
|
|
180
180
|
if (Q === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
|
-
} catch (
|
|
184
|
-
var w =
|
|
183
|
+
} catch (T) {
|
|
184
|
+
var w = T.stack.trim().match(/\n( *(at )?)/);
|
|
185
185
|
Q = w && w[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
188
|
` + Q + a;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var Pe = !1, ge;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
ge = new
|
|
193
|
+
var Wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
ge = new Wt();
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
if (!a ||
|
|
196
|
+
function Ge(a, l) {
|
|
197
|
+
if (!a || Pe)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
200
|
var m = ge.get(a);
|
|
@@ -202,34 +202,34 @@ function Na() {
|
|
|
202
202
|
return m;
|
|
203
203
|
}
|
|
204
204
|
var w;
|
|
205
|
-
|
|
206
|
-
var
|
|
205
|
+
Pe = !0;
|
|
206
|
+
var T = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
209
209
|
z = D.current, D.current = null, Ee();
|
|
210
210
|
try {
|
|
211
211
|
if (l) {
|
|
212
|
-
var
|
|
212
|
+
var P = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
215
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(P.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(P, []);
|
|
222
222
|
} catch (G) {
|
|
223
223
|
w = G;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(a, [],
|
|
225
|
+
Reflect.construct(a, [], P);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
228
|
+
P.call();
|
|
229
229
|
} catch (G) {
|
|
230
230
|
w = G;
|
|
231
231
|
}
|
|
232
|
-
a.call(
|
|
232
|
+
a.call(P.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
@@ -241,17 +241,17 @@ function Na() {
|
|
|
241
241
|
}
|
|
242
242
|
} catch (G) {
|
|
243
243
|
if (G && w && typeof G.stack == "string") {
|
|
244
|
-
for (var
|
|
245
|
-
`),
|
|
246
|
-
`), A =
|
|
244
|
+
for (var E = G.stack.split(`
|
|
245
|
+
`), V = w.stack.split(`
|
|
246
|
+
`), A = E.length - 1, F = V.length - 1; A >= 1 && F >= 0 && E[A] !== V[F]; )
|
|
247
247
|
F--;
|
|
248
248
|
for (; A >= 1 && F >= 0; A--, F--)
|
|
249
|
-
if (
|
|
249
|
+
if (E[A] !== V[F]) {
|
|
250
250
|
if (A !== 1 || F !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--, F--, F < 0 ||
|
|
252
|
+
if (A--, F--, F < 0 || E[A] !== V[F]) {
|
|
253
253
|
var ee = `
|
|
254
|
-
` +
|
|
254
|
+
` + E[A].replace(" at new ", " at ");
|
|
255
255
|
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" && ge.set(a, ee), ee;
|
|
256
256
|
}
|
|
257
257
|
while (A >= 1 && F >= 0);
|
|
@@ -259,15 +259,15 @@ function Na() {
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
Pe = !1, D.current = z, C(), Error.prepareStackTrace = T;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
return typeof a == "function" && ge.set(a,
|
|
264
|
+
var ie = a ? a.displayName || a.name : "", se = ie ? be(ie) : "";
|
|
265
|
+
return typeof a == "function" && ge.set(a, se), se;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function Ut(a, l, m) {
|
|
268
|
+
return Ge(a, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Gt(a) {
|
|
271
271
|
var l = a.prototype;
|
|
272
272
|
return !!(l && l.isReactComponent);
|
|
273
273
|
}
|
|
@@ -275,89 +275,89 @@ function Na() {
|
|
|
275
275
|
if (a == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof a == "function")
|
|
278
|
-
return
|
|
278
|
+
return Ge(a, Gt(a));
|
|
279
279
|
if (typeof a == "string")
|
|
280
280
|
return be(a);
|
|
281
281
|
switch (a) {
|
|
282
282
|
case b:
|
|
283
283
|
return be("Suspense");
|
|
284
|
-
case
|
|
284
|
+
case p:
|
|
285
285
|
return be("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof a == "object")
|
|
288
288
|
switch (a.$$typeof) {
|
|
289
289
|
case x:
|
|
290
|
-
return
|
|
290
|
+
return Ut(a.render);
|
|
291
291
|
case d:
|
|
292
292
|
return ve(a.type, l, m);
|
|
293
293
|
case v: {
|
|
294
|
-
var w = a,
|
|
294
|
+
var w = a, T = w._payload, z = w._init;
|
|
295
295
|
try {
|
|
296
|
-
return ve(z(
|
|
296
|
+
return ve(z(T), l, m);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var ce = Object.prototype.hasOwnProperty, qe = {},
|
|
303
|
+
var ce = Object.prototype.hasOwnProperty, qe = {}, Ye = y.ReactDebugCurrentFrame;
|
|
304
304
|
function je(a) {
|
|
305
305
|
if (a) {
|
|
306
306
|
var l = a._owner, m = ve(a.type, a._source, l ? l.type : null);
|
|
307
|
-
|
|
307
|
+
Ye.setExtraStackFrame(m);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
Ye.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function qt(a, l, m, w,
|
|
311
|
+
function qt(a, l, m, w, T) {
|
|
312
312
|
{
|
|
313
313
|
var z = Function.call.bind(ce);
|
|
314
|
-
for (var
|
|
315
|
-
if (z(a,
|
|
316
|
-
var
|
|
314
|
+
for (var P in a)
|
|
315
|
+
if (z(a, P)) {
|
|
316
|
+
var E = void 0;
|
|
317
317
|
try {
|
|
318
|
-
if (typeof a[
|
|
319
|
-
var
|
|
320
|
-
throw
|
|
318
|
+
if (typeof a[P] != "function") {
|
|
319
|
+
var V = Error((w || "React class") + ": " + m + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
|
+
throw V.name = "Invariant Violation", V;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
E = a[P](l, P, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (A) {
|
|
324
|
-
|
|
324
|
+
E = A;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
E && !(E instanceof Error) && (je(T), N("%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).", w || "React class", m, P, typeof E), je(null)), E instanceof Error && !(E.message in qe) && (qe[E.message] = !0, je(T), N("Failed %s type: %s", m, E.message), je(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
return
|
|
330
|
+
var Yt = Array.isArray;
|
|
331
|
+
function Se(a) {
|
|
332
|
+
return Yt(a);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Kt(a) {
|
|
335
335
|
{
|
|
336
336
|
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
337
337
|
return m;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Zt(a) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Ke(a), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Ke(a) {
|
|
348
348
|
return "" + a;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
if (
|
|
352
|
-
return
|
|
350
|
+
function Ze(a) {
|
|
351
|
+
if (Zt(a))
|
|
352
|
+
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kt(a)), Ke(a);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Je = y.ReactCurrentOwner, Jt = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
},
|
|
360
|
-
function
|
|
359
|
+
}, Xe, Qe;
|
|
360
|
+
function Xt(a) {
|
|
361
361
|
if (ce.call(a, "ref")) {
|
|
362
362
|
var l = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
363
363
|
if (l && l.isReactWarning)
|
|
@@ -365,7 +365,7 @@ function Na() {
|
|
|
365
365
|
}
|
|
366
366
|
return a.ref !== void 0;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Qt(a) {
|
|
369
369
|
if (ce.call(a, "key")) {
|
|
370
370
|
var l = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
371
371
|
if (l && l.isReactWarning)
|
|
@@ -373,13 +373,13 @@ function Na() {
|
|
|
373
373
|
}
|
|
374
374
|
return a.key !== void 0;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
typeof a.ref == "string" &&
|
|
376
|
+
function ea(a, l) {
|
|
377
|
+
typeof a.ref == "string" && Je.current;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function ta(a, l) {
|
|
380
380
|
{
|
|
381
381
|
var m = function() {
|
|
382
|
-
|
|
382
|
+
Xe || (Xe = !0, N("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
383
383
|
};
|
|
384
384
|
m.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
385
385
|
get: m,
|
|
@@ -387,10 +387,10 @@ function Na() {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function aa(a, l) {
|
|
391
391
|
{
|
|
392
392
|
var m = function() {
|
|
393
|
-
|
|
393
|
+
Qe || (Qe = !0, N("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
394
394
|
};
|
|
395
395
|
m.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
396
396
|
get: m,
|
|
@@ -398,70 +398,70 @@ function Na() {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var ra = function(a, l, m, w, T, z, P) {
|
|
402
|
+
var E = {
|
|
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: m,
|
|
409
|
-
props:
|
|
409
|
+
props: P,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
411
|
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(E, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: w
|
|
423
|
-
}), Object.defineProperty(
|
|
423
|
+
}), Object.defineProperty(E, "_source", {
|
|
424
424
|
configurable: !1,
|
|
425
425
|
enumerable: !1,
|
|
426
426
|
writable: !1,
|
|
427
|
-
value:
|
|
428
|
-
}), Object.freeze && (Object.freeze(
|
|
427
|
+
value: T
|
|
428
|
+
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function sa(a, l, m, w, T) {
|
|
431
431
|
{
|
|
432
|
-
var z,
|
|
433
|
-
m !== void 0 && (
|
|
432
|
+
var z, P = {}, E = null, V = null;
|
|
433
|
+
m !== void 0 && (Ze(m), E = "" + m), Qt(l) && (Ze(l.key), E = "" + l.key), Xt(l) && (V = l.ref, ea(l, T));
|
|
434
434
|
for (z in l)
|
|
435
|
-
ce.call(l, z) && !
|
|
435
|
+
ce.call(l, z) && !Jt.hasOwnProperty(z) && (P[z] = l[z]);
|
|
436
436
|
if (a && a.defaultProps) {
|
|
437
437
|
var A = a.defaultProps;
|
|
438
438
|
for (z in A)
|
|
439
|
-
|
|
439
|
+
P[z] === void 0 && (P[z] = A[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (E || V) {
|
|
442
442
|
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
-
|
|
443
|
+
E && ta(P, F), V && aa(P, F);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return ra(a, E, V, T, w, Je.current, P);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var Te = y.ReactCurrentOwner, et = y.ReactDebugCurrentFrame;
|
|
449
|
+
function le(a) {
|
|
450
450
|
if (a) {
|
|
451
451
|
var l = a._owner, m = ve(a.type, a._source, l ? l.type : null);
|
|
452
|
-
|
|
452
|
+
et.setExtraStackFrame(m);
|
|
453
453
|
} else
|
|
454
|
-
|
|
454
|
+
et.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
function
|
|
456
|
+
var Re;
|
|
457
|
+
Re = !1;
|
|
458
|
+
function Oe(a) {
|
|
459
459
|
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function tt() {
|
|
462
462
|
{
|
|
463
|
-
if (
|
|
464
|
-
var a = M(
|
|
463
|
+
if (Te.current) {
|
|
464
|
+
var a = M(Te.current.type);
|
|
465
465
|
if (a)
|
|
466
466
|
return `
|
|
467
467
|
|
|
@@ -470,13 +470,13 @@ Check the render method of \`` + a + "`.";
|
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function na(a) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var at = {};
|
|
477
|
+
function la(a) {
|
|
478
478
|
{
|
|
479
|
-
var l =
|
|
479
|
+
var l = tt();
|
|
480
480
|
if (!l) {
|
|
481
481
|
var m = typeof a == "string" ? a : a.displayName || a.name;
|
|
482
482
|
m && (l = `
|
|
@@ -486,39 +486,39 @@ Check the top-level render call using <` + m + ">.");
|
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function rt(a, l) {
|
|
490
490
|
{
|
|
491
491
|
if (!a._store || a._store.validated || a.key != null)
|
|
492
492
|
return;
|
|
493
493
|
a._store.validated = !0;
|
|
494
|
-
var m =
|
|
495
|
-
if (
|
|
494
|
+
var m = la(l);
|
|
495
|
+
if (at[m])
|
|
496
496
|
return;
|
|
497
|
-
|
|
497
|
+
at[m] = !0;
|
|
498
498
|
var w = "";
|
|
499
|
-
a && a._owner && a._owner !==
|
|
499
|
+
a && a._owner && a._owner !== Te.current && (w = " It was passed a child from " + M(a._owner.type) + "."), le(a), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, w), le(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function st(a, l) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
506
|
+
if (Se(a))
|
|
507
507
|
for (var m = 0; m < a.length; m++) {
|
|
508
508
|
var w = a[m];
|
|
509
|
-
|
|
509
|
+
Oe(w) && rt(w, l);
|
|
510
510
|
}
|
|
511
|
-
else if (
|
|
511
|
+
else if (Oe(a))
|
|
512
512
|
a._store && (a._store.validated = !0);
|
|
513
513
|
else if (a) {
|
|
514
|
-
var
|
|
515
|
-
if (typeof
|
|
516
|
-
for (var z =
|
|
517
|
-
|
|
514
|
+
var T = k(a);
|
|
515
|
+
if (typeof T == "function" && T !== a.entries)
|
|
516
|
+
for (var z = T.call(a), P; !(P = z.next()).done; )
|
|
517
|
+
Oe(P.value) && rt(P.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function ia(a) {
|
|
522
522
|
{
|
|
523
523
|
var l = a.type;
|
|
524
524
|
if (l == null || typeof l == "string")
|
|
@@ -535,102 +535,102 @@ Check the top-level render call using <` + m + ">.");
|
|
|
535
535
|
if (m) {
|
|
536
536
|
var w = M(l);
|
|
537
537
|
qt(m, a.props, "prop", w, a);
|
|
538
|
-
} else if (l.PropTypes !== void 0 && !
|
|
539
|
-
|
|
540
|
-
var
|
|
541
|
-
|
|
538
|
+
} else if (l.PropTypes !== void 0 && !Re) {
|
|
539
|
+
Re = !0;
|
|
540
|
+
var T = M(l);
|
|
541
|
+
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
542
542
|
}
|
|
543
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
543
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function oa(a) {
|
|
547
547
|
{
|
|
548
548
|
for (var l = Object.keys(a.props), m = 0; m < l.length; m++) {
|
|
549
549
|
var w = l[m];
|
|
550
550
|
if (w !== "children" && w !== "key") {
|
|
551
|
-
|
|
551
|
+
le(a), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), le(null);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
a.ref !== null && (
|
|
555
|
+
a.ref !== null && (le(a), N("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
function
|
|
558
|
+
var nt = {};
|
|
559
|
+
function lt(a, l, m, w, T, z) {
|
|
560
560
|
{
|
|
561
|
-
var
|
|
562
|
-
if (!
|
|
563
|
-
var
|
|
564
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (
|
|
565
|
-
var
|
|
566
|
-
|
|
561
|
+
var P = I(a);
|
|
562
|
+
if (!P) {
|
|
563
|
+
var E = "";
|
|
564
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (E += " 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
|
+
var V = na();
|
|
566
|
+
V ? E += V : E += 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") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : A = typeof a, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, E);
|
|
569
569
|
}
|
|
570
|
-
var F =
|
|
570
|
+
var F = sa(a, l, m, T, z);
|
|
571
571
|
if (F == null)
|
|
572
572
|
return F;
|
|
573
|
-
if (
|
|
573
|
+
if (P) {
|
|
574
574
|
var ee = l.children;
|
|
575
575
|
if (ee !== void 0)
|
|
576
576
|
if (w)
|
|
577
|
-
if (
|
|
578
|
-
for (var
|
|
579
|
-
|
|
577
|
+
if (Se(ee)) {
|
|
578
|
+
for (var ie = 0; ie < ee.length; ie++)
|
|
579
|
+
st(ee[ie], a);
|
|
580
580
|
Object.freeze && Object.freeze(ee);
|
|
581
581
|
} else
|
|
582
|
-
|
|
582
|
+
N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
583
583
|
else
|
|
584
|
-
|
|
584
|
+
st(ee, a);
|
|
585
585
|
}
|
|
586
586
|
if (ce.call(l, "key")) {
|
|
587
|
-
var
|
|
588
|
-
return
|
|
589
|
-
}),
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
592
|
-
|
|
587
|
+
var se = M(a), G = Object.keys(l).filter(function(pa) {
|
|
588
|
+
return pa !== "key";
|
|
589
|
+
}), ze = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!nt[se + ze]) {
|
|
591
|
+
var fa = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
592
|
+
N(`A props object containing a "key" prop is being spread into JSX:
|
|
593
593
|
let props = %s;
|
|
594
594
|
<%s {...props} />
|
|
595
595
|
React keys must be passed directly to JSX without using spread:
|
|
596
596
|
let props = %s;
|
|
597
|
-
<%s key={someKey} {...props} />`,
|
|
597
|
+
<%s key={someKey} {...props} />`, ze, se, fa, se), nt[se + ze] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return a === n ?
|
|
600
|
+
return a === n ? oa(F) : ia(F), F;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
603
|
+
function ca(a, l, m) {
|
|
604
|
+
return lt(a, l, m, !0);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return
|
|
606
|
+
function da(a, l, m) {
|
|
607
|
+
return lt(a, l, m, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
ue.Fragment = n, ue.jsx =
|
|
609
|
+
var ua = da, xa = ca;
|
|
610
|
+
ue.Fragment = n, ue.jsx = ua, ue.jsxs = xa;
|
|
611
611
|
})()), ue;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
function
|
|
615
|
-
return
|
|
613
|
+
var ct;
|
|
614
|
+
function Na() {
|
|
615
|
+
return ct || (ct = 1, process.env.NODE_ENV === "production" ? ye.exports = ja() : ye.exports = ya()), ye.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = Na(), Ot = {
|
|
618
618
|
color: void 0,
|
|
619
619
|
size: void 0,
|
|
620
620
|
className: void 0,
|
|
621
621
|
style: void 0,
|
|
622
622
|
attr: void 0
|
|
623
|
-
},
|
|
624
|
-
function
|
|
623
|
+
}, dt = _.createContext && /* @__PURE__ */ _.createContext(Ot), wa = ["attr", "size", "title"];
|
|
624
|
+
function ka(t, r) {
|
|
625
625
|
if (t == null) return {};
|
|
626
|
-
var s, n, i =
|
|
626
|
+
var s, n, i = Ca(t, r);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
628
|
var o = Object.getOwnPropertySymbols(t);
|
|
629
629
|
for (n = 0; n < o.length; n++) s = o[n], r.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (i[s] = t[s]);
|
|
630
630
|
}
|
|
631
631
|
return i;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Ca(t, r) {
|
|
634
634
|
if (t == null) return {};
|
|
635
635
|
var s = {};
|
|
636
636
|
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
|
@@ -648,7 +648,7 @@ function we() {
|
|
|
648
648
|
return t;
|
|
649
649
|
}, we.apply(null, arguments);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function ut(t, r) {
|
|
652
652
|
var s = Object.keys(t);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -661,18 +661,18 @@ function xt(t, r) {
|
|
|
661
661
|
function ke(t) {
|
|
662
662
|
for (var r = 1; r < arguments.length; r++) {
|
|
663
663
|
var s = arguments[r] != null ? arguments[r] : {};
|
|
664
|
-
r % 2 ?
|
|
664
|
+
r % 2 ? ut(Object(s), !0).forEach(function(n) {
|
|
665
665
|
La(t, n, s[n]);
|
|
666
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) :
|
|
666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : ut(Object(s)).forEach(function(n) {
|
|
667
667
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(s, n));
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
670
|
return t;
|
|
671
671
|
}
|
|
672
672
|
function La(t, r, s) {
|
|
673
|
-
return (r =
|
|
673
|
+
return (r = _a(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function _a(t) {
|
|
676
676
|
var r = Ea(t, "string");
|
|
677
677
|
return typeof r == "symbol" ? r : r + "";
|
|
678
678
|
}
|
|
@@ -686,20 +686,20 @@ function Ea(t, r) {
|
|
|
686
686
|
}
|
|
687
687
|
return (r === "string" ? String : Number)(t);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return t && t.map((r, s) => /* @__PURE__ */
|
|
689
|
+
function zt(t) {
|
|
690
|
+
return t && t.map((r, s) => /* @__PURE__ */ _.createElement(r.tag, ke({
|
|
691
691
|
key: s
|
|
692
|
-
}, r.attr),
|
|
692
|
+
}, r.attr), zt(r.child)));
|
|
693
693
|
}
|
|
694
694
|
function R(t) {
|
|
695
|
-
return (r) => /* @__PURE__ */
|
|
695
|
+
return (r) => /* @__PURE__ */ _.createElement(Pa, we({
|
|
696
696
|
attr: ke({}, t.attr)
|
|
697
|
-
}, r),
|
|
697
|
+
}, r), zt(t.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Pa(t) {
|
|
700
700
|
var r = (s) => {
|
|
701
|
-
var n = t.attr, i = t.size, o = t.title, u =
|
|
702
|
-
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */
|
|
701
|
+
var n = t.attr, i = t.size, o = t.title, u = ka(t, wa), f = i || s.size || "1em", x;
|
|
702
|
+
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */ _.createElement("svg", we({
|
|
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
|
-
}), o && /* @__PURE__ */
|
|
714
|
+
}), o && /* @__PURE__ */ _.createElement("title", null, o), t.children);
|
|
715
715
|
};
|
|
716
|
-
return
|
|
716
|
+
return dt !== void 0 ? /* @__PURE__ */ _.createElement(dt.Consumer, null, (s) => r(s)) : r(Ot);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Sa(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 Ta = ga(
|
|
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: {
|
|
@@ -749,7 +749,7 @@ const Ra = va(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
),
|
|
752
|
+
), q = ma.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: t,
|
|
755
755
|
variant: r,
|
|
@@ -761,16 +761,16 @@ const Ra = va(
|
|
|
761
761
|
rightIcon: f,
|
|
762
762
|
children: x,
|
|
763
763
|
type: b = "button",
|
|
764
|
-
...
|
|
764
|
+
...p
|
|
765
765
|
}, d) => /* @__PURE__ */ e.jsx(
|
|
766
766
|
"button",
|
|
767
767
|
{
|
|
768
768
|
ref: d,
|
|
769
769
|
type: b,
|
|
770
770
|
disabled: o || i,
|
|
771
|
-
className: c(
|
|
772
|
-
...
|
|
773
|
-
children: i ? /* @__PURE__ */ e.jsx(
|
|
771
|
+
className: c(Ta({ variant: r, size: s, iconOnly: n }), t),
|
|
772
|
+
...p,
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(Sa, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
774
|
u,
|
|
775
775
|
x,
|
|
776
776
|
f
|
|
@@ -778,8 +778,8 @@ const Ra = va(
|
|
|
778
778
|
}
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
|
-
|
|
782
|
-
function
|
|
781
|
+
q.displayName = "Button";
|
|
782
|
+
function $e(t) {
|
|
783
783
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
784
784
|
"div",
|
|
785
785
|
{
|
|
@@ -789,25 +789,25 @@ function We(t) {
|
|
|
789
789
|
}
|
|
790
790
|
) : null;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Ra(t) {
|
|
793
793
|
return R({ 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);
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Oa(t) {
|
|
796
796
|
return R({ 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);
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function za(t) {
|
|
799
799
|
return R({ 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);
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function At(t) {
|
|
802
802
|
return R({ 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);
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function xt(t) {
|
|
805
805
|
return R({ 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);
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function Aa(t) {
|
|
808
808
|
return R({ 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);
|
|
809
809
|
}
|
|
810
|
-
const
|
|
810
|
+
const Br = ({
|
|
811
811
|
quote: t,
|
|
812
812
|
authorName: r,
|
|
813
813
|
authorAvatarUrl: s,
|
|
@@ -846,7 +846,7 @@ const Kr = ({
|
|
|
846
846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
847
847
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.75", children: [
|
|
848
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, x) => /* @__PURE__ */ e.jsx(
|
|
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, x) => /* @__PURE__ */ e.jsx(At, { size: 14 }, x)) })
|
|
850
850
|
] }),
|
|
851
851
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
852
852
|
] })
|
|
@@ -854,28 +854,31 @@ const Kr = ({
|
|
|
854
854
|
]
|
|
855
855
|
}
|
|
856
856
|
);
|
|
857
|
-
function
|
|
857
|
+
function Fa(t) {
|
|
858
858
|
return R({ 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);
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function Ba(t) {
|
|
861
861
|
return R({ 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);
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function ft(t) {
|
|
864
864
|
return R({ 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);
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Da(t) {
|
|
867
867
|
return R({ 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);
|
|
868
868
|
}
|
|
869
869
|
function xe(t) {
|
|
870
870
|
return R({ 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);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Ft(t) {
|
|
873
873
|
return R({ 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);
|
|
874
874
|
}
|
|
875
|
+
function Ia(t) {
|
|
876
|
+
return R({ 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);
|
|
877
|
+
}
|
|
875
878
|
function Ma(t) {
|
|
876
879
|
return R({ 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);
|
|
877
880
|
}
|
|
878
|
-
function
|
|
881
|
+
function oe(t) {
|
|
879
882
|
return R({ 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);
|
|
880
883
|
}
|
|
881
884
|
function Ve(t) {
|
|
@@ -884,16 +887,16 @@ function Ve(t) {
|
|
|
884
887
|
function $a(t) {
|
|
885
888
|
return R({ 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);
|
|
886
889
|
}
|
|
887
|
-
function
|
|
890
|
+
function Va(t) {
|
|
888
891
|
return R({ 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);
|
|
889
892
|
}
|
|
890
893
|
function He(t) {
|
|
891
894
|
return R({ 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);
|
|
892
895
|
}
|
|
893
|
-
function
|
|
896
|
+
function We(t) {
|
|
894
897
|
return R({ 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);
|
|
895
898
|
}
|
|
896
|
-
const
|
|
899
|
+
const Ha = ({
|
|
897
900
|
title: t = "अक्सर पूछे जाने वाले प्रश्न",
|
|
898
901
|
items: r,
|
|
899
902
|
initialVisibleCount: s = 6,
|
|
@@ -904,7 +907,7 @@ const Va = ({
|
|
|
904
907
|
defaultOpenIndex: f = -1,
|
|
905
908
|
className: x = ""
|
|
906
909
|
}) => {
|
|
907
|
-
const [b,
|
|
910
|
+
const [b, p] = $(i), [d, v] = $(f), g = n && r.length > s, j = g && !b ? r.slice(0, s) : r;
|
|
908
911
|
return /* @__PURE__ */ e.jsxs(
|
|
909
912
|
"div",
|
|
910
913
|
{
|
|
@@ -914,8 +917,8 @@ const Va = ({
|
|
|
914
917
|
),
|
|
915
918
|
children: [
|
|
916
919
|
/* @__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((
|
|
918
|
-
const
|
|
920
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((L, k) => {
|
|
921
|
+
const y = d === k;
|
|
919
922
|
return /* @__PURE__ */ e.jsxs(
|
|
920
923
|
"div",
|
|
921
924
|
{
|
|
@@ -927,19 +930,19 @@ const Va = ({
|
|
|
927
930
|
type: "button",
|
|
928
931
|
className: c(
|
|
929
932
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
930
|
-
|
|
933
|
+
y ? "bg-[#f7f8f9]" : "bg-white"
|
|
931
934
|
),
|
|
932
|
-
onClick: () => v(
|
|
933
|
-
"aria-expanded":
|
|
934
|
-
"aria-controls": `faq-answer-${
|
|
935
|
-
id: `faq-question-${
|
|
935
|
+
onClick: () => v(y ? -1 : k),
|
|
936
|
+
"aria-expanded": y,
|
|
937
|
+
"aria-controls": `faq-answer-${k}`,
|
|
938
|
+
id: `faq-question-${k}`,
|
|
936
939
|
children: [
|
|
937
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children:
|
|
940
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: L.question }),
|
|
938
941
|
/* @__PURE__ */ e.jsx(
|
|
939
|
-
|
|
942
|
+
oe,
|
|
940
943
|
{
|
|
941
944
|
size: 24,
|
|
942
|
-
className: c("shrink-0 transition-transform duration-200",
|
|
945
|
+
className: c("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
|
|
943
946
|
"aria-hidden": !0
|
|
944
947
|
}
|
|
945
948
|
)
|
|
@@ -949,29 +952,29 @@ const Va = ({
|
|
|
949
952
|
/* @__PURE__ */ e.jsx(
|
|
950
953
|
"div",
|
|
951
954
|
{
|
|
952
|
-
id: `faq-answer-${
|
|
955
|
+
id: `faq-answer-${k}`,
|
|
953
956
|
role: "region",
|
|
954
|
-
"aria-labelledby": `faq-question-${
|
|
955
|
-
hidden: !
|
|
957
|
+
"aria-labelledby": `faq-question-${k}`,
|
|
958
|
+
hidden: !y,
|
|
956
959
|
className: "bg-white p-3",
|
|
957
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
960
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: L.answer })
|
|
958
961
|
}
|
|
959
962
|
)
|
|
960
963
|
]
|
|
961
964
|
},
|
|
962
|
-
|
|
965
|
+
k
|
|
963
966
|
);
|
|
964
967
|
}) }),
|
|
965
968
|
g && /* @__PURE__ */ e.jsx(
|
|
966
|
-
|
|
969
|
+
q,
|
|
967
970
|
{
|
|
968
971
|
variant: "secondary",
|
|
969
972
|
size: "lg",
|
|
970
973
|
className: "w-full",
|
|
971
|
-
onClick: () =>
|
|
974
|
+
onClick: () => p((L) => !L),
|
|
972
975
|
"aria-expanded": b,
|
|
973
976
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
974
|
-
|
|
977
|
+
oe,
|
|
975
978
|
{
|
|
976
979
|
size: 24,
|
|
977
980
|
className: c("shrink-0 transition-transform duration-200", b ? "rotate-180" : ""),
|
|
@@ -984,14 +987,89 @@ const Va = ({
|
|
|
984
987
|
]
|
|
985
988
|
}
|
|
986
989
|
);
|
|
987
|
-
},
|
|
990
|
+
}, Dr = ({
|
|
991
|
+
title: t = "Frequently Asked Questions",
|
|
992
|
+
showTitleAccent: r = !0,
|
|
993
|
+
items: s,
|
|
994
|
+
initialVisibleCount: n = 6,
|
|
995
|
+
showCta: i = !0,
|
|
996
|
+
defaultExpanded: o = !1,
|
|
997
|
+
ctaExpandLabel: u = "See more",
|
|
998
|
+
ctaCollapseLabel: f = "See less",
|
|
999
|
+
defaultOpenIndex: x = -1,
|
|
1000
|
+
className: b = ""
|
|
1001
|
+
}) => {
|
|
1002
|
+
const [p, d] = $(o), [v, g] = $(x), j = i && s.length > n, L = j && !p ? s.slice(0, n) : s;
|
|
1003
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-3 bg-white px-4 py-6", b), children: [
|
|
1004
|
+
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
1005
|
+
r && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
1006
|
+
t
|
|
1007
|
+
] }),
|
|
1008
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: L.map((k, y) => {
|
|
1009
|
+
const N = v === y, S = N ? Ia : oe;
|
|
1010
|
+
return /* @__PURE__ */ e.jsxs(
|
|
1011
|
+
"div",
|
|
1012
|
+
{
|
|
1013
|
+
className: "w-full border-b border-[#f3f4f6] py-3 last:border-b-0",
|
|
1014
|
+
children: [
|
|
1015
|
+
/* @__PURE__ */ e.jsxs(
|
|
1016
|
+
"button",
|
|
1017
|
+
{
|
|
1018
|
+
type: "button",
|
|
1019
|
+
className: "flex w-full items-center justify-between gap-2 text-left",
|
|
1020
|
+
onClick: () => g(N ? -1 : y),
|
|
1021
|
+
"aria-expanded": N,
|
|
1022
|
+
"aria-controls": `faq-accordion-answer-${y}`,
|
|
1023
|
+
id: `faq-accordion-question-${y}`,
|
|
1024
|
+
children: [
|
|
1025
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: k.question }),
|
|
1026
|
+
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
1027
|
+
]
|
|
1028
|
+
}
|
|
1029
|
+
),
|
|
1030
|
+
/* @__PURE__ */ e.jsx(
|
|
1031
|
+
"div",
|
|
1032
|
+
{
|
|
1033
|
+
id: `faq-accordion-answer-${y}`,
|
|
1034
|
+
role: "region",
|
|
1035
|
+
"aria-labelledby": `faq-accordion-question-${y}`,
|
|
1036
|
+
hidden: !N,
|
|
1037
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children: k.answer })
|
|
1038
|
+
}
|
|
1039
|
+
)
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
|
+
y
|
|
1043
|
+
);
|
|
1044
|
+
}) }),
|
|
1045
|
+
j && /* @__PURE__ */ e.jsx(
|
|
1046
|
+
q,
|
|
1047
|
+
{
|
|
1048
|
+
variant: "secondary",
|
|
1049
|
+
size: "lg",
|
|
1050
|
+
className: "w-full",
|
|
1051
|
+
onClick: () => d((k) => !k),
|
|
1052
|
+
"aria-expanded": p,
|
|
1053
|
+
rightIcon: /* @__PURE__ */ e.jsx(
|
|
1054
|
+
oe,
|
|
1055
|
+
{
|
|
1056
|
+
size: 24,
|
|
1057
|
+
className: c("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
1058
|
+
"aria-hidden": !0
|
|
1059
|
+
}
|
|
1060
|
+
),
|
|
1061
|
+
children: p ? f : u
|
|
1062
|
+
}
|
|
1063
|
+
)
|
|
1064
|
+
] });
|
|
1065
|
+
}, Wa = _.forwardRef(
|
|
988
1066
|
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: o }, u) => {
|
|
989
|
-
const [f, x] =
|
|
1067
|
+
const [f, x] = _.useState(!1), [b, p] = _.useState(!0), [d, v] = _.useState(!1), [g, j] = _.useState(0), [L, k] = _.useState(0), y = _.useRef(null), S = c(
|
|
990
1068
|
"block w-full",
|
|
991
1069
|
(i !== void 0 || o !== void 0) && "h-full object-cover"
|
|
992
|
-
),
|
|
993
|
-
const
|
|
994
|
-
j(
|
|
1070
|
+
), h = (O) => {
|
|
1071
|
+
const H = Number(O.target.value);
|
|
1072
|
+
j(H), y.current && (y.current.currentTime = H);
|
|
995
1073
|
};
|
|
996
1074
|
return /* @__PURE__ */ e.jsx(
|
|
997
1075
|
"div",
|
|
@@ -1005,35 +1083,35 @@ const Va = ({
|
|
|
1005
1083
|
),
|
|
1006
1084
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1007
1085
|
/* @__PURE__ */ e.jsx(
|
|
1008
|
-
|
|
1086
|
+
va,
|
|
1009
1087
|
{
|
|
1010
|
-
ref:
|
|
1088
|
+
ref: y,
|
|
1011
1089
|
src: t,
|
|
1012
1090
|
poster: r,
|
|
1013
1091
|
playing: b,
|
|
1014
1092
|
muted: d,
|
|
1015
1093
|
width: i,
|
|
1016
1094
|
height: o,
|
|
1017
|
-
className:
|
|
1095
|
+
className: S,
|
|
1018
1096
|
onTimeUpdate: (O) => j(O.currentTarget.currentTime),
|
|
1019
|
-
onDurationChange: (O) =>
|
|
1020
|
-
onEnded: () =>
|
|
1097
|
+
onDurationChange: (O) => k(O.currentTarget.duration),
|
|
1098
|
+
onEnded: () => p(!1)
|
|
1021
1099
|
}
|
|
1022
1100
|
),
|
|
1023
1101
|
/* @__PURE__ */ e.jsx(
|
|
1024
|
-
|
|
1102
|
+
q,
|
|
1025
1103
|
{
|
|
1026
1104
|
variant: "ghost",
|
|
1027
1105
|
iconOnly: !0,
|
|
1028
1106
|
size: "lg",
|
|
1029
1107
|
"aria-label": b ? "Pause" : "Play",
|
|
1030
1108
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1031
|
-
onClick: () =>
|
|
1032
|
-
children: b ? /* @__PURE__ */ e.jsx(
|
|
1109
|
+
onClick: () => p((O) => !O),
|
|
1110
|
+
children: b ? /* @__PURE__ */ e.jsx(Aa, { size: 16 }) : /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1033
1111
|
}
|
|
1034
1112
|
),
|
|
1035
1113
|
/* @__PURE__ */ e.jsx(
|
|
1036
|
-
|
|
1114
|
+
q,
|
|
1037
1115
|
{
|
|
1038
1116
|
variant: "ghost",
|
|
1039
1117
|
iconOnly: !0,
|
|
@@ -1041,7 +1119,7 @@ const Va = ({
|
|
|
1041
1119
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1042
1120
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1043
1121
|
onClick: () => v((O) => !O),
|
|
1044
|
-
children: d ? /* @__PURE__ */ e.jsx(
|
|
1122
|
+
children: d ? /* @__PURE__ */ e.jsx(Oa, { size: 14 }) : /* @__PURE__ */ e.jsx(Ra, { size: 14 })
|
|
1045
1123
|
}
|
|
1046
1124
|
),
|
|
1047
1125
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1049,19 +1127,19 @@ const Va = ({
|
|
|
1049
1127
|
{
|
|
1050
1128
|
type: "range",
|
|
1051
1129
|
min: 0,
|
|
1052
|
-
max:
|
|
1130
|
+
max: L || 0,
|
|
1053
1131
|
step: 0.1,
|
|
1054
1132
|
value: g,
|
|
1055
|
-
onChange:
|
|
1133
|
+
onChange: h,
|
|
1056
1134
|
"aria-label": "Seek",
|
|
1057
1135
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
1058
1136
|
}
|
|
1059
1137
|
)
|
|
1060
1138
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1061
|
-
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className:
|
|
1139
|
+
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: S }),
|
|
1062
1140
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
1063
1141
|
/* @__PURE__ */ e.jsx(
|
|
1064
|
-
|
|
1142
|
+
q,
|
|
1065
1143
|
{
|
|
1066
1144
|
variant: "ghost",
|
|
1067
1145
|
iconOnly: !0,
|
|
@@ -1069,7 +1147,7 @@ const Va = ({
|
|
|
1069
1147
|
"aria-label": "Play video",
|
|
1070
1148
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1071
1149
|
onClick: () => x(!0),
|
|
1072
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1150
|
+
children: /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1073
1151
|
}
|
|
1074
1152
|
)
|
|
1075
1153
|
] })
|
|
@@ -1077,8 +1155,8 @@ const Va = ({
|
|
|
1077
1155
|
);
|
|
1078
1156
|
}
|
|
1079
1157
|
);
|
|
1080
|
-
|
|
1081
|
-
const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }),
|
|
1158
|
+
Wa.displayName = "VideoPlayer";
|
|
1159
|
+
const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Bt = _.forwardRef(
|
|
1082
1160
|
({
|
|
1083
1161
|
options: t,
|
|
1084
1162
|
value: r,
|
|
@@ -1090,33 +1168,33 @@ const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1090
1168
|
triggerClassName: f = "",
|
|
1091
1169
|
menuClassName: x = "",
|
|
1092
1170
|
...b
|
|
1093
|
-
},
|
|
1094
|
-
const [d, v] =
|
|
1095
|
-
(
|
|
1096
|
-
g || v(
|
|
1171
|
+
}, p) => {
|
|
1172
|
+
const [d, v] = _.useState(n), g = i !== void 0, j = g ? i : d, L = _.useCallback(
|
|
1173
|
+
(N) => {
|
|
1174
|
+
g || v(N), o?.(N);
|
|
1097
1175
|
},
|
|
1098
1176
|
[g, o]
|
|
1099
|
-
),
|
|
1100
|
-
|
|
1177
|
+
), k = _.useRef(null);
|
|
1178
|
+
_.useImperativeHandle(p, () => k.current), _.useEffect(() => {
|
|
1101
1179
|
if (!j) return;
|
|
1102
|
-
const
|
|
1103
|
-
|
|
1104
|
-
},
|
|
1105
|
-
|
|
1180
|
+
const N = (h) => {
|
|
1181
|
+
k.current?.contains(h.target) || L(!1);
|
|
1182
|
+
}, S = (h) => {
|
|
1183
|
+
h.key === "Escape" && L(!1);
|
|
1106
1184
|
};
|
|
1107
|
-
return document.addEventListener("mousedown",
|
|
1108
|
-
document.removeEventListener("mousedown",
|
|
1185
|
+
return document.addEventListener("mousedown", N), document.addEventListener("keydown", S), () => {
|
|
1186
|
+
document.removeEventListener("mousedown", N), document.removeEventListener("keydown", S);
|
|
1109
1187
|
};
|
|
1110
|
-
}, [j,
|
|
1111
|
-
const
|
|
1112
|
-
s?.(
|
|
1188
|
+
}, [j, L]);
|
|
1189
|
+
const y = (N) => {
|
|
1190
|
+
s?.(N.value), L(!1);
|
|
1113
1191
|
};
|
|
1114
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1192
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: k, className: c("relative inline-block", u), ...b, children: [
|
|
1115
1193
|
/* @__PURE__ */ e.jsxs(
|
|
1116
1194
|
"button",
|
|
1117
1195
|
{
|
|
1118
1196
|
type: "button",
|
|
1119
|
-
onClick: () =>
|
|
1197
|
+
onClick: () => L(!j),
|
|
1120
1198
|
"aria-label": "Switch language",
|
|
1121
1199
|
"aria-haspopup": "listbox",
|
|
1122
1200
|
"aria-expanded": j,
|
|
@@ -1127,7 +1205,7 @@ const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1127
1205
|
children: [
|
|
1128
1206
|
/* @__PURE__ */ e.jsx(Ua, {}),
|
|
1129
1207
|
/* @__PURE__ */ e.jsx(
|
|
1130
|
-
|
|
1208
|
+
oe,
|
|
1131
1209
|
{
|
|
1132
1210
|
size: 24,
|
|
1133
1211
|
className: c("transition-transform duration-200", j ? "rotate-180" : ""),
|
|
@@ -1145,28 +1223,28 @@ const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1145
1223
|
"absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",
|
|
1146
1224
|
x
|
|
1147
1225
|
),
|
|
1148
|
-
children: t.map((
|
|
1149
|
-
const
|
|
1150
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
1226
|
+
children: t.map((N) => {
|
|
1227
|
+
const S = N.value === r;
|
|
1228
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": S, children: /* @__PURE__ */ e.jsx(
|
|
1151
1229
|
"button",
|
|
1152
1230
|
{
|
|
1153
1231
|
type: "button",
|
|
1154
|
-
onClick: () => N
|
|
1232
|
+
onClick: () => y(N),
|
|
1155
1233
|
className: c(
|
|
1156
1234
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1157
|
-
|
|
1235
|
+
S ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1158
1236
|
),
|
|
1159
|
-
children:
|
|
1237
|
+
children: N.label
|
|
1160
1238
|
}
|
|
1161
|
-
) },
|
|
1239
|
+
) }, N.value);
|
|
1162
1240
|
})
|
|
1163
1241
|
}
|
|
1164
1242
|
)
|
|
1165
1243
|
] });
|
|
1166
1244
|
}
|
|
1167
1245
|
);
|
|
1168
|
-
|
|
1169
|
-
function
|
|
1246
|
+
Bt.displayName = "LanguageSwitcher";
|
|
1247
|
+
function Ir({
|
|
1170
1248
|
onBackClick: t,
|
|
1171
1249
|
backButtonAriaLabel: r = "Go back",
|
|
1172
1250
|
locale: s,
|
|
@@ -1189,11 +1267,11 @@ function Zr({
|
|
|
1189
1267
|
onClick: t,
|
|
1190
1268
|
"aria-label": r,
|
|
1191
1269
|
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)]",
|
|
1192
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1270
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1193
1271
|
}
|
|
1194
1272
|
),
|
|
1195
1273
|
/* @__PURE__ */ e.jsx(
|
|
1196
|
-
|
|
1274
|
+
Bt,
|
|
1197
1275
|
{
|
|
1198
1276
|
options: n,
|
|
1199
1277
|
value: s,
|
|
@@ -1205,7 +1283,7 @@ function Zr({
|
|
|
1205
1283
|
}
|
|
1206
1284
|
);
|
|
1207
1285
|
}
|
|
1208
|
-
const Ga =
|
|
1286
|
+
const Ga = _.forwardRef(
|
|
1209
1287
|
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: o = "button", ...u }, f) => /* @__PURE__ */ e.jsxs(
|
|
1210
1288
|
"button",
|
|
1211
1289
|
{
|
|
@@ -1227,7 +1305,7 @@ const Ga = L.forwardRef(
|
|
|
1227
1305
|
)
|
|
1228
1306
|
);
|
|
1229
1307
|
Ga.displayName = "Chip";
|
|
1230
|
-
const
|
|
1308
|
+
const Mr = ({
|
|
1231
1309
|
quote: t,
|
|
1232
1310
|
currentStep: r,
|
|
1233
1311
|
totalSteps: s,
|
|
@@ -1271,13 +1349,13 @@ const Jr = ({
|
|
|
1271
1349
|
] })
|
|
1272
1350
|
] });
|
|
1273
1351
|
};
|
|
1274
|
-
function
|
|
1352
|
+
function qa(t) {
|
|
1275
1353
|
return R({ 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);
|
|
1276
1354
|
}
|
|
1277
|
-
function
|
|
1355
|
+
function Ya(t) {
|
|
1278
1356
|
return R({ 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);
|
|
1279
1357
|
}
|
|
1280
|
-
const
|
|
1358
|
+
const pt = 1.25, ht = [
|
|
1281
1359
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1282
1360
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1283
1361
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1302,9 +1380,9 @@ const mt = 1.25, ht = [
|
|
|
1302
1380
|
{
|
|
1303
1381
|
x: s.x,
|
|
1304
1382
|
y: s.y,
|
|
1305
|
-
width:
|
|
1383
|
+
width: pt,
|
|
1306
1384
|
height: s.height,
|
|
1307
|
-
rx:
|
|
1385
|
+
rx: pt / 2,
|
|
1308
1386
|
fill: "#6B7280",
|
|
1309
1387
|
className: t ? "wave-bar-anim" : "",
|
|
1310
1388
|
style: {
|
|
@@ -1314,7 +1392,7 @@ const mt = 1.25, ht = [
|
|
|
1314
1392
|
n
|
|
1315
1393
|
))
|
|
1316
1394
|
}
|
|
1317
|
-
),
|
|
1395
|
+
), $r = ({
|
|
1318
1396
|
avatarUrl: t,
|
|
1319
1397
|
question: r,
|
|
1320
1398
|
description: s,
|
|
@@ -1322,8 +1400,8 @@ const mt = 1.25, ht = [
|
|
|
1322
1400
|
className: i,
|
|
1323
1401
|
...o
|
|
1324
1402
|
}) => {
|
|
1325
|
-
const u =
|
|
1326
|
-
|
|
1403
|
+
const u = _.useRef(null), f = _.useRef(!1), [x, b] = _.useState(!1), [p, d] = _.useState(!1);
|
|
1404
|
+
_.useEffect(() => {
|
|
1327
1405
|
!n || f.current || (f.current = !0, u.current?.play().catch(() => {
|
|
1328
1406
|
}));
|
|
1329
1407
|
}, [n]);
|
|
@@ -1394,13 +1472,13 @@ const mt = 1.25, ht = [
|
|
|
1394
1472
|
"aria-label": x ? "Unmute" : "Mute",
|
|
1395
1473
|
"aria-pressed": x,
|
|
1396
1474
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1397
|
-
children: x ? /* @__PURE__ */ e.jsx(
|
|
1475
|
+
children: x ? /* @__PURE__ */ e.jsx(Ya, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(qa, { size: 18, className: "text-[#f75e22]" })
|
|
1398
1476
|
}
|
|
1399
1477
|
),
|
|
1400
1478
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1401
1479
|
Ka,
|
|
1402
1480
|
{
|
|
1403
|
-
animate:
|
|
1481
|
+
animate: p && !x,
|
|
1404
1482
|
iconIndex: g
|
|
1405
1483
|
},
|
|
1406
1484
|
g
|
|
@@ -1415,7 +1493,7 @@ const mt = 1.25, ht = [
|
|
|
1415
1493
|
sm: "size-9",
|
|
1416
1494
|
md: "size-11",
|
|
1417
1495
|
lg: "size-16"
|
|
1418
|
-
},
|
|
1496
|
+
}, _e = _.forwardRef(
|
|
1419
1497
|
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...o }, u) => /* @__PURE__ */ e.jsx(
|
|
1420
1498
|
"div",
|
|
1421
1499
|
{
|
|
@@ -1432,8 +1510,8 @@ const mt = 1.25, ht = [
|
|
|
1432
1510
|
}
|
|
1433
1511
|
)
|
|
1434
1512
|
);
|
|
1435
|
-
|
|
1436
|
-
const
|
|
1513
|
+
_e.displayName = "IconBadge";
|
|
1514
|
+
const Dt = _.forwardRef(
|
|
1437
1515
|
({
|
|
1438
1516
|
selected: t = !1,
|
|
1439
1517
|
onSelect: r,
|
|
@@ -1445,23 +1523,23 @@ const It = L.forwardRef(
|
|
|
1445
1523
|
description: f,
|
|
1446
1524
|
badge: x,
|
|
1447
1525
|
showRadio: b = !0,
|
|
1448
|
-
radioVariant:
|
|
1526
|
+
radioVariant: p = "dot",
|
|
1449
1527
|
radioClassName: d,
|
|
1450
1528
|
tag: v,
|
|
1451
1529
|
tagClassName: g,
|
|
1452
1530
|
children: j,
|
|
1453
|
-
className:
|
|
1454
|
-
disabled:
|
|
1455
|
-
type:
|
|
1456
|
-
...
|
|
1457
|
-
},
|
|
1531
|
+
className: L,
|
|
1532
|
+
disabled: k,
|
|
1533
|
+
type: y = "button",
|
|
1534
|
+
...N
|
|
1535
|
+
}, S) => /* @__PURE__ */ e.jsxs(
|
|
1458
1536
|
"div",
|
|
1459
1537
|
{
|
|
1460
1538
|
className: c(
|
|
1461
1539
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1462
1540
|
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1463
|
-
|
|
1464
|
-
|
|
1541
|
+
k && "opacity-50",
|
|
1542
|
+
L
|
|
1465
1543
|
),
|
|
1466
1544
|
children: [
|
|
1467
1545
|
v && /* @__PURE__ */ e.jsx(
|
|
@@ -1477,19 +1555,19 @@ const It = L.forwardRef(
|
|
|
1477
1555
|
/* @__PURE__ */ e.jsxs(
|
|
1478
1556
|
"button",
|
|
1479
1557
|
{
|
|
1480
|
-
ref:
|
|
1481
|
-
type:
|
|
1558
|
+
ref: S,
|
|
1559
|
+
type: y,
|
|
1482
1560
|
role: "radio",
|
|
1483
1561
|
"aria-checked": t,
|
|
1484
|
-
disabled:
|
|
1562
|
+
disabled: k,
|
|
1485
1563
|
onClick: r,
|
|
1486
1564
|
className: c(
|
|
1487
1565
|
"flex w-full items-center gap-3 overflow-hidden rounded-2xl px-3 pt-3 pb-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",
|
|
1488
1566
|
v && "pt-7"
|
|
1489
1567
|
),
|
|
1490
|
-
...
|
|
1568
|
+
...N,
|
|
1491
1569
|
children: [
|
|
1492
|
-
(s || n) && /* @__PURE__ */ e.jsx(
|
|
1570
|
+
(s || n) && /* @__PURE__ */ e.jsx(_e, { icon: s, avatarUrl: n, size: i, className: o }),
|
|
1493
1571
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1494
1572
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: u }),
|
|
1495
1573
|
f && !j && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
|
|
@@ -1501,10 +1579,10 @@ const It = L.forwardRef(
|
|
|
1501
1579
|
"aria-hidden": !0,
|
|
1502
1580
|
className: c(
|
|
1503
1581
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1504
|
-
t ?
|
|
1582
|
+
t ? p === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1505
1583
|
),
|
|
1506
1584
|
children: [
|
|
1507
|
-
t &&
|
|
1585
|
+
t && p === "dot" && /* @__PURE__ */ e.jsx(
|
|
1508
1586
|
"span",
|
|
1509
1587
|
{
|
|
1510
1588
|
className: c(
|
|
@@ -1513,7 +1591,7 @@ const It = L.forwardRef(
|
|
|
1513
1591
|
)
|
|
1514
1592
|
}
|
|
1515
1593
|
),
|
|
1516
|
-
t &&
|
|
1594
|
+
t && p === "check" && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 })
|
|
1517
1595
|
]
|
|
1518
1596
|
}
|
|
1519
1597
|
)
|
|
@@ -1525,8 +1603,8 @@ const It = L.forwardRef(
|
|
|
1525
1603
|
}
|
|
1526
1604
|
)
|
|
1527
1605
|
);
|
|
1528
|
-
|
|
1529
|
-
const
|
|
1606
|
+
Dt.displayName = "SelectorCard";
|
|
1607
|
+
const Vr = ({
|
|
1530
1608
|
value: t,
|
|
1531
1609
|
onClick: r,
|
|
1532
1610
|
className: s,
|
|
@@ -1544,11 +1622,11 @@ const Qr = ({
|
|
|
1544
1622
|
),
|
|
1545
1623
|
...n,
|
|
1546
1624
|
children: [
|
|
1547
|
-
/* @__PURE__ */ e.jsx(
|
|
1625
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1548
1626
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
1549
1627
|
]
|
|
1550
1628
|
}
|
|
1551
|
-
),
|
|
1629
|
+
), Hr = ({
|
|
1552
1630
|
value: t,
|
|
1553
1631
|
onInfoClick: r,
|
|
1554
1632
|
infoLabel: s = "More info",
|
|
@@ -1600,7 +1678,7 @@ const Qr = ({
|
|
|
1600
1678
|
...s,
|
|
1601
1679
|
children: r
|
|
1602
1680
|
}
|
|
1603
|
-
),
|
|
1681
|
+
), Wr = ({
|
|
1604
1682
|
value: t,
|
|
1605
1683
|
onIncrement: r,
|
|
1606
1684
|
onDecrement: s,
|
|
@@ -1618,7 +1696,7 @@ const Qr = ({
|
|
|
1618
1696
|
u
|
|
1619
1697
|
),
|
|
1620
1698
|
children: [
|
|
1621
|
-
/* @__PURE__ */ e.jsx(
|
|
1699
|
+
/* @__PURE__ */ e.jsx(ft, { size: 20, "aria-hidden": !0 }),
|
|
1622
1700
|
o
|
|
1623
1701
|
]
|
|
1624
1702
|
}
|
|
@@ -1637,7 +1715,7 @@ const Qr = ({
|
|
|
1637
1715
|
onClick: s,
|
|
1638
1716
|
"aria-label": "Decrease quantity",
|
|
1639
1717
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1640
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1718
|
+
children: /* @__PURE__ */ e.jsx(Da, { size: 18, "aria-hidden": !0 })
|
|
1641
1719
|
}
|
|
1642
1720
|
),
|
|
1643
1721
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center text-base font-bold", children: t }),
|
|
@@ -1649,12 +1727,12 @@ const Qr = ({
|
|
|
1649
1727
|
disabled: i !== void 0 && t >= i,
|
|
1650
1728
|
"aria-label": "Increase quantity",
|
|
1651
1729
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1652
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1730
|
+
children: /* @__PURE__ */ e.jsx(ft, { size: 18, "aria-hidden": !0 })
|
|
1653
1731
|
}
|
|
1654
1732
|
)
|
|
1655
1733
|
]
|
|
1656
1734
|
}
|
|
1657
|
-
),
|
|
1735
|
+
), mt = {
|
|
1658
1736
|
en: {
|
|
1659
1737
|
headerTitle: "Review your booking",
|
|
1660
1738
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1679,7 +1757,7 @@ const Qr = ({
|
|
|
1679
1757
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1680
1758
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1681
1759
|
}
|
|
1682
|
-
},
|
|
1760
|
+
}, Ce = (t) => mt[t] ?? mt.en, It = ({
|
|
1683
1761
|
title: t,
|
|
1684
1762
|
description: r,
|
|
1685
1763
|
price: s,
|
|
@@ -1707,9 +1785,9 @@ const Qr = ({
|
|
|
1707
1785
|
] })
|
|
1708
1786
|
}
|
|
1709
1787
|
), Qa = ({ locale: t = "en", ...r }) => {
|
|
1710
|
-
const { mandapTitle: s, mandapDescription: n } =
|
|
1711
|
-
return /* @__PURE__ */ e.jsx(
|
|
1712
|
-
},
|
|
1788
|
+
const { mandapTitle: s, mandapDescription: n } = Ce(t);
|
|
1789
|
+
return /* @__PURE__ */ e.jsx(It, { title: s, description: n, ...r });
|
|
1790
|
+
}, Ur = ({
|
|
1713
1791
|
children: t = "Change",
|
|
1714
1792
|
className: r,
|
|
1715
1793
|
type: s = "button",
|
|
@@ -1724,11 +1802,11 @@ const Qr = ({
|
|
|
1724
1802
|
),
|
|
1725
1803
|
...n,
|
|
1726
1804
|
children: [
|
|
1727
|
-
/* @__PURE__ */ e.jsx(
|
|
1805
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 14, "aria-hidden": !0 }),
|
|
1728
1806
|
t
|
|
1729
1807
|
]
|
|
1730
1808
|
}
|
|
1731
|
-
),
|
|
1809
|
+
), Gr = ({
|
|
1732
1810
|
locale: t = "en",
|
|
1733
1811
|
isAdded: r = !0,
|
|
1734
1812
|
children: s,
|
|
@@ -1746,23 +1824,10 @@ const Qr = ({
|
|
|
1746
1824
|
...o,
|
|
1747
1825
|
children: [
|
|
1748
1826
|
r && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 }),
|
|
1749
|
-
s ?? (r ?
|
|
1827
|
+
s ?? (r ? Ce(t).addedLabel : Ce(t).addLabel)
|
|
1750
1828
|
]
|
|
1751
1829
|
}
|
|
1752
|
-
), er =
|
|
1753
|
-
card: er,
|
|
1754
|
-
tag: tr,
|
|
1755
|
-
content: ar,
|
|
1756
|
-
info: rr,
|
|
1757
|
-
title: sr,
|
|
1758
|
-
description: nr,
|
|
1759
|
-
priceRow: lr,
|
|
1760
|
-
price: ir,
|
|
1761
|
-
originalPrice: or,
|
|
1762
|
-
imageWrap: cr,
|
|
1763
|
-
image: dr,
|
|
1764
|
-
actionWrap: ur
|
|
1765
|
-
}, xr = ({
|
|
1830
|
+
), er = ({
|
|
1766
1831
|
image: t,
|
|
1767
1832
|
imageAlt: r = "",
|
|
1768
1833
|
title: s,
|
|
@@ -1773,38 +1838,57 @@ const Qr = ({
|
|
|
1773
1838
|
tagClassName: f,
|
|
1774
1839
|
action: x,
|
|
1775
1840
|
className: b,
|
|
1776
|
-
...
|
|
1777
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1841
|
+
...p
|
|
1842
|
+
}) => /* @__PURE__ */ e.jsxs(
|
|
1843
|
+
"div",
|
|
1844
|
+
{
|
|
1845
|
+
className: c(
|
|
1846
|
+
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1847
|
+
b
|
|
1848
|
+
),
|
|
1849
|
+
...p,
|
|
1850
|
+
children: [
|
|
1851
|
+
u && /* @__PURE__ */ e.jsx(
|
|
1852
|
+
"div",
|
|
1853
|
+
{
|
|
1854
|
+
className: c(
|
|
1855
|
+
"inline-flex items-center gap-1.5 rounded-tl-2xl rounded-br-2xl bg-emerald-800 px-3 py-1.5 text-xs font-semibold text-white",
|
|
1856
|
+
f
|
|
1857
|
+
),
|
|
1858
|
+
children: u
|
|
1859
|
+
}
|
|
1860
|
+
),
|
|
1861
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
|
|
1862
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1863
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm leading-5 font-bold text-[#232323]", children: s }),
|
|
1864
|
+
n && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1865
|
+
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1866
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
|
|
1867
|
+
o && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: o })
|
|
1868
|
+
] })
|
|
1869
|
+
] }),
|
|
1870
|
+
/* @__PURE__ */ e.jsxs("div", { className: "relative w-30 h-34.25 shrink-0", children: [
|
|
1871
|
+
/* @__PURE__ */ e.jsx("img", { src: t, alt: r, className: "size-30 rounded-2xl object-cover" }),
|
|
1872
|
+
x && /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-1/2 -translate-x-1/2", children: x })
|
|
1873
|
+
] })
|
|
1786
1874
|
] })
|
|
1787
|
-
]
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
] })
|
|
1792
|
-
] })
|
|
1793
|
-
] });
|
|
1794
|
-
function $t(t) {
|
|
1875
|
+
]
|
|
1876
|
+
}
|
|
1877
|
+
);
|
|
1878
|
+
function Mt(t) {
|
|
1795
1879
|
return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(t);
|
|
1796
1880
|
}
|
|
1797
|
-
function
|
|
1881
|
+
function $t(t) {
|
|
1798
1882
|
return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56" }, child: [] }, { tag: "path", attr: { d: "M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0" }, child: [] }] })(t);
|
|
1799
1883
|
}
|
|
1800
1884
|
function Vt(t) {
|
|
1801
1885
|
return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z" }, child: [] }, { tag: "path", attr: { d: "M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z" }, child: [] }, { tag: "path", attr: { d: "M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(t);
|
|
1802
1886
|
}
|
|
1803
|
-
const
|
|
1804
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1805
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1887
|
+
const tr = [
|
|
1888
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1889
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1806
1890
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1807
|
-
],
|
|
1891
|
+
], bt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1808
1892
|
"span",
|
|
1809
1893
|
{
|
|
1810
1894
|
className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
@@ -1814,8 +1898,8 @@ const fr = [
|
|
|
1814
1898
|
]
|
|
1815
1899
|
},
|
|
1816
1900
|
r
|
|
1817
|
-
),
|
|
1818
|
-
badges: t =
|
|
1901
|
+
), ar = ({
|
|
1902
|
+
badges: t = tr,
|
|
1819
1903
|
badgeClassName: r,
|
|
1820
1904
|
marquee: s = !0,
|
|
1821
1905
|
marqueeDurationSeconds: n = 14,
|
|
@@ -1826,7 +1910,7 @@ const fr = [
|
|
|
1826
1910
|
{
|
|
1827
1911
|
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1828
1912
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1829
|
-
children: [...t, ...t].map((u, f) =>
|
|
1913
|
+
children: [...t, ...t].map((u, f) => bt(u, `${u.id}-${f}`, r))
|
|
1830
1914
|
}
|
|
1831
1915
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1832
1916
|
"div",
|
|
@@ -1837,9 +1921,9 @@ const fr = [
|
|
|
1837
1921
|
i
|
|
1838
1922
|
),
|
|
1839
1923
|
...o,
|
|
1840
|
-
children: t.map((u) =>
|
|
1924
|
+
children: t.map((u) => bt(u, u.id, r))
|
|
1841
1925
|
}
|
|
1842
|
-
),
|
|
1926
|
+
), gt = {
|
|
1843
1927
|
en: {
|
|
1844
1928
|
proceedLabel: "Proceed"
|
|
1845
1929
|
},
|
|
@@ -1849,7 +1933,7 @@ const fr = [
|
|
|
1849
1933
|
te: {
|
|
1850
1934
|
proceedLabel: "ముందుకు సాగండి"
|
|
1851
1935
|
}
|
|
1852
|
-
},
|
|
1936
|
+
}, rr = (t) => gt[t] ?? gt.en, Ue = ({
|
|
1853
1937
|
locale: t = "en",
|
|
1854
1938
|
amount: r,
|
|
1855
1939
|
amountClassName: s,
|
|
@@ -1860,7 +1944,7 @@ const fr = [
|
|
|
1860
1944
|
infoIconClassName: f,
|
|
1861
1945
|
proceedLabel: x,
|
|
1862
1946
|
proceedIcon: b = /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
1863
|
-
onProceed:
|
|
1947
|
+
onProceed: p,
|
|
1864
1948
|
proceedButtonProps: d,
|
|
1865
1949
|
buttonWrapperClassName: v,
|
|
1866
1950
|
className: g,
|
|
@@ -1886,11 +1970,11 @@ const fr = [
|
|
|
1886
1970
|
] }),
|
|
1887
1971
|
n && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", i), children: n })
|
|
1888
1972
|
] }),
|
|
1889
|
-
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(
|
|
1890
|
-
x ??
|
|
1973
|
+
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: p, ...d, className: c("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", d?.className), children: [
|
|
1974
|
+
x ?? rr(t).proceedLabel,
|
|
1891
1975
|
b
|
|
1892
1976
|
] }) })
|
|
1893
|
-
] }),
|
|
1977
|
+
] }), vt = {
|
|
1894
1978
|
en: {
|
|
1895
1979
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1896
1980
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -1933,7 +2017,7 @@ const fr = [
|
|
|
1933
2017
|
support: "కస్టమర్ సపోర్ట్"
|
|
1934
2018
|
}
|
|
1935
2019
|
}
|
|
1936
|
-
},
|
|
2020
|
+
}, sr = (t) => vt[t] ?? vt.en, qr = ({
|
|
1937
2021
|
locale: t = "en",
|
|
1938
2022
|
title: r,
|
|
1939
2023
|
description: s,
|
|
@@ -1944,72 +2028,72 @@ const fr = [
|
|
|
1944
2028
|
radioVariant: f = "dot",
|
|
1945
2029
|
radiogroupLabel: x,
|
|
1946
2030
|
className: b,
|
|
1947
|
-
headerClassName:
|
|
2031
|
+
headerClassName: p,
|
|
1948
2032
|
benefitsClassName: d,
|
|
1949
2033
|
optionsClassName: v,
|
|
1950
2034
|
trustBadges: g,
|
|
1951
2035
|
checkout: j,
|
|
1952
|
-
stickyFooter:
|
|
1953
|
-
footerClassName:
|
|
2036
|
+
stickyFooter: L = !0,
|
|
2037
|
+
footerClassName: k
|
|
1954
2038
|
}) => {
|
|
1955
|
-
const
|
|
2039
|
+
const y = sr(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, O = g ?? {
|
|
1956
2040
|
badges: [
|
|
1957
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1958
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1959
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label:
|
|
2041
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: y.trustBadgeLabels.moneyBack },
|
|
2042
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.noHiddenCost },
|
|
2043
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.support }
|
|
1960
2044
|
]
|
|
1961
2045
|
};
|
|
1962
2046
|
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full", b), children: [
|
|
1963
|
-
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4",
|
|
1964
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children:
|
|
1965
|
-
|
|
2047
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", p), children: [
|
|
2048
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: N }),
|
|
2049
|
+
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
1966
2050
|
] }),
|
|
1967
|
-
|
|
2051
|
+
h && h.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: h.map((H, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1968
2052
|
/* @__PURE__ */ e.jsx(Ve, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1969
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
2053
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: H })
|
|
1970
2054
|
] }, B)) }),
|
|
1971
2055
|
/* @__PURE__ */ e.jsx(
|
|
1972
2056
|
"div",
|
|
1973
2057
|
{
|
|
1974
2058
|
role: "radiogroup",
|
|
1975
|
-
"aria-label": x ?? (typeof
|
|
2059
|
+
"aria-label": x ?? (typeof N == "string" ? N : void 0),
|
|
1976
2060
|
className: c("flex flex-col gap-3 p-4", v),
|
|
1977
|
-
children: i.map((
|
|
2061
|
+
children: i.map((H) => {
|
|
1978
2062
|
const {
|
|
1979
2063
|
id: B,
|
|
1980
2064
|
price: Y,
|
|
1981
|
-
free:
|
|
2065
|
+
free: ae,
|
|
1982
2066
|
badge: I,
|
|
1983
|
-
priceBadgeProps:
|
|
1984
|
-
note:
|
|
2067
|
+
priceBadgeProps: W,
|
|
2068
|
+
note: K,
|
|
1985
2069
|
noteProps: M,
|
|
1986
2070
|
children: U,
|
|
1987
|
-
iconClassName:
|
|
2071
|
+
iconClassName: te,
|
|
1988
2072
|
radioVariant: Z,
|
|
1989
2073
|
...J
|
|
1990
|
-
} =
|
|
2074
|
+
} = H, X = o === B, re = I ?? (Y == null ? void 0 : ae ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", W?.className), ...W, children: Y }) : /* @__PURE__ */ e.jsx(Ja, { value: Y, ...W }));
|
|
1991
2075
|
return /* @__PURE__ */ e.jsx(
|
|
1992
|
-
|
|
2076
|
+
Dt,
|
|
1993
2077
|
{
|
|
1994
2078
|
...J,
|
|
1995
|
-
iconClassName: c("size-10",
|
|
2079
|
+
iconClassName: c("size-10", te),
|
|
1996
2080
|
radioVariant: Z ?? f,
|
|
1997
|
-
badge:
|
|
2081
|
+
badge: re,
|
|
1998
2082
|
selected: X,
|
|
1999
2083
|
onSelect: () => u(B),
|
|
2000
|
-
children: U ?? (X &&
|
|
2084
|
+
children: U ?? (X && K && /* @__PURE__ */ e.jsx(Xa, { ...M, children: K }))
|
|
2001
2085
|
},
|
|
2002
2086
|
B
|
|
2003
2087
|
);
|
|
2004
2088
|
})
|
|
2005
2089
|
}
|
|
2006
2090
|
),
|
|
2007
|
-
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(
|
|
2008
|
-
O && /* @__PURE__ */ e.jsx(
|
|
2009
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2091
|
+
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(L && "sticky bottom-0 z-10", k), children: [
|
|
2092
|
+
O && /* @__PURE__ */ e.jsx(ar, { ...O }),
|
|
2093
|
+
j && /* @__PURE__ */ e.jsx(Ue, { ...j })
|
|
2010
2094
|
] })
|
|
2011
2095
|
] });
|
|
2012
|
-
},
|
|
2096
|
+
}, jt = {
|
|
2013
2097
|
en: {
|
|
2014
2098
|
title: "Pitru Paksha Special Rituals",
|
|
2015
2099
|
ancestorsLabel: "Ancestors",
|
|
@@ -2022,9 +2106,9 @@ const fr = [
|
|
|
2022
2106
|
ritualsLabel: "पूजा विधि",
|
|
2023
2107
|
performersLabel: "कर्ता"
|
|
2024
2108
|
}
|
|
2025
|
-
},
|
|
2109
|
+
}, nr = (t) => jt[t] ?? jt.en, lr = ({
|
|
2026
2110
|
locale: t = "en",
|
|
2027
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
2111
|
+
icon: r = /* @__PURE__ */ e.jsx(At, { "aria-hidden": !0 }),
|
|
2028
2112
|
iconClassName: s,
|
|
2029
2113
|
title: n,
|
|
2030
2114
|
titleClassName: i,
|
|
@@ -2033,25 +2117,25 @@ const fr = [
|
|
|
2033
2117
|
stats: f,
|
|
2034
2118
|
subtitleClassName: x,
|
|
2035
2119
|
cardClassName: b,
|
|
2036
|
-
className:
|
|
2120
|
+
className: p,
|
|
2037
2121
|
...d
|
|
2038
2122
|
}) => {
|
|
2039
|
-
const v =
|
|
2123
|
+
const v = nr(t), g = n ?? v.title, j = u ?? (f && [
|
|
2040
2124
|
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2041
2125
|
`${f.rituals} ${v.ritualsLabel}`,
|
|
2042
2126
|
`${f.performers} ${v.performersLabel}`
|
|
2043
2127
|
]);
|
|
2044
|
-
return /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",
|
|
2128
|
+
return /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...d, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
2045
2129
|
/* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
2046
2130
|
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
|
|
2047
2131
|
g
|
|
2048
2132
|
] }),
|
|
2049
|
-
(o || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", x), children: j && j.length > 0 ? j.map((
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
] },
|
|
2133
|
+
(o || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", x), children: j && j.length > 0 ? j.map((L, k) => /* @__PURE__ */ e.jsxs(_.Fragment, { children: [
|
|
2134
|
+
k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2135
|
+
L
|
|
2136
|
+
] }, k)) : o })
|
|
2053
2137
|
] }) });
|
|
2054
|
-
},
|
|
2138
|
+
}, yt = {
|
|
2055
2139
|
en: {
|
|
2056
2140
|
title: "Bill Details",
|
|
2057
2141
|
totalLabel: "Total Amount"
|
|
@@ -2060,7 +2144,7 @@ const fr = [
|
|
|
2060
2144
|
title: "बिल विवरण",
|
|
2061
2145
|
totalLabel: "कुल राशि"
|
|
2062
2146
|
}
|
|
2063
|
-
},
|
|
2147
|
+
}, ir = (t) => yt[t] ?? yt.en, or = ({
|
|
2064
2148
|
locale: t = "en",
|
|
2065
2149
|
titleClassName: r,
|
|
2066
2150
|
rows: s,
|
|
@@ -2071,7 +2155,7 @@ const fr = [
|
|
|
2071
2155
|
className: f,
|
|
2072
2156
|
...x
|
|
2073
2157
|
}) => {
|
|
2074
|
-
const { title: b, totalLabel:
|
|
2158
|
+
const { title: b, totalLabel: p } = ir(t);
|
|
2075
2159
|
return /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", f), ...x, children: [
|
|
2076
2160
|
/* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
|
|
2077
2161
|
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
@@ -2089,11 +2173,11 @@ const fr = [
|
|
|
2089
2173
|
] })
|
|
2090
2174
|
] }, d.id)) }),
|
|
2091
2175
|
o !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: c("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", u), children: [
|
|
2092
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children:
|
|
2176
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: p }),
|
|
2093
2177
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: o })
|
|
2094
2178
|
] })
|
|
2095
2179
|
] });
|
|
2096
|
-
},
|
|
2180
|
+
}, Yr = ({
|
|
2097
2181
|
locale: t = "en",
|
|
2098
2182
|
onBack: r,
|
|
2099
2183
|
backButtonAriaLabel: s = "Go back",
|
|
@@ -2104,22 +2188,22 @@ const fr = [
|
|
|
2104
2188
|
items: f,
|
|
2105
2189
|
itemsClassName: x,
|
|
2106
2190
|
itemClassName: b,
|
|
2107
|
-
addons:
|
|
2191
|
+
addons: p,
|
|
2108
2192
|
addonsSectionClassName: d,
|
|
2109
2193
|
addonsHeaderClassName: v,
|
|
2110
2194
|
addonsTitleClassName: g,
|
|
2111
2195
|
addonsDescriptionClassName: j,
|
|
2112
|
-
addonsClassName:
|
|
2113
|
-
addonClassName:
|
|
2114
|
-
billDetails:
|
|
2115
|
-
faq:
|
|
2116
|
-
checkout:
|
|
2117
|
-
className:
|
|
2196
|
+
addonsClassName: L,
|
|
2197
|
+
addonClassName: k,
|
|
2198
|
+
billDetails: y,
|
|
2199
|
+
faq: N,
|
|
2200
|
+
checkout: S,
|
|
2201
|
+
className: h,
|
|
2118
2202
|
children: O,
|
|
2119
|
-
...
|
|
2203
|
+
...H
|
|
2120
2204
|
}) => {
|
|
2121
|
-
const { headerTitle: B, addonsTitle: Y, addonsDescription:
|
|
2122
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white",
|
|
2205
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: ae, checkoutProceedLabel: I, checkoutRitualSingular: W, checkoutRitualPlural: K } = Ce(t), { price: M, ritualCount: U, ...te } = S ?? {};
|
|
2206
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white", h), ...H, children: [
|
|
2123
2207
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2124
2208
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2125
2209
|
r && /* @__PURE__ */ e.jsx(
|
|
@@ -2132,53 +2216,53 @@ const fr = [
|
|
|
2132
2216
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2133
2217
|
i
|
|
2134
2218
|
),
|
|
2135
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2219
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2136
2220
|
}
|
|
2137
2221
|
),
|
|
2138
2222
|
/* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", o), children: B })
|
|
2139
2223
|
] }),
|
|
2140
|
-
u && /* @__PURE__ */ e.jsx(
|
|
2224
|
+
u && /* @__PURE__ */ e.jsx(lr, { ...u }),
|
|
2141
2225
|
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", x), children: f.map(
|
|
2142
|
-
({ id: Z, className: J, isMandapCharge: X, ...
|
|
2226
|
+
({ id: Z, className: J, isMandapCharge: X, ...re }) => X ? /* @__PURE__ */ e.jsx(
|
|
2143
2227
|
Qa,
|
|
2144
2228
|
{
|
|
2145
2229
|
locale: t,
|
|
2146
2230
|
className: c(b, J),
|
|
2147
|
-
...
|
|
2231
|
+
...re
|
|
2148
2232
|
},
|
|
2149
2233
|
Z
|
|
2150
2234
|
) : /* @__PURE__ */ e.jsx(
|
|
2151
|
-
|
|
2235
|
+
It,
|
|
2152
2236
|
{
|
|
2153
2237
|
className: c(b, J),
|
|
2154
|
-
...
|
|
2238
|
+
...re
|
|
2155
2239
|
},
|
|
2156
2240
|
Z
|
|
2157
2241
|
)
|
|
2158
2242
|
) }),
|
|
2159
|
-
|
|
2243
|
+
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", d), children: [
|
|
2160
2244
|
/* @__PURE__ */ e.jsxs("div", { className: v, children: [
|
|
2161
2245
|
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", g), children: Y }),
|
|
2162
|
-
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children:
|
|
2246
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: ae })
|
|
2163
2247
|
] }),
|
|
2164
|
-
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4",
|
|
2248
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: p.map(({ id: Z, className: J, ...X }) => /* @__PURE__ */ e.jsx(er, { className: c(k, J), ...X }, Z)) })
|
|
2165
2249
|
] }),
|
|
2166
|
-
|
|
2167
|
-
|
|
2250
|
+
y && /* @__PURE__ */ e.jsx(or, { ...y, locale: t }),
|
|
2251
|
+
N && /* @__PURE__ */ e.jsx(Ha, { ...N }),
|
|
2168
2252
|
O
|
|
2169
2253
|
] }),
|
|
2170
|
-
|
|
2171
|
-
|
|
2254
|
+
S && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2255
|
+
Ue,
|
|
2172
2256
|
{
|
|
2173
|
-
...
|
|
2257
|
+
...te,
|
|
2174
2258
|
locale: t,
|
|
2175
2259
|
amount: M,
|
|
2176
|
-
subtitle: `${U} ${U === 1 ?
|
|
2260
|
+
subtitle: `${U} ${U === 1 ? W : K}`,
|
|
2177
2261
|
proceedLabel: I
|
|
2178
2262
|
}
|
|
2179
2263
|
) })
|
|
2180
2264
|
] });
|
|
2181
|
-
},
|
|
2265
|
+
}, ne = _.forwardRef(
|
|
2182
2266
|
({
|
|
2183
2267
|
label: t,
|
|
2184
2268
|
value: r,
|
|
@@ -2190,13 +2274,13 @@ const fr = [
|
|
|
2190
2274
|
className: f,
|
|
2191
2275
|
containerClassName: x,
|
|
2192
2276
|
wrapperClassName: b,
|
|
2193
|
-
maxLength:
|
|
2277
|
+
maxLength: p,
|
|
2194
2278
|
id: d,
|
|
2195
2279
|
...v
|
|
2196
2280
|
}, g) => {
|
|
2197
|
-
const j =
|
|
2281
|
+
const j = _.useId(), L = d ?? j, k = o ?? (i ? `${r.length}${p ? `/${p}` : ""}` : void 0);
|
|
2198
2282
|
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", x), children: [
|
|
2199
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2283
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: L, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2200
2284
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2201
2285
|
/* @__PURE__ */ e.jsxs(
|
|
2202
2286
|
"div",
|
|
@@ -2212,10 +2296,10 @@ const fr = [
|
|
|
2212
2296
|
"input",
|
|
2213
2297
|
{
|
|
2214
2298
|
ref: g,
|
|
2215
|
-
id:
|
|
2299
|
+
id: L,
|
|
2216
2300
|
value: r,
|
|
2217
|
-
maxLength:
|
|
2218
|
-
onChange: (
|
|
2301
|
+
maxLength: p,
|
|
2302
|
+
onChange: (y) => s(y.target.value),
|
|
2219
2303
|
"aria-invalid": u,
|
|
2220
2304
|
className: c(
|
|
2221
2305
|
"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",
|
|
@@ -2227,13 +2311,13 @@ const fr = [
|
|
|
2227
2311
|
]
|
|
2228
2312
|
}
|
|
2229
2313
|
),
|
|
2230
|
-
|
|
2314
|
+
k && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: k })
|
|
2231
2315
|
] })
|
|
2232
2316
|
] });
|
|
2233
2317
|
}
|
|
2234
2318
|
);
|
|
2235
|
-
|
|
2236
|
-
function
|
|
2319
|
+
ne.displayName = "TextField";
|
|
2320
|
+
function Kr({
|
|
2237
2321
|
isOpen: t,
|
|
2238
2322
|
onClose: r,
|
|
2239
2323
|
avatarUrl: s,
|
|
@@ -2243,7 +2327,7 @@ function ls({
|
|
|
2243
2327
|
onConfirm: u,
|
|
2244
2328
|
initialTithi: f
|
|
2245
2329
|
}) {
|
|
2246
|
-
const [x, b] =
|
|
2330
|
+
const [x, b] = $(f), p = () => {
|
|
2247
2331
|
x && u(x);
|
|
2248
2332
|
};
|
|
2249
2333
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2264,13 +2348,13 @@ function ls({
|
|
|
2264
2348
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2265
2349
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2266
2350
|
/* @__PURE__ */ e.jsx(
|
|
2267
|
-
|
|
2351
|
+
q,
|
|
2268
2352
|
{
|
|
2269
2353
|
variant: "primary",
|
|
2270
2354
|
size: "md",
|
|
2271
2355
|
className: "w-full rounded-xl",
|
|
2272
2356
|
disabled: !x,
|
|
2273
|
-
onClick:
|
|
2357
|
+
onClick: p,
|
|
2274
2358
|
children: o
|
|
2275
2359
|
}
|
|
2276
2360
|
)
|
|
@@ -2292,9 +2376,9 @@ function ls({
|
|
|
2292
2376
|
);
|
|
2293
2377
|
}
|
|
2294
2378
|
const Ne = 48;
|
|
2295
|
-
function
|
|
2296
|
-
const n =
|
|
2297
|
-
|
|
2379
|
+
function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
2380
|
+
const n = _.useRef(null), i = _.useRef(!1);
|
|
2381
|
+
_.useEffect(() => {
|
|
2298
2382
|
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * Ne);
|
|
2299
2383
|
}, []);
|
|
2300
2384
|
const o = () => {
|
|
@@ -2328,8 +2412,8 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2328
2412
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2329
2413
|
] });
|
|
2330
2414
|
}
|
|
2331
|
-
const
|
|
2332
|
-
function
|
|
2415
|
+
const Fe = Array.from({ length: 31 }, (t, r) => r + 1);
|
|
2416
|
+
function Zr({
|
|
2333
2417
|
isOpen: t,
|
|
2334
2418
|
onClose: r,
|
|
2335
2419
|
avatarUrl: s,
|
|
@@ -2340,15 +2424,15 @@ function is({
|
|
|
2340
2424
|
timezoneLabel: f,
|
|
2341
2425
|
initialDate: x,
|
|
2342
2426
|
minYear: b,
|
|
2343
|
-
maxYear:
|
|
2427
|
+
maxYear: p = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2344
2428
|
}) {
|
|
2345
|
-
const d =
|
|
2346
|
-
const
|
|
2347
|
-
return Array.from({ length:
|
|
2348
|
-
}, [b,
|
|
2429
|
+
const d = ba(() => {
|
|
2430
|
+
const S = b ?? p - 120;
|
|
2431
|
+
return Array.from({ length: p - S + 1 }, (h, O) => S + O);
|
|
2432
|
+
}, [b, p]), [v, g] = $(() => x ? x.day - 1 : Math.floor(Fe.length / 2)), [j, L] = $(() => x ? x.month - 1 : 0), [k, y] = $(
|
|
2349
2433
|
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2350
|
-
),
|
|
2351
|
-
u({ day:
|
|
2434
|
+
), N = () => {
|
|
2435
|
+
u({ day: Fe[v], month: j + 1, year: d[k] });
|
|
2352
2436
|
};
|
|
2353
2437
|
return /* @__PURE__ */ e.jsx(
|
|
2354
2438
|
Le,
|
|
@@ -2369,18 +2453,18 @@ function is({
|
|
|
2369
2453
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2370
2454
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2371
2455
|
f && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: f }),
|
|
2372
|
-
/* @__PURE__ */ e.jsx(
|
|
2456
|
+
/* @__PURE__ */ e.jsx(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: N, children: o })
|
|
2373
2457
|
] })
|
|
2374
2458
|
] }),
|
|
2375
2459
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2376
|
-
/* @__PURE__ */ e.jsx(
|
|
2377
|
-
/* @__PURE__ */ e.jsx(
|
|
2378
|
-
/* @__PURE__ */ e.jsx(
|
|
2460
|
+
/* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange: g }),
|
|
2461
|
+
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange: L }),
|
|
2462
|
+
/* @__PURE__ */ e.jsx(Ae, { options: d.map(String), selectedIndex: k, onChange: y })
|
|
2379
2463
|
] })
|
|
2380
2464
|
}
|
|
2381
2465
|
);
|
|
2382
2466
|
}
|
|
2383
|
-
function
|
|
2467
|
+
function Jr({
|
|
2384
2468
|
isOpen: t,
|
|
2385
2469
|
onClose: r,
|
|
2386
2470
|
heading: s,
|
|
@@ -2391,23 +2475,23 @@ function os({
|
|
|
2391
2475
|
countries: f = ha,
|
|
2392
2476
|
initialCountryIso: x = "IN"
|
|
2393
2477
|
}) {
|
|
2394
|
-
const [b,
|
|
2395
|
-
() => f.find((
|
|
2396
|
-
), [d, v] =
|
|
2397
|
-
|
|
2478
|
+
const [b, p] = $(
|
|
2479
|
+
() => f.find((h) => h.iso === x) ?? f[0]
|
|
2480
|
+
), [d, v] = $(u), [g, j] = $(!1), L = Tt(null);
|
|
2481
|
+
Rt(() => {
|
|
2398
2482
|
if (!g) return;
|
|
2399
|
-
const
|
|
2400
|
-
|
|
2483
|
+
const h = (O) => {
|
|
2484
|
+
L.current && !L.current.contains(O.target) && j(!1);
|
|
2401
2485
|
};
|
|
2402
|
-
return document.addEventListener("mousedown",
|
|
2486
|
+
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
2403
2487
|
}, [g]);
|
|
2404
|
-
const
|
|
2405
|
-
h
|
|
2406
|
-
},
|
|
2407
|
-
|
|
2488
|
+
const k = Ie(b.code), y = St(d, b.code).isValid && d.length > 0, N = (h) => {
|
|
2489
|
+
p(h), j(!1), v((O) => O.slice(0, Ie(h.code)));
|
|
2490
|
+
}, S = () => {
|
|
2491
|
+
y && o(d, b);
|
|
2408
2492
|
};
|
|
2409
2493
|
return /* @__PURE__ */ e.jsx(
|
|
2410
|
-
|
|
2494
|
+
$e,
|
|
2411
2495
|
{
|
|
2412
2496
|
isOpen: t,
|
|
2413
2497
|
onClose: r,
|
|
@@ -2415,14 +2499,14 @@ function os({
|
|
|
2415
2499
|
closeButtonOutside: !0,
|
|
2416
2500
|
ariaLabel: s,
|
|
2417
2501
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2418
|
-
|
|
2502
|
+
q,
|
|
2419
2503
|
{
|
|
2420
2504
|
variant: "primary",
|
|
2421
2505
|
size: "xl",
|
|
2422
2506
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2423
2507
|
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2424
|
-
disabled: !
|
|
2425
|
-
onClick:
|
|
2508
|
+
disabled: !y,
|
|
2509
|
+
onClick: S,
|
|
2426
2510
|
children: i
|
|
2427
2511
|
}
|
|
2428
2512
|
) }),
|
|
@@ -2430,19 +2514,19 @@ function os({
|
|
|
2430
2514
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2431
2515
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2432
2516
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2433
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2517
|
+
/* @__PURE__ */ e.jsxs("div", { ref: L, className: "relative shrink-0", children: [
|
|
2434
2518
|
/* @__PURE__ */ e.jsxs(
|
|
2435
2519
|
"button",
|
|
2436
2520
|
{
|
|
2437
2521
|
type: "button",
|
|
2438
|
-
onClick: () => j((
|
|
2522
|
+
onClick: () => j((h) => !h),
|
|
2439
2523
|
"aria-expanded": g,
|
|
2440
2524
|
"aria-haspopup": "listbox",
|
|
2441
2525
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2442
2526
|
children: [
|
|
2443
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
2527
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(b.iso) }),
|
|
2444
2528
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: b.code }),
|
|
2445
|
-
/* @__PURE__ */ e.jsx(
|
|
2529
|
+
/* @__PURE__ */ e.jsx(oe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2446
2530
|
]
|
|
2447
2531
|
}
|
|
2448
2532
|
),
|
|
@@ -2451,33 +2535,33 @@ function os({
|
|
|
2451
2535
|
{
|
|
2452
2536
|
role: "listbox",
|
|
2453
2537
|
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",
|
|
2454
|
-
children: f.map((
|
|
2538
|
+
children: f.map((h) => /* @__PURE__ */ e.jsxs(
|
|
2455
2539
|
"button",
|
|
2456
2540
|
{
|
|
2457
2541
|
type: "button",
|
|
2458
2542
|
role: "option",
|
|
2459
|
-
"aria-selected":
|
|
2460
|
-
onClick: () =>
|
|
2461
|
-
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${
|
|
2543
|
+
"aria-selected": h.iso === b.iso,
|
|
2544
|
+
onClick: () => N(h),
|
|
2545
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${h.iso === b.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2462
2546
|
children: [
|
|
2463
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children:
|
|
2464
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children:
|
|
2465
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children:
|
|
2547
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(h.iso) }),
|
|
2548
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: h.code }),
|
|
2549
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: h.name })
|
|
2466
2550
|
]
|
|
2467
2551
|
},
|
|
2468
|
-
`${
|
|
2552
|
+
`${h.iso}-${h.code}`
|
|
2469
2553
|
))
|
|
2470
2554
|
}
|
|
2471
2555
|
)
|
|
2472
2556
|
] }),
|
|
2473
2557
|
/* @__PURE__ */ e.jsx(
|
|
2474
|
-
|
|
2558
|
+
ne,
|
|
2475
2559
|
{
|
|
2476
2560
|
type: "tel",
|
|
2477
2561
|
inputMode: "numeric",
|
|
2478
2562
|
value: d,
|
|
2479
|
-
maxLength:
|
|
2480
|
-
onChange: (
|
|
2563
|
+
maxLength: k,
|
|
2564
|
+
onChange: (h) => v(h.replace(/\D/g, "").slice(0, k)),
|
|
2481
2565
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2482
2566
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2483
2567
|
className: "text-[18px]"
|
|
@@ -2488,8 +2572,8 @@ function os({
|
|
|
2488
2572
|
}
|
|
2489
2573
|
);
|
|
2490
2574
|
}
|
|
2491
|
-
const
|
|
2492
|
-
function
|
|
2575
|
+
const cr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2576
|
+
function Xr({
|
|
2493
2577
|
isOpen: t,
|
|
2494
2578
|
onClose: r,
|
|
2495
2579
|
heading: s,
|
|
@@ -2499,7 +2583,7 @@ function cs({
|
|
|
2499
2583
|
initialValue: u = "",
|
|
2500
2584
|
errorText: f = "Please enter a valid email"
|
|
2501
2585
|
}) {
|
|
2502
|
-
const [x, b] =
|
|
2586
|
+
const [x, b] = $(u), [p, d] = $(!1), v = x.trim(), g = cr.test(v), j = p && v.length > 0 && !g, L = () => {
|
|
2503
2587
|
g && o(v);
|
|
2504
2588
|
};
|
|
2505
2589
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2510,14 +2594,14 @@ function cs({
|
|
|
2510
2594
|
showDragHandle: !0,
|
|
2511
2595
|
ariaLabel: s,
|
|
2512
2596
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2513
|
-
|
|
2597
|
+
q,
|
|
2514
2598
|
{
|
|
2515
2599
|
variant: "primary",
|
|
2516
2600
|
size: "xl",
|
|
2517
2601
|
className: "w-full rounded-xl",
|
|
2518
2602
|
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2519
2603
|
disabled: !g,
|
|
2520
|
-
onClick:
|
|
2604
|
+
onClick: L,
|
|
2521
2605
|
children: i
|
|
2522
2606
|
}
|
|
2523
2607
|
) }),
|
|
@@ -2525,7 +2609,7 @@ function cs({
|
|
|
2525
2609
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2526
2610
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2527
2611
|
/* @__PURE__ */ e.jsx(
|
|
2528
|
-
|
|
2612
|
+
ne,
|
|
2529
2613
|
{
|
|
2530
2614
|
type: "email",
|
|
2531
2615
|
inputMode: "email",
|
|
@@ -2545,14 +2629,14 @@ function cs({
|
|
|
2545
2629
|
}
|
|
2546
2630
|
);
|
|
2547
2631
|
}
|
|
2548
|
-
function
|
|
2632
|
+
function dr(t) {
|
|
2549
2633
|
return R({ 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);
|
|
2550
2634
|
}
|
|
2551
|
-
function
|
|
2635
|
+
function ur(t) {
|
|
2552
2636
|
return R({ 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);
|
|
2553
2637
|
}
|
|
2554
|
-
const
|
|
2555
|
-
function
|
|
2638
|
+
const xr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2639
|
+
function Qr({
|
|
2556
2640
|
chipNumber: t,
|
|
2557
2641
|
chipLabel: r,
|
|
2558
2642
|
isAdded: s,
|
|
@@ -2563,22 +2647,22 @@ function ds({
|
|
|
2563
2647
|
imageUrl: f,
|
|
2564
2648
|
imageAlt: x,
|
|
2565
2649
|
imageComponent: b,
|
|
2566
|
-
ratingLabel:
|
|
2650
|
+
ratingLabel: p,
|
|
2567
2651
|
bookedLabel: d,
|
|
2568
2652
|
title: v,
|
|
2569
2653
|
description: g,
|
|
2570
2654
|
learnMoreLabel: j,
|
|
2571
|
-
onLearnMoreClick:
|
|
2572
|
-
learnMoreHref:
|
|
2573
|
-
dateLabel:
|
|
2574
|
-
locationLabel:
|
|
2575
|
-
priceInfoLabel:
|
|
2576
|
-
onPriceInfoClick:
|
|
2655
|
+
onLearnMoreClick: L,
|
|
2656
|
+
learnMoreHref: k,
|
|
2657
|
+
dateLabel: y,
|
|
2658
|
+
locationLabel: N,
|
|
2659
|
+
priceInfoLabel: S,
|
|
2660
|
+
onPriceInfoClick: h,
|
|
2577
2661
|
price: O,
|
|
2578
|
-
cta:
|
|
2662
|
+
cta: H,
|
|
2579
2663
|
className: B = ""
|
|
2580
2664
|
}) {
|
|
2581
|
-
const [Y,
|
|
2665
|
+
const [Y, ae] = $(!1), I = s || Y, W = I && (p != null || d != null), K = I && (y != null || N != null);
|
|
2582
2666
|
return /* @__PURE__ */ e.jsxs(
|
|
2583
2667
|
"div",
|
|
2584
2668
|
{
|
|
@@ -2606,7 +2690,7 @@ function ds({
|
|
|
2606
2690
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2607
2691
|
onClick: n,
|
|
2608
2692
|
"aria-label": i,
|
|
2609
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2693
|
+
children: /* @__PURE__ */ e.jsx(dr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2610
2694
|
}
|
|
2611
2695
|
),
|
|
2612
2696
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2615,12 +2699,12 @@ function ds({
|
|
|
2615
2699
|
type: "button",
|
|
2616
2700
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2617
2701
|
onClick: () => {
|
|
2618
|
-
|
|
2702
|
+
ae((M) => !M), o?.();
|
|
2619
2703
|
},
|
|
2620
2704
|
"aria-label": u,
|
|
2621
2705
|
"aria-expanded": Y,
|
|
2622
2706
|
children: /* @__PURE__ */ e.jsx(
|
|
2623
|
-
|
|
2707
|
+
ur,
|
|
2624
2708
|
{
|
|
2625
2709
|
"aria-hidden": !0,
|
|
2626
2710
|
className: `size-8 text-[#1D2125] ${Y ? "" : "-scale-y-100"}`
|
|
@@ -2631,14 +2715,14 @@ function ds({
|
|
|
2631
2715
|
] })
|
|
2632
2716
|
] }),
|
|
2633
2717
|
I && f != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: b ? /* @__PURE__ */ e.jsx(b, { src: f, alt: x ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: f, alt: x, className: "size-full object-cover" }) }),
|
|
2634
|
-
|
|
2718
|
+
W && /* @__PURE__ */ e.jsxs(
|
|
2635
2719
|
"div",
|
|
2636
2720
|
{
|
|
2637
2721
|
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2638
2722
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2639
2723
|
children: [
|
|
2640
|
-
|
|
2641
|
-
|
|
2724
|
+
p != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: p }),
|
|
2725
|
+
p != null && d != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
|
|
2642
2726
|
d != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: d })
|
|
2643
2727
|
]
|
|
2644
2728
|
}
|
|
@@ -2651,39 +2735,39 @@ function ds({
|
|
|
2651
2735
|
I && j != null && /* @__PURE__ */ e.jsxs(
|
|
2652
2736
|
"a",
|
|
2653
2737
|
{
|
|
2654
|
-
href:
|
|
2738
|
+
href: k,
|
|
2655
2739
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2656
|
-
onClick:
|
|
2740
|
+
onClick: L,
|
|
2657
2741
|
children: [
|
|
2658
2742
|
j,
|
|
2659
2743
|
/* @__PURE__ */ e.jsx(Ma, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2660
2744
|
]
|
|
2661
2745
|
}
|
|
2662
2746
|
),
|
|
2663
|
-
|
|
2747
|
+
K && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2664
2748
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2665
2749
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2666
|
-
N != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2667
|
-
/* @__PURE__ */ e.jsx(Wa, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2668
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: N })
|
|
2669
|
-
] }),
|
|
2670
2750
|
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2671
|
-
/* @__PURE__ */ e.jsx(
|
|
2751
|
+
/* @__PURE__ */ e.jsx(Va, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2672
2752
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2753
|
+
] }),
|
|
2754
|
+
N != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2755
|
+
/* @__PURE__ */ e.jsx("img", { src: xr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2756
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: N })
|
|
2673
2757
|
] })
|
|
2674
2758
|
] })
|
|
2675
2759
|
] }),
|
|
2676
2760
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2677
2761
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
2678
2762
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2679
|
-
|
|
2680
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children:
|
|
2681
|
-
|
|
2763
|
+
S != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2764
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: S }),
|
|
2765
|
+
h && /* @__PURE__ */ e.jsx(
|
|
2682
2766
|
"button",
|
|
2683
2767
|
{
|
|
2684
2768
|
type: "button",
|
|
2685
2769
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2686
|
-
onClick:
|
|
2770
|
+
onClick: h,
|
|
2687
2771
|
"aria-label": "More info",
|
|
2688
2772
|
children: /* @__PURE__ */ e.jsx(xe, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2689
2773
|
}
|
|
@@ -2691,26 +2775,26 @@ function ds({
|
|
|
2691
2775
|
] }),
|
|
2692
2776
|
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
|
|
2693
2777
|
] }),
|
|
2694
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2778
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: H })
|
|
2695
2779
|
] })
|
|
2696
2780
|
] })
|
|
2697
2781
|
]
|
|
2698
2782
|
}
|
|
2699
2783
|
);
|
|
2700
2784
|
}
|
|
2701
|
-
const
|
|
2785
|
+
const fr = {
|
|
2702
2786
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2703
2787
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2704
2788
|
accent: "border border-transparent px-4 text-white"
|
|
2705
|
-
},
|
|
2789
|
+
}, pr = {
|
|
2706
2790
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2707
2791
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2708
|
-
},
|
|
2792
|
+
}, hr = {
|
|
2709
2793
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2710
2794
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2711
2795
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2712
2796
|
};
|
|
2713
|
-
function
|
|
2797
|
+
function es({
|
|
2714
2798
|
variant: t = "primary",
|
|
2715
2799
|
size: r = "md",
|
|
2716
2800
|
leftIcon: s,
|
|
@@ -2724,8 +2808,8 @@ function us({
|
|
|
2724
2808
|
"button",
|
|
2725
2809
|
{
|
|
2726
2810
|
type: u,
|
|
2727
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2728
|
-
style: { ...
|
|
2811
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${pr[r]} ${fr[t]} ${i}`,
|
|
2812
|
+
style: { ...hr[t], ...o },
|
|
2729
2813
|
...f,
|
|
2730
2814
|
children: [
|
|
2731
2815
|
s,
|
|
@@ -2734,7 +2818,7 @@ function us({
|
|
|
2734
2818
|
}
|
|
2735
2819
|
);
|
|
2736
2820
|
}
|
|
2737
|
-
function
|
|
2821
|
+
function ts({ className: t = "size-5" }) {
|
|
2738
2822
|
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(
|
|
2739
2823
|
"path",
|
|
2740
2824
|
{
|
|
@@ -2743,7 +2827,7 @@ function xs({ className: t = "size-5" }) {
|
|
|
2743
2827
|
}
|
|
2744
2828
|
) });
|
|
2745
2829
|
}
|
|
2746
|
-
function
|
|
2830
|
+
function as({ className: t = "size-5" }) {
|
|
2747
2831
|
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(
|
|
2748
2832
|
"path",
|
|
2749
2833
|
{
|
|
@@ -2752,7 +2836,7 @@ function fs({ className: t = "size-5" }) {
|
|
|
2752
2836
|
}
|
|
2753
2837
|
) });
|
|
2754
2838
|
}
|
|
2755
|
-
const
|
|
2839
|
+
const Nt = {
|
|
2756
2840
|
en: {
|
|
2757
2841
|
heading: "Check the details to book your puja procedure",
|
|
2758
2842
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2783,11 +2867,11 @@ const wt = {
|
|
|
2783
2867
|
editDetailsLabel: "మార్చండి",
|
|
2784
2868
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2785
2869
|
}
|
|
2786
|
-
},
|
|
2787
|
-
function
|
|
2870
|
+
}, mr = (t) => Nt[t] ?? Nt.en;
|
|
2871
|
+
function wt({ children: t }) {
|
|
2788
2872
|
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 });
|
|
2789
2873
|
}
|
|
2790
|
-
function
|
|
2874
|
+
function br({
|
|
2791
2875
|
isOpen: t,
|
|
2792
2876
|
onClose: r,
|
|
2793
2877
|
locale: s = "en",
|
|
@@ -2798,25 +2882,25 @@ function Er({
|
|
|
2798
2882
|
amount: f,
|
|
2799
2883
|
onEditDetailsClick: x,
|
|
2800
2884
|
onProceedPayment: b,
|
|
2801
|
-
className:
|
|
2885
|
+
className: p
|
|
2802
2886
|
}) {
|
|
2803
|
-
const d =
|
|
2887
|
+
const d = mr(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2804
2888
|
return /* @__PURE__ */ e.jsx(
|
|
2805
|
-
|
|
2889
|
+
$e,
|
|
2806
2890
|
{
|
|
2807
2891
|
isOpen: t,
|
|
2808
2892
|
onClose: r,
|
|
2809
2893
|
showDragHandle: !1,
|
|
2810
2894
|
closeButtonOutside: !0,
|
|
2811
2895
|
ariaLabel: d.heading,
|
|
2812
|
-
className: c("rounded-t-[20px] bg-[#f7f8f9]",
|
|
2896
|
+
className: c("rounded-t-[20px] bg-[#f7f8f9]", p),
|
|
2813
2897
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
2814
2898
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: d.heading }),
|
|
2815
2899
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: d.subtext })
|
|
2816
2900
|
] }),
|
|
2817
2901
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
2818
2902
|
/* @__PURE__ */ e.jsx(
|
|
2819
|
-
|
|
2903
|
+
q,
|
|
2820
2904
|
{
|
|
2821
2905
|
variant: "outline",
|
|
2822
2906
|
size: "lg",
|
|
@@ -2826,7 +2910,7 @@ function Er({
|
|
|
2826
2910
|
}
|
|
2827
2911
|
),
|
|
2828
2912
|
/* @__PURE__ */ e.jsx(
|
|
2829
|
-
|
|
2913
|
+
q,
|
|
2830
2914
|
{
|
|
2831
2915
|
variant: "primary",
|
|
2832
2916
|
size: "lg",
|
|
@@ -2839,7 +2923,7 @@ function Er({
|
|
|
2839
2923
|
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: [
|
|
2840
2924
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2841
2925
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2842
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(
|
|
2926
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(wt, { children: [
|
|
2843
2927
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2844
2928
|
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2845
2929
|
"(",
|
|
@@ -2851,7 +2935,7 @@ function Er({
|
|
|
2851
2935
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2852
2936
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2853
2937
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2854
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(
|
|
2938
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(wt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
2855
2939
|
j + 1,
|
|
2856
2940
|
". ",
|
|
2857
2941
|
g
|
|
@@ -2872,7 +2956,7 @@ function Er({
|
|
|
2872
2956
|
}
|
|
2873
2957
|
);
|
|
2874
2958
|
}
|
|
2875
|
-
const
|
|
2959
|
+
const kt = {
|
|
2876
2960
|
en: {
|
|
2877
2961
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2878
2962
|
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.",
|
|
@@ -2891,11 +2975,11 @@ const Ct = {
|
|
|
2891
2975
|
okayLabel: "సరే",
|
|
2892
2976
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2893
2977
|
}
|
|
2894
|
-
}, Ht = (t) =>
|
|
2895
|
-
function
|
|
2978
|
+
}, Ht = (t) => kt[t] ?? kt.en;
|
|
2979
|
+
function gr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2896
2980
|
const i = Ht(s);
|
|
2897
2981
|
return /* @__PURE__ */ e.jsx(
|
|
2898
|
-
|
|
2982
|
+
$e,
|
|
2899
2983
|
{
|
|
2900
2984
|
isOpen: t,
|
|
2901
2985
|
onClose: r,
|
|
@@ -2912,12 +2996,12 @@ function Sr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2912
2996
|
onClick: r,
|
|
2913
2997
|
"aria-label": i.closeButtonAriaLabel,
|
|
2914
2998
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
2915
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2999
|
+
children: /* @__PURE__ */ e.jsx(Fa, { size: 24, "aria-hidden": !0 })
|
|
2916
3000
|
}
|
|
2917
3001
|
)
|
|
2918
3002
|
] }),
|
|
2919
3003
|
footer: /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2920
|
-
|
|
3004
|
+
q,
|
|
2921
3005
|
{
|
|
2922
3006
|
variant: "primary",
|
|
2923
3007
|
size: "xl",
|
|
@@ -2930,7 +3014,7 @@ function Sr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2930
3014
|
}
|
|
2931
3015
|
);
|
|
2932
3016
|
}
|
|
2933
|
-
const
|
|
3017
|
+
const Ct = {
|
|
2934
3018
|
en: {
|
|
2935
3019
|
topBarTitle: "Fill in necessary details for Puja",
|
|
2936
3020
|
backButtonAriaLabel: "Go back",
|
|
@@ -3012,19 +3096,19 @@ const _t = {
|
|
|
3012
3096
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3013
3097
|
kashyapGotraLabel: "కశ్యప"
|
|
3014
3098
|
}
|
|
3015
|
-
},
|
|
3099
|
+
}, vr = (t) => Ct[t] ?? Ct.en, Lt = {
|
|
3016
3100
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3017
3101
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3018
3102
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
3019
|
-
},
|
|
3103
|
+
}, jr = {
|
|
3020
3104
|
en: "th",
|
|
3021
3105
|
hi: "वें",
|
|
3022
3106
|
te: "వ"
|
|
3023
|
-
},
|
|
3107
|
+
}, yr = (t, r) => {
|
|
3024
3108
|
const s = r in Lt ? r : "en";
|
|
3025
|
-
return Lt[s][t - 1] ?? `${t}${
|
|
3026
|
-
},
|
|
3027
|
-
function
|
|
3109
|
+
return Lt[s][t - 1] ?? `${t}${jr[s]}`;
|
|
3110
|
+
}, Be = 40, De = "+91", Nr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3111
|
+
function rs({
|
|
3028
3112
|
locale: t = "en",
|
|
3029
3113
|
values: r,
|
|
3030
3114
|
onValuesChange: s,
|
|
@@ -3035,99 +3119,99 @@ function ps({
|
|
|
3035
3119
|
amount: f,
|
|
3036
3120
|
ritualsCountLabel: x,
|
|
3037
3121
|
onPriceInfoClick: b,
|
|
3038
|
-
showPriceInfoIcon:
|
|
3122
|
+
showPriceInfoIcon: p = !0,
|
|
3039
3123
|
canProceed: d,
|
|
3040
3124
|
proceedCtaLabel: v,
|
|
3041
3125
|
proceedButtonProps: g,
|
|
3042
3126
|
onProceedPayment: j,
|
|
3043
|
-
className:
|
|
3127
|
+
className: L
|
|
3044
3128
|
}) {
|
|
3045
|
-
const [
|
|
3046
|
-
const D =
|
|
3047
|
-
return
|
|
3048
|
-
}, B = (
|
|
3129
|
+
const [k, y] = $(!1), [N, S] = $(!1), h = vr(t), O = Ht(t), H = (C) => {
|
|
3130
|
+
const D = yr(C + 1, t);
|
|
3131
|
+
return C === 0 ? `*${D} ${h.kartaNameLabel}` : `${D} ${h.kartaNameLabel} ${h.kartaNameOptionalSuffix}`;
|
|
3132
|
+
}, B = (C) => s({ ...r, ...C }), Y = (C, D) => {
|
|
3049
3133
|
const Q = [...r.kartaNames];
|
|
3050
|
-
Q[
|
|
3051
|
-
},
|
|
3052
|
-
B({ ancestors: r.ancestors.map((Q) => Q.id ===
|
|
3053
|
-
}, [I,
|
|
3054
|
-
|
|
3134
|
+
Q[C] = D, B({ kartaNames: Q });
|
|
3135
|
+
}, ae = (C, D) => {
|
|
3136
|
+
B({ ancestors: r.ancestors.map((Q) => Q.id === C ? { ...Q, value: D } : Q) });
|
|
3137
|
+
}, [I, W] = $(!1), K = Tt(null);
|
|
3138
|
+
Rt(() => {
|
|
3055
3139
|
if (!I) return;
|
|
3056
|
-
const
|
|
3057
|
-
|
|
3140
|
+
const C = (D) => {
|
|
3141
|
+
K.current && !K.current.contains(D.target) && W(!1);
|
|
3058
3142
|
};
|
|
3059
|
-
return document.addEventListener("mousedown",
|
|
3143
|
+
return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
|
|
3060
3144
|
}, [I]);
|
|
3061
3145
|
const M = i.filter(
|
|
3062
|
-
(
|
|
3063
|
-
), U = (
|
|
3064
|
-
B({ gotra:
|
|
3065
|
-
},
|
|
3066
|
-
const
|
|
3067
|
-
B({ isGotraUnknown:
|
|
3068
|
-
}, Z =
|
|
3069
|
-
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]",
|
|
3146
|
+
(C) => C.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3147
|
+
), U = (C) => {
|
|
3148
|
+
B({ gotra: C }), W(!1);
|
|
3149
|
+
}, te = () => {
|
|
3150
|
+
const C = !r.isGotraUnknown;
|
|
3151
|
+
B({ isGotraUnknown: C, gotra: C ? h.kashyapGotraLabel : r.gotra });
|
|
3152
|
+
}, Z = Ie(De), J = St(r.whatsappNumber, De).isValid, X = Nr.test(r.email), re = r.whatsappNumber.length > 0 && !J, fe = r.email.length > 0 && !X, pe = (n ? X : J) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (o || r.ancestors.every((C) => C.value.trim().length > 0)), he = d ?? pe, me = r.gotra.trim().length > 0 ? r.gotra : h.kashyapGotraLabel, Ee = n ? r.email : r.whatsappNumber;
|
|
3153
|
+
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]", L), children: [
|
|
3070
3154
|
/* @__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: [
|
|
3071
3155
|
/* @__PURE__ */ e.jsx(
|
|
3072
3156
|
"button",
|
|
3073
3157
|
{
|
|
3074
3158
|
type: "button",
|
|
3075
3159
|
onClick: u,
|
|
3076
|
-
"aria-label":
|
|
3160
|
+
"aria-label": h.backButtonAriaLabel,
|
|
3077
3161
|
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)]",
|
|
3078
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3162
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3079
3163
|
}
|
|
3080
3164
|
),
|
|
3081
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children:
|
|
3165
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: h.topBarTitle })
|
|
3082
3166
|
] }),
|
|
3083
3167
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-1 flex-col items-center gap-4 px-4 py-4", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full max-w-md flex-col gap-4", children: [
|
|
3084
3168
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3085
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ?
|
|
3169
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? h.emailLabel : h.whatsappNumberLabel }),
|
|
3086
3170
|
n ? /* @__PURE__ */ e.jsx(
|
|
3087
|
-
|
|
3171
|
+
ne,
|
|
3088
3172
|
{
|
|
3089
3173
|
type: "email",
|
|
3090
3174
|
inputMode: "email",
|
|
3091
3175
|
value: r.email,
|
|
3092
|
-
placeholder:
|
|
3176
|
+
placeholder: h.emailPlaceholder,
|
|
3093
3177
|
error: fe,
|
|
3094
|
-
onChange: (
|
|
3178
|
+
onChange: (C) => B({ email: C }),
|
|
3095
3179
|
containerClassName: "w-full gap-0",
|
|
3096
3180
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3097
3181
|
className: "text-[18px]"
|
|
3098
3182
|
}
|
|
3099
3183
|
) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
3100
3184
|
/* @__PURE__ */ e.jsxs("div", { className: "flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2", children: [
|
|
3101
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
3102
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
3185
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me("IN") }),
|
|
3186
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
|
|
3103
3187
|
] }),
|
|
3104
3188
|
/* @__PURE__ */ e.jsx(
|
|
3105
|
-
|
|
3189
|
+
ne,
|
|
3106
3190
|
{
|
|
3107
3191
|
type: "tel",
|
|
3108
3192
|
inputMode: "numeric",
|
|
3109
3193
|
value: r.whatsappNumber,
|
|
3110
|
-
placeholder:
|
|
3194
|
+
placeholder: h.whatsappNumberPlaceholder,
|
|
3111
3195
|
maxLength: Z,
|
|
3112
|
-
error:
|
|
3113
|
-
onChange: (
|
|
3196
|
+
error: re,
|
|
3197
|
+
onChange: (C) => B({ whatsappNumber: C.replace(/\D/g, "").slice(0, Z) }),
|
|
3114
3198
|
containerClassName: "w-auto flex-1 gap-0",
|
|
3115
3199
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3116
3200
|
className: "text-[18px]"
|
|
3117
3201
|
}
|
|
3118
3202
|
)
|
|
3119
3203
|
] }),
|
|
3120
|
-
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ?
|
|
3204
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ? h.emailHelperText : h.whatsappNumberHelperText })
|
|
3121
3205
|
] }),
|
|
3122
3206
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3123
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children:
|
|
3124
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((
|
|
3125
|
-
|
|
3207
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.kartaNameSectionTitle }),
|
|
3208
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((C, D) => /* @__PURE__ */ e.jsx(
|
|
3209
|
+
ne,
|
|
3126
3210
|
{
|
|
3127
|
-
label:
|
|
3128
|
-
placeholder:
|
|
3129
|
-
value:
|
|
3130
|
-
maxLength:
|
|
3211
|
+
label: H(D),
|
|
3212
|
+
placeholder: h.kartaNamePlaceholder,
|
|
3213
|
+
value: C,
|
|
3214
|
+
maxLength: Be,
|
|
3131
3215
|
showCharCount: !0,
|
|
3132
3216
|
wrapperClassName: c("h-12 rounded-xl", D === 0 && "bg-[#f3f4f6]"),
|
|
3133
3217
|
onChange: (Q) => Y(D, Q)
|
|
@@ -3136,20 +3220,20 @@ function ps({
|
|
|
3136
3220
|
)) })
|
|
3137
3221
|
] }),
|
|
3138
3222
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3139
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
3140
|
-
/* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children:
|
|
3223
|
+
/* @__PURE__ */ e.jsxs("div", { ref: K, className: "relative flex w-full flex-col gap-2", children: [
|
|
3224
|
+
/* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: h.gotraFieldLabel }),
|
|
3141
3225
|
/* @__PURE__ */ e.jsxs("div", { className: "flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40", children: [
|
|
3142
3226
|
/* @__PURE__ */ e.jsx(
|
|
3143
3227
|
"input",
|
|
3144
3228
|
{
|
|
3145
3229
|
id: "karta-gotra",
|
|
3146
3230
|
value: r.gotra,
|
|
3147
|
-
placeholder:
|
|
3148
|
-
maxLength:
|
|
3231
|
+
placeholder: h.gotraFieldPlaceholder,
|
|
3232
|
+
maxLength: Be,
|
|
3149
3233
|
autoComplete: "off",
|
|
3150
|
-
onFocus: () =>
|
|
3151
|
-
onChange: (
|
|
3152
|
-
B({ gotra:
|
|
3234
|
+
onFocus: () => W(!0),
|
|
3235
|
+
onChange: (C) => {
|
|
3236
|
+
B({ gotra: C.target.value }), W(!0);
|
|
3153
3237
|
},
|
|
3154
3238
|
className: "w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"
|
|
3155
3239
|
}
|
|
@@ -3158,7 +3242,7 @@ function ps({
|
|
|
3158
3242
|
"button",
|
|
3159
3243
|
{
|
|
3160
3244
|
type: "button",
|
|
3161
|
-
onClick: () =>
|
|
3245
|
+
onClick: () => S(!0),
|
|
3162
3246
|
"aria-label": O.heading,
|
|
3163
3247
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3164
3248
|
children: /* @__PURE__ */ e.jsx(xe, { size: 24, "aria-hidden": !0 })
|
|
@@ -3170,20 +3254,20 @@ function ps({
|
|
|
3170
3254
|
{
|
|
3171
3255
|
role: "listbox",
|
|
3172
3256
|
className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
3173
|
-
children: M.map((
|
|
3257
|
+
children: M.map((C) => /* @__PURE__ */ e.jsx(
|
|
3174
3258
|
"button",
|
|
3175
3259
|
{
|
|
3176
3260
|
type: "button",
|
|
3177
3261
|
role: "option",
|
|
3178
|
-
"aria-selected":
|
|
3179
|
-
onClick: () => U(
|
|
3262
|
+
"aria-selected": C === r.gotra,
|
|
3263
|
+
onClick: () => U(C),
|
|
3180
3264
|
className: c(
|
|
3181
3265
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
3182
|
-
|
|
3266
|
+
C === r.gotra && "bg-[#fff9e9]"
|
|
3183
3267
|
),
|
|
3184
|
-
children:
|
|
3268
|
+
children: C
|
|
3185
3269
|
},
|
|
3186
|
-
|
|
3270
|
+
C
|
|
3187
3271
|
))
|
|
3188
3272
|
}
|
|
3189
3273
|
)
|
|
@@ -3193,78 +3277,78 @@ function ps({
|
|
|
3193
3277
|
"button",
|
|
3194
3278
|
{
|
|
3195
3279
|
type: "button",
|
|
3196
|
-
onClick:
|
|
3280
|
+
onClick: te,
|
|
3197
3281
|
"aria-pressed": r.isGotraUnknown,
|
|
3198
3282
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3199
3283
|
children: [
|
|
3200
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx($a, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(
|
|
3201
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
3284
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx($a, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Ba, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3285
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: h.gotraUnknownCheckboxLabel })
|
|
3202
3286
|
]
|
|
3203
3287
|
}
|
|
3204
3288
|
),
|
|
3205
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children:
|
|
3289
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children: h.gotraUnknownHelperText })
|
|
3206
3290
|
] })
|
|
3207
3291
|
] }),
|
|
3208
3292
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3209
3293
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3210
|
-
/* @__PURE__ */ e.jsx(
|
|
3294
|
+
/* @__PURE__ */ e.jsx(_e, { size: "sm", icon: /* @__PURE__ */ e.jsx(za, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3211
3295
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3212
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children:
|
|
3213
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: o ?
|
|
3296
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.ancestorNameSectionTitle }),
|
|
3297
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: o ? h.sarvaPitruSectionSubtitle : h.ancestorNameSectionSubtitle })
|
|
3214
3298
|
] })
|
|
3215
3299
|
] }),
|
|
3216
3300
|
o ? /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 p-3 pt-0", children: [
|
|
3217
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3", children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] leading-5.5 font-medium text-[#374151]", children:
|
|
3218
|
-
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children:
|
|
3219
|
-
] }) : /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: r.ancestors.map((
|
|
3220
|
-
|
|
3301
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3", children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] leading-5.5 font-medium text-[#374151]", children: h.sarvaPitruFieldValue }) }),
|
|
3302
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: h.sarvaPitruHelperText })
|
|
3303
|
+
] }) : /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: r.ancestors.map((C) => /* @__PURE__ */ e.jsx(
|
|
3304
|
+
ne,
|
|
3221
3305
|
{
|
|
3222
|
-
label: `*${
|
|
3223
|
-
value:
|
|
3224
|
-
prefix:
|
|
3225
|
-
placeholder:
|
|
3226
|
-
maxLength:
|
|
3306
|
+
label: `*${C.label} ${h.ancestorNameFieldSuffix}`,
|
|
3307
|
+
value: C.value,
|
|
3308
|
+
prefix: h.latePrefixLabel,
|
|
3309
|
+
placeholder: h.kartaNamePlaceholder,
|
|
3310
|
+
maxLength: Be,
|
|
3227
3311
|
showCharCount: !0,
|
|
3228
3312
|
wrapperClassName: "h-12 rounded-xl",
|
|
3229
|
-
onChange: (D) =>
|
|
3313
|
+
onChange: (D) => ae(C.id, D)
|
|
3230
3314
|
},
|
|
3231
|
-
|
|
3315
|
+
C.id
|
|
3232
3316
|
)) })
|
|
3233
3317
|
] })
|
|
3234
3318
|
] }) }),
|
|
3235
3319
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3236
|
-
|
|
3320
|
+
Ue,
|
|
3237
3321
|
{
|
|
3238
3322
|
amount: f,
|
|
3239
3323
|
subtitle: x,
|
|
3240
3324
|
onInfoClick: b,
|
|
3241
|
-
showInfoIcon:
|
|
3242
|
-
proceedLabel: v ??
|
|
3243
|
-
onProceed: () =>
|
|
3244
|
-
proceedButtonProps: { disabled: !
|
|
3325
|
+
showInfoIcon: p,
|
|
3326
|
+
proceedLabel: v ?? h.proceedCtaLabel,
|
|
3327
|
+
onProceed: () => y(!0),
|
|
3328
|
+
proceedButtonProps: { disabled: !he, ...g }
|
|
3245
3329
|
}
|
|
3246
3330
|
) }),
|
|
3247
3331
|
/* @__PURE__ */ e.jsx(
|
|
3248
|
-
|
|
3332
|
+
br,
|
|
3249
3333
|
{
|
|
3250
|
-
isOpen:
|
|
3251
|
-
onClose: () =>
|
|
3252
|
-
onEditDetailsClick: () =>
|
|
3334
|
+
isOpen: k,
|
|
3335
|
+
onClose: () => y(!1),
|
|
3336
|
+
onEditDetailsClick: () => y(!1),
|
|
3253
3337
|
locale: t,
|
|
3254
|
-
ancestors: o ? [{ id: "sarva-pitru", label: "", value:
|
|
3338
|
+
ancestors: o ? [{ id: "sarva-pitru", label: "", value: h.sarvaPitruFieldValue }] : r.ancestors,
|
|
3255
3339
|
kartaNames: r.kartaNames,
|
|
3256
|
-
gotra:
|
|
3340
|
+
gotra: me,
|
|
3257
3341
|
whatsappNumber: Ee,
|
|
3258
3342
|
amount: f,
|
|
3259
3343
|
onProceedPayment: () => {
|
|
3260
|
-
|
|
3344
|
+
y(!1), j();
|
|
3261
3345
|
}
|
|
3262
3346
|
}
|
|
3263
3347
|
),
|
|
3264
|
-
/* @__PURE__ */ e.jsx(
|
|
3348
|
+
/* @__PURE__ */ e.jsx(gr, { isOpen: N, onClose: () => S(!1), locale: t })
|
|
3265
3349
|
] });
|
|
3266
3350
|
}
|
|
3267
|
-
function
|
|
3351
|
+
function ss(t = 3, r = []) {
|
|
3268
3352
|
return {
|
|
3269
3353
|
whatsappNumber: "",
|
|
3270
3354
|
email: "",
|
|
@@ -3274,27 +3358,27 @@ function ms(t = 3, r = []) {
|
|
|
3274
3358
|
ancestors: r
|
|
3275
3359
|
};
|
|
3276
3360
|
}
|
|
3277
|
-
const
|
|
3278
|
-
function
|
|
3361
|
+
const _t = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Cr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Lr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", _r = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3362
|
+
function Er({ variant: t }) {
|
|
3279
3363
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3280
3364
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3281
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3282
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3283
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3365
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3366
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3367
|
+
/* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3284
3368
|
] }),
|
|
3285
3369
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
3286
3370
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
3287
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3371
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: kr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3288
3372
|
] }),
|
|
3289
3373
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3290
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3291
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3292
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3374
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Cr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3375
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Lr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3376
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: _r, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3293
3377
|
] })
|
|
3294
3378
|
] });
|
|
3295
3379
|
}
|
|
3296
|
-
const
|
|
3297
|
-
function
|
|
3380
|
+
const Pr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Et = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3381
|
+
function ns({
|
|
3298
3382
|
badgeLabel: t,
|
|
3299
3383
|
headingPrefix: r,
|
|
3300
3384
|
ritualCount: s,
|
|
@@ -3331,7 +3415,7 @@ function hs({
|
|
|
3331
3415
|
}
|
|
3332
3416
|
}
|
|
3333
3417
|
),
|
|
3334
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3418
|
+
/* @__PURE__ */ e.jsx("img", { src: Pr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3335
3419
|
] }),
|
|
3336
3420
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3337
3421
|
"✦ ",
|
|
@@ -3348,15 +3432,15 @@ function hs({
|
|
|
3348
3432
|
i
|
|
3349
3433
|
] }),
|
|
3350
3434
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: o.map((u) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3351
|
-
/* @__PURE__ */ e.jsx(
|
|
3435
|
+
/* @__PURE__ */ e.jsx(Er, { variant: u.variant }),
|
|
3352
3436
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: u.text })
|
|
3353
3437
|
] }, u.variant)) })
|
|
3354
3438
|
] });
|
|
3355
3439
|
}
|
|
3356
|
-
function
|
|
3440
|
+
function Sr(t) {
|
|
3357
3441
|
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);
|
|
3358
3442
|
}
|
|
3359
|
-
const
|
|
3443
|
+
const Pt = {
|
|
3360
3444
|
en: {
|
|
3361
3445
|
title: "Who is this puja for?",
|
|
3362
3446
|
subtitle: "Your ancestors",
|
|
@@ -3369,7 +3453,7 @@ const St = {
|
|
|
3369
3453
|
value: "सर्वपितृ के लिए",
|
|
3370
3454
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3371
3455
|
}
|
|
3372
|
-
},
|
|
3456
|
+
}, Tr = (t) => Pt[t] ?? Pt.en, Rr = _.forwardRef(
|
|
3373
3457
|
({
|
|
3374
3458
|
locale: t = "en",
|
|
3375
3459
|
title: r,
|
|
@@ -3381,18 +3465,18 @@ const St = {
|
|
|
3381
3465
|
headerClassName: f,
|
|
3382
3466
|
valueBoxClassName: x,
|
|
3383
3467
|
helperTextClassName: b,
|
|
3384
|
-
...
|
|
3468
|
+
...p
|
|
3385
3469
|
}, d) => {
|
|
3386
|
-
const v =
|
|
3470
|
+
const v = Tr(t);
|
|
3387
3471
|
return /* @__PURE__ */ e.jsxs(
|
|
3388
3472
|
"div",
|
|
3389
3473
|
{
|
|
3390
3474
|
ref: d,
|
|
3391
3475
|
className: c("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", u),
|
|
3392
|
-
...
|
|
3476
|
+
...p,
|
|
3393
3477
|
children: [
|
|
3394
3478
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
|
|
3395
|
-
/* @__PURE__ */ e.jsx(
|
|
3479
|
+
/* @__PURE__ */ e.jsx(_e, { icon: o ?? /* @__PURE__ */ e.jsx(Sr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3396
3480
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3397
3481
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3398
3482
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
@@ -3414,66 +3498,67 @@ const St = {
|
|
|
3414
3498
|
);
|
|
3415
3499
|
}
|
|
3416
3500
|
);
|
|
3417
|
-
|
|
3501
|
+
Rr.displayName = "SarvaPitruCard";
|
|
3418
3502
|
export {
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3503
|
+
$r as AudioQuestionCard,
|
|
3504
|
+
jt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3505
|
+
or as BillDetails,
|
|
3506
|
+
lr as BookingSummaryBanner,
|
|
3507
|
+
q as Button,
|
|
3508
|
+
gt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3509
|
+
Nt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3510
|
+
Gr as CartReviewAddedBadge,
|
|
3511
|
+
Ur as CartReviewChangeButton,
|
|
3512
|
+
It as CartReviewItem,
|
|
3429
3513
|
Qa as CartReviewMandapItem,
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3514
|
+
Yr as CartView,
|
|
3515
|
+
as as CheckIcon,
|
|
3516
|
+
Ue as CheckoutBar,
|
|
3433
3517
|
Ga as Chip,
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3518
|
+
$e as ConfinedBottomSheet,
|
|
3519
|
+
br as ConfirmPujaDetailsModal,
|
|
3520
|
+
Zr as DatePickerSheet,
|
|
3521
|
+
Xr as EmailSheet,
|
|
3522
|
+
Dr as FAQAccordion,
|
|
3523
|
+
Ha as FAQSection,
|
|
3524
|
+
kt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3525
|
+
gr as GotraInfoModal,
|
|
3526
|
+
_e as IconBadge,
|
|
3527
|
+
Qr as L2Card,
|
|
3528
|
+
Bt as LanguageSwitcher,
|
|
3529
|
+
es as OutcomeButton,
|
|
3530
|
+
ns as OutcomeSummary,
|
|
3531
|
+
vt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3532
|
+
Ct as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3533
|
+
qr as PackageSelect,
|
|
3534
|
+
Jr as PhoneNumberSheet,
|
|
3535
|
+
ts as PlusIcon,
|
|
3536
|
+
rs as PujaDetailsForm,
|
|
3537
|
+
Wr as QuantityStepper,
|
|
3538
|
+
Pt as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3539
|
+
Rr as SarvaPitruCard,
|
|
3540
|
+
Dt as SelectorCard,
|
|
3541
|
+
Vr as SelectorCardEditableField,
|
|
3542
|
+
Hr as SelectorCardInfoRow,
|
|
3458
3543
|
Xa as SelectorCardNote,
|
|
3459
3544
|
Ja as SelectorCardPriceBadge,
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3545
|
+
er as ServiceOfferCard,
|
|
3546
|
+
Mr as StepProgressHeader,
|
|
3547
|
+
Br as TestimonialCard,
|
|
3548
|
+
ne as TextField,
|
|
3549
|
+
Kr as TithiPickerSheet,
|
|
3550
|
+
Ir as TopBar,
|
|
3551
|
+
ar as TrustBadgesBar,
|
|
3552
|
+
Wa as VideoPlayer,
|
|
3553
|
+
Ta as buttonVariants,
|
|
3554
|
+
os as cn,
|
|
3555
|
+
ss as createEmptyPujaDetailsFormValues,
|
|
3556
|
+
nr as getBookingSummaryBannerDefaultCopy,
|
|
3557
|
+
rr as getCheckoutBarDefaultCopy,
|
|
3558
|
+
mr as getConfirmPujaDetailsModalDefaultCopy,
|
|
3474
3559
|
Ht as getGotraInfoModalDefaultCopy,
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3560
|
+
yr as getKartaOrdinalLabel,
|
|
3561
|
+
sr as getPackageSelectDefaultCopy,
|
|
3562
|
+
vr as getPujaDetailsFormDefaultCopy,
|
|
3563
|
+
Tr as getSarvaPitruCardDefaultCopy
|
|
3479
3564
|
};
|