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