@srimandir/pitru-paksh-common 2.0.32 → 2.0.34
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/PujaDetailsForm/PujaDetailsForm.d.ts +1 -1
- package/dist/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +2 -0
- package/dist/components/TrustBadgesBar/TrustBadgesBar.d.ts +14 -2
- package/dist/pitru-paksh-common.js +1045 -1034
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +2 -3
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as ma, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as St, getFlagEmoji as Me } from "@srimandir/common";
|
|
2
|
+
import { cn as ls } from "@srimandir/common";
|
|
3
3
|
import * as ha from "react";
|
|
4
|
-
import
|
|
5
|
-
import { cva as
|
|
6
|
-
import
|
|
4
|
+
import _, { useState as V, 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 je = { exports: {} }, ce = {};
|
|
8
8
|
var it;
|
|
9
|
-
function
|
|
9
|
+
function ja() {
|
|
10
10
|
if (it) return ce;
|
|
11
11
|
it = 1;
|
|
12
|
-
var t =
|
|
13
|
-
function
|
|
14
|
-
var h,
|
|
15
|
-
|
|
16
|
-
for (h in
|
|
17
|
-
if (f && f.defaultProps) for (h in
|
|
18
|
-
return { $$typeof: r, type: f, key: v, ref:
|
|
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
|
+
function u(f, x, b) {
|
|
14
|
+
var h, d = {}, v = null, g = null;
|
|
15
|
+
b !== void 0 && (v = "" + b), x.key !== void 0 && (v = "" + x.key), x.ref !== void 0 && (g = x.ref);
|
|
16
|
+
for (h in x) n.call(x, h) && !o.hasOwnProperty(h) && (d[h] = x[h]);
|
|
17
|
+
if (f && f.defaultProps) for (h in x = f.defaultProps, x) d[h] === void 0 && (d[h] = x[h]);
|
|
18
|
+
return { $$typeof: r, type: f, key: v, ref: g, props: d, _owner: i.current };
|
|
19
19
|
}
|
|
20
|
-
return ce.Fragment = s, ce.jsx =
|
|
20
|
+
return ce.Fragment = s, ce.jsx = u, ce.jsxs = u, ce;
|
|
21
21
|
}
|
|
22
22
|
var de = {};
|
|
23
23
|
var ot;
|
|
24
|
-
function
|
|
24
|
+
function ya() {
|
|
25
25
|
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
-
var t =
|
|
27
|
-
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"), h = /* @__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 C(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
|
|
33
|
+
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
34
34
|
function y(a) {
|
|
35
35
|
{
|
|
36
|
-
for (var l = arguments.length,
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
for (var l = arguments.length, m = new Array(l > 1 ? l - 1 : 0), w = 1; w < l; w++)
|
|
37
|
+
m[w - 1] = arguments[w];
|
|
38
|
+
T("error", a, m);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function T(a, l, m) {
|
|
42
42
|
{
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
var z =
|
|
46
|
-
return String(
|
|
43
|
+
var w = N.ReactDebugCurrentFrame, S = w.getStackAddendum();
|
|
44
|
+
S !== "" && (l += "%s", m = m.concat([S]));
|
|
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
|
-
|
|
53
|
-
function
|
|
54
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a ===
|
|
51
|
+
var p = !1, O = !1, H = !1, B = !1, Y = !1, ae;
|
|
52
|
+
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
+
function I(a) {
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Y || a === i || a === b || a === h || B || a === g || p || 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
|
|
61
|
-
var
|
|
62
|
-
if (
|
|
63
|
-
return
|
|
64
|
-
var
|
|
65
|
-
return
|
|
60
|
+
function W(a, l, m) {
|
|
61
|
+
var w = a.displayName;
|
|
62
|
+
if (w)
|
|
63
|
+
return w;
|
|
64
|
+
var S = l.displayName || l.name || "";
|
|
65
|
+
return S !== "" ? m + "(" + S + ")" : m;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function q(a) {
|
|
68
68
|
return a.displayName || "Context";
|
|
69
69
|
}
|
|
70
70
|
function M(a) {
|
|
@@ -79,11 +79,11 @@ function ja() {
|
|
|
79
79
|
return "Fragment";
|
|
80
80
|
case s:
|
|
81
81
|
return "Portal";
|
|
82
|
-
case
|
|
82
|
+
case o:
|
|
83
83
|
return "Profiler";
|
|
84
84
|
case i:
|
|
85
85
|
return "StrictMode";
|
|
86
|
-
case
|
|
86
|
+
case b:
|
|
87
87
|
return "Suspense";
|
|
88
88
|
case h:
|
|
89
89
|
return "SuspenseList";
|
|
@@ -92,19 +92,19 @@ function ja() {
|
|
|
92
92
|
switch (a.$$typeof) {
|
|
93
93
|
case f:
|
|
94
94
|
var l = a;
|
|
95
|
-
return
|
|
96
|
-
case x:
|
|
97
|
-
var p = a;
|
|
98
|
-
return Z(p._context) + ".Provider";
|
|
95
|
+
return q(l) + ".Consumer";
|
|
99
96
|
case u:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
return
|
|
97
|
+
var m = a;
|
|
98
|
+
return q(m._context) + ".Provider";
|
|
99
|
+
case x:
|
|
100
|
+
return W(a, a.render, "ForwardRef");
|
|
101
|
+
case d:
|
|
102
|
+
var w = a.displayName || null;
|
|
103
|
+
return w !== null ? w : M(a.type) || "Memo";
|
|
104
104
|
case v: {
|
|
105
|
-
var
|
|
105
|
+
var S = a, z = S._payload, P = S._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 ja() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var
|
|
116
|
-
function
|
|
115
|
+
var U = Object.assign, te = 0, Z, J, X, re, xe, fe, pe;
|
|
116
|
+
function me() {
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
function
|
|
118
|
+
me.__reactDisabledLog = !0;
|
|
119
|
+
function Ee() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
|
|
121
|
+
if (te === 0) {
|
|
122
|
+
Z = console.log, J = console.info, X = console.warn, re = console.error, xe = console.group, fe = console.groupCollapsed, pe = 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,208 +136,208 @@ function ja() {
|
|
|
136
136
|
groupEnd: a
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
te++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function k() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (te--, te === 0) {
|
|
145
145
|
var a = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
148
148
|
writable: !0
|
|
149
149
|
};
|
|
150
150
|
Object.defineProperties(console, {
|
|
151
|
-
log:
|
|
152
|
-
value:
|
|
151
|
+
log: U({}, a, {
|
|
152
|
+
value: Z
|
|
153
153
|
}),
|
|
154
|
-
info:
|
|
155
|
-
value:
|
|
154
|
+
info: U({}, a, {
|
|
155
|
+
value: J
|
|
156
156
|
}),
|
|
157
|
-
warn:
|
|
158
|
-
value:
|
|
157
|
+
warn: U({}, a, {
|
|
158
|
+
value: X
|
|
159
159
|
}),
|
|
160
|
-
error:
|
|
160
|
+
error: U({}, a, {
|
|
161
161
|
value: re
|
|
162
162
|
}),
|
|
163
|
-
group:
|
|
163
|
+
group: U({}, a, {
|
|
164
164
|
value: xe
|
|
165
165
|
}),
|
|
166
|
-
groupCollapsed:
|
|
166
|
+
groupCollapsed: U({}, a, {
|
|
167
167
|
value: fe
|
|
168
168
|
}),
|
|
169
|
-
groupEnd:
|
|
169
|
+
groupEnd: U({}, a, {
|
|
170
170
|
value: pe
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
te < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function
|
|
177
|
+
var D = N.ReactCurrentDispatcher, Q;
|
|
178
|
+
function he(a, l, m) {
|
|
179
179
|
{
|
|
180
|
-
if (
|
|
180
|
+
if (Q === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
|
-
} catch (
|
|
184
|
-
var
|
|
185
|
-
|
|
183
|
+
} catch (S) {
|
|
184
|
+
var w = S.stack.trim().match(/\n( *(at )?)/);
|
|
185
|
+
Q = w && w[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
|
-
` +
|
|
188
|
+
` + Q + a;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
var Pe = !1, be;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
be = new
|
|
193
|
+
var Wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
be = new Wt();
|
|
195
195
|
}
|
|
196
196
|
function Ge(a, l) {
|
|
197
197
|
if (!a || Pe)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var
|
|
201
|
-
if (
|
|
202
|
-
return
|
|
200
|
+
var m = be.get(a);
|
|
201
|
+
if (m !== void 0)
|
|
202
|
+
return m;
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var w;
|
|
205
205
|
Pe = !0;
|
|
206
|
-
var
|
|
206
|
+
var S = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
209
|
-
z =
|
|
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(
|
|
222
|
-
} catch (
|
|
223
|
-
|
|
221
|
+
Reflect.construct(P, []);
|
|
222
|
+
} catch (G) {
|
|
223
|
+
w = G;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(a, [],
|
|
225
|
+
Reflect.construct(a, [], P);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
229
|
-
} catch (
|
|
230
|
-
|
|
228
|
+
P.call();
|
|
229
|
+
} catch (G) {
|
|
230
|
+
w = G;
|
|
231
231
|
}
|
|
232
|
-
a.call(
|
|
232
|
+
a.call(P.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
236
236
|
throw Error();
|
|
237
|
-
} catch (
|
|
238
|
-
|
|
237
|
+
} catch (G) {
|
|
238
|
+
w = G;
|
|
239
239
|
}
|
|
240
240
|
a();
|
|
241
241
|
}
|
|
242
|
-
} catch (
|
|
243
|
-
if (
|
|
244
|
-
for (var
|
|
245
|
-
`), $ =
|
|
246
|
-
`), A =
|
|
247
|
-
|
|
248
|
-
for (; A >= 1 &&
|
|
249
|
-
if (
|
|
250
|
-
if (A !== 1 ||
|
|
242
|
+
} catch (G) {
|
|
243
|
+
if (G && w && typeof G.stack == "string") {
|
|
244
|
+
for (var E = G.stack.split(`
|
|
245
|
+
`), $ = w.stack.split(`
|
|
246
|
+
`), A = E.length - 1, F = $.length - 1; A >= 1 && F >= 0 && E[A] !== $[F]; )
|
|
247
|
+
F--;
|
|
248
|
+
for (; A >= 1 && F >= 0; A--, F--)
|
|
249
|
+
if (E[A] !== $[F]) {
|
|
250
|
+
if (A !== 1 || F !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--,
|
|
253
|
-
var
|
|
254
|
-
` +
|
|
255
|
-
return a.displayName &&
|
|
252
|
+
if (A--, F--, F < 0 || E[A] !== $[F]) {
|
|
253
|
+
var ee = `
|
|
254
|
+
` + E[A].replace(" at new ", " at ");
|
|
255
|
+
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" && be.set(a, ee), ee;
|
|
256
256
|
}
|
|
257
|
-
while (A >= 1 &&
|
|
257
|
+
while (A >= 1 && F >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
Pe = !1,
|
|
262
|
+
Pe = !1, D.current = z, k(), Error.prepareStackTrace = S;
|
|
263
263
|
}
|
|
264
|
-
var ie = a ? a.displayName || a.name : "", se = ie ?
|
|
264
|
+
var ie = a ? a.displayName || a.name : "", se = ie ? he(ie) : "";
|
|
265
265
|
return typeof a == "function" && be.set(a, se), se;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Ut(a, l, m) {
|
|
268
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
|
}
|
|
274
|
-
function ge(a, l,
|
|
274
|
+
function ge(a, l, m) {
|
|
275
275
|
if (a == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof a == "function")
|
|
278
|
-
return Ge(a,
|
|
278
|
+
return Ge(a, Gt(a));
|
|
279
279
|
if (typeof a == "string")
|
|
280
|
-
return
|
|
280
|
+
return he(a);
|
|
281
281
|
switch (a) {
|
|
282
|
-
case
|
|
283
|
-
return
|
|
282
|
+
case b:
|
|
283
|
+
return he("Suspense");
|
|
284
284
|
case h:
|
|
285
|
-
return
|
|
285
|
+
return he("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof a == "object")
|
|
288
288
|
switch (a.$$typeof) {
|
|
289
|
-
case
|
|
290
|
-
return
|
|
291
|
-
case
|
|
292
|
-
return ge(a.type, l,
|
|
289
|
+
case x:
|
|
290
|
+
return Ut(a.render);
|
|
291
|
+
case d:
|
|
292
|
+
return ge(a.type, l, m);
|
|
293
293
|
case v: {
|
|
294
|
-
var
|
|
294
|
+
var w = a, S = w._payload, z = w._init;
|
|
295
295
|
try {
|
|
296
|
-
return ge(z(
|
|
296
|
+
return ge(z(S), l, m);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var oe = Object.prototype.hasOwnProperty, Ye = {}, qe =
|
|
303
|
+
var oe = Object.prototype.hasOwnProperty, Ye = {}, qe = N.ReactDebugCurrentFrame;
|
|
304
304
|
function ve(a) {
|
|
305
305
|
if (a) {
|
|
306
|
-
var l = a._owner,
|
|
307
|
-
qe.setExtraStackFrame(
|
|
306
|
+
var l = a._owner, m = ge(a.type, a._source, l ? l.type : null);
|
|
307
|
+
qe.setExtraStackFrame(m);
|
|
308
308
|
} else
|
|
309
309
|
qe.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Yt(a, l, m, w, S) {
|
|
312
312
|
{
|
|
313
313
|
var z = Function.call.bind(oe);
|
|
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 $ = Error((
|
|
318
|
+
if (typeof a[P] != "function") {
|
|
319
|
+
var $ = 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
320
|
throw $.name = "Invariant Violation", $;
|
|
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) && (ve(S), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", m, P, typeof E), ve(null)), E instanceof Error && !(E.message in Ye) && (Ye[E.message] = !0, ve(S), y("Failed %s type: %s", m, E.message), ve(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var qt = Array.isArray;
|
|
331
331
|
function Se(a) {
|
|
332
|
-
return
|
|
332
|
+
return qt(a);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Kt(a) {
|
|
335
335
|
{
|
|
336
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
337
|
-
return
|
|
336
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
337
|
+
return m;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Zt(a) {
|
|
341
341
|
try {
|
|
342
342
|
return Ke(a), !1;
|
|
343
343
|
} catch {
|
|
@@ -348,16 +348,16 @@ function ja() {
|
|
|
348
348
|
return "" + a;
|
|
349
349
|
}
|
|
350
350
|
function Ze(a) {
|
|
351
|
-
if (
|
|
352
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
351
|
+
if (Zt(a))
|
|
352
|
+
return y("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 Je =
|
|
354
|
+
var Je = N.ReactCurrentOwner, Jt = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
359
|
}, Xe, Qe;
|
|
360
|
-
function
|
|
360
|
+
function Xt(a) {
|
|
361
361
|
if (oe.call(a, "ref")) {
|
|
362
362
|
var l = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
363
363
|
if (l && l.isReactWarning)
|
|
@@ -365,7 +365,7 @@ function ja() {
|
|
|
365
365
|
}
|
|
366
366
|
return a.ref !== void 0;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Qt(a) {
|
|
369
369
|
if (oe.call(a, "key")) {
|
|
370
370
|
var l = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
371
371
|
if (l && l.isReactWarning)
|
|
@@ -373,83 +373,83 @@ function ja() {
|
|
|
373
373
|
}
|
|
374
374
|
return a.key !== void 0;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function ea(a, l) {
|
|
377
377
|
typeof a.ref == "string" && Je.current;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function ta(a, l) {
|
|
380
380
|
{
|
|
381
|
-
var
|
|
381
|
+
var m = function() {
|
|
382
382
|
Xe || (Xe = !0, y("%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
|
-
|
|
385
|
-
get:
|
|
384
|
+
m.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
385
|
+
get: m,
|
|
386
386
|
configurable: !0
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function aa(a, l) {
|
|
391
391
|
{
|
|
392
|
-
var
|
|
392
|
+
var m = function() {
|
|
393
393
|
Qe || (Qe = !0, y("%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
|
-
|
|
396
|
-
get:
|
|
395
|
+
m.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
396
|
+
get: m,
|
|
397
397
|
configurable: !0
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var ra = function(a, l, m, w, S, 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
|
-
ref:
|
|
409
|
-
props:
|
|
408
|
+
ref: m,
|
|
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
|
-
value:
|
|
423
|
-
}), Object.defineProperty(
|
|
422
|
+
value: w
|
|
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: S
|
|
428
|
+
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function sa(a, l, m, w, S) {
|
|
431
431
|
{
|
|
432
|
-
var z,
|
|
433
|
-
|
|
432
|
+
var z, P = {}, E = null, $ = null;
|
|
433
|
+
m !== void 0 && (Ze(m), E = "" + m), Qt(l) && (Ze(l.key), E = "" + l.key), Xt(l) && ($ = l.ref, ea(l, S));
|
|
434
434
|
for (z in l)
|
|
435
|
-
oe.call(l, z) && !
|
|
435
|
+
oe.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 (
|
|
442
|
-
var
|
|
443
|
-
|
|
441
|
+
if (E || $) {
|
|
442
|
+
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
+
E && ta(P, F), $ && aa(P, F);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return ra(a, E, $, S, w, Je.current, P);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var Te =
|
|
448
|
+
var Te = N.ReactCurrentOwner, et = N.ReactDebugCurrentFrame;
|
|
449
449
|
function le(a) {
|
|
450
450
|
if (a) {
|
|
451
|
-
var l = a._owner,
|
|
452
|
-
et.setExtraStackFrame(
|
|
451
|
+
var l = a._owner, m = ge(a.type, a._source, l ? l.type : null);
|
|
452
|
+
et.setExtraStackFrame(m);
|
|
453
453
|
} else
|
|
454
454
|
et.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
@@ -470,18 +470,18 @@ 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
476
|
var at = {};
|
|
477
|
-
function
|
|
477
|
+
function la(a) {
|
|
478
478
|
{
|
|
479
479
|
var l = tt();
|
|
480
480
|
if (!l) {
|
|
481
|
-
var
|
|
482
|
-
|
|
481
|
+
var m = typeof a == "string" ? a : a.displayName || a.name;
|
|
482
|
+
m && (l = `
|
|
483
483
|
|
|
484
|
-
Check the top-level render call using <` +
|
|
484
|
+
Check the top-level render call using <` + m + ">.");
|
|
485
485
|
}
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
@@ -491,12 +491,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
491
491
|
if (!a._store || a._store.validated || a.key != null)
|
|
492
492
|
return;
|
|
493
493
|
a._store.validated = !0;
|
|
494
|
-
var
|
|
495
|
-
if (at[
|
|
494
|
+
var m = la(l);
|
|
495
|
+
if (at[m])
|
|
496
496
|
return;
|
|
497
|
-
at[
|
|
498
|
-
var
|
|
499
|
-
a && a._owner && a._owner !== Te.current && (
|
|
497
|
+
at[m] = !0;
|
|
498
|
+
var w = "";
|
|
499
|
+
a && a._owner && a._owner !== Te.current && (w = " It was passed a child from " + M(a._owner.type) + "."), le(a), y('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
502
|
function st(a, l) {
|
|
@@ -504,51 +504,51 @@ Check the top-level render call using <` + p + ">.");
|
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
506
|
if (Se(a))
|
|
507
|
-
for (var
|
|
508
|
-
var
|
|
509
|
-
Oe(
|
|
507
|
+
for (var m = 0; m < a.length; m++) {
|
|
508
|
+
var w = a[m];
|
|
509
|
+
Oe(w) && rt(w, l);
|
|
510
510
|
}
|
|
511
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
|
-
Oe(
|
|
514
|
+
var S = C(a);
|
|
515
|
+
if (typeof S == "function" && S !== a.entries)
|
|
516
|
+
for (var z = S.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")
|
|
525
525
|
return;
|
|
526
|
-
var
|
|
526
|
+
var m;
|
|
527
527
|
if (typeof l == "function")
|
|
528
|
-
|
|
529
|
-
else if (typeof l == "object" && (l.$$typeof ===
|
|
528
|
+
m = l.propTypes;
|
|
529
|
+
else if (typeof l == "object" && (l.$$typeof === x || // Note: Memo only checks outer props here.
|
|
530
530
|
// Inner props are checked in the reconciler.
|
|
531
|
-
l.$$typeof ===
|
|
532
|
-
|
|
531
|
+
l.$$typeof === d))
|
|
532
|
+
m = l.propTypes;
|
|
533
533
|
else
|
|
534
534
|
return;
|
|
535
|
-
if (
|
|
536
|
-
var
|
|
537
|
-
|
|
535
|
+
if (m) {
|
|
536
|
+
var w = M(l);
|
|
537
|
+
Yt(m, a.props, "prop", w, a);
|
|
538
538
|
} else if (l.PropTypes !== void 0 && !Re) {
|
|
539
539
|
Re = !0;
|
|
540
|
-
var
|
|
541
|
-
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
540
|
+
var S = M(l);
|
|
541
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
542
542
|
}
|
|
543
543
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && y("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
|
-
for (var l = Object.keys(a.props),
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
551
|
-
le(a), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
548
|
+
for (var l = Object.keys(a.props), m = 0; m < l.length; m++) {
|
|
549
|
+
var w = l[m];
|
|
550
|
+
if (w !== "children" && w !== "key") {
|
|
551
|
+
le(a), y("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
|
}
|
|
@@ -556,81 +556,81 @@ Check the top-level render call using <` + p + ">.");
|
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
var nt = {};
|
|
559
|
-
function lt(a, l,
|
|
559
|
+
function lt(a, l, m, w, S, 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 $ = na();
|
|
566
|
+
$ ? E += $ : E += tt();
|
|
567
567
|
var A;
|
|
568
|
-
a === null ? A = "null" : Se(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />",
|
|
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, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, E);
|
|
569
569
|
}
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
return
|
|
573
|
-
if (
|
|
574
|
-
var
|
|
575
|
-
if (
|
|
576
|
-
if (
|
|
577
|
-
if (Se(
|
|
578
|
-
for (var ie = 0; ie <
|
|
579
|
-
st(
|
|
580
|
-
Object.freeze && Object.freeze(
|
|
570
|
+
var F = sa(a, l, m, S, z);
|
|
571
|
+
if (F == null)
|
|
572
|
+
return F;
|
|
573
|
+
if (P) {
|
|
574
|
+
var ee = l.children;
|
|
575
|
+
if (ee !== void 0)
|
|
576
|
+
if (w)
|
|
577
|
+
if (Se(ee)) {
|
|
578
|
+
for (var ie = 0; ie < ee.length; ie++)
|
|
579
|
+
st(ee[ie], a);
|
|
580
|
+
Object.freeze && Object.freeze(ee);
|
|
581
581
|
} else
|
|
582
582
|
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
583
583
|
else
|
|
584
|
-
st(
|
|
584
|
+
st(ee, a);
|
|
585
585
|
}
|
|
586
586
|
if (oe.call(l, "key")) {
|
|
587
|
-
var se = M(a),
|
|
588
|
-
return
|
|
589
|
-
}), ze =
|
|
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
590
|
if (!nt[se + ze]) {
|
|
591
|
-
var
|
|
591
|
+
var fa = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
592
592
|
y(`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} />`, ze, se,
|
|
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 lt(a, l,
|
|
603
|
+
function ca(a, l, m) {
|
|
604
|
+
return lt(a, l, m, !0);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return lt(a, l,
|
|
606
|
+
function da(a, l, m) {
|
|
607
|
+
return lt(a, l, m, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
de.Fragment = n, de.jsx =
|
|
609
|
+
var ua = da, xa = ca;
|
|
610
|
+
de.Fragment = n, de.jsx = ua, de.jsxs = xa;
|
|
611
611
|
})()), de;
|
|
612
612
|
}
|
|
613
613
|
var ct;
|
|
614
|
-
function
|
|
615
|
-
return ct || (ct = 1, process.env.NODE_ENV === "production" ? je.exports =
|
|
614
|
+
function Na() {
|
|
615
|
+
return ct || (ct = 1, process.env.NODE_ENV === "production" ? je.exports = ja() : je.exports = ya()), je.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
|
-
}, dt =
|
|
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
|
-
var
|
|
629
|
-
for (n = 0; n <
|
|
628
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
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)) {
|
|
@@ -662,21 +662,21 @@ function we(t) {
|
|
|
662
662
|
for (var r = 1; r < arguments.length; r++) {
|
|
663
663
|
var s = arguments[r] != null ? arguments[r] : {};
|
|
664
664
|
r % 2 ? ut(Object(s), !0).forEach(function(n) {
|
|
665
|
-
|
|
665
|
+
La(t, n, s[n]);
|
|
666
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
|
-
function
|
|
673
|
-
return (r =
|
|
672
|
+
function La(t, r, s) {
|
|
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
|
|
676
|
-
var r =
|
|
675
|
+
function _a(t) {
|
|
676
|
+
var r = Ea(t, "string");
|
|
677
677
|
return typeof r == "symbol" ? r : r + "";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function Ea(t, r) {
|
|
680
680
|
if (typeof t != "object" || !t) return t;
|
|
681
681
|
var s = t[Symbol.toPrimitive];
|
|
682
682
|
if (s !== void 0) {
|
|
@@ -686,39 +686,39 @@ function _a(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, we({
|
|
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, Ne({
|
|
696
696
|
attr: we({}, 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,
|
|
702
|
-
return s.className && (
|
|
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", Ne({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
706
|
-
}, s.attr, n,
|
|
707
|
-
className:
|
|
706
|
+
}, s.attr, n, u, {
|
|
707
|
+
className: x,
|
|
708
708
|
style: we(we({
|
|
709
709
|
color: t.color || s.color
|
|
710
710
|
}, s.style), t.style),
|
|
711
711
|
height: f,
|
|
712
712
|
width: f,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
|
-
}),
|
|
714
|
+
}), o && /* @__PURE__ */ _.createElement("title", null, o), t.children);
|
|
715
715
|
};
|
|
716
|
-
return dt !== void 0 ? /* @__PURE__ */
|
|
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,36 +749,36 @@ const Sa = ba(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
),
|
|
752
|
+
), K = ha.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: t,
|
|
755
755
|
variant: r,
|
|
756
756
|
size: s,
|
|
757
757
|
iconOnly: n,
|
|
758
758
|
loading: i = !1,
|
|
759
|
-
disabled:
|
|
760
|
-
leftIcon:
|
|
759
|
+
disabled: o,
|
|
760
|
+
leftIcon: u,
|
|
761
761
|
rightIcon: f,
|
|
762
|
-
children:
|
|
763
|
-
type:
|
|
762
|
+
children: x,
|
|
763
|
+
type: b = "button",
|
|
764
764
|
...h
|
|
765
|
-
},
|
|
765
|
+
}, d) => /* @__PURE__ */ e.jsx(
|
|
766
766
|
"button",
|
|
767
767
|
{
|
|
768
|
-
ref:
|
|
769
|
-
type:
|
|
770
|
-
disabled:
|
|
771
|
-
className: c(
|
|
768
|
+
ref: d,
|
|
769
|
+
type: b,
|
|
770
|
+
disabled: o || i,
|
|
771
|
+
className: c(Ta({ variant: r, size: s, iconOnly: n }), t),
|
|
772
772
|
...h,
|
|
773
|
-
children: i ? /* @__PURE__ */ e.jsx(
|
|
774
|
-
x,
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(Sa, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
775
774
|
u,
|
|
775
|
+
x,
|
|
776
776
|
f
|
|
777
777
|
] })
|
|
778
778
|
}
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
|
-
|
|
781
|
+
K.displayName = "Button";
|
|
782
782
|
function $e(t) {
|
|
783
783
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
784
784
|
"div",
|
|
@@ -789,40 +789,40 @@ function $e(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
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 Fr = ({
|
|
811
811
|
quote: t,
|
|
812
812
|
authorName: r,
|
|
813
813
|
authorAvatarUrl: s,
|
|
814
814
|
meta: n,
|
|
815
815
|
rating: i = 5,
|
|
816
|
-
className:
|
|
817
|
-
...
|
|
816
|
+
className: o = "",
|
|
817
|
+
...u
|
|
818
818
|
}) => /* @__PURE__ */ e.jsxs(
|
|
819
819
|
"div",
|
|
820
820
|
{
|
|
821
821
|
className: c(
|
|
822
822
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
823
|
-
|
|
823
|
+
o
|
|
824
824
|
),
|
|
825
|
-
...
|
|
825
|
+
...u,
|
|
826
826
|
children: [
|
|
827
827
|
/* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125]", children: t }),
|
|
828
828
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-x-2.5", children: [
|
|
@@ -846,7 +846,7 @@ const Ar = ({
|
|
|
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,
|
|
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,25 +854,25 @@ const Ar = ({
|
|
|
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
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 ue(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
|
|
875
|
+
function Ia(t) {
|
|
876
876
|
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
877
|
}
|
|
878
878
|
function ke(t) {
|
|
@@ -881,10 +881,10 @@ function ke(t) {
|
|
|
881
881
|
function Ve(t) {
|
|
882
882
|
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(t);
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function Ma(t) {
|
|
885
885
|
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
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function $a(t) {
|
|
888
888
|
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
889
|
}
|
|
890
890
|
function He(t) {
|
|
@@ -893,29 +893,29 @@ function He(t) {
|
|
|
893
893
|
function We(t) {
|
|
894
894
|
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
895
|
}
|
|
896
|
-
const
|
|
896
|
+
const Va = ({
|
|
897
897
|
title: t = "अक्सर पूछे जाने वाले प्रश्न",
|
|
898
898
|
items: r,
|
|
899
899
|
initialVisibleCount: s = 6,
|
|
900
900
|
showCta: n = !0,
|
|
901
901
|
defaultExpanded: i = !1,
|
|
902
|
-
ctaExpandLabel:
|
|
903
|
-
ctaCollapseLabel:
|
|
902
|
+
ctaExpandLabel: o = "और देखें",
|
|
903
|
+
ctaCollapseLabel: u = "कम देखें",
|
|
904
904
|
defaultOpenIndex: f = -1,
|
|
905
|
-
className:
|
|
905
|
+
className: x = ""
|
|
906
906
|
}) => {
|
|
907
|
-
const [
|
|
907
|
+
const [b, h] = V(i), [d, v] = V(f), g = n && r.length > s, j = g && !b ? r.slice(0, s) : r;
|
|
908
908
|
return /* @__PURE__ */ e.jsxs(
|
|
909
909
|
"div",
|
|
910
910
|
{
|
|
911
911
|
className: c(
|
|
912
912
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
913
|
-
|
|
913
|
+
x
|
|
914
914
|
),
|
|
915
915
|
children: [
|
|
916
916
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
917
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((
|
|
918
|
-
const
|
|
917
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((L, C) => {
|
|
918
|
+
const N = d === C;
|
|
919
919
|
return /* @__PURE__ */ e.jsxs(
|
|
920
920
|
"div",
|
|
921
921
|
{
|
|
@@ -927,19 +927,19 @@ const $a = ({
|
|
|
927
927
|
type: "button",
|
|
928
928
|
className: c(
|
|
929
929
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
930
|
-
|
|
930
|
+
N ? "bg-[#f7f8f9]" : "bg-white"
|
|
931
931
|
),
|
|
932
|
-
onClick: () => v(
|
|
933
|
-
"aria-expanded":
|
|
934
|
-
"aria-controls": `faq-answer-${
|
|
935
|
-
id: `faq-question-${
|
|
932
|
+
onClick: () => v(N ? -1 : C),
|
|
933
|
+
"aria-expanded": N,
|
|
934
|
+
"aria-controls": `faq-answer-${C}`,
|
|
935
|
+
id: `faq-question-${C}`,
|
|
936
936
|
children: [
|
|
937
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children:
|
|
937
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: L.question }),
|
|
938
938
|
/* @__PURE__ */ e.jsx(
|
|
939
939
|
ke,
|
|
940
940
|
{
|
|
941
941
|
size: 24,
|
|
942
|
-
className: c("shrink-0 transition-transform duration-200",
|
|
942
|
+
className: c("shrink-0 transition-transform duration-200", N ? "rotate-180" : ""),
|
|
943
943
|
"aria-hidden": !0
|
|
944
944
|
}
|
|
945
945
|
)
|
|
@@ -949,55 +949,55 @@ const $a = ({
|
|
|
949
949
|
/* @__PURE__ */ e.jsx(
|
|
950
950
|
"div",
|
|
951
951
|
{
|
|
952
|
-
id: `faq-answer-${
|
|
952
|
+
id: `faq-answer-${C}`,
|
|
953
953
|
role: "region",
|
|
954
|
-
"aria-labelledby": `faq-question-${
|
|
955
|
-
hidden: !
|
|
954
|
+
"aria-labelledby": `faq-question-${C}`,
|
|
955
|
+
hidden: !N,
|
|
956
956
|
className: "bg-white p-3",
|
|
957
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
957
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: L.answer })
|
|
958
958
|
}
|
|
959
959
|
)
|
|
960
960
|
]
|
|
961
961
|
},
|
|
962
|
-
|
|
962
|
+
C
|
|
963
963
|
);
|
|
964
964
|
}) }),
|
|
965
|
-
|
|
966
|
-
|
|
965
|
+
g && /* @__PURE__ */ e.jsx(
|
|
966
|
+
K,
|
|
967
967
|
{
|
|
968
968
|
variant: "secondary",
|
|
969
969
|
size: "lg",
|
|
970
970
|
className: "w-full",
|
|
971
|
-
onClick: () => h((
|
|
972
|
-
"aria-expanded":
|
|
971
|
+
onClick: () => h((L) => !L),
|
|
972
|
+
"aria-expanded": b,
|
|
973
973
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
974
974
|
ke,
|
|
975
975
|
{
|
|
976
976
|
size: 24,
|
|
977
|
-
className: c("shrink-0 transition-transform duration-200",
|
|
977
|
+
className: c("shrink-0 transition-transform duration-200", b ? "rotate-180" : ""),
|
|
978
978
|
"aria-hidden": !0
|
|
979
979
|
}
|
|
980
980
|
),
|
|
981
|
-
children:
|
|
981
|
+
children: b ? u : o
|
|
982
982
|
}
|
|
983
983
|
)
|
|
984
984
|
]
|
|
985
985
|
}
|
|
986
986
|
);
|
|
987
|
-
},
|
|
988
|
-
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height:
|
|
989
|
-
const [f,
|
|
987
|
+
}, Ha = _.forwardRef(
|
|
988
|
+
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: o }, u) => {
|
|
989
|
+
const [f, x] = _.useState(!1), [b, h] = _.useState(!0), [d, v] = _.useState(!1), [g, j] = _.useState(0), [L, C] = _.useState(0), N = _.useRef(null), T = c(
|
|
990
990
|
"block w-full",
|
|
991
|
-
(i !== void 0 ||
|
|
992
|
-
),
|
|
993
|
-
const
|
|
994
|
-
j(
|
|
991
|
+
(i !== void 0 || o !== void 0) && "h-full object-cover"
|
|
992
|
+
), p = (O) => {
|
|
993
|
+
const H = Number(O.target.value);
|
|
994
|
+
j(H), N.current && (N.current.currentTime = H);
|
|
995
995
|
};
|
|
996
996
|
return /* @__PURE__ */ e.jsx(
|
|
997
997
|
"div",
|
|
998
998
|
{
|
|
999
|
-
ref:
|
|
1000
|
-
style: { width: i, height:
|
|
999
|
+
ref: u,
|
|
1000
|
+
style: { width: i, height: o },
|
|
1001
1001
|
className: c(
|
|
1002
1002
|
"relative w-full overflow-hidden",
|
|
1003
1003
|
n && "rounded-2xl",
|
|
@@ -1005,43 +1005,43 @@ const $a = ({
|
|
|
1005
1005
|
),
|
|
1006
1006
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1007
1007
|
/* @__PURE__ */ e.jsx(
|
|
1008
|
-
|
|
1008
|
+
va,
|
|
1009
1009
|
{
|
|
1010
|
-
ref:
|
|
1010
|
+
ref: N,
|
|
1011
1011
|
src: t,
|
|
1012
1012
|
poster: r,
|
|
1013
|
-
playing:
|
|
1014
|
-
muted:
|
|
1013
|
+
playing: b,
|
|
1014
|
+
muted: d,
|
|
1015
1015
|
width: i,
|
|
1016
|
-
height:
|
|
1017
|
-
className:
|
|
1016
|
+
height: o,
|
|
1017
|
+
className: T,
|
|
1018
1018
|
onTimeUpdate: (O) => j(O.currentTarget.currentTime),
|
|
1019
|
-
onDurationChange: (O) =>
|
|
1019
|
+
onDurationChange: (O) => C(O.currentTarget.duration),
|
|
1020
1020
|
onEnded: () => h(!1)
|
|
1021
1021
|
}
|
|
1022
1022
|
),
|
|
1023
1023
|
/* @__PURE__ */ e.jsx(
|
|
1024
|
-
|
|
1024
|
+
K,
|
|
1025
1025
|
{
|
|
1026
1026
|
variant: "ghost",
|
|
1027
1027
|
iconOnly: !0,
|
|
1028
1028
|
size: "lg",
|
|
1029
|
-
"aria-label":
|
|
1029
|
+
"aria-label": b ? "Pause" : "Play",
|
|
1030
1030
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1031
1031
|
onClick: () => h((O) => !O),
|
|
1032
|
-
children:
|
|
1032
|
+
children: b ? /* @__PURE__ */ e.jsx(Aa, { size: 16 }) : /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1033
1033
|
}
|
|
1034
1034
|
),
|
|
1035
1035
|
/* @__PURE__ */ e.jsx(
|
|
1036
|
-
|
|
1036
|
+
K,
|
|
1037
1037
|
{
|
|
1038
1038
|
variant: "ghost",
|
|
1039
1039
|
iconOnly: !0,
|
|
1040
1040
|
size: "sm",
|
|
1041
|
-
"aria-label":
|
|
1041
|
+
"aria-label": d ? "Unmute" : "Mute",
|
|
1042
1042
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1043
1043
|
onClick: () => v((O) => !O),
|
|
1044
|
-
children:
|
|
1044
|
+
children: d ? /* @__PURE__ */ e.jsx(Oa, { size: 14 }) : /* @__PURE__ */ e.jsx(Ra, { size: 14 })
|
|
1045
1045
|
}
|
|
1046
1046
|
),
|
|
1047
1047
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1049,26 +1049,26 @@ const $a = ({
|
|
|
1049
1049
|
{
|
|
1050
1050
|
type: "range",
|
|
1051
1051
|
min: 0,
|
|
1052
|
-
max:
|
|
1052
|
+
max: L || 0,
|
|
1053
1053
|
step: 0.1,
|
|
1054
|
-
value:
|
|
1055
|
-
onChange:
|
|
1054
|
+
value: g,
|
|
1055
|
+
onChange: p,
|
|
1056
1056
|
"aria-label": "Seek",
|
|
1057
1057
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
1058
1058
|
}
|
|
1059
1059
|
)
|
|
1060
1060
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1061
|
-
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className:
|
|
1061
|
+
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: T }),
|
|
1062
1062
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
1063
1063
|
/* @__PURE__ */ e.jsx(
|
|
1064
|
-
|
|
1064
|
+
K,
|
|
1065
1065
|
{
|
|
1066
1066
|
variant: "ghost",
|
|
1067
1067
|
iconOnly: !0,
|
|
1068
1068
|
size: "lg",
|
|
1069
1069
|
"aria-label": "Play video",
|
|
1070
1070
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1071
|
-
onClick: () =>
|
|
1071
|
+
onClick: () => x(!0),
|
|
1072
1072
|
children: /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1073
1073
|
}
|
|
1074
1074
|
)
|
|
@@ -1077,46 +1077,46 @@ const $a = ({
|
|
|
1077
1077
|
);
|
|
1078
1078
|
}
|
|
1079
1079
|
);
|
|
1080
|
-
|
|
1081
|
-
const
|
|
1080
|
+
Ha.displayName = "VideoPlayer";
|
|
1081
|
+
const Wa = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Bt = _.forwardRef(
|
|
1082
1082
|
({
|
|
1083
1083
|
options: t,
|
|
1084
1084
|
value: r,
|
|
1085
1085
|
onChange: s,
|
|
1086
1086
|
defaultOpen: n = !1,
|
|
1087
1087
|
open: i,
|
|
1088
|
-
onOpenChange:
|
|
1089
|
-
className:
|
|
1088
|
+
onOpenChange: o,
|
|
1089
|
+
className: u = "",
|
|
1090
1090
|
triggerClassName: f = "",
|
|
1091
|
-
menuClassName:
|
|
1092
|
-
...
|
|
1091
|
+
menuClassName: x = "",
|
|
1092
|
+
...b
|
|
1093
1093
|
}, h) => {
|
|
1094
|
-
const [
|
|
1094
|
+
const [d, v] = _.useState(n), g = i !== void 0, j = g ? i : d, L = _.useCallback(
|
|
1095
1095
|
(y) => {
|
|
1096
|
-
|
|
1096
|
+
g || v(y), o?.(y);
|
|
1097
1097
|
},
|
|
1098
|
-
[
|
|
1099
|
-
),
|
|
1100
|
-
|
|
1098
|
+
[g, o]
|
|
1099
|
+
), C = _.useRef(null);
|
|
1100
|
+
_.useImperativeHandle(h, () => C.current), _.useEffect(() => {
|
|
1101
1101
|
if (!j) return;
|
|
1102
|
-
const y = (
|
|
1103
|
-
|
|
1104
|
-
},
|
|
1105
|
-
|
|
1102
|
+
const y = (p) => {
|
|
1103
|
+
C.current?.contains(p.target) || L(!1);
|
|
1104
|
+
}, T = (p) => {
|
|
1105
|
+
p.key === "Escape" && L(!1);
|
|
1106
1106
|
};
|
|
1107
|
-
return document.addEventListener("mousedown", y), document.addEventListener("keydown",
|
|
1108
|
-
document.removeEventListener("mousedown", y), document.removeEventListener("keydown",
|
|
1107
|
+
return document.addEventListener("mousedown", y), document.addEventListener("keydown", T), () => {
|
|
1108
|
+
document.removeEventListener("mousedown", y), document.removeEventListener("keydown", T);
|
|
1109
1109
|
};
|
|
1110
|
-
}, [j,
|
|
1111
|
-
const
|
|
1112
|
-
s?.(y.value),
|
|
1110
|
+
}, [j, L]);
|
|
1111
|
+
const N = (y) => {
|
|
1112
|
+
s?.(y.value), L(!1);
|
|
1113
1113
|
};
|
|
1114
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1114
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: C, className: c("relative inline-block", u), ...b, children: [
|
|
1115
1115
|
/* @__PURE__ */ e.jsxs(
|
|
1116
1116
|
"button",
|
|
1117
1117
|
{
|
|
1118
1118
|
type: "button",
|
|
1119
|
-
onClick: () =>
|
|
1119
|
+
onClick: () => L(!j),
|
|
1120
1120
|
"aria-label": "Switch language",
|
|
1121
1121
|
"aria-haspopup": "listbox",
|
|
1122
1122
|
"aria-expanded": j,
|
|
@@ -1125,7 +1125,7 @@ const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1125
1125
|
f
|
|
1126
1126
|
),
|
|
1127
1127
|
children: [
|
|
1128
|
-
/* @__PURE__ */ e.jsx(
|
|
1128
|
+
/* @__PURE__ */ e.jsx(Wa, {}),
|
|
1129
1129
|
/* @__PURE__ */ e.jsx(
|
|
1130
1130
|
ke,
|
|
1131
1131
|
{
|
|
@@ -1143,18 +1143,18 @@ const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1143
1143
|
role: "listbox",
|
|
1144
1144
|
className: c(
|
|
1145
1145
|
"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
|
-
|
|
1146
|
+
x
|
|
1147
1147
|
),
|
|
1148
1148
|
children: t.map((y) => {
|
|
1149
|
-
const
|
|
1150
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
1149
|
+
const T = y.value === r;
|
|
1150
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": T, children: /* @__PURE__ */ e.jsx(
|
|
1151
1151
|
"button",
|
|
1152
1152
|
{
|
|
1153
1153
|
type: "button",
|
|
1154
|
-
onClick: () =>
|
|
1154
|
+
onClick: () => N(y),
|
|
1155
1155
|
className: c(
|
|
1156
1156
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1157
|
-
|
|
1157
|
+
T ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1158
1158
|
),
|
|
1159
1159
|
children: y.label
|
|
1160
1160
|
}
|
|
@@ -1165,21 +1165,21 @@ const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1165
1165
|
] });
|
|
1166
1166
|
}
|
|
1167
1167
|
);
|
|
1168
|
-
|
|
1169
|
-
function
|
|
1168
|
+
Bt.displayName = "LanguageSwitcher";
|
|
1169
|
+
function Br({
|
|
1170
1170
|
onBackClick: t,
|
|
1171
1171
|
backButtonAriaLabel: r = "Go back",
|
|
1172
1172
|
locale: s,
|
|
1173
1173
|
localeOptions: n,
|
|
1174
1174
|
onLocaleChange: i,
|
|
1175
|
-
className:
|
|
1175
|
+
className: o
|
|
1176
1176
|
}) {
|
|
1177
1177
|
return /* @__PURE__ */ e.jsxs(
|
|
1178
1178
|
"div",
|
|
1179
1179
|
{
|
|
1180
1180
|
className: c(
|
|
1181
1181
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
1182
|
-
|
|
1182
|
+
o
|
|
1183
1183
|
),
|
|
1184
1184
|
children: [
|
|
1185
1185
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1193,7 +1193,7 @@ function Fr({
|
|
|
1193
1193
|
}
|
|
1194
1194
|
),
|
|
1195
1195
|
/* @__PURE__ */ e.jsx(
|
|
1196
|
-
|
|
1196
|
+
Bt,
|
|
1197
1197
|
{
|
|
1198
1198
|
options: n,
|
|
1199
1199
|
value: s,
|
|
@@ -1205,12 +1205,12 @@ function Fr({
|
|
|
1205
1205
|
}
|
|
1206
1206
|
);
|
|
1207
1207
|
}
|
|
1208
|
-
const
|
|
1209
|
-
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type:
|
|
1208
|
+
const Ua = _.forwardRef(
|
|
1209
|
+
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: o = "button", ...u }, f) => /* @__PURE__ */ e.jsxs(
|
|
1210
1210
|
"button",
|
|
1211
1211
|
{
|
|
1212
1212
|
ref: f,
|
|
1213
|
-
type:
|
|
1213
|
+
type: o,
|
|
1214
1214
|
onClick: s,
|
|
1215
1215
|
"aria-pressed": r,
|
|
1216
1216
|
className: c(
|
|
@@ -1218,7 +1218,7 @@ const Wa = E.forwardRef(
|
|
|
1218
1218
|
r ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
|
|
1219
1219
|
i
|
|
1220
1220
|
),
|
|
1221
|
-
...
|
|
1221
|
+
...u,
|
|
1222
1222
|
children: [
|
|
1223
1223
|
n,
|
|
1224
1224
|
t
|
|
@@ -1226,15 +1226,15 @@ const Wa = E.forwardRef(
|
|
|
1226
1226
|
}
|
|
1227
1227
|
)
|
|
1228
1228
|
);
|
|
1229
|
-
|
|
1230
|
-
const
|
|
1229
|
+
Ua.displayName = "Chip";
|
|
1230
|
+
const Dr = ({
|
|
1231
1231
|
quote: t,
|
|
1232
1232
|
currentStep: r,
|
|
1233
1233
|
totalSteps: s,
|
|
1234
1234
|
className: n,
|
|
1235
1235
|
...i
|
|
1236
1236
|
}) => {
|
|
1237
|
-
const
|
|
1237
|
+
const o = s > 0 ? Math.min(100, Math.max(0, r / s * 100)) : 0;
|
|
1238
1238
|
return /* @__PURE__ */ e.jsxs("div", { className: c("step-progress-header", n), ...i, children: [
|
|
1239
1239
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
1240
1240
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
@@ -1243,14 +1243,14 @@ const Br = ({
|
|
|
1243
1243
|
"div",
|
|
1244
1244
|
{
|
|
1245
1245
|
className: "step-progress-header__track-fill",
|
|
1246
|
-
style: { width: `${
|
|
1246
|
+
style: { width: `${o}%` }
|
|
1247
1247
|
}
|
|
1248
1248
|
),
|
|
1249
1249
|
/* @__PURE__ */ e.jsx(
|
|
1250
1250
|
"div",
|
|
1251
1251
|
{
|
|
1252
1252
|
className: "step-progress-header__track-marker",
|
|
1253
|
-
style: { left: `${
|
|
1253
|
+
style: { left: `${o}%` },
|
|
1254
1254
|
children: /* @__PURE__ */ e.jsx(
|
|
1255
1255
|
"img",
|
|
1256
1256
|
{
|
|
@@ -1271,13 +1271,13 @@ const Br = ({
|
|
|
1271
1271
|
] })
|
|
1272
1272
|
] });
|
|
1273
1273
|
};
|
|
1274
|
-
function
|
|
1274
|
+
function Ga(t) {
|
|
1275
1275
|
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
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function Ya(t) {
|
|
1278
1278
|
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
1279
|
}
|
|
1280
|
-
const pt = 1.25,
|
|
1280
|
+
const pt = 1.25, mt = [
|
|
1281
1281
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1282
1282
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1283
1283
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1285,7 +1285,7 @@ const pt = 1.25, ht = [
|
|
|
1285
1285
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1286
1286
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1287
1287
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1288
|
-
],
|
|
1288
|
+
], qa = ({
|
|
1289
1289
|
animate: t,
|
|
1290
1290
|
iconIndex: r
|
|
1291
1291
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1297,7 +1297,7 @@ const pt = 1.25, ht = [
|
|
|
1297
1297
|
fill: "none",
|
|
1298
1298
|
"aria-hidden": !0,
|
|
1299
1299
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1300
|
-
children:
|
|
1300
|
+
children: mt.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1301
1301
|
"rect",
|
|
1302
1302
|
{
|
|
1303
1303
|
x: s.x,
|
|
@@ -1308,34 +1308,34 @@ const pt = 1.25, ht = [
|
|
|
1308
1308
|
fill: "#6B7280",
|
|
1309
1309
|
className: t ? "wave-bar-anim" : "",
|
|
1310
1310
|
style: {
|
|
1311
|
-
animationDelay: `${(r *
|
|
1311
|
+
animationDelay: `${(r * mt.length + n) * 60}ms`
|
|
1312
1312
|
}
|
|
1313
1313
|
},
|
|
1314
1314
|
n
|
|
1315
1315
|
))
|
|
1316
1316
|
}
|
|
1317
|
-
),
|
|
1317
|
+
), Ir = ({
|
|
1318
1318
|
avatarUrl: t,
|
|
1319
1319
|
question: r,
|
|
1320
1320
|
description: s,
|
|
1321
1321
|
audioSrc: n,
|
|
1322
1322
|
className: i,
|
|
1323
|
-
...
|
|
1323
|
+
...o
|
|
1324
1324
|
}) => {
|
|
1325
|
-
const
|
|
1326
|
-
|
|
1327
|
-
!n || f.current || (f.current = !0,
|
|
1325
|
+
const u = _.useRef(null), f = _.useRef(!1), [x, b] = _.useState(!1), [h, d] = _.useState(!1);
|
|
1326
|
+
_.useEffect(() => {
|
|
1327
|
+
!n || f.current || (f.current = !0, u.current?.play().catch(() => {
|
|
1328
1328
|
}));
|
|
1329
1329
|
}, [n]);
|
|
1330
1330
|
const v = () => {
|
|
1331
|
-
const
|
|
1332
|
-
|
|
1331
|
+
const g = u.current;
|
|
1332
|
+
g && (g.muted = !g.muted, b(g.muted));
|
|
1333
1333
|
};
|
|
1334
1334
|
return /* @__PURE__ */ e.jsxs(
|
|
1335
1335
|
"div",
|
|
1336
1336
|
{
|
|
1337
1337
|
className: c("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
1338
|
-
...
|
|
1338
|
+
...o,
|
|
1339
1339
|
children: [
|
|
1340
1340
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
1341
1341
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1379,11 +1379,11 @@ const pt = 1.25, ht = [
|
|
|
1379
1379
|
/* @__PURE__ */ e.jsx(
|
|
1380
1380
|
"audio",
|
|
1381
1381
|
{
|
|
1382
|
-
ref:
|
|
1382
|
+
ref: u,
|
|
1383
1383
|
src: n,
|
|
1384
|
-
onPlay: () =>
|
|
1385
|
-
onPause: () =>
|
|
1386
|
-
onEnded: () =>
|
|
1384
|
+
onPlay: () => d(!0),
|
|
1385
|
+
onPause: () => d(!1),
|
|
1386
|
+
onEnded: () => d(!1)
|
|
1387
1387
|
}
|
|
1388
1388
|
),
|
|
1389
1389
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1391,19 +1391,19 @@ const pt = 1.25, ht = [
|
|
|
1391
1391
|
{
|
|
1392
1392
|
type: "button",
|
|
1393
1393
|
onClick: v,
|
|
1394
|
-
"aria-label":
|
|
1395
|
-
"aria-pressed":
|
|
1394
|
+
"aria-label": x ? "Unmute" : "Mute",
|
|
1395
|
+
"aria-pressed": x,
|
|
1396
1396
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1397
|
-
children:
|
|
1397
|
+
children: x ? /* @__PURE__ */ e.jsx(Ya, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(Ga, { size: 18, className: "text-[#f75e22]" })
|
|
1398
1398
|
}
|
|
1399
1399
|
),
|
|
1400
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((
|
|
1401
|
-
|
|
1400
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1401
|
+
qa,
|
|
1402
1402
|
{
|
|
1403
|
-
animate: h && !
|
|
1404
|
-
iconIndex:
|
|
1403
|
+
animate: h && !x,
|
|
1404
|
+
iconIndex: g
|
|
1405
1405
|
},
|
|
1406
|
-
|
|
1406
|
+
g
|
|
1407
1407
|
)) })
|
|
1408
1408
|
] })
|
|
1409
1409
|
] })
|
|
@@ -1411,57 +1411,57 @@ const pt = 1.25, ht = [
|
|
|
1411
1411
|
]
|
|
1412
1412
|
}
|
|
1413
1413
|
);
|
|
1414
|
-
},
|
|
1414
|
+
}, Ka = {
|
|
1415
1415
|
sm: "size-9",
|
|
1416
1416
|
md: "size-11",
|
|
1417
1417
|
lg: "size-16"
|
|
1418
|
-
}, _e =
|
|
1419
|
-
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...
|
|
1418
|
+
}, _e = _.forwardRef(
|
|
1419
|
+
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...o }, u) => /* @__PURE__ */ e.jsx(
|
|
1420
1420
|
"div",
|
|
1421
1421
|
{
|
|
1422
|
-
ref:
|
|
1422
|
+
ref: u,
|
|
1423
1423
|
className: c(
|
|
1424
1424
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1425
|
-
|
|
1425
|
+
Ka[n],
|
|
1426
1426
|
!r && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1427
1427
|
i
|
|
1428
1428
|
),
|
|
1429
1429
|
"aria-hidden": r ? void 0 : !0,
|
|
1430
|
-
...
|
|
1430
|
+
...o,
|
|
1431
1431
|
children: r ? /* @__PURE__ */ e.jsx("img", { src: r, alt: s, className: "size-full object-cover" }) : t
|
|
1432
1432
|
}
|
|
1433
1433
|
)
|
|
1434
1434
|
);
|
|
1435
1435
|
_e.displayName = "IconBadge";
|
|
1436
|
-
const
|
|
1436
|
+
const Dt = _.forwardRef(
|
|
1437
1437
|
({
|
|
1438
1438
|
selected: t = !1,
|
|
1439
1439
|
onSelect: r,
|
|
1440
1440
|
icon: s,
|
|
1441
1441
|
avatarUrl: n,
|
|
1442
1442
|
iconSize: i = "md",
|
|
1443
|
-
iconClassName:
|
|
1444
|
-
title:
|
|
1443
|
+
iconClassName: o,
|
|
1444
|
+
title: u,
|
|
1445
1445
|
description: f,
|
|
1446
|
-
badge:
|
|
1447
|
-
showRadio:
|
|
1446
|
+
badge: x,
|
|
1447
|
+
showRadio: b = !0,
|
|
1448
1448
|
radioVariant: h = "dot",
|
|
1449
|
-
radioClassName:
|
|
1449
|
+
radioClassName: d,
|
|
1450
1450
|
tag: v,
|
|
1451
|
-
tagClassName:
|
|
1451
|
+
tagClassName: g,
|
|
1452
1452
|
children: j,
|
|
1453
|
-
className:
|
|
1454
|
-
disabled:
|
|
1455
|
-
type:
|
|
1453
|
+
className: L,
|
|
1454
|
+
disabled: C,
|
|
1455
|
+
type: N = "button",
|
|
1456
1456
|
...y
|
|
1457
|
-
},
|
|
1457
|
+
}, T) => /* @__PURE__ */ e.jsxs(
|
|
1458
1458
|
"div",
|
|
1459
1459
|
{
|
|
1460
1460
|
className: c(
|
|
1461
1461
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1462
1462
|
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1463
|
-
|
|
1464
|
-
|
|
1463
|
+
C && "opacity-50",
|
|
1464
|
+
L
|
|
1465
1465
|
),
|
|
1466
1466
|
children: [
|
|
1467
1467
|
v && /* @__PURE__ */ e.jsx(
|
|
@@ -1469,7 +1469,7 @@ const Bt = E.forwardRef(
|
|
|
1469
1469
|
{
|
|
1470
1470
|
className: c(
|
|
1471
1471
|
"absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",
|
|
1472
|
-
|
|
1472
|
+
g
|
|
1473
1473
|
),
|
|
1474
1474
|
children: v
|
|
1475
1475
|
}
|
|
@@ -1477,11 +1477,11 @@ const Bt = E.forwardRef(
|
|
|
1477
1477
|
/* @__PURE__ */ e.jsxs(
|
|
1478
1478
|
"button",
|
|
1479
1479
|
{
|
|
1480
|
-
ref:
|
|
1481
|
-
type:
|
|
1480
|
+
ref: T,
|
|
1481
|
+
type: N,
|
|
1482
1482
|
role: "radio",
|
|
1483
1483
|
"aria-checked": t,
|
|
1484
|
-
disabled:
|
|
1484
|
+
disabled: C,
|
|
1485
1485
|
onClick: r,
|
|
1486
1486
|
className: c(
|
|
1487
1487
|
"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",
|
|
@@ -1489,19 +1489,19 @@ const Bt = E.forwardRef(
|
|
|
1489
1489
|
),
|
|
1490
1490
|
...y,
|
|
1491
1491
|
children: [
|
|
1492
|
-
(s || n) && /* @__PURE__ */ e.jsx(_e, { icon: s, avatarUrl: n, size: i, className:
|
|
1492
|
+
(s || n) && /* @__PURE__ */ e.jsx(_e, { icon: s, avatarUrl: n, size: i, className: o }),
|
|
1493
1493
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1494
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children:
|
|
1494
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: u }),
|
|
1495
1495
|
f && !j && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
|
|
1496
1496
|
] }),
|
|
1497
|
-
|
|
1498
|
-
|
|
1497
|
+
x && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: x }),
|
|
1498
|
+
b && /* @__PURE__ */ e.jsxs(
|
|
1499
1499
|
"span",
|
|
1500
1500
|
{
|
|
1501
1501
|
"aria-hidden": !0,
|
|
1502
1502
|
className: c(
|
|
1503
1503
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1504
|
-
t ? h === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",
|
|
1504
|
+
t ? h === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1505
1505
|
),
|
|
1506
1506
|
children: [
|
|
1507
1507
|
t && h === "dot" && /* @__PURE__ */ e.jsx(
|
|
@@ -1509,7 +1509,7 @@ const Bt = E.forwardRef(
|
|
|
1509
1509
|
{
|
|
1510
1510
|
className: c(
|
|
1511
1511
|
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1512
|
-
|
|
1512
|
+
d
|
|
1513
1513
|
)
|
|
1514
1514
|
}
|
|
1515
1515
|
),
|
|
@@ -1525,8 +1525,8 @@ const Bt = E.forwardRef(
|
|
|
1525
1525
|
}
|
|
1526
1526
|
)
|
|
1527
1527
|
);
|
|
1528
|
-
|
|
1529
|
-
const
|
|
1528
|
+
Dt.displayName = "SelectorCard";
|
|
1529
|
+
const Mr = ({
|
|
1530
1530
|
value: t,
|
|
1531
1531
|
onClick: r,
|
|
1532
1532
|
className: s,
|
|
@@ -1544,11 +1544,11 @@ const Ir = ({
|
|
|
1544
1544
|
),
|
|
1545
1545
|
...n,
|
|
1546
1546
|
children: [
|
|
1547
|
-
/* @__PURE__ */ e.jsx(
|
|
1547
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1548
1548
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
1549
1549
|
]
|
|
1550
1550
|
}
|
|
1551
|
-
),
|
|
1551
|
+
), $r = ({
|
|
1552
1552
|
value: t,
|
|
1553
1553
|
onInfoClick: r,
|
|
1554
1554
|
infoLabel: s = "More info",
|
|
@@ -1576,7 +1576,7 @@ const Ir = ({
|
|
|
1576
1576
|
) : /* @__PURE__ */ e.jsx(ue, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1577
1577
|
]
|
|
1578
1578
|
}
|
|
1579
|
-
),
|
|
1579
|
+
), Za = ({
|
|
1580
1580
|
value: t,
|
|
1581
1581
|
className: r,
|
|
1582
1582
|
...s
|
|
@@ -1590,7 +1590,7 @@ const Ir = ({
|
|
|
1590
1590
|
...s,
|
|
1591
1591
|
children: t
|
|
1592
1592
|
}
|
|
1593
|
-
),
|
|
1593
|
+
), Ja = ({ className: t, children: r, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1594
1594
|
"div",
|
|
1595
1595
|
{
|
|
1596
1596
|
className: c(
|
|
@@ -1600,14 +1600,14 @@ const Ir = ({
|
|
|
1600
1600
|
...s,
|
|
1601
1601
|
children: r
|
|
1602
1602
|
}
|
|
1603
|
-
),
|
|
1603
|
+
), Vr = ({
|
|
1604
1604
|
value: t,
|
|
1605
1605
|
onIncrement: r,
|
|
1606
1606
|
onDecrement: s,
|
|
1607
1607
|
min: n = 0,
|
|
1608
1608
|
max: i,
|
|
1609
|
-
addLabel:
|
|
1610
|
-
className:
|
|
1609
|
+
addLabel: o = "Add",
|
|
1610
|
+
className: u
|
|
1611
1611
|
}) => t <= n ? /* @__PURE__ */ e.jsxs(
|
|
1612
1612
|
"button",
|
|
1613
1613
|
{
|
|
@@ -1615,11 +1615,11 @@ const Ir = ({
|
|
|
1615
1615
|
onClick: r,
|
|
1616
1616
|
className: c(
|
|
1617
1617
|
"inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",
|
|
1618
|
-
|
|
1618
|
+
u
|
|
1619
1619
|
),
|
|
1620
1620
|
children: [
|
|
1621
1621
|
/* @__PURE__ */ e.jsx(ft, { size: 20, "aria-hidden": !0 }),
|
|
1622
|
-
|
|
1622
|
+
o
|
|
1623
1623
|
]
|
|
1624
1624
|
}
|
|
1625
1625
|
) : /* @__PURE__ */ e.jsxs(
|
|
@@ -1627,7 +1627,7 @@ const Ir = ({
|
|
|
1627
1627
|
{
|
|
1628
1628
|
className: c(
|
|
1629
1629
|
"inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",
|
|
1630
|
-
|
|
1630
|
+
u
|
|
1631
1631
|
),
|
|
1632
1632
|
children: [
|
|
1633
1633
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1637,7 +1637,7 @@ const Ir = ({
|
|
|
1637
1637
|
onClick: s,
|
|
1638
1638
|
"aria-label": "Decrease quantity",
|
|
1639
1639
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1640
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1640
|
+
children: /* @__PURE__ */ e.jsx(Da, { size: 18, "aria-hidden": !0 })
|
|
1641
1641
|
}
|
|
1642
1642
|
),
|
|
1643
1643
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center text-base font-bold", children: t }),
|
|
@@ -1654,7 +1654,7 @@ const Ir = ({
|
|
|
1654
1654
|
)
|
|
1655
1655
|
]
|
|
1656
1656
|
}
|
|
1657
|
-
),
|
|
1657
|
+
), ht = {
|
|
1658
1658
|
en: {
|
|
1659
1659
|
headerTitle: "Review your booking",
|
|
1660
1660
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1679,19 +1679,19 @@ const Ir = ({
|
|
|
1679
1679
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1680
1680
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1681
1681
|
}
|
|
1682
|
-
}, Ce = (t) =>
|
|
1682
|
+
}, Ce = (t) => ht[t] ?? ht.en, It = ({
|
|
1683
1683
|
title: t,
|
|
1684
1684
|
description: r,
|
|
1685
1685
|
price: s,
|
|
1686
1686
|
originalPrice: n,
|
|
1687
1687
|
action: i,
|
|
1688
|
-
className:
|
|
1689
|
-
...
|
|
1688
|
+
className: o,
|
|
1689
|
+
...u
|
|
1690
1690
|
}) => /* @__PURE__ */ e.jsx(
|
|
1691
1691
|
"div",
|
|
1692
1692
|
{
|
|
1693
|
-
className: c("rounded-2xl border border-gray-200 bg-white p-4",
|
|
1694
|
-
...
|
|
1693
|
+
className: c("rounded-2xl border border-gray-200 bg-white p-4", o),
|
|
1694
|
+
...u,
|
|
1695
1695
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1696
1696
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1697
1697
|
/* @__PURE__ */ e.jsx("p", { className: "text-[15px] leading-5 font-bold text-[#1d2125]", children: t }),
|
|
@@ -1706,10 +1706,10 @@ const Ir = ({
|
|
|
1706
1706
|
] })
|
|
1707
1707
|
] })
|
|
1708
1708
|
}
|
|
1709
|
-
),
|
|
1709
|
+
), Xa = ({ locale: t = "en", ...r }) => {
|
|
1710
1710
|
const { mandapTitle: s, mandapDescription: n } = Ce(t);
|
|
1711
|
-
return /* @__PURE__ */ e.jsx(
|
|
1712
|
-
},
|
|
1711
|
+
return /* @__PURE__ */ e.jsx(It, { title: s, description: n, ...r });
|
|
1712
|
+
}, Hr = ({
|
|
1713
1713
|
children: t = "Change",
|
|
1714
1714
|
className: r,
|
|
1715
1715
|
type: s = "button",
|
|
@@ -1724,17 +1724,17 @@ const Ir = ({
|
|
|
1724
1724
|
),
|
|
1725
1725
|
...n,
|
|
1726
1726
|
children: [
|
|
1727
|
-
/* @__PURE__ */ e.jsx(
|
|
1727
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 14, "aria-hidden": !0 }),
|
|
1728
1728
|
t
|
|
1729
1729
|
]
|
|
1730
1730
|
}
|
|
1731
|
-
),
|
|
1731
|
+
), Wr = ({
|
|
1732
1732
|
locale: t = "en",
|
|
1733
1733
|
isAdded: r = !0,
|
|
1734
1734
|
children: s,
|
|
1735
1735
|
className: n,
|
|
1736
1736
|
type: i = "button",
|
|
1737
|
-
...
|
|
1737
|
+
...o
|
|
1738
1738
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1739
1739
|
"button",
|
|
1740
1740
|
{
|
|
@@ -1743,41 +1743,41 @@ const Ir = ({
|
|
|
1743
1743
|
"inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600 transition-colors hover:bg-emerald-50",
|
|
1744
1744
|
n
|
|
1745
1745
|
),
|
|
1746
|
-
...
|
|
1746
|
+
...o,
|
|
1747
1747
|
children: [
|
|
1748
1748
|
r && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 }),
|
|
1749
1749
|
s ?? (r ? Ce(t).addedLabel : Ce(t).addLabel)
|
|
1750
1750
|
]
|
|
1751
1751
|
}
|
|
1752
|
-
),
|
|
1752
|
+
), Qa = ({
|
|
1753
1753
|
image: t,
|
|
1754
1754
|
imageAlt: r = "",
|
|
1755
1755
|
title: s,
|
|
1756
1756
|
description: n,
|
|
1757
1757
|
price: i,
|
|
1758
|
-
originalPrice:
|
|
1759
|
-
tag:
|
|
1758
|
+
originalPrice: o,
|
|
1759
|
+
tag: u,
|
|
1760
1760
|
tagClassName: f,
|
|
1761
|
-
action:
|
|
1762
|
-
className:
|
|
1761
|
+
action: x,
|
|
1762
|
+
className: b,
|
|
1763
1763
|
...h
|
|
1764
1764
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1765
1765
|
"div",
|
|
1766
1766
|
{
|
|
1767
1767
|
className: c(
|
|
1768
1768
|
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1769
|
-
|
|
1769
|
+
b
|
|
1770
1770
|
),
|
|
1771
1771
|
...h,
|
|
1772
1772
|
children: [
|
|
1773
|
-
|
|
1773
|
+
u && /* @__PURE__ */ e.jsx(
|
|
1774
1774
|
"div",
|
|
1775
1775
|
{
|
|
1776
1776
|
className: c(
|
|
1777
1777
|
"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",
|
|
1778
1778
|
f
|
|
1779
1779
|
),
|
|
1780
|
-
children:
|
|
1780
|
+
children: u
|
|
1781
1781
|
}
|
|
1782
1782
|
),
|
|
1783
1783
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
|
|
@@ -1786,57 +1786,66 @@ const Ir = ({
|
|
|
1786
1786
|
n && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1787
1787
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1788
1788
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
|
|
1789
|
-
|
|
1789
|
+
o && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: o })
|
|
1790
1790
|
] })
|
|
1791
1791
|
] }),
|
|
1792
1792
|
/* @__PURE__ */ e.jsxs("div", { className: "relative w-30 h-34.25 shrink-0", children: [
|
|
1793
1793
|
/* @__PURE__ */ e.jsx("img", { src: t, alt: r, className: "size-30 rounded-2xl object-cover" }),
|
|
1794
|
-
|
|
1794
|
+
x && /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-1/2 -translate-x-1/2", children: x })
|
|
1795
1795
|
] })
|
|
1796
1796
|
] })
|
|
1797
1797
|
]
|
|
1798
1798
|
}
|
|
1799
1799
|
);
|
|
1800
|
-
function
|
|
1800
|
+
function Mt(t) {
|
|
1801
1801
|
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);
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function $t(t) {
|
|
1804
1804
|
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);
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function Vt(t) {
|
|
1807
1807
|
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);
|
|
1808
1808
|
}
|
|
1809
|
-
const
|
|
1810
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1811
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1812
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1813
|
-
],
|
|
1814
|
-
|
|
1809
|
+
const er = [
|
|
1810
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1811
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1812
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1813
|
+
], bt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1814
|
+
"span",
|
|
1815
|
+
{
|
|
1816
|
+
className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
1817
|
+
children: [
|
|
1818
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: t.icon }),
|
|
1819
|
+
t.label
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1822
|
+
r
|
|
1823
|
+
), tr = ({
|
|
1824
|
+
badges: t = er,
|
|
1815
1825
|
badgeClassName: r,
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1826
|
+
marquee: s = !0,
|
|
1827
|
+
marqueeDurationSeconds: n = 14,
|
|
1828
|
+
className: i,
|
|
1829
|
+
...o
|
|
1830
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: c("overflow-hidden bg-[#f3f5f7] px-4 py-3", i), ...o, children: /* @__PURE__ */ e.jsx(
|
|
1831
|
+
"div",
|
|
1832
|
+
{
|
|
1833
|
+
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1834
|
+
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1835
|
+
children: [...t, ...t].map((u, f) => bt(u, `${u.id}-${f}`, r))
|
|
1836
|
+
}
|
|
1837
|
+
) }) : /* @__PURE__ */ e.jsx(
|
|
1819
1838
|
"div",
|
|
1820
1839
|
{
|
|
1821
1840
|
className: c(
|
|
1822
1841
|
"flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
|
|
1823
1842
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
1824
|
-
|
|
1843
|
+
i
|
|
1825
1844
|
),
|
|
1826
|
-
...
|
|
1827
|
-
children: t.map((
|
|
1828
|
-
"span",
|
|
1829
|
-
{
|
|
1830
|
-
className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", r, i.className),
|
|
1831
|
-
children: [
|
|
1832
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: i.icon }),
|
|
1833
|
-
i.label
|
|
1834
|
-
]
|
|
1835
|
-
},
|
|
1836
|
-
i.id
|
|
1837
|
-
))
|
|
1845
|
+
...o,
|
|
1846
|
+
children: t.map((u) => bt(u, u.id, r))
|
|
1838
1847
|
}
|
|
1839
|
-
),
|
|
1848
|
+
), gt = {
|
|
1840
1849
|
en: {
|
|
1841
1850
|
proceedLabel: "Proceed"
|
|
1842
1851
|
},
|
|
@@ -1846,35 +1855,35 @@ const Qa = [
|
|
|
1846
1855
|
te: {
|
|
1847
1856
|
proceedLabel: "ముందుకు సాగండి"
|
|
1848
1857
|
}
|
|
1849
|
-
},
|
|
1858
|
+
}, ar = (t) => gt[t] ?? gt.en, Ue = ({
|
|
1850
1859
|
locale: t = "en",
|
|
1851
1860
|
amount: r,
|
|
1852
1861
|
amountClassName: s,
|
|
1853
1862
|
subtitle: n,
|
|
1854
1863
|
subtitleClassName: i,
|
|
1855
|
-
showInfoIcon:
|
|
1856
|
-
onInfoClick:
|
|
1864
|
+
showInfoIcon: o = !0,
|
|
1865
|
+
onInfoClick: u,
|
|
1857
1866
|
infoIconClassName: f,
|
|
1858
|
-
proceedLabel:
|
|
1859
|
-
proceedIcon:
|
|
1867
|
+
proceedLabel: x,
|
|
1868
|
+
proceedIcon: b = /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
1860
1869
|
onProceed: h,
|
|
1861
|
-
proceedButtonProps:
|
|
1870
|
+
proceedButtonProps: d,
|
|
1862
1871
|
buttonWrapperClassName: v,
|
|
1863
|
-
className:
|
|
1872
|
+
className: g,
|
|
1864
1873
|
...j
|
|
1865
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]",
|
|
1874
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", g), ...j, children: [
|
|
1866
1875
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1867
1876
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1868
1877
|
/* @__PURE__ */ e.jsx("span", { className: c("text-xl font-extrabold text-[#1d2125]", s), children: r }),
|
|
1869
|
-
|
|
1878
|
+
o && /* @__PURE__ */ e.jsx(
|
|
1870
1879
|
"button",
|
|
1871
1880
|
{
|
|
1872
1881
|
type: "button",
|
|
1873
|
-
onClick:
|
|
1882
|
+
onClick: u,
|
|
1874
1883
|
"aria-label": "View bill details",
|
|
1875
1884
|
className: c(
|
|
1876
1885
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1877
|
-
!
|
|
1886
|
+
!u && "pointer-events-none",
|
|
1878
1887
|
f
|
|
1879
1888
|
),
|
|
1880
1889
|
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
@@ -1883,11 +1892,11 @@ const Qa = [
|
|
|
1883
1892
|
] }),
|
|
1884
1893
|
n && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", i), children: n })
|
|
1885
1894
|
] }),
|
|
1886
|
-
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(
|
|
1887
|
-
|
|
1888
|
-
|
|
1895
|
+
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(K, { variant: "primary", size: "xl", onClick: h, ...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: [
|
|
1896
|
+
x ?? ar(t).proceedLabel,
|
|
1897
|
+
b
|
|
1889
1898
|
] }) })
|
|
1890
|
-
] }),
|
|
1899
|
+
] }), vt = {
|
|
1891
1900
|
en: {
|
|
1892
1901
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1893
1902
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -1930,83 +1939,83 @@ const Qa = [
|
|
|
1930
1939
|
support: "కస్టమర్ సపోర్ట్"
|
|
1931
1940
|
}
|
|
1932
1941
|
}
|
|
1933
|
-
},
|
|
1942
|
+
}, rr = (t) => vt[t] ?? vt.en, Ur = ({
|
|
1934
1943
|
locale: t = "en",
|
|
1935
1944
|
title: r,
|
|
1936
1945
|
description: s,
|
|
1937
1946
|
benefits: n,
|
|
1938
1947
|
options: i,
|
|
1939
|
-
value:
|
|
1940
|
-
onChange:
|
|
1948
|
+
value: o,
|
|
1949
|
+
onChange: u,
|
|
1941
1950
|
radioVariant: f = "dot",
|
|
1942
|
-
radiogroupLabel:
|
|
1943
|
-
className:
|
|
1951
|
+
radiogroupLabel: x,
|
|
1952
|
+
className: b,
|
|
1944
1953
|
headerClassName: h,
|
|
1945
|
-
benefitsClassName:
|
|
1954
|
+
benefitsClassName: d,
|
|
1946
1955
|
optionsClassName: v,
|
|
1947
|
-
trustBadges:
|
|
1956
|
+
trustBadges: g,
|
|
1948
1957
|
checkout: j,
|
|
1949
|
-
stickyFooter:
|
|
1950
|
-
footerClassName:
|
|
1958
|
+
stickyFooter: L = !0,
|
|
1959
|
+
footerClassName: C
|
|
1951
1960
|
}) => {
|
|
1952
|
-
const
|
|
1961
|
+
const N = rr(t), y = r ?? N.title, T = s ?? N.description, p = n ?? N.benefits, O = g ?? {
|
|
1953
1962
|
badges: [
|
|
1954
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1955
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1956
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1963
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: N.trustBadgeLabels.moneyBack },
|
|
1964
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: N.trustBadgeLabels.noHiddenCost },
|
|
1965
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: N.trustBadgeLabels.support }
|
|
1957
1966
|
]
|
|
1958
1967
|
};
|
|
1959
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full",
|
|
1968
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full", b), children: [
|
|
1960
1969
|
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", h), children: [
|
|
1961
1970
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: y }),
|
|
1962
|
-
|
|
1971
|
+
T && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: T })
|
|
1963
1972
|
] }),
|
|
1964
|
-
|
|
1973
|
+
p && p.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: p.map((H, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1965
1974
|
/* @__PURE__ */ e.jsx(Ve, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1966
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
1967
|
-
] },
|
|
1975
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: H })
|
|
1976
|
+
] }, B)) }),
|
|
1968
1977
|
/* @__PURE__ */ e.jsx(
|
|
1969
1978
|
"div",
|
|
1970
1979
|
{
|
|
1971
1980
|
role: "radiogroup",
|
|
1972
|
-
"aria-label":
|
|
1981
|
+
"aria-label": x ?? (typeof y == "string" ? y : void 0),
|
|
1973
1982
|
className: c("flex flex-col gap-3 p-4", v),
|
|
1974
|
-
children: i.map((
|
|
1983
|
+
children: i.map((H) => {
|
|
1975
1984
|
const {
|
|
1976
|
-
id:
|
|
1977
|
-
price:
|
|
1978
|
-
free:
|
|
1979
|
-
badge:
|
|
1980
|
-
priceBadgeProps:
|
|
1981
|
-
note:
|
|
1985
|
+
id: B,
|
|
1986
|
+
price: Y,
|
|
1987
|
+
free: ae,
|
|
1988
|
+
badge: I,
|
|
1989
|
+
priceBadgeProps: W,
|
|
1990
|
+
note: q,
|
|
1982
1991
|
noteProps: M,
|
|
1983
|
-
children:
|
|
1984
|
-
iconClassName:
|
|
1985
|
-
radioVariant:
|
|
1986
|
-
...
|
|
1987
|
-
} =
|
|
1992
|
+
children: U,
|
|
1993
|
+
iconClassName: te,
|
|
1994
|
+
radioVariant: Z,
|
|
1995
|
+
...J
|
|
1996
|
+
} = 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(Za, { value: Y, ...W }));
|
|
1988
1997
|
return /* @__PURE__ */ e.jsx(
|
|
1989
|
-
|
|
1998
|
+
Dt,
|
|
1990
1999
|
{
|
|
1991
|
-
...
|
|
1992
|
-
iconClassName: c("size-10",
|
|
1993
|
-
radioVariant:
|
|
2000
|
+
...J,
|
|
2001
|
+
iconClassName: c("size-10", te),
|
|
2002
|
+
radioVariant: Z ?? f,
|
|
1994
2003
|
badge: re,
|
|
1995
|
-
selected:
|
|
1996
|
-
onSelect: () =>
|
|
1997
|
-
children:
|
|
2004
|
+
selected: X,
|
|
2005
|
+
onSelect: () => u(B),
|
|
2006
|
+
children: U ?? (X && q && /* @__PURE__ */ e.jsx(Ja, { ...M, children: q }))
|
|
1998
2007
|
},
|
|
1999
|
-
|
|
2008
|
+
B
|
|
2000
2009
|
);
|
|
2001
2010
|
})
|
|
2002
2011
|
}
|
|
2003
2012
|
),
|
|
2004
|
-
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(
|
|
2005
|
-
O && /* @__PURE__ */ e.jsx(
|
|
2013
|
+
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(L && "sticky bottom-0 z-10", C), children: [
|
|
2014
|
+
O && /* @__PURE__ */ e.jsx(tr, { ...O }),
|
|
2006
2015
|
j && /* @__PURE__ */ e.jsx(Ue, { ...j })
|
|
2007
2016
|
] })
|
|
2008
2017
|
] });
|
|
2009
|
-
},
|
|
2018
|
+
}, jt = {
|
|
2010
2019
|
en: {
|
|
2011
2020
|
title: "Pitru Paksha Special Rituals",
|
|
2012
2021
|
ancestorsLabel: "Ancestors",
|
|
@@ -2019,36 +2028,36 @@ const Qa = [
|
|
|
2019
2028
|
ritualsLabel: "पूजा विधि",
|
|
2020
2029
|
performersLabel: "कर्ता"
|
|
2021
2030
|
}
|
|
2022
|
-
},
|
|
2031
|
+
}, sr = (t) => jt[t] ?? jt.en, nr = ({
|
|
2023
2032
|
locale: t = "en",
|
|
2024
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
2033
|
+
icon: r = /* @__PURE__ */ e.jsx(At, { "aria-hidden": !0 }),
|
|
2025
2034
|
iconClassName: s,
|
|
2026
2035
|
title: n,
|
|
2027
2036
|
titleClassName: i,
|
|
2028
|
-
subtitle:
|
|
2029
|
-
subtitleItems:
|
|
2037
|
+
subtitle: o,
|
|
2038
|
+
subtitleItems: u,
|
|
2030
2039
|
stats: f,
|
|
2031
|
-
subtitleClassName:
|
|
2032
|
-
cardClassName:
|
|
2040
|
+
subtitleClassName: x,
|
|
2041
|
+
cardClassName: b,
|
|
2033
2042
|
className: h,
|
|
2034
|
-
...
|
|
2043
|
+
...d
|
|
2035
2044
|
}) => {
|
|
2036
|
-
const v =
|
|
2045
|
+
const v = sr(t), g = n ?? v.title, j = u ?? (f && [
|
|
2037
2046
|
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2038
2047
|
`${f.rituals} ${v.ritualsLabel}`,
|
|
2039
2048
|
`${f.performers} ${v.performersLabel}`
|
|
2040
2049
|
]);
|
|
2041
|
-
return /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", h), ...
|
|
2050
|
+
return /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", h), ...d, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
2042
2051
|
/* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
2043
2052
|
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
|
|
2044
|
-
|
|
2053
|
+
g
|
|
2045
2054
|
] }),
|
|
2046
|
-
(
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
] },
|
|
2055
|
+
(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, C) => /* @__PURE__ */ e.jsxs(_.Fragment, { children: [
|
|
2056
|
+
C > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2057
|
+
L
|
|
2058
|
+
] }, C)) : o })
|
|
2050
2059
|
] }) });
|
|
2051
|
-
},
|
|
2060
|
+
}, yt = {
|
|
2052
2061
|
en: {
|
|
2053
2062
|
title: "Bill Details",
|
|
2054
2063
|
totalLabel: "Total Amount"
|
|
@@ -2057,66 +2066,66 @@ const Qa = [
|
|
|
2057
2066
|
title: "बिल विवरण",
|
|
2058
2067
|
totalLabel: "कुल राशि"
|
|
2059
2068
|
}
|
|
2060
|
-
},
|
|
2069
|
+
}, lr = (t) => yt[t] ?? yt.en, ir = ({
|
|
2061
2070
|
locale: t = "en",
|
|
2062
2071
|
titleClassName: r,
|
|
2063
2072
|
rows: s,
|
|
2064
2073
|
rowClassName: n,
|
|
2065
2074
|
showTitleAccent: i = !0,
|
|
2066
|
-
totalValue:
|
|
2067
|
-
totalClassName:
|
|
2075
|
+
totalValue: o,
|
|
2076
|
+
totalClassName: u,
|
|
2068
2077
|
className: f,
|
|
2069
|
-
...
|
|
2078
|
+
...x
|
|
2070
2079
|
}) => {
|
|
2071
|
-
const { title:
|
|
2072
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", f), ...
|
|
2080
|
+
const { title: b, totalLabel: h } = lr(t);
|
|
2081
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", f), ...x, children: [
|
|
2073
2082
|
/* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
|
|
2074
2083
|
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2075
|
-
|
|
2084
|
+
b
|
|
2076
2085
|
] }),
|
|
2077
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((
|
|
2086
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-start justify-between gap-3", n), children: [
|
|
2078
2087
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2079
|
-
/* @__PURE__ */ e.jsx("p", { className: c("text-sm text-[#1d2125]",
|
|
2080
|
-
|
|
2088
|
+
/* @__PURE__ */ e.jsx("p", { className: c("text-sm text-[#1d2125]", d.labelClassName), children: d.label }),
|
|
2089
|
+
d.subLabel && /* @__PURE__ */ e.jsx("p", { className: c("mt-0.5 text-xs text-gray-400", d.subLabelClassName), children: d.subLabel })
|
|
2081
2090
|
] }),
|
|
2082
2091
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
/* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]",
|
|
2092
|
+
d.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: d.note }),
|
|
2093
|
+
d.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: d.originalValue }),
|
|
2094
|
+
/* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]", d.valueClassName), children: d.value })
|
|
2086
2095
|
] })
|
|
2087
|
-
] },
|
|
2088
|
-
|
|
2096
|
+
] }, d.id)) }),
|
|
2097
|
+
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: [
|
|
2089
2098
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: h }),
|
|
2090
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children:
|
|
2099
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: o })
|
|
2091
2100
|
] })
|
|
2092
2101
|
] });
|
|
2093
|
-
},
|
|
2102
|
+
}, Gr = ({
|
|
2094
2103
|
locale: t = "en",
|
|
2095
2104
|
onBack: r,
|
|
2096
2105
|
backButtonAriaLabel: s = "Go back",
|
|
2097
2106
|
headerClassName: n,
|
|
2098
2107
|
backButtonClassName: i,
|
|
2099
|
-
headerTitleClassName:
|
|
2100
|
-
summary:
|
|
2108
|
+
headerTitleClassName: o,
|
|
2109
|
+
summary: u,
|
|
2101
2110
|
items: f,
|
|
2102
|
-
itemsClassName:
|
|
2103
|
-
itemClassName:
|
|
2111
|
+
itemsClassName: x,
|
|
2112
|
+
itemClassName: b,
|
|
2104
2113
|
addons: h,
|
|
2105
|
-
addonsSectionClassName:
|
|
2114
|
+
addonsSectionClassName: d,
|
|
2106
2115
|
addonsHeaderClassName: v,
|
|
2107
|
-
addonsTitleClassName:
|
|
2116
|
+
addonsTitleClassName: g,
|
|
2108
2117
|
addonsDescriptionClassName: j,
|
|
2109
|
-
addonsClassName:
|
|
2110
|
-
addonClassName:
|
|
2111
|
-
billDetails:
|
|
2118
|
+
addonsClassName: L,
|
|
2119
|
+
addonClassName: C,
|
|
2120
|
+
billDetails: N,
|
|
2112
2121
|
faq: y,
|
|
2113
|
-
checkout:
|
|
2114
|
-
className:
|
|
2122
|
+
checkout: T,
|
|
2123
|
+
className: p,
|
|
2115
2124
|
children: O,
|
|
2116
|
-
...
|
|
2125
|
+
...H
|
|
2117
2126
|
}) => {
|
|
2118
|
-
const { headerTitle:
|
|
2119
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white",
|
|
2127
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: ae, checkoutProceedLabel: I, checkoutRitualSingular: W, checkoutRitualPlural: q } = Ce(t), { price: M, ritualCount: U, ...te } = T ?? {};
|
|
2128
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white", p), ...H, children: [
|
|
2120
2129
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2121
2130
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2122
2131
|
r && /* @__PURE__ */ e.jsx(
|
|
@@ -2132,88 +2141,88 @@ const Qa = [
|
|
|
2132
2141
|
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2133
2142
|
}
|
|
2134
2143
|
),
|
|
2135
|
-
/* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]",
|
|
2144
|
+
/* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", o), children: B })
|
|
2136
2145
|
] }),
|
|
2137
|
-
|
|
2138
|
-
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4",
|
|
2139
|
-
({ id:
|
|
2140
|
-
|
|
2146
|
+
u && /* @__PURE__ */ e.jsx(nr, { ...u }),
|
|
2147
|
+
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(
|
|
2148
|
+
({ id: Z, className: J, isMandapCharge: X, ...re }) => X ? /* @__PURE__ */ e.jsx(
|
|
2149
|
+
Xa,
|
|
2141
2150
|
{
|
|
2142
2151
|
locale: t,
|
|
2143
|
-
className: c(
|
|
2152
|
+
className: c(b, J),
|
|
2144
2153
|
...re
|
|
2145
2154
|
},
|
|
2146
|
-
|
|
2155
|
+
Z
|
|
2147
2156
|
) : /* @__PURE__ */ e.jsx(
|
|
2148
|
-
|
|
2157
|
+
It,
|
|
2149
2158
|
{
|
|
2150
|
-
className: c(
|
|
2159
|
+
className: c(b, J),
|
|
2151
2160
|
...re
|
|
2152
2161
|
},
|
|
2153
|
-
|
|
2162
|
+
Z
|
|
2154
2163
|
)
|
|
2155
2164
|
) }),
|
|
2156
|
-
h && h.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6",
|
|
2165
|
+
h && h.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", d), children: [
|
|
2157
2166
|
/* @__PURE__ */ e.jsxs("div", { className: v, children: [
|
|
2158
|
-
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700",
|
|
2159
|
-
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children:
|
|
2167
|
+
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", g), children: Y }),
|
|
2168
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: ae })
|
|
2160
2169
|
] }),
|
|
2161
|
-
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4",
|
|
2170
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: h.map(({ id: Z, className: J, ...X }) => /* @__PURE__ */ e.jsx(Qa, { className: c(C, J), ...X }, Z)) })
|
|
2162
2171
|
] }),
|
|
2163
|
-
|
|
2164
|
-
y && /* @__PURE__ */ e.jsx(
|
|
2172
|
+
N && /* @__PURE__ */ e.jsx(ir, { ...N, locale: t }),
|
|
2173
|
+
y && /* @__PURE__ */ e.jsx(Va, { ...y }),
|
|
2165
2174
|
O
|
|
2166
2175
|
] }),
|
|
2167
|
-
|
|
2176
|
+
T && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2168
2177
|
Ue,
|
|
2169
2178
|
{
|
|
2170
|
-
...
|
|
2179
|
+
...te,
|
|
2171
2180
|
locale: t,
|
|
2172
2181
|
amount: M,
|
|
2173
|
-
subtitle: `${
|
|
2174
|
-
proceedLabel:
|
|
2182
|
+
subtitle: `${U} ${U === 1 ? W : q}`,
|
|
2183
|
+
proceedLabel: I
|
|
2175
2184
|
}
|
|
2176
2185
|
) })
|
|
2177
2186
|
] });
|
|
2178
|
-
}, ne =
|
|
2187
|
+
}, ne = _.forwardRef(
|
|
2179
2188
|
({
|
|
2180
2189
|
label: t,
|
|
2181
2190
|
value: r,
|
|
2182
2191
|
onChange: s,
|
|
2183
2192
|
prefix: n,
|
|
2184
2193
|
showCharCount: i = !1,
|
|
2185
|
-
supportingText:
|
|
2186
|
-
error:
|
|
2194
|
+
supportingText: o,
|
|
2195
|
+
error: u = !1,
|
|
2187
2196
|
className: f,
|
|
2188
|
-
containerClassName:
|
|
2189
|
-
wrapperClassName:
|
|
2197
|
+
containerClassName: x,
|
|
2198
|
+
wrapperClassName: b,
|
|
2190
2199
|
maxLength: h,
|
|
2191
|
-
id:
|
|
2200
|
+
id: d,
|
|
2192
2201
|
...v
|
|
2193
|
-
},
|
|
2194
|
-
const j =
|
|
2195
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2",
|
|
2196
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2202
|
+
}, g) => {
|
|
2203
|
+
const j = _.useId(), L = d ?? j, C = o ?? (i ? `${r.length}${h ? `/${h}` : ""}` : void 0);
|
|
2204
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", x), children: [
|
|
2205
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: L, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2197
2206
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2198
2207
|
/* @__PURE__ */ e.jsxs(
|
|
2199
2208
|
"div",
|
|
2200
2209
|
{
|
|
2201
2210
|
className: c(
|
|
2202
2211
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
2203
|
-
|
|
2204
|
-
|
|
2212
|
+
u ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
2213
|
+
b
|
|
2205
2214
|
),
|
|
2206
2215
|
children: [
|
|
2207
2216
|
n && /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]", children: n }),
|
|
2208
2217
|
/* @__PURE__ */ e.jsx(
|
|
2209
2218
|
"input",
|
|
2210
2219
|
{
|
|
2211
|
-
ref:
|
|
2212
|
-
id:
|
|
2220
|
+
ref: g,
|
|
2221
|
+
id: L,
|
|
2213
2222
|
value: r,
|
|
2214
2223
|
maxLength: h,
|
|
2215
|
-
onChange: (
|
|
2216
|
-
"aria-invalid":
|
|
2224
|
+
onChange: (N) => s(N.target.value),
|
|
2225
|
+
"aria-invalid": u,
|
|
2217
2226
|
className: c(
|
|
2218
2227
|
"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",
|
|
2219
2228
|
f
|
|
@@ -2224,24 +2233,24 @@ const Qa = [
|
|
|
2224
2233
|
]
|
|
2225
2234
|
}
|
|
2226
2235
|
),
|
|
2227
|
-
|
|
2236
|
+
C && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: C })
|
|
2228
2237
|
] })
|
|
2229
2238
|
] });
|
|
2230
2239
|
}
|
|
2231
2240
|
);
|
|
2232
2241
|
ne.displayName = "TextField";
|
|
2233
|
-
function
|
|
2242
|
+
function Yr({
|
|
2234
2243
|
isOpen: t,
|
|
2235
2244
|
onClose: r,
|
|
2236
2245
|
avatarUrl: s,
|
|
2237
2246
|
heading: n,
|
|
2238
2247
|
tithis: i,
|
|
2239
|
-
confirmLabel:
|
|
2240
|
-
onConfirm:
|
|
2248
|
+
confirmLabel: o,
|
|
2249
|
+
onConfirm: u,
|
|
2241
2250
|
initialTithi: f
|
|
2242
2251
|
}) {
|
|
2243
|
-
const [
|
|
2244
|
-
|
|
2252
|
+
const [x, b] = V(f), h = () => {
|
|
2253
|
+
x && u(x);
|
|
2245
2254
|
};
|
|
2246
2255
|
return /* @__PURE__ */ e.jsx(
|
|
2247
2256
|
Le,
|
|
@@ -2261,28 +2270,28 @@ function Gr({
|
|
|
2261
2270
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2262
2271
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2263
2272
|
/* @__PURE__ */ e.jsx(
|
|
2264
|
-
|
|
2273
|
+
K,
|
|
2265
2274
|
{
|
|
2266
2275
|
variant: "primary",
|
|
2267
2276
|
size: "md",
|
|
2268
2277
|
className: "w-full rounded-xl",
|
|
2269
|
-
disabled: !
|
|
2278
|
+
disabled: !x,
|
|
2270
2279
|
onClick: h,
|
|
2271
|
-
children:
|
|
2280
|
+
children: o
|
|
2272
2281
|
}
|
|
2273
2282
|
)
|
|
2274
2283
|
] }),
|
|
2275
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((
|
|
2276
|
-
const v =
|
|
2284
|
+
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((d) => {
|
|
2285
|
+
const v = x === d;
|
|
2277
2286
|
return /* @__PURE__ */ e.jsx(
|
|
2278
2287
|
"button",
|
|
2279
2288
|
{
|
|
2280
2289
|
type: "button",
|
|
2281
|
-
onClick: () =>
|
|
2290
|
+
onClick: () => b(d),
|
|
2282
2291
|
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${v ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
2283
|
-
children:
|
|
2292
|
+
children: d
|
|
2284
2293
|
},
|
|
2285
|
-
|
|
2294
|
+
d
|
|
2286
2295
|
);
|
|
2287
2296
|
}) })
|
|
2288
2297
|
}
|
|
@@ -2290,13 +2299,13 @@ function Gr({
|
|
|
2290
2299
|
}
|
|
2291
2300
|
const ye = 48;
|
|
2292
2301
|
function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
2293
|
-
const n =
|
|
2294
|
-
|
|
2302
|
+
const n = _.useRef(null), i = _.useRef(!1);
|
|
2303
|
+
_.useEffect(() => {
|
|
2295
2304
|
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * ye);
|
|
2296
2305
|
}, []);
|
|
2297
|
-
const
|
|
2306
|
+
const o = () => {
|
|
2298
2307
|
if (!n.current) return;
|
|
2299
|
-
const
|
|
2308
|
+
const u = Math.round(n.current.scrollTop / ye), f = Math.max(0, Math.min(t.length - 1, u));
|
|
2300
2309
|
f !== r && s(f);
|
|
2301
2310
|
};
|
|
2302
2311
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
@@ -2304,18 +2313,18 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2304
2313
|
"div",
|
|
2305
2314
|
{
|
|
2306
2315
|
ref: n,
|
|
2307
|
-
onScroll:
|
|
2316
|
+
onScroll: o,
|
|
2308
2317
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2309
2318
|
style: { scrollbarWidth: "none" },
|
|
2310
2319
|
children: [
|
|
2311
2320
|
/* @__PURE__ */ e.jsx("div", { style: { height: ye }, "aria-hidden": !0 }),
|
|
2312
|
-
t.map((
|
|
2321
|
+
t.map((u, f) => /* @__PURE__ */ e.jsx(
|
|
2313
2322
|
"div",
|
|
2314
2323
|
{
|
|
2315
2324
|
className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${f === r ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
|
|
2316
|
-
children:
|
|
2325
|
+
children: u
|
|
2317
2326
|
},
|
|
2318
|
-
|
|
2327
|
+
u
|
|
2319
2328
|
)),
|
|
2320
2329
|
/* @__PURE__ */ e.jsx("div", { style: { height: ye }, "aria-hidden": !0 })
|
|
2321
2330
|
]
|
|
@@ -2326,26 +2335,26 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2326
2335
|
] });
|
|
2327
2336
|
}
|
|
2328
2337
|
const Fe = Array.from({ length: 31 }, (t, r) => r + 1);
|
|
2329
|
-
function
|
|
2338
|
+
function qr({
|
|
2330
2339
|
isOpen: t,
|
|
2331
2340
|
onClose: r,
|
|
2332
2341
|
avatarUrl: s,
|
|
2333
2342
|
heading: n,
|
|
2334
2343
|
monthLabels: i,
|
|
2335
|
-
confirmLabel:
|
|
2336
|
-
onConfirm:
|
|
2344
|
+
confirmLabel: o,
|
|
2345
|
+
onConfirm: u,
|
|
2337
2346
|
timezoneLabel: f,
|
|
2338
|
-
initialDate:
|
|
2339
|
-
minYear:
|
|
2347
|
+
initialDate: x,
|
|
2348
|
+
minYear: b,
|
|
2340
2349
|
maxYear: h = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2341
2350
|
}) {
|
|
2342
|
-
const
|
|
2343
|
-
const
|
|
2344
|
-
return Array.from({ length: h -
|
|
2345
|
-
}, [
|
|
2346
|
-
() =>
|
|
2351
|
+
const d = ba(() => {
|
|
2352
|
+
const T = b ?? h - 120;
|
|
2353
|
+
return Array.from({ length: h - T + 1 }, (p, O) => T + O);
|
|
2354
|
+
}, [b, h]), [v, g] = V(() => x ? x.day - 1 : Math.floor(Fe.length / 2)), [j, L] = V(() => x ? x.month - 1 : 0), [C, N] = V(
|
|
2355
|
+
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2347
2356
|
), y = () => {
|
|
2348
|
-
|
|
2357
|
+
u({ day: Fe[v], month: j + 1, year: d[C] });
|
|
2349
2358
|
};
|
|
2350
2359
|
return /* @__PURE__ */ e.jsx(
|
|
2351
2360
|
Le,
|
|
@@ -2366,42 +2375,42 @@ function Yr({
|
|
|
2366
2375
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2367
2376
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2368
2377
|
f && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: f }),
|
|
2369
|
-
/* @__PURE__ */ e.jsx(
|
|
2378
|
+
/* @__PURE__ */ e.jsx(K, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: y, children: o })
|
|
2370
2379
|
] })
|
|
2371
2380
|
] }),
|
|
2372
2381
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2373
|
-
/* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange:
|
|
2374
|
-
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange:
|
|
2375
|
-
/* @__PURE__ */ e.jsx(Ae, { options:
|
|
2382
|
+
/* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange: g }),
|
|
2383
|
+
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange: L }),
|
|
2384
|
+
/* @__PURE__ */ e.jsx(Ae, { options: d.map(String), selectedIndex: C, onChange: N })
|
|
2376
2385
|
] })
|
|
2377
2386
|
}
|
|
2378
2387
|
);
|
|
2379
2388
|
}
|
|
2380
|
-
function
|
|
2389
|
+
function Kr({
|
|
2381
2390
|
isOpen: t,
|
|
2382
2391
|
onClose: r,
|
|
2383
2392
|
heading: s,
|
|
2384
2393
|
subtext: n,
|
|
2385
2394
|
confirmLabel: i,
|
|
2386
|
-
onConfirm:
|
|
2387
|
-
initialValue:
|
|
2388
|
-
countries: f =
|
|
2389
|
-
initialCountryIso:
|
|
2395
|
+
onConfirm: o,
|
|
2396
|
+
initialValue: u = "",
|
|
2397
|
+
countries: f = ma,
|
|
2398
|
+
initialCountryIso: x = "IN"
|
|
2390
2399
|
}) {
|
|
2391
|
-
const [
|
|
2392
|
-
() => f.find((
|
|
2393
|
-
), [
|
|
2394
|
-
|
|
2395
|
-
if (!
|
|
2396
|
-
const
|
|
2397
|
-
|
|
2400
|
+
const [b, h] = V(
|
|
2401
|
+
() => f.find((p) => p.iso === x) ?? f[0]
|
|
2402
|
+
), [d, v] = V(u), [g, j] = V(!1), L = Tt(null);
|
|
2403
|
+
Rt(() => {
|
|
2404
|
+
if (!g) return;
|
|
2405
|
+
const p = (O) => {
|
|
2406
|
+
L.current && !L.current.contains(O.target) && j(!1);
|
|
2398
2407
|
};
|
|
2399
|
-
return document.addEventListener("mousedown",
|
|
2400
|
-
}, [
|
|
2401
|
-
const
|
|
2402
|
-
h(
|
|
2403
|
-
},
|
|
2404
|
-
|
|
2408
|
+
return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
|
|
2409
|
+
}, [g]);
|
|
2410
|
+
const C = Ie(b.code), N = St(d, b.code).isValid && d.length > 0, y = (p) => {
|
|
2411
|
+
h(p), j(!1), v((O) => O.slice(0, Ie(p.code)));
|
|
2412
|
+
}, T = () => {
|
|
2413
|
+
N && o(d, b);
|
|
2405
2414
|
};
|
|
2406
2415
|
return /* @__PURE__ */ e.jsx(
|
|
2407
2416
|
$e,
|
|
@@ -2412,14 +2421,14 @@ function qr({
|
|
|
2412
2421
|
closeButtonOutside: !0,
|
|
2413
2422
|
ariaLabel: s,
|
|
2414
2423
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2415
|
-
|
|
2424
|
+
K,
|
|
2416
2425
|
{
|
|
2417
2426
|
variant: "primary",
|
|
2418
2427
|
size: "xl",
|
|
2419
2428
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2420
2429
|
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2421
|
-
disabled: !
|
|
2422
|
-
onClick:
|
|
2430
|
+
disabled: !N,
|
|
2431
|
+
onClick: T,
|
|
2423
2432
|
children: i
|
|
2424
2433
|
}
|
|
2425
2434
|
) }),
|
|
@@ -2427,42 +2436,42 @@ function qr({
|
|
|
2427
2436
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2428
2437
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2429
2438
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2430
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2439
|
+
/* @__PURE__ */ e.jsxs("div", { ref: L, className: "relative shrink-0", children: [
|
|
2431
2440
|
/* @__PURE__ */ e.jsxs(
|
|
2432
2441
|
"button",
|
|
2433
2442
|
{
|
|
2434
2443
|
type: "button",
|
|
2435
|
-
onClick: () => j((
|
|
2436
|
-
"aria-expanded":
|
|
2444
|
+
onClick: () => j((p) => !p),
|
|
2445
|
+
"aria-expanded": g,
|
|
2437
2446
|
"aria-haspopup": "listbox",
|
|
2438
2447
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2439
2448
|
children: [
|
|
2440
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(
|
|
2441
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
2449
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(b.iso) }),
|
|
2450
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: b.code }),
|
|
2442
2451
|
/* @__PURE__ */ e.jsx(ke, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2443
2452
|
]
|
|
2444
2453
|
}
|
|
2445
2454
|
),
|
|
2446
|
-
|
|
2455
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2447
2456
|
"div",
|
|
2448
2457
|
{
|
|
2449
2458
|
role: "listbox",
|
|
2450
2459
|
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",
|
|
2451
|
-
children: f.map((
|
|
2460
|
+
children: f.map((p) => /* @__PURE__ */ e.jsxs(
|
|
2452
2461
|
"button",
|
|
2453
2462
|
{
|
|
2454
2463
|
type: "button",
|
|
2455
2464
|
role: "option",
|
|
2456
|
-
"aria-selected":
|
|
2457
|
-
onClick: () => y(
|
|
2458
|
-
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${
|
|
2465
|
+
"aria-selected": p.iso === b.iso,
|
|
2466
|
+
onClick: () => y(p),
|
|
2467
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${p.iso === b.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2459
2468
|
children: [
|
|
2460
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(
|
|
2461
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children:
|
|
2462
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children:
|
|
2469
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(p.iso) }),
|
|
2470
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: p.code }),
|
|
2471
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: p.name })
|
|
2463
2472
|
]
|
|
2464
2473
|
},
|
|
2465
|
-
`${
|
|
2474
|
+
`${p.iso}-${p.code}`
|
|
2466
2475
|
))
|
|
2467
2476
|
}
|
|
2468
2477
|
)
|
|
@@ -2472,9 +2481,9 @@ function qr({
|
|
|
2472
2481
|
{
|
|
2473
2482
|
type: "tel",
|
|
2474
2483
|
inputMode: "numeric",
|
|
2475
|
-
value:
|
|
2476
|
-
maxLength:
|
|
2477
|
-
onChange: (
|
|
2484
|
+
value: d,
|
|
2485
|
+
maxLength: C,
|
|
2486
|
+
onChange: (p) => v(p.replace(/\D/g, "").slice(0, C)),
|
|
2478
2487
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2479
2488
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2480
2489
|
className: "text-[18px]"
|
|
@@ -2485,19 +2494,19 @@ function qr({
|
|
|
2485
2494
|
}
|
|
2486
2495
|
);
|
|
2487
2496
|
}
|
|
2488
|
-
const
|
|
2489
|
-
function
|
|
2497
|
+
const or = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2498
|
+
function Zr({
|
|
2490
2499
|
isOpen: t,
|
|
2491
2500
|
onClose: r,
|
|
2492
2501
|
heading: s,
|
|
2493
2502
|
subtext: n,
|
|
2494
2503
|
confirmLabel: i,
|
|
2495
|
-
onConfirm:
|
|
2496
|
-
initialValue:
|
|
2504
|
+
onConfirm: o,
|
|
2505
|
+
initialValue: u = "",
|
|
2497
2506
|
errorText: f = "Please enter a valid email"
|
|
2498
2507
|
}) {
|
|
2499
|
-
const [
|
|
2500
|
-
|
|
2508
|
+
const [x, b] = V(u), [h, d] = V(!1), v = x.trim(), g = or.test(v), j = h && v.length > 0 && !g, L = () => {
|
|
2509
|
+
g && o(v);
|
|
2501
2510
|
};
|
|
2502
2511
|
return /* @__PURE__ */ e.jsx(
|
|
2503
2512
|
Le,
|
|
@@ -2507,14 +2516,14 @@ function Kr({
|
|
|
2507
2516
|
showDragHandle: !0,
|
|
2508
2517
|
ariaLabel: s,
|
|
2509
2518
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2510
|
-
|
|
2519
|
+
K,
|
|
2511
2520
|
{
|
|
2512
2521
|
variant: "primary",
|
|
2513
2522
|
size: "xl",
|
|
2514
2523
|
className: "w-full rounded-xl",
|
|
2515
2524
|
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2516
|
-
disabled: !
|
|
2517
|
-
onClick:
|
|
2525
|
+
disabled: !g,
|
|
2526
|
+
onClick: L,
|
|
2518
2527
|
children: i
|
|
2519
2528
|
}
|
|
2520
2529
|
) }),
|
|
@@ -2527,12 +2536,12 @@ function Kr({
|
|
|
2527
2536
|
type: "email",
|
|
2528
2537
|
inputMode: "email",
|
|
2529
2538
|
autoFocus: !0,
|
|
2530
|
-
value:
|
|
2539
|
+
value: x,
|
|
2531
2540
|
placeholder: "you@example.com",
|
|
2532
2541
|
error: j,
|
|
2533
2542
|
supportingText: j ? f : void 0,
|
|
2534
|
-
onChange:
|
|
2535
|
-
onBlur: () =>
|
|
2543
|
+
onChange: b,
|
|
2544
|
+
onBlur: () => d(!0),
|
|
2536
2545
|
containerClassName: "mt-2",
|
|
2537
2546
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2538
2547
|
className: "text-[18px]"
|
|
@@ -2542,46 +2551,46 @@ function Kr({
|
|
|
2542
2551
|
}
|
|
2543
2552
|
);
|
|
2544
2553
|
}
|
|
2545
|
-
function
|
|
2554
|
+
function cr(t) {
|
|
2546
2555
|
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);
|
|
2547
2556
|
}
|
|
2548
|
-
function
|
|
2557
|
+
function dr(t) {
|
|
2549
2558
|
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);
|
|
2550
2559
|
}
|
|
2551
|
-
const
|
|
2552
|
-
function
|
|
2560
|
+
const ur = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2561
|
+
function Jr({
|
|
2553
2562
|
chipNumber: t,
|
|
2554
2563
|
chipLabel: r,
|
|
2555
2564
|
isAdded: s,
|
|
2556
2565
|
onEditClick: n,
|
|
2557
2566
|
editButtonAriaLabel: i = "Edit",
|
|
2558
|
-
onExpandClick:
|
|
2559
|
-
expandButtonAriaLabel:
|
|
2567
|
+
onExpandClick: o,
|
|
2568
|
+
expandButtonAriaLabel: u = "Expand",
|
|
2560
2569
|
imageUrl: f,
|
|
2561
|
-
imageAlt:
|
|
2562
|
-
imageComponent:
|
|
2570
|
+
imageAlt: x,
|
|
2571
|
+
imageComponent: b,
|
|
2563
2572
|
ratingLabel: h,
|
|
2564
|
-
bookedLabel:
|
|
2573
|
+
bookedLabel: d,
|
|
2565
2574
|
title: v,
|
|
2566
|
-
description:
|
|
2575
|
+
description: g,
|
|
2567
2576
|
learnMoreLabel: j,
|
|
2568
|
-
onLearnMoreClick:
|
|
2569
|
-
learnMoreHref:
|
|
2570
|
-
dateLabel:
|
|
2577
|
+
onLearnMoreClick: L,
|
|
2578
|
+
learnMoreHref: C,
|
|
2579
|
+
dateLabel: N,
|
|
2571
2580
|
locationLabel: y,
|
|
2572
|
-
priceInfoLabel:
|
|
2573
|
-
onPriceInfoClick:
|
|
2581
|
+
priceInfoLabel: T,
|
|
2582
|
+
onPriceInfoClick: p,
|
|
2574
2583
|
price: O,
|
|
2575
|
-
cta:
|
|
2576
|
-
className:
|
|
2584
|
+
cta: H,
|
|
2585
|
+
className: B = ""
|
|
2577
2586
|
}) {
|
|
2578
|
-
const [
|
|
2587
|
+
const [Y, ae] = V(!1), I = s || Y, W = I && (h != null || d != null), q = I && (N != null || y != null);
|
|
2579
2588
|
return /* @__PURE__ */ e.jsxs(
|
|
2580
2589
|
"div",
|
|
2581
2590
|
{
|
|
2582
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${
|
|
2591
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${I ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${B}`,
|
|
2583
2592
|
children: [
|
|
2584
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${
|
|
2593
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${I ? "py-4" : "pt-4"}`, children: [
|
|
2585
2594
|
/* @__PURE__ */ e.jsxs(
|
|
2586
2595
|
"div",
|
|
2587
2596
|
{
|
|
@@ -2603,7 +2612,7 @@ function Zr({
|
|
|
2603
2612
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2604
2613
|
onClick: n,
|
|
2605
2614
|
"aria-label": i,
|
|
2606
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2615
|
+
children: /* @__PURE__ */ e.jsx(cr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2607
2616
|
}
|
|
2608
2617
|
),
|
|
2609
2618
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2612,60 +2621,60 @@ function Zr({
|
|
|
2612
2621
|
type: "button",
|
|
2613
2622
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2614
2623
|
onClick: () => {
|
|
2615
|
-
|
|
2624
|
+
ae((M) => !M), o?.();
|
|
2616
2625
|
},
|
|
2617
|
-
"aria-label":
|
|
2618
|
-
"aria-expanded":
|
|
2626
|
+
"aria-label": u,
|
|
2627
|
+
"aria-expanded": Y,
|
|
2619
2628
|
children: /* @__PURE__ */ e.jsx(
|
|
2620
|
-
|
|
2629
|
+
dr,
|
|
2621
2630
|
{
|
|
2622
2631
|
"aria-hidden": !0,
|
|
2623
|
-
className: `size-8 text-[#1D2125] ${
|
|
2632
|
+
className: `size-8 text-[#1D2125] ${Y ? "" : "-scale-y-100"}`
|
|
2624
2633
|
}
|
|
2625
2634
|
)
|
|
2626
2635
|
}
|
|
2627
2636
|
)
|
|
2628
2637
|
] })
|
|
2629
2638
|
] }),
|
|
2630
|
-
|
|
2631
|
-
|
|
2639
|
+
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" }) }),
|
|
2640
|
+
W && /* @__PURE__ */ e.jsxs(
|
|
2632
2641
|
"div",
|
|
2633
2642
|
{
|
|
2634
2643
|
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2635
2644
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2636
2645
|
children: [
|
|
2637
2646
|
h != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: h }),
|
|
2638
|
-
h != null &&
|
|
2639
|
-
|
|
2647
|
+
h != null && d != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
|
|
2648
|
+
d != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: d })
|
|
2640
2649
|
]
|
|
2641
2650
|
}
|
|
2642
2651
|
),
|
|
2643
2652
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
2644
2653
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2645
2654
|
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
|
|
2646
|
-
|
|
2655
|
+
I && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
|
|
2647
2656
|
] }),
|
|
2648
|
-
|
|
2657
|
+
I && j != null && /* @__PURE__ */ e.jsxs(
|
|
2649
2658
|
"a",
|
|
2650
2659
|
{
|
|
2651
|
-
href:
|
|
2660
|
+
href: C,
|
|
2652
2661
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2653
|
-
onClick:
|
|
2662
|
+
onClick: L,
|
|
2654
2663
|
children: [
|
|
2655
2664
|
j,
|
|
2656
|
-
/* @__PURE__ */ e.jsx(
|
|
2665
|
+
/* @__PURE__ */ e.jsx(Ia, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2657
2666
|
]
|
|
2658
2667
|
}
|
|
2659
2668
|
),
|
|
2660
|
-
|
|
2669
|
+
q && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2661
2670
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2662
2671
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2663
|
-
|
|
2664
|
-
/* @__PURE__ */ e.jsx(
|
|
2665
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
2672
|
+
N != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2673
|
+
/* @__PURE__ */ e.jsx($a, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2674
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: N })
|
|
2666
2675
|
] }),
|
|
2667
2676
|
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2668
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2677
|
+
/* @__PURE__ */ e.jsx("img", { src: ur, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2669
2678
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2670
2679
|
] })
|
|
2671
2680
|
] })
|
|
@@ -2673,14 +2682,14 @@ function Zr({
|
|
|
2673
2682
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2674
2683
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
2675
2684
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2676
|
-
|
|
2677
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children:
|
|
2678
|
-
|
|
2685
|
+
T != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2686
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: T }),
|
|
2687
|
+
p && /* @__PURE__ */ e.jsx(
|
|
2679
2688
|
"button",
|
|
2680
2689
|
{
|
|
2681
2690
|
type: "button",
|
|
2682
2691
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2683
|
-
onClick:
|
|
2692
|
+
onClick: p,
|
|
2684
2693
|
"aria-label": "More info",
|
|
2685
2694
|
children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2686
2695
|
}
|
|
@@ -2688,41 +2697,41 @@ function Zr({
|
|
|
2688
2697
|
] }),
|
|
2689
2698
|
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
|
|
2690
2699
|
] }),
|
|
2691
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2700
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: H })
|
|
2692
2701
|
] })
|
|
2693
2702
|
] })
|
|
2694
2703
|
]
|
|
2695
2704
|
}
|
|
2696
2705
|
);
|
|
2697
2706
|
}
|
|
2698
|
-
const
|
|
2707
|
+
const xr = {
|
|
2699
2708
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2700
2709
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2701
2710
|
accent: "border border-transparent px-4 text-white"
|
|
2702
|
-
},
|
|
2711
|
+
}, fr = {
|
|
2703
2712
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2704
2713
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2705
|
-
},
|
|
2714
|
+
}, pr = {
|
|
2706
2715
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2707
2716
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2708
2717
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2709
2718
|
};
|
|
2710
|
-
function
|
|
2719
|
+
function Xr({
|
|
2711
2720
|
variant: t = "primary",
|
|
2712
2721
|
size: r = "md",
|
|
2713
2722
|
leftIcon: s,
|
|
2714
2723
|
children: n,
|
|
2715
2724
|
className: i = "",
|
|
2716
|
-
style:
|
|
2717
|
-
type:
|
|
2725
|
+
style: o,
|
|
2726
|
+
type: u = "button",
|
|
2718
2727
|
...f
|
|
2719
2728
|
}) {
|
|
2720
2729
|
return /* @__PURE__ */ e.jsxs(
|
|
2721
2730
|
"button",
|
|
2722
2731
|
{
|
|
2723
|
-
type:
|
|
2724
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2725
|
-
style: { ...
|
|
2732
|
+
type: u,
|
|
2733
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${fr[r]} ${xr[t]} ${i}`,
|
|
2734
|
+
style: { ...pr[t], ...o },
|
|
2726
2735
|
...f,
|
|
2727
2736
|
children: [
|
|
2728
2737
|
s,
|
|
@@ -2731,7 +2740,7 @@ function Jr({
|
|
|
2731
2740
|
}
|
|
2732
2741
|
);
|
|
2733
2742
|
}
|
|
2734
|
-
function
|
|
2743
|
+
function Qr({ className: t = "size-5" }) {
|
|
2735
2744
|
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(
|
|
2736
2745
|
"path",
|
|
2737
2746
|
{
|
|
@@ -2740,7 +2749,7 @@ function Xr({ className: t = "size-5" }) {
|
|
|
2740
2749
|
}
|
|
2741
2750
|
) });
|
|
2742
2751
|
}
|
|
2743
|
-
function
|
|
2752
|
+
function es({ className: t = "size-5" }) {
|
|
2744
2753
|
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(
|
|
2745
2754
|
"path",
|
|
2746
2755
|
{
|
|
@@ -2749,7 +2758,7 @@ function Qr({ className: t = "size-5" }) {
|
|
|
2749
2758
|
}
|
|
2750
2759
|
) });
|
|
2751
2760
|
}
|
|
2752
|
-
const
|
|
2761
|
+
const Nt = {
|
|
2753
2762
|
en: {
|
|
2754
2763
|
heading: "Check the details to book your puja procedure",
|
|
2755
2764
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2780,8 +2789,8 @@ const yt = {
|
|
|
2780
2789
|
editDetailsLabel: "మార్చండి",
|
|
2781
2790
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2782
2791
|
}
|
|
2783
|
-
},
|
|
2784
|
-
function
|
|
2792
|
+
}, mr = (t) => Nt[t] ?? Nt.en;
|
|
2793
|
+
function wt({ children: t }) {
|
|
2785
2794
|
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 });
|
|
2786
2795
|
}
|
|
2787
2796
|
function hr({
|
|
@@ -2790,14 +2799,14 @@ function hr({
|
|
|
2790
2799
|
locale: s = "en",
|
|
2791
2800
|
ancestors: n,
|
|
2792
2801
|
kartaNames: i,
|
|
2793
|
-
gotra:
|
|
2794
|
-
whatsappNumber:
|
|
2802
|
+
gotra: o,
|
|
2803
|
+
whatsappNumber: u,
|
|
2795
2804
|
amount: f,
|
|
2796
|
-
onEditDetailsClick:
|
|
2797
|
-
onProceedPayment:
|
|
2805
|
+
onEditDetailsClick: x,
|
|
2806
|
+
onProceedPayment: b,
|
|
2798
2807
|
className: h
|
|
2799
2808
|
}) {
|
|
2800
|
-
const
|
|
2809
|
+
const d = mr(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2801
2810
|
return /* @__PURE__ */ e.jsx(
|
|
2802
2811
|
$e,
|
|
2803
2812
|
{
|
|
@@ -2805,71 +2814,71 @@ function hr({
|
|
|
2805
2814
|
onClose: r,
|
|
2806
2815
|
showDragHandle: !1,
|
|
2807
2816
|
closeButtonOutside: !0,
|
|
2808
|
-
ariaLabel:
|
|
2817
|
+
ariaLabel: d.heading,
|
|
2809
2818
|
className: c("rounded-t-[20px] bg-[#f7f8f9]", h),
|
|
2810
2819
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
2811
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children:
|
|
2812
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
2820
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: d.heading }),
|
|
2821
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: d.subtext })
|
|
2813
2822
|
] }),
|
|
2814
2823
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
2815
2824
|
/* @__PURE__ */ e.jsx(
|
|
2816
|
-
|
|
2825
|
+
K,
|
|
2817
2826
|
{
|
|
2818
2827
|
variant: "outline",
|
|
2819
2828
|
size: "lg",
|
|
2820
2829
|
className: "h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",
|
|
2821
|
-
onClick:
|
|
2822
|
-
children:
|
|
2830
|
+
onClick: x,
|
|
2831
|
+
children: d.editDetailsLabel
|
|
2823
2832
|
}
|
|
2824
2833
|
),
|
|
2825
2834
|
/* @__PURE__ */ e.jsx(
|
|
2826
|
-
|
|
2835
|
+
K,
|
|
2827
2836
|
{
|
|
2828
2837
|
variant: "primary",
|
|
2829
2838
|
size: "lg",
|
|
2830
2839
|
className: "h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2831
|
-
onClick:
|
|
2840
|
+
onClick: b,
|
|
2832
2841
|
children: v
|
|
2833
2842
|
}
|
|
2834
2843
|
)
|
|
2835
2844
|
] }),
|
|
2836
2845
|
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: [
|
|
2837
2846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2838
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
2839
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((
|
|
2840
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2841
|
-
|
|
2847
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2848
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(wt, { children: [
|
|
2849
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2850
|
+
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2842
2851
|
"(",
|
|
2843
|
-
|
|
2852
|
+
g.label,
|
|
2844
2853
|
")"
|
|
2845
2854
|
] })
|
|
2846
|
-
] },
|
|
2855
|
+
] }, g.id)) })
|
|
2847
2856
|
] }),
|
|
2848
2857
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2849
2858
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2850
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
2851
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((
|
|
2859
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2860
|
+
/* @__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: [
|
|
2852
2861
|
j + 1,
|
|
2853
2862
|
". ",
|
|
2854
|
-
|
|
2863
|
+
g
|
|
2855
2864
|
] }) }, j)) })
|
|
2856
2865
|
] }),
|
|
2857
2866
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2858
2867
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
2859
2868
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2860
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2861
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2869
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.gotraLabel }),
|
|
2870
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: o })
|
|
2862
2871
|
] }),
|
|
2863
2872
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2864
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2865
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2873
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.whatsappLabel }),
|
|
2874
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: u })
|
|
2866
2875
|
] })
|
|
2867
2876
|
] })
|
|
2868
2877
|
] }) })
|
|
2869
2878
|
}
|
|
2870
2879
|
);
|
|
2871
2880
|
}
|
|
2872
|
-
const
|
|
2881
|
+
const kt = {
|
|
2873
2882
|
en: {
|
|
2874
2883
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2875
2884
|
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.",
|
|
@@ -2888,9 +2897,9 @@ const wt = {
|
|
|
2888
2897
|
okayLabel: "సరే",
|
|
2889
2898
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2890
2899
|
}
|
|
2891
|
-
},
|
|
2892
|
-
function
|
|
2893
|
-
const i =
|
|
2900
|
+
}, Ht = (t) => kt[t] ?? kt.en;
|
|
2901
|
+
function br({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2902
|
+
const i = Ht(s);
|
|
2894
2903
|
return /* @__PURE__ */ e.jsx(
|
|
2895
2904
|
$e,
|
|
2896
2905
|
{
|
|
@@ -2909,12 +2918,12 @@ function mr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2909
2918
|
onClick: r,
|
|
2910
2919
|
"aria-label": i.closeButtonAriaLabel,
|
|
2911
2920
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
2912
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2921
|
+
children: /* @__PURE__ */ e.jsx(Fa, { size: 24, "aria-hidden": !0 })
|
|
2913
2922
|
}
|
|
2914
2923
|
)
|
|
2915
2924
|
] }),
|
|
2916
2925
|
footer: /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2917
|
-
|
|
2926
|
+
K,
|
|
2918
2927
|
{
|
|
2919
2928
|
variant: "primary",
|
|
2920
2929
|
size: "xl",
|
|
@@ -2927,7 +2936,7 @@ function mr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2927
2936
|
}
|
|
2928
2937
|
);
|
|
2929
2938
|
}
|
|
2930
|
-
const
|
|
2939
|
+
const Ct = {
|
|
2931
2940
|
en: {
|
|
2932
2941
|
topBarTitle: "Fill in necessary details for Puja",
|
|
2933
2942
|
backButtonAriaLabel: "Go back",
|
|
@@ -3009,85 +3018,86 @@ const kt = {
|
|
|
3009
3018
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3010
3019
|
kashyapGotraLabel: "కశ్యప"
|
|
3011
3020
|
}
|
|
3012
|
-
},
|
|
3021
|
+
}, gr = (t) => Ct[t] ?? Ct.en, Lt = {
|
|
3013
3022
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3014
3023
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3015
3024
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
3016
|
-
},
|
|
3025
|
+
}, vr = {
|
|
3017
3026
|
en: "th",
|
|
3018
3027
|
hi: "वें",
|
|
3019
3028
|
te: "వ"
|
|
3020
|
-
},
|
|
3021
|
-
const s = r in
|
|
3022
|
-
return
|
|
3023
|
-
}, Be = 40, De = "+91",
|
|
3024
|
-
function
|
|
3029
|
+
}, jr = (t, r) => {
|
|
3030
|
+
const s = r in Lt ? r : "en";
|
|
3031
|
+
return Lt[s][t - 1] ?? `${t}${vr[s]}`;
|
|
3032
|
+
}, Be = 40, De = "+91", yr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3033
|
+
function ts({
|
|
3025
3034
|
locale: t = "en",
|
|
3026
3035
|
values: r,
|
|
3027
3036
|
onValuesChange: s,
|
|
3028
3037
|
isGlobal: n = !1,
|
|
3029
3038
|
gotraOptions: i = [],
|
|
3030
|
-
isSarvaPitru:
|
|
3031
|
-
onBackClick:
|
|
3039
|
+
isSarvaPitru: o = !1,
|
|
3040
|
+
onBackClick: u,
|
|
3032
3041
|
amount: f,
|
|
3033
|
-
ritualsCountLabel:
|
|
3034
|
-
onPriceInfoClick:
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3042
|
+
ritualsCountLabel: x,
|
|
3043
|
+
onPriceInfoClick: b,
|
|
3044
|
+
showPriceInfoIcon: h = !0,
|
|
3045
|
+
canProceed: d,
|
|
3046
|
+
proceedCtaLabel: v,
|
|
3047
|
+
proceedButtonProps: g,
|
|
3048
|
+
onProceedPayment: j,
|
|
3049
|
+
className: L
|
|
3040
3050
|
}) {
|
|
3041
|
-
const [
|
|
3042
|
-
const
|
|
3043
|
-
return
|
|
3044
|
-
},
|
|
3045
|
-
const
|
|
3046
|
-
|
|
3047
|
-
},
|
|
3048
|
-
|
|
3049
|
-
}, [
|
|
3050
|
-
|
|
3051
|
-
if (!
|
|
3052
|
-
const
|
|
3053
|
-
|
|
3051
|
+
const [C, N] = V(!1), [y, T] = V(!1), p = gr(t), O = Ht(t), H = (k) => {
|
|
3052
|
+
const D = jr(k + 1, t);
|
|
3053
|
+
return k === 0 ? `*${D} ${p.kartaNameLabel}` : `${D} ${p.kartaNameLabel} ${p.kartaNameOptionalSuffix}`;
|
|
3054
|
+
}, B = (k) => s({ ...r, ...k }), Y = (k, D) => {
|
|
3055
|
+
const Q = [...r.kartaNames];
|
|
3056
|
+
Q[k] = D, B({ kartaNames: Q });
|
|
3057
|
+
}, ae = (k, D) => {
|
|
3058
|
+
B({ ancestors: r.ancestors.map((Q) => Q.id === k ? { ...Q, value: D } : Q) });
|
|
3059
|
+
}, [I, W] = V(!1), q = Tt(null);
|
|
3060
|
+
Rt(() => {
|
|
3061
|
+
if (!I) return;
|
|
3062
|
+
const k = (D) => {
|
|
3063
|
+
q.current && !q.current.contains(D.target) && W(!1);
|
|
3054
3064
|
};
|
|
3055
|
-
return document.addEventListener("mousedown",
|
|
3056
|
-
}, [
|
|
3057
|
-
const
|
|
3058
|
-
(
|
|
3059
|
-
),
|
|
3060
|
-
|
|
3061
|
-
},
|
|
3062
|
-
const
|
|
3063
|
-
|
|
3064
|
-
},
|
|
3065
|
-
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",
|
|
3065
|
+
return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
|
|
3066
|
+
}, [I]);
|
|
3067
|
+
const M = i.filter(
|
|
3068
|
+
(k) => k.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3069
|
+
), U = (k) => {
|
|
3070
|
+
B({ gotra: k }), W(!1);
|
|
3071
|
+
}, te = () => {
|
|
3072
|
+
const k = !r.isGotraUnknown;
|
|
3073
|
+
B({ isGotraUnknown: k, gotra: k ? p.kashyapGotraLabel : r.gotra });
|
|
3074
|
+
}, Z = Ie(De), J = St(r.whatsappNumber, De).isValid, X = yr.test(r.email), re = r.whatsappNumber.length > 0 && !J, xe = r.email.length > 0 && !X, fe = (n ? X : J) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (o || r.ancestors.every((k) => k.value.trim().length > 0)), pe = d ?? fe, me = r.gotra.trim().length > 0 ? r.gotra : p.kashyapGotraLabel, Ee = n ? r.email : r.whatsappNumber;
|
|
3075
|
+
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: [
|
|
3066
3076
|
/* @__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: [
|
|
3067
3077
|
/* @__PURE__ */ e.jsx(
|
|
3068
3078
|
"button",
|
|
3069
3079
|
{
|
|
3070
3080
|
type: "button",
|
|
3071
|
-
onClick:
|
|
3072
|
-
"aria-label":
|
|
3081
|
+
onClick: u,
|
|
3082
|
+
"aria-label": p.backButtonAriaLabel,
|
|
3073
3083
|
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)]",
|
|
3074
3084
|
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3075
3085
|
}
|
|
3076
3086
|
),
|
|
3077
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children:
|
|
3087
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: p.topBarTitle })
|
|
3078
3088
|
] }),
|
|
3079
3089
|
/* @__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: [
|
|
3080
3090
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3081
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ?
|
|
3091
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? p.emailLabel : p.whatsappNumberLabel }),
|
|
3082
3092
|
n ? /* @__PURE__ */ e.jsx(
|
|
3083
3093
|
ne,
|
|
3084
3094
|
{
|
|
3085
3095
|
type: "email",
|
|
3086
3096
|
inputMode: "email",
|
|
3087
3097
|
value: r.email,
|
|
3088
|
-
placeholder:
|
|
3089
|
-
error:
|
|
3090
|
-
onChange: (
|
|
3098
|
+
placeholder: p.emailPlaceholder,
|
|
3099
|
+
error: xe,
|
|
3100
|
+
onChange: (k) => B({ email: k }),
|
|
3091
3101
|
containerClassName: "w-full gap-0",
|
|
3092
3102
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3093
3103
|
className: "text-[18px]"
|
|
@@ -3103,49 +3113,49 @@ function es({
|
|
|
3103
3113
|
type: "tel",
|
|
3104
3114
|
inputMode: "numeric",
|
|
3105
3115
|
value: r.whatsappNumber,
|
|
3106
|
-
placeholder:
|
|
3107
|
-
maxLength:
|
|
3108
|
-
error:
|
|
3109
|
-
onChange: (
|
|
3116
|
+
placeholder: p.whatsappNumberPlaceholder,
|
|
3117
|
+
maxLength: Z,
|
|
3118
|
+
error: re,
|
|
3119
|
+
onChange: (k) => B({ whatsappNumber: k.replace(/\D/g, "").slice(0, Z) }),
|
|
3110
3120
|
containerClassName: "w-auto flex-1 gap-0",
|
|
3111
3121
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3112
3122
|
className: "text-[18px]"
|
|
3113
3123
|
}
|
|
3114
3124
|
)
|
|
3115
3125
|
] }),
|
|
3116
|
-
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ?
|
|
3126
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ? p.emailHelperText : p.whatsappNumberHelperText })
|
|
3117
3127
|
] }),
|
|
3118
3128
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3119
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children:
|
|
3120
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((
|
|
3129
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: p.kartaNameSectionTitle }),
|
|
3130
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((k, D) => /* @__PURE__ */ e.jsx(
|
|
3121
3131
|
ne,
|
|
3122
3132
|
{
|
|
3123
|
-
label:
|
|
3124
|
-
placeholder:
|
|
3125
|
-
value:
|
|
3133
|
+
label: H(D),
|
|
3134
|
+
placeholder: p.kartaNamePlaceholder,
|
|
3135
|
+
value: k,
|
|
3126
3136
|
maxLength: Be,
|
|
3127
3137
|
showCharCount: !0,
|
|
3128
|
-
wrapperClassName: c("h-12 rounded-xl",
|
|
3129
|
-
onChange: (
|
|
3138
|
+
wrapperClassName: c("h-12 rounded-xl", D === 0 && "bg-[#f3f4f6]"),
|
|
3139
|
+
onChange: (Q) => Y(D, Q)
|
|
3130
3140
|
},
|
|
3131
|
-
|
|
3141
|
+
D
|
|
3132
3142
|
)) })
|
|
3133
3143
|
] }),
|
|
3134
3144
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3135
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
3136
|
-
/* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children:
|
|
3145
|
+
/* @__PURE__ */ e.jsxs("div", { ref: q, className: "relative flex w-full flex-col gap-2", children: [
|
|
3146
|
+
/* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: p.gotraFieldLabel }),
|
|
3137
3147
|
/* @__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: [
|
|
3138
3148
|
/* @__PURE__ */ e.jsx(
|
|
3139
3149
|
"input",
|
|
3140
3150
|
{
|
|
3141
3151
|
id: "karta-gotra",
|
|
3142
3152
|
value: r.gotra,
|
|
3143
|
-
placeholder:
|
|
3153
|
+
placeholder: p.gotraFieldPlaceholder,
|
|
3144
3154
|
maxLength: Be,
|
|
3145
3155
|
autoComplete: "off",
|
|
3146
|
-
onFocus: () =>
|
|
3147
|
-
onChange: (
|
|
3148
|
-
|
|
3156
|
+
onFocus: () => W(!0),
|
|
3157
|
+
onChange: (k) => {
|
|
3158
|
+
B({ gotra: k.target.value }), W(!0);
|
|
3149
3159
|
},
|
|
3150
3160
|
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"
|
|
3151
3161
|
}
|
|
@@ -3154,32 +3164,32 @@ function es({
|
|
|
3154
3164
|
"button",
|
|
3155
3165
|
{
|
|
3156
3166
|
type: "button",
|
|
3157
|
-
onClick: () =>
|
|
3158
|
-
"aria-label":
|
|
3167
|
+
onClick: () => T(!0),
|
|
3168
|
+
"aria-label": O.heading,
|
|
3159
3169
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3160
3170
|
children: /* @__PURE__ */ e.jsx(ue, { size: 24, "aria-hidden": !0 })
|
|
3161
3171
|
}
|
|
3162
3172
|
)
|
|
3163
3173
|
] }),
|
|
3164
|
-
|
|
3174
|
+
I && M.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3165
3175
|
"div",
|
|
3166
3176
|
{
|
|
3167
3177
|
role: "listbox",
|
|
3168
3178
|
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",
|
|
3169
|
-
children:
|
|
3179
|
+
children: M.map((k) => /* @__PURE__ */ e.jsx(
|
|
3170
3180
|
"button",
|
|
3171
3181
|
{
|
|
3172
3182
|
type: "button",
|
|
3173
3183
|
role: "option",
|
|
3174
|
-
"aria-selected":
|
|
3175
|
-
onClick: () =>
|
|
3184
|
+
"aria-selected": k === r.gotra,
|
|
3185
|
+
onClick: () => U(k),
|
|
3176
3186
|
className: c(
|
|
3177
3187
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
3178
|
-
|
|
3188
|
+
k === r.gotra && "bg-[#fff9e9]"
|
|
3179
3189
|
),
|
|
3180
|
-
children:
|
|
3190
|
+
children: k
|
|
3181
3191
|
},
|
|
3182
|
-
|
|
3192
|
+
k
|
|
3183
3193
|
))
|
|
3184
3194
|
}
|
|
3185
3195
|
)
|
|
@@ -3189,42 +3199,42 @@ function es({
|
|
|
3189
3199
|
"button",
|
|
3190
3200
|
{
|
|
3191
3201
|
type: "button",
|
|
3192
|
-
onClick:
|
|
3202
|
+
onClick: te,
|
|
3193
3203
|
"aria-pressed": r.isGotraUnknown,
|
|
3194
3204
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3195
3205
|
children: [
|
|
3196
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(
|
|
3197
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
3206
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(Ma, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Ba, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3207
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: p.gotraUnknownCheckboxLabel })
|
|
3198
3208
|
]
|
|
3199
3209
|
}
|
|
3200
3210
|
),
|
|
3201
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children:
|
|
3211
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children: p.gotraUnknownHelperText })
|
|
3202
3212
|
] })
|
|
3203
3213
|
] }),
|
|
3204
3214
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3205
3215
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3206
|
-
/* @__PURE__ */ e.jsx(_e, { size: "sm", icon: /* @__PURE__ */ e.jsx(
|
|
3216
|
+
/* @__PURE__ */ e.jsx(_e, { size: "sm", icon: /* @__PURE__ */ e.jsx(za, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3207
3217
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3208
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children:
|
|
3209
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
3218
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: p.ancestorNameSectionTitle }),
|
|
3219
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: o ? p.sarvaPitruSectionSubtitle : p.ancestorNameSectionSubtitle })
|
|
3210
3220
|
] })
|
|
3211
3221
|
] }),
|
|
3212
|
-
|
|
3213
|
-
/* @__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:
|
|
3214
|
-
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children:
|
|
3215
|
-
] }) : /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: r.ancestors.map((
|
|
3222
|
+
o ? /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 p-3 pt-0", children: [
|
|
3223
|
+
/* @__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: p.sarvaPitruFieldValue }) }),
|
|
3224
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: p.sarvaPitruHelperText })
|
|
3225
|
+
] }) : /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: r.ancestors.map((k) => /* @__PURE__ */ e.jsx(
|
|
3216
3226
|
ne,
|
|
3217
3227
|
{
|
|
3218
|
-
label: `*${
|
|
3219
|
-
value:
|
|
3220
|
-
prefix:
|
|
3221
|
-
placeholder:
|
|
3228
|
+
label: `*${k.label} ${p.ancestorNameFieldSuffix}`,
|
|
3229
|
+
value: k.value,
|
|
3230
|
+
prefix: p.latePrefixLabel,
|
|
3231
|
+
placeholder: p.kartaNamePlaceholder,
|
|
3222
3232
|
maxLength: Be,
|
|
3223
3233
|
showCharCount: !0,
|
|
3224
3234
|
wrapperClassName: "h-12 rounded-xl",
|
|
3225
|
-
onChange: (
|
|
3235
|
+
onChange: (D) => ae(k.id, D)
|
|
3226
3236
|
},
|
|
3227
|
-
|
|
3237
|
+
k.id
|
|
3228
3238
|
)) })
|
|
3229
3239
|
] })
|
|
3230
3240
|
] }) }),
|
|
@@ -3232,34 +3242,35 @@ function es({
|
|
|
3232
3242
|
Ue,
|
|
3233
3243
|
{
|
|
3234
3244
|
amount: f,
|
|
3235
|
-
subtitle:
|
|
3236
|
-
onInfoClick:
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3245
|
+
subtitle: x,
|
|
3246
|
+
onInfoClick: b,
|
|
3247
|
+
showInfoIcon: h,
|
|
3248
|
+
proceedLabel: v ?? p.proceedCtaLabel,
|
|
3249
|
+
onProceed: () => N(!0),
|
|
3250
|
+
proceedButtonProps: { disabled: !pe, ...g }
|
|
3240
3251
|
}
|
|
3241
3252
|
) }),
|
|
3242
3253
|
/* @__PURE__ */ e.jsx(
|
|
3243
3254
|
hr,
|
|
3244
3255
|
{
|
|
3245
|
-
isOpen:
|
|
3246
|
-
onClose: () =>
|
|
3247
|
-
onEditDetailsClick: () =>
|
|
3256
|
+
isOpen: C,
|
|
3257
|
+
onClose: () => N(!1),
|
|
3258
|
+
onEditDetailsClick: () => N(!1),
|
|
3248
3259
|
locale: t,
|
|
3249
|
-
ancestors:
|
|
3260
|
+
ancestors: o ? [{ id: "sarva-pitru", label: "", value: p.sarvaPitruFieldValue }] : r.ancestors,
|
|
3250
3261
|
kartaNames: r.kartaNames,
|
|
3251
|
-
gotra:
|
|
3252
|
-
whatsappNumber:
|
|
3262
|
+
gotra: me,
|
|
3263
|
+
whatsappNumber: Ee,
|
|
3253
3264
|
amount: f,
|
|
3254
3265
|
onProceedPayment: () => {
|
|
3255
|
-
|
|
3266
|
+
N(!1), j();
|
|
3256
3267
|
}
|
|
3257
3268
|
}
|
|
3258
3269
|
),
|
|
3259
|
-
/* @__PURE__ */ e.jsx(
|
|
3270
|
+
/* @__PURE__ */ e.jsx(br, { isOpen: y, onClose: () => T(!1), locale: t })
|
|
3260
3271
|
] });
|
|
3261
3272
|
}
|
|
3262
|
-
function
|
|
3273
|
+
function as(t = 3, r = []) {
|
|
3263
3274
|
return {
|
|
3264
3275
|
whatsappNumber: "",
|
|
3265
3276
|
email: "",
|
|
@@ -3269,33 +3280,33 @@ function ts(t = 3, r = []) {
|
|
|
3269
3280
|
ancestors: r
|
|
3270
3281
|
};
|
|
3271
3282
|
}
|
|
3272
|
-
const
|
|
3273
|
-
function
|
|
3283
|
+
const _t = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", Nr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Cr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Lr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3284
|
+
function _r({ variant: t }) {
|
|
3274
3285
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3275
3286
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3276
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3277
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3278
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3287
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3288
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3289
|
+
/* @__PURE__ */ e.jsx("img", { src: Nr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3279
3290
|
] }),
|
|
3280
3291
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
3281
3292
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
3282
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3293
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3283
3294
|
] }),
|
|
3284
3295
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3285
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3286
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3287
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3296
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: kr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3297
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Cr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3298
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Lr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3288
3299
|
] })
|
|
3289
3300
|
] });
|
|
3290
3301
|
}
|
|
3291
|
-
const
|
|
3292
|
-
function
|
|
3302
|
+
const Er = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Et = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3303
|
+
function rs({
|
|
3293
3304
|
badgeLabel: t,
|
|
3294
3305
|
headingPrefix: r,
|
|
3295
3306
|
ritualCount: s,
|
|
3296
3307
|
ritualCountLabel: n,
|
|
3297
3308
|
headingSuffix: i,
|
|
3298
|
-
trustItems:
|
|
3309
|
+
trustItems: o
|
|
3299
3310
|
}) {
|
|
3300
3311
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-3 rounded-b-[32px] border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4", children: [
|
|
3301
3312
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
@@ -3303,7 +3314,7 @@ function as({
|
|
|
3303
3314
|
/* @__PURE__ */ e.jsx(
|
|
3304
3315
|
"img",
|
|
3305
3316
|
{
|
|
3306
|
-
src:
|
|
3317
|
+
src: Et,
|
|
3307
3318
|
alt: "",
|
|
3308
3319
|
"aria-hidden": !0,
|
|
3309
3320
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3316,7 +3327,7 @@ function as({
|
|
|
3316
3327
|
/* @__PURE__ */ e.jsx(
|
|
3317
3328
|
"img",
|
|
3318
3329
|
{
|
|
3319
|
-
src:
|
|
3330
|
+
src: Et,
|
|
3320
3331
|
alt: "",
|
|
3321
3332
|
"aria-hidden": !0,
|
|
3322
3333
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3326,7 +3337,7 @@ function as({
|
|
|
3326
3337
|
}
|
|
3327
3338
|
}
|
|
3328
3339
|
),
|
|
3329
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3340
|
+
/* @__PURE__ */ e.jsx("img", { src: Er, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3330
3341
|
] }),
|
|
3331
3342
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3332
3343
|
"✦ ",
|
|
@@ -3342,16 +3353,16 @@ function as({
|
|
|
3342
3353
|
" ",
|
|
3343
3354
|
i
|
|
3344
3355
|
] }),
|
|
3345
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children:
|
|
3346
|
-
/* @__PURE__ */ e.jsx(
|
|
3347
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children:
|
|
3348
|
-
] },
|
|
3356
|
+
/* @__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: [
|
|
3357
|
+
/* @__PURE__ */ e.jsx(_r, { variant: u.variant }),
|
|
3358
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: u.text })
|
|
3359
|
+
] }, u.variant)) })
|
|
3349
3360
|
] });
|
|
3350
3361
|
}
|
|
3351
|
-
function
|
|
3362
|
+
function Pr(t) {
|
|
3352
3363
|
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);
|
|
3353
3364
|
}
|
|
3354
|
-
const
|
|
3365
|
+
const Pt = {
|
|
3355
3366
|
en: {
|
|
3356
3367
|
title: "Who is this puja for?",
|
|
3357
3368
|
subtitle: "Your ancestors",
|
|
@@ -3364,30 +3375,30 @@ const Et = {
|
|
|
3364
3375
|
value: "सर्वपितृ के लिए",
|
|
3365
3376
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3366
3377
|
}
|
|
3367
|
-
},
|
|
3378
|
+
}, Sr = (t) => Pt[t] ?? Pt.en, Tr = _.forwardRef(
|
|
3368
3379
|
({
|
|
3369
3380
|
locale: t = "en",
|
|
3370
3381
|
title: r,
|
|
3371
3382
|
subtitle: s,
|
|
3372
3383
|
value: n,
|
|
3373
3384
|
helperText: i,
|
|
3374
|
-
icon:
|
|
3375
|
-
className:
|
|
3385
|
+
icon: o,
|
|
3386
|
+
className: u,
|
|
3376
3387
|
headerClassName: f,
|
|
3377
|
-
valueBoxClassName:
|
|
3378
|
-
helperTextClassName:
|
|
3388
|
+
valueBoxClassName: x,
|
|
3389
|
+
helperTextClassName: b,
|
|
3379
3390
|
...h
|
|
3380
|
-
},
|
|
3381
|
-
const v =
|
|
3391
|
+
}, d) => {
|
|
3392
|
+
const v = Sr(t);
|
|
3382
3393
|
return /* @__PURE__ */ e.jsxs(
|
|
3383
3394
|
"div",
|
|
3384
3395
|
{
|
|
3385
|
-
ref:
|
|
3386
|
-
className: c("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",
|
|
3396
|
+
ref: d,
|
|
3397
|
+
className: c("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", u),
|
|
3387
3398
|
...h,
|
|
3388
3399
|
children: [
|
|
3389
3400
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
|
|
3390
|
-
/* @__PURE__ */ e.jsx(_e, { icon:
|
|
3401
|
+
/* @__PURE__ */ e.jsx(_e, { icon: o ?? /* @__PURE__ */ e.jsx(Pr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3391
3402
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3392
3403
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3393
3404
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
@@ -3398,77 +3409,77 @@ const Et = {
|
|
|
3398
3409
|
{
|
|
3399
3410
|
className: c(
|
|
3400
3411
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
3401
|
-
|
|
3412
|
+
x
|
|
3402
3413
|
),
|
|
3403
3414
|
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
|
|
3404
3415
|
}
|
|
3405
3416
|
),
|
|
3406
|
-
/* @__PURE__ */ e.jsx("p", { className: c("mt-3 text-sm leading-4.5 text-gray-500",
|
|
3417
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ?? v.helperText })
|
|
3407
3418
|
]
|
|
3408
3419
|
}
|
|
3409
3420
|
);
|
|
3410
3421
|
}
|
|
3411
3422
|
);
|
|
3412
|
-
|
|
3423
|
+
Tr.displayName = "SarvaPitruCard";
|
|
3413
3424
|
export {
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3425
|
+
Ir as AudioQuestionCard,
|
|
3426
|
+
jt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3427
|
+
ir as BillDetails,
|
|
3428
|
+
nr as BookingSummaryBanner,
|
|
3429
|
+
K as Button,
|
|
3430
|
+
gt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3431
|
+
Nt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3432
|
+
Wr as CartReviewAddedBadge,
|
|
3433
|
+
Hr as CartReviewChangeButton,
|
|
3434
|
+
It as CartReviewItem,
|
|
3435
|
+
Xa as CartReviewMandapItem,
|
|
3436
|
+
Gr as CartView,
|
|
3437
|
+
es as CheckIcon,
|
|
3427
3438
|
Ue as CheckoutBar,
|
|
3428
|
-
|
|
3439
|
+
Ua as Chip,
|
|
3429
3440
|
$e as ConfinedBottomSheet,
|
|
3430
3441
|
hr as ConfirmPujaDetailsModal,
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3442
|
+
qr as DatePickerSheet,
|
|
3443
|
+
Zr as EmailSheet,
|
|
3444
|
+
Va as FAQSection,
|
|
3445
|
+
kt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3446
|
+
br as GotraInfoModal,
|
|
3436
3447
|
_e as IconBadge,
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3448
|
+
Jr as L2Card,
|
|
3449
|
+
Bt as LanguageSwitcher,
|
|
3450
|
+
Xr as OutcomeButton,
|
|
3451
|
+
rs as OutcomeSummary,
|
|
3452
|
+
vt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3453
|
+
Ct as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3454
|
+
Ur as PackageSelect,
|
|
3455
|
+
Kr as PhoneNumberSheet,
|
|
3456
|
+
Qr as PlusIcon,
|
|
3457
|
+
ts as PujaDetailsForm,
|
|
3458
|
+
Vr as QuantityStepper,
|
|
3459
|
+
Pt as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3460
|
+
Tr as SarvaPitruCard,
|
|
3461
|
+
Dt as SelectorCard,
|
|
3462
|
+
Mr as SelectorCardEditableField,
|
|
3463
|
+
$r as SelectorCardInfoRow,
|
|
3464
|
+
Ja as SelectorCardNote,
|
|
3465
|
+
Za as SelectorCardPriceBadge,
|
|
3466
|
+
Qa as ServiceOfferCard,
|
|
3467
|
+
Dr as StepProgressHeader,
|
|
3468
|
+
Fr as TestimonialCard,
|
|
3458
3469
|
ne as TextField,
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3470
|
+
Yr as TithiPickerSheet,
|
|
3471
|
+
Br as TopBar,
|
|
3472
|
+
tr as TrustBadgesBar,
|
|
3473
|
+
Ha as VideoPlayer,
|
|
3474
|
+
Ta as buttonVariants,
|
|
3475
|
+
ls as cn,
|
|
3476
|
+
as as createEmptyPujaDetailsFormValues,
|
|
3477
|
+
sr as getBookingSummaryBannerDefaultCopy,
|
|
3478
|
+
ar as getCheckoutBarDefaultCopy,
|
|
3479
|
+
mr as getConfirmPujaDetailsModalDefaultCopy,
|
|
3480
|
+
Ht as getGotraInfoModalDefaultCopy,
|
|
3481
|
+
jr as getKartaOrdinalLabel,
|
|
3482
|
+
rr as getPackageSelectDefaultCopy,
|
|
3483
|
+
gr as getPujaDetailsFormDefaultCopy,
|
|
3484
|
+
Sr as getSarvaPitruCardDefaultCopy
|
|
3474
3485
|
};
|