@srimandir/pitru-paksh-common 2.0.19 → 2.0.23
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/BillDetails/BillDetails.d.ts +2 -6
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.d.ts +4 -25
- package/dist/components/BookingSummaryBanner/index.d.ts +1 -3
- package/dist/components/CartReviewItem/CartReviewItem.d.ts +4 -27
- package/dist/components/CartReviewItem/index.d.ts +2 -2
- package/dist/components/CartView/CartView.d.ts +21 -50
- package/dist/components/CartView/index.d.ts +1 -1
- package/dist/components/CheckoutBar/CheckoutBar.d.ts +1 -11
- package/dist/components/CheckoutBar/index.d.ts +0 -2
- package/dist/components/EmailSheet/EmailSheet.d.ts +18 -0
- package/dist/components/EmailSheet/index.d.ts +2 -0
- package/dist/components/PackageSelect/PackageSelect.d.ts +5 -17
- package/dist/components/PackageSelect/index.d.ts +0 -2
- package/dist/components/ServiceOfferCard/ServiceOfferCard.d.ts +1 -1
- package/dist/dev/main.d.ts +0 -1
- package/dist/index.d.ts +6 -14
- package/dist/pitru-paksh-common.js +1102 -1255
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/components/BillDetails/BillDetails.translations.d.ts +0 -9
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.translations.d.ts +0 -18
- package/dist/components/CartView/CartView.translations.d.ts +0 -24
- package/dist/components/CheckoutBar/CheckoutBar.translations.d.ts +0 -14
- package/dist/components/PackageSelect/PackageSelect.translations.d.ts +0 -23
- package/dist/components/SarvaPitruCard/SarvaPitruCard.d.ts +0 -33
- package/dist/components/SarvaPitruCard/SarvaPitruCard.translations.d.ts +0 -19
- package/dist/components/SarvaPitruCard/index.d.ts +0 -4
- package/dist/pitru-paksh-common.d.ts +0 -65
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { cva as
|
|
6
|
-
import
|
|
7
|
-
var
|
|
1
|
+
import { cn as c, BottomSheet as xe, DEFAULT_COUNTRIES as qt, getMaxLengthForCountry as Ke, validatePhoneByCountryCode as Ht, getFlagEmoji as Je } from "@srimandir/common";
|
|
2
|
+
import { cn as wa } from "@srimandir/common";
|
|
3
|
+
import * as Yt from "react";
|
|
4
|
+
import C, { useState as V, useMemo as Ut, useRef as Gt, useEffect as Zt } from "react";
|
|
5
|
+
import { cva as Kt } from "class-variance-authority";
|
|
6
|
+
import Jt from "react-player";
|
|
7
|
+
var ie = { exports: {} }, te = {};
|
|
8
8
|
var Xe;
|
|
9
|
-
function
|
|
10
|
-
if (Xe) return
|
|
9
|
+
function Xt() {
|
|
10
|
+
if (Xe) return te;
|
|
11
11
|
Xe = 1;
|
|
12
|
-
var r =
|
|
13
|
-
function f(
|
|
14
|
-
var
|
|
15
|
-
p !== void 0 && (
|
|
16
|
-
for (
|
|
17
|
-
if (
|
|
18
|
-
return { $$typeof: a, type:
|
|
12
|
+
var r = C, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
|
+
function f(m, d, p) {
|
|
14
|
+
var u, h = {}, v = null, g = null;
|
|
15
|
+
p !== void 0 && (v = "" + p), d.key !== void 0 && (v = "" + d.key), d.ref !== void 0 && (g = d.ref);
|
|
16
|
+
for (u in d) n.call(d, u) && !o.hasOwnProperty(u) && (h[u] = d[u]);
|
|
17
|
+
if (m && m.defaultProps) for (u in d = m.defaultProps, d) h[u] === void 0 && (h[u] = d[u]);
|
|
18
|
+
return { $$typeof: a, type: m, key: v, ref: g, props: h, _owner: i.current };
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return te.Fragment = s, te.jsx = f, te.jsxs = f, te;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
22
|
+
var re = {};
|
|
23
23
|
var Qe;
|
|
24
|
-
function
|
|
24
|
+
function Qt() {
|
|
25
25
|
return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
-
var r =
|
|
27
|
-
function
|
|
26
|
+
var r = C, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), m = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), N = Symbol.iterator, R = "@@iterator";
|
|
27
|
+
function _(t) {
|
|
28
28
|
if (t === null || typeof t != "object")
|
|
29
29
|
return null;
|
|
30
|
-
var
|
|
31
|
-
return typeof
|
|
30
|
+
var l = N && t[N] || t[R];
|
|
31
|
+
return typeof l == "function" ? l : null;
|
|
32
32
|
}
|
|
33
|
-
var
|
|
34
|
-
function
|
|
33
|
+
var y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
34
|
+
function j(t) {
|
|
35
35
|
{
|
|
36
|
-
for (var
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
for (var l = arguments.length, x = new Array(l > 1 ? l - 1 : 0), b = 1; b < l; b++)
|
|
37
|
+
x[b - 1] = arguments[b];
|
|
38
|
+
O("error", t, x);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function O(t, l, x) {
|
|
42
42
|
{
|
|
43
|
-
var
|
|
44
|
-
S !== "" && (
|
|
45
|
-
var
|
|
43
|
+
var b = y.ReactDebugCurrentFrame, S = b.getStackAddendum();
|
|
44
|
+
S !== "" && (l += "%s", x = x.concat([S]));
|
|
45
|
+
var z = x.map(function(E) {
|
|
46
46
|
return String(E);
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
z.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
function
|
|
54
|
-
return !!(typeof t == "string" || typeof t == "function" || t === n || t ===
|
|
51
|
+
var w = !1, P = !1, $ = !1, Y = !1, W = !1, q;
|
|
52
|
+
q = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
+
function M(t) {
|
|
54
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === o || W || t === i || t === p || t === u || Y || t === g || w || P || $ || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === h || t.$$typeof === f || t.$$typeof === m || t.$$typeof === d || // This needs to include all possible module reference object
|
|
55
55
|
// types supported by any Flight configuration anywhere since
|
|
56
56
|
// we don't know which Flight build this will end up being used
|
|
57
57
|
// with.
|
|
58
|
-
t.$$typeof ===
|
|
58
|
+
t.$$typeof === q || t.getModuleId !== void 0));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
var
|
|
62
|
-
if (
|
|
63
|
-
return
|
|
64
|
-
var S =
|
|
65
|
-
return S !== "" ?
|
|
60
|
+
function X(t, l, x) {
|
|
61
|
+
var b = t.displayName;
|
|
62
|
+
if (b)
|
|
63
|
+
return b;
|
|
64
|
+
var S = l.displayName || l.name || "";
|
|
65
|
+
return S !== "" ? x + "(" + S + ")" : x;
|
|
66
66
|
}
|
|
67
67
|
function U(t) {
|
|
68
68
|
return t.displayName || "Context";
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function B(t) {
|
|
71
71
|
if (t == null)
|
|
72
72
|
return null;
|
|
73
|
-
if (typeof t.tag == "number" &&
|
|
73
|
+
if (typeof t.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
74
74
|
return t.displayName || t.name || null;
|
|
75
75
|
if (typeof t == "string")
|
|
76
76
|
return t;
|
|
@@ -79,32 +79,32 @@ function ur() {
|
|
|
79
79
|
return "Fragment";
|
|
80
80
|
case s:
|
|
81
81
|
return "Portal";
|
|
82
|
-
case
|
|
82
|
+
case o:
|
|
83
83
|
return "Profiler";
|
|
84
|
-
case
|
|
84
|
+
case i:
|
|
85
85
|
return "StrictMode";
|
|
86
86
|
case p:
|
|
87
87
|
return "Suspense";
|
|
88
|
-
case
|
|
88
|
+
case u:
|
|
89
89
|
return "SuspenseList";
|
|
90
90
|
}
|
|
91
91
|
if (typeof t == "object")
|
|
92
92
|
switch (t.$$typeof) {
|
|
93
|
-
case
|
|
94
|
-
var
|
|
95
|
-
return U(
|
|
93
|
+
case m:
|
|
94
|
+
var l = t;
|
|
95
|
+
return U(l) + ".Consumer";
|
|
96
96
|
case f:
|
|
97
|
-
var
|
|
98
|
-
return U(
|
|
97
|
+
var x = t;
|
|
98
|
+
return U(x._context) + ".Provider";
|
|
99
99
|
case d:
|
|
100
|
-
return
|
|
101
|
-
case
|
|
102
|
-
var
|
|
103
|
-
return
|
|
104
|
-
case
|
|
105
|
-
var S = t,
|
|
100
|
+
return X(t, t.render, "ForwardRef");
|
|
101
|
+
case h:
|
|
102
|
+
var b = t.displayName || null;
|
|
103
|
+
return b !== null ? b : B(t.type) || "Memo";
|
|
104
|
+
case v: {
|
|
105
|
+
var S = t, z = S._payload, E = S._init;
|
|
106
106
|
try {
|
|
107
|
-
return
|
|
107
|
+
return B(E(z));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -112,14 +112,14 @@ function ur() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var
|
|
115
|
+
var G = Object.assign, Q = 0, Ee, Re, Se, ze, Oe, Pe, Te;
|
|
116
116
|
function Le() {
|
|
117
117
|
}
|
|
118
118
|
Le.__reactDisabledLog = !0;
|
|
119
|
-
function
|
|
119
|
+
function gt() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
|
|
121
|
+
if (Q === 0) {
|
|
122
|
+
Ee = console.log, Re = console.info, Se = console.warn, ze = console.error, Oe = console.group, Pe = console.groupCollapsed, Te = console.groupEnd;
|
|
123
123
|
var t = {
|
|
124
124
|
configurable: !0,
|
|
125
125
|
enumerable: !0,
|
|
@@ -136,79 +136,79 @@ function ur() {
|
|
|
136
136
|
groupEnd: t
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
Q++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function bt() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (Q--, Q === 0) {
|
|
145
145
|
var t = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
148
148
|
writable: !0
|
|
149
149
|
};
|
|
150
150
|
Object.defineProperties(console, {
|
|
151
|
-
log:
|
|
152
|
-
value:
|
|
151
|
+
log: G({}, t, {
|
|
152
|
+
value: Ee
|
|
153
153
|
}),
|
|
154
|
-
info:
|
|
155
|
-
value:
|
|
154
|
+
info: G({}, t, {
|
|
155
|
+
value: Re
|
|
156
156
|
}),
|
|
157
|
-
warn:
|
|
158
|
-
value:
|
|
157
|
+
warn: G({}, t, {
|
|
158
|
+
value: Se
|
|
159
159
|
}),
|
|
160
|
-
error:
|
|
161
|
-
value: ee
|
|
162
|
-
}),
|
|
163
|
-
group: $({}, t, {
|
|
164
|
-
value: Te
|
|
165
|
-
}),
|
|
166
|
-
groupCollapsed: $({}, t, {
|
|
160
|
+
error: G({}, t, {
|
|
167
161
|
value: ze
|
|
168
162
|
}),
|
|
169
|
-
|
|
163
|
+
group: G({}, t, {
|
|
170
164
|
value: Oe
|
|
165
|
+
}),
|
|
166
|
+
groupCollapsed: G({}, t, {
|
|
167
|
+
value: Pe
|
|
168
|
+
}),
|
|
169
|
+
groupEnd: G({}, t, {
|
|
170
|
+
value: Te
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
Q < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function
|
|
177
|
+
var me = y.ReactCurrentDispatcher, he;
|
|
178
|
+
function ae(t, l, x) {
|
|
179
179
|
{
|
|
180
|
-
if (
|
|
180
|
+
if (he === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
183
|
} catch (S) {
|
|
184
|
-
var
|
|
185
|
-
|
|
184
|
+
var b = S.stack.trim().match(/\n( *(at )?)/);
|
|
185
|
+
he = b && b[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
|
-
` +
|
|
188
|
+
` + he + t;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var pe = !1, se;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
|
|
193
|
+
var vt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
se = new vt();
|
|
195
195
|
}
|
|
196
|
-
function Ae(t,
|
|
197
|
-
if (!t ||
|
|
196
|
+
function Ae(t, l) {
|
|
197
|
+
if (!t || pe)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var
|
|
201
|
-
if (
|
|
202
|
-
return
|
|
200
|
+
var x = se.get(t);
|
|
201
|
+
if (x !== void 0)
|
|
202
|
+
return x;
|
|
203
203
|
}
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var b;
|
|
205
|
+
pe = !0;
|
|
206
206
|
var S = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
|
-
var
|
|
209
|
-
|
|
208
|
+
var z;
|
|
209
|
+
z = me.current, me.current = null, gt();
|
|
210
210
|
try {
|
|
211
|
-
if (
|
|
211
|
+
if (l) {
|
|
212
212
|
var E = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
@@ -220,14 +220,14 @@ function ur() {
|
|
|
220
220
|
try {
|
|
221
221
|
Reflect.construct(E, []);
|
|
222
222
|
} catch (I) {
|
|
223
|
-
|
|
223
|
+
b = I;
|
|
224
224
|
}
|
|
225
225
|
Reflect.construct(t, [], E);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
228
|
E.call();
|
|
229
229
|
} catch (I) {
|
|
230
|
-
|
|
230
|
+
b = I;
|
|
231
231
|
}
|
|
232
232
|
t.call(E.prototype);
|
|
233
233
|
}
|
|
@@ -235,109 +235,109 @@ function ur() {
|
|
|
235
235
|
try {
|
|
236
236
|
throw Error();
|
|
237
237
|
} catch (I) {
|
|
238
|
-
|
|
238
|
+
b = I;
|
|
239
239
|
}
|
|
240
240
|
t();
|
|
241
241
|
}
|
|
242
242
|
} catch (I) {
|
|
243
|
-
if (I &&
|
|
244
|
-
for (var
|
|
245
|
-
`),
|
|
246
|
-
`), L =
|
|
243
|
+
if (I && b && typeof I.stack == "string") {
|
|
244
|
+
for (var k = I.stack.split(`
|
|
245
|
+
`), F = b.stack.split(`
|
|
246
|
+
`), L = k.length - 1, A = F.length - 1; L >= 1 && A >= 0 && k[L] !== F[A]; )
|
|
247
247
|
A--;
|
|
248
248
|
for (; L >= 1 && A >= 0; L--, A--)
|
|
249
|
-
if (
|
|
249
|
+
if (k[L] !== F[A]) {
|
|
250
250
|
if (L !== 1 || A !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (L--, A--, A < 0 ||
|
|
253
|
-
var
|
|
254
|
-
` +
|
|
255
|
-
return t.displayName &&
|
|
252
|
+
if (L--, A--, A < 0 || k[L] !== F[A]) {
|
|
253
|
+
var D = `
|
|
254
|
+
` + k[L].replace(" at new ", " at ");
|
|
255
|
+
return t.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, D), D;
|
|
256
256
|
}
|
|
257
257
|
while (L >= 1 && A >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
pe = !1, me.current = z, bt(), Error.prepareStackTrace = S;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
return typeof t == "function" &&
|
|
264
|
+
var J = t ? t.displayName || t.name : "", Z = J ? ae(J) : "";
|
|
265
|
+
return typeof t == "function" && se.set(t, Z), Z;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function jt(t, l, x) {
|
|
268
268
|
return Ae(t, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
var
|
|
272
|
-
return !!(
|
|
270
|
+
function yt(t) {
|
|
271
|
+
var l = t.prototype;
|
|
272
|
+
return !!(l && l.isReactComponent);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function ne(t, l, x) {
|
|
275
275
|
if (t == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof t == "function")
|
|
278
|
-
return Ae(t,
|
|
278
|
+
return Ae(t, yt(t));
|
|
279
279
|
if (typeof t == "string")
|
|
280
|
-
return
|
|
280
|
+
return ae(t);
|
|
281
281
|
switch (t) {
|
|
282
282
|
case p:
|
|
283
|
-
return
|
|
284
|
-
case
|
|
285
|
-
return
|
|
283
|
+
return ae("Suspense");
|
|
284
|
+
case u:
|
|
285
|
+
return ae("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof t == "object")
|
|
288
288
|
switch (t.$$typeof) {
|
|
289
289
|
case d:
|
|
290
|
-
return
|
|
291
|
-
case
|
|
292
|
-
return
|
|
293
|
-
case
|
|
294
|
-
var
|
|
290
|
+
return jt(t.render);
|
|
291
|
+
case h:
|
|
292
|
+
return ne(t.type, l, x);
|
|
293
|
+
case v: {
|
|
294
|
+
var b = t, S = b._payload, z = b._init;
|
|
295
295
|
try {
|
|
296
|
-
return
|
|
296
|
+
return ne(z(S), l, x);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var
|
|
304
|
-
function
|
|
303
|
+
var ee = Object.prototype.hasOwnProperty, Me = {}, Fe = y.ReactDebugCurrentFrame;
|
|
304
|
+
function le(t) {
|
|
305
305
|
if (t) {
|
|
306
|
-
var
|
|
307
|
-
|
|
306
|
+
var l = t._owner, x = ne(t.type, t._source, l ? l.type : null);
|
|
307
|
+
Fe.setExtraStackFrame(x);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
Fe.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function wt(t, l, x, b, S) {
|
|
312
312
|
{
|
|
313
|
-
var
|
|
313
|
+
var z = Function.call.bind(ee);
|
|
314
314
|
for (var E in t)
|
|
315
|
-
if (
|
|
316
|
-
var
|
|
315
|
+
if (z(t, E)) {
|
|
316
|
+
var k = void 0;
|
|
317
317
|
try {
|
|
318
318
|
if (typeof t[E] != "function") {
|
|
319
|
-
var
|
|
320
|
-
throw
|
|
319
|
+
var F = Error((b || "React class") + ": " + x + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
|
+
throw F.name = "Invariant Violation", F;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
k = t[E](l, E, b, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (L) {
|
|
324
|
-
|
|
324
|
+
k = L;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
k && !(k instanceof Error) && (le(S), j("%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).", b || "React class", x, E, typeof k), le(null)), k instanceof Error && !(k.message in Me) && (Me[k.message] = !0, le(S), j("Failed %s type: %s", x, k.message), le(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
return
|
|
330
|
+
var Nt = Array.isArray;
|
|
331
|
+
function ge(t) {
|
|
332
|
+
return Nt(t);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function kt(t) {
|
|
335
335
|
{
|
|
336
|
-
var
|
|
337
|
-
return
|
|
336
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, x = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
337
|
+
return x;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Ct(t) {
|
|
341
341
|
try {
|
|
342
342
|
return Ie(t), !1;
|
|
343
343
|
} catch {
|
|
@@ -347,121 +347,121 @@ function ur() {
|
|
|
347
347
|
function Ie(t) {
|
|
348
348
|
return "" + t;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
if (
|
|
352
|
-
return
|
|
350
|
+
function Be(t) {
|
|
351
|
+
if (Ct(t))
|
|
352
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", kt(t)), Ie(t);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var De = y.ReactCurrentOwner, _t = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
}, $e
|
|
360
|
-
function
|
|
361
|
-
if (
|
|
362
|
-
var
|
|
363
|
-
if (
|
|
359
|
+
}, Ve, $e;
|
|
360
|
+
function Et(t) {
|
|
361
|
+
if (ee.call(t, "ref")) {
|
|
362
|
+
var l = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
363
|
+
if (l && l.isReactWarning)
|
|
364
364
|
return !1;
|
|
365
365
|
}
|
|
366
366
|
return t.ref !== void 0;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
var
|
|
371
|
-
if (
|
|
368
|
+
function Rt(t) {
|
|
369
|
+
if (ee.call(t, "key")) {
|
|
370
|
+
var l = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
371
|
+
if (l && l.isReactWarning)
|
|
372
372
|
return !1;
|
|
373
373
|
}
|
|
374
374
|
return t.key !== void 0;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
typeof t.ref == "string" &&
|
|
376
|
+
function St(t, l) {
|
|
377
|
+
typeof t.ref == "string" && De.current;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function zt(t, l) {
|
|
380
380
|
{
|
|
381
|
-
var
|
|
382
|
-
|
|
381
|
+
var x = function() {
|
|
382
|
+
Ve || (Ve = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
383
383
|
};
|
|
384
|
-
|
|
385
|
-
get:
|
|
384
|
+
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
385
|
+
get: x,
|
|
386
386
|
configurable: !0
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Ot(t, l) {
|
|
391
391
|
{
|
|
392
|
-
var
|
|
393
|
-
|
|
392
|
+
var x = function() {
|
|
393
|
+
$e || ($e = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
394
394
|
};
|
|
395
|
-
|
|
396
|
-
get:
|
|
395
|
+
x.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
396
|
+
get: x,
|
|
397
397
|
configurable: !0
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var Pt = function(t, l, x, b, S, z, E) {
|
|
402
|
+
var k = {
|
|
403
403
|
// This tag allows us to uniquely identify this as a React Element
|
|
404
404
|
$$typeof: a,
|
|
405
405
|
// Built-in properties that belong on the element
|
|
406
406
|
type: t,
|
|
407
|
-
key:
|
|
408
|
-
ref:
|
|
407
|
+
key: l,
|
|
408
|
+
ref: x,
|
|
409
409
|
props: E,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
|
-
_owner:
|
|
411
|
+
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return k._store = {}, Object.defineProperty(k._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(k, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
|
-
value:
|
|
423
|
-
}), Object.defineProperty(
|
|
422
|
+
value: b
|
|
423
|
+
}), Object.defineProperty(k, "_source", {
|
|
424
424
|
configurable: !1,
|
|
425
425
|
enumerable: !1,
|
|
426
426
|
writable: !1,
|
|
427
427
|
value: S
|
|
428
|
-
}), Object.freeze && (Object.freeze(
|
|
428
|
+
}), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function Tt(t, l, x, b, S) {
|
|
431
431
|
{
|
|
432
|
-
var
|
|
433
|
-
|
|
434
|
-
for (
|
|
435
|
-
|
|
432
|
+
var z, E = {}, k = null, F = null;
|
|
433
|
+
x !== void 0 && (Be(x), k = "" + x), Rt(l) && (Be(l.key), k = "" + l.key), Et(l) && (F = l.ref, St(l, S));
|
|
434
|
+
for (z in l)
|
|
435
|
+
ee.call(l, z) && !_t.hasOwnProperty(z) && (E[z] = l[z]);
|
|
436
436
|
if (t && t.defaultProps) {
|
|
437
437
|
var L = t.defaultProps;
|
|
438
|
-
for (
|
|
439
|
-
E[
|
|
438
|
+
for (z in L)
|
|
439
|
+
E[z] === void 0 && (E[z] = L[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (k || F) {
|
|
442
442
|
var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
443
|
-
|
|
443
|
+
k && zt(E, A), F && Ot(E, A);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return Pt(t, k, F, S, b, De.current, E);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var be = y.ReactCurrentOwner, We = y.ReactDebugCurrentFrame;
|
|
449
|
+
function K(t) {
|
|
450
450
|
if (t) {
|
|
451
|
-
var
|
|
452
|
-
We.setExtraStackFrame(
|
|
451
|
+
var l = t._owner, x = ne(t.type, t._source, l ? l.type : null);
|
|
452
|
+
We.setExtraStackFrame(x);
|
|
453
453
|
} else
|
|
454
454
|
We.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
function
|
|
456
|
+
var ve;
|
|
457
|
+
ve = !1;
|
|
458
|
+
function je(t) {
|
|
459
459
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function qe() {
|
|
462
462
|
{
|
|
463
|
-
if (
|
|
464
|
-
var t =
|
|
463
|
+
if (be.current) {
|
|
464
|
+
var t = B(be.current.type);
|
|
465
465
|
if (t)
|
|
466
466
|
return `
|
|
467
467
|
|
|
@@ -470,167 +470,167 @@ Check the render method of \`` + t + "`.";
|
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function Lt(t) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var He = {};
|
|
477
|
+
function At(t) {
|
|
478
478
|
{
|
|
479
|
-
var
|
|
480
|
-
if (!
|
|
481
|
-
var
|
|
482
|
-
|
|
479
|
+
var l = qe();
|
|
480
|
+
if (!l) {
|
|
481
|
+
var x = typeof t == "string" ? t : t.displayName || t.name;
|
|
482
|
+
x && (l = `
|
|
483
483
|
|
|
484
|
-
Check the top-level render call using <` +
|
|
484
|
+
Check the top-level render call using <` + x + ">.");
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return l;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Ye(t, l) {
|
|
490
490
|
{
|
|
491
491
|
if (!t._store || t._store.validated || t.key != null)
|
|
492
492
|
return;
|
|
493
493
|
t._store.validated = !0;
|
|
494
|
-
var
|
|
495
|
-
if (
|
|
494
|
+
var x = At(l);
|
|
495
|
+
if (He[x])
|
|
496
496
|
return;
|
|
497
|
-
|
|
498
|
-
var
|
|
499
|
-
t && t._owner && t._owner !==
|
|
497
|
+
He[x] = !0;
|
|
498
|
+
var b = "";
|
|
499
|
+
t && t._owner && t._owner !== be.current && (b = " It was passed a child from " + B(t._owner.type) + "."), K(t), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, b), K(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function Ue(t,
|
|
502
|
+
function Ue(t, l) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof t != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
507
|
-
for (var
|
|
508
|
-
var
|
|
509
|
-
|
|
506
|
+
if (ge(t))
|
|
507
|
+
for (var x = 0; x < t.length; x++) {
|
|
508
|
+
var b = t[x];
|
|
509
|
+
je(b) && Ye(b, l);
|
|
510
510
|
}
|
|
511
|
-
else if (
|
|
511
|
+
else if (je(t))
|
|
512
512
|
t._store && (t._store.validated = !0);
|
|
513
513
|
else if (t) {
|
|
514
|
-
var S =
|
|
514
|
+
var S = _(t);
|
|
515
515
|
if (typeof S == "function" && S !== t.entries)
|
|
516
|
-
for (var
|
|
517
|
-
|
|
516
|
+
for (var z = S.call(t), E; !(E = z.next()).done; )
|
|
517
|
+
je(E.value) && Ye(E.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Mt(t) {
|
|
522
522
|
{
|
|
523
|
-
var
|
|
524
|
-
if (
|
|
523
|
+
var l = t.type;
|
|
524
|
+
if (l == null || typeof l == "string")
|
|
525
525
|
return;
|
|
526
|
-
var
|
|
527
|
-
if (typeof
|
|
528
|
-
|
|
529
|
-
else if (typeof
|
|
526
|
+
var x;
|
|
527
|
+
if (typeof l == "function")
|
|
528
|
+
x = l.propTypes;
|
|
529
|
+
else if (typeof l == "object" && (l.$$typeof === d || // Note: Memo only checks outer props here.
|
|
530
530
|
// Inner props are checked in the reconciler.
|
|
531
|
-
|
|
532
|
-
|
|
531
|
+
l.$$typeof === h))
|
|
532
|
+
x = l.propTypes;
|
|
533
533
|
else
|
|
534
534
|
return;
|
|
535
|
-
if (
|
|
536
|
-
var
|
|
537
|
-
|
|
538
|
-
} else if (
|
|
539
|
-
|
|
540
|
-
var S =
|
|
541
|
-
|
|
535
|
+
if (x) {
|
|
536
|
+
var b = B(l);
|
|
537
|
+
wt(x, t.props, "prop", b, t);
|
|
538
|
+
} else if (l.PropTypes !== void 0 && !ve) {
|
|
539
|
+
ve = !0;
|
|
540
|
+
var S = B(l);
|
|
541
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
542
542
|
}
|
|
543
|
-
typeof
|
|
543
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Ft(t) {
|
|
547
547
|
{
|
|
548
|
-
for (var
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
551
|
-
|
|
548
|
+
for (var l = Object.keys(t.props), x = 0; x < l.length; x++) {
|
|
549
|
+
var b = l[x];
|
|
550
|
+
if (b !== "children" && b !== "key") {
|
|
551
|
+
K(t), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), K(null);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
t.ref !== null && (
|
|
555
|
+
t.ref !== null && (K(t), j("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
var Ge = {};
|
|
559
|
-
function Ze(t,
|
|
559
|
+
function Ze(t, l, x, b, S, z) {
|
|
560
560
|
{
|
|
561
|
-
var E =
|
|
561
|
+
var E = M(t);
|
|
562
562
|
if (!E) {
|
|
563
|
-
var
|
|
564
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
565
|
-
var
|
|
566
|
-
|
|
563
|
+
var k = "";
|
|
564
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " 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 F = Lt();
|
|
566
|
+
F ? k += F : k += qe();
|
|
567
567
|
var L;
|
|
568
|
-
t === null ? L = "null" :
|
|
568
|
+
t === null ? L = "null" : ge(t) ? L = "array" : t !== void 0 && t.$$typeof === a ? (L = "<" + (B(t.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : L = typeof t, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, k);
|
|
569
569
|
}
|
|
570
|
-
var A =
|
|
570
|
+
var A = Tt(t, l, x, S, z);
|
|
571
571
|
if (A == null)
|
|
572
572
|
return A;
|
|
573
573
|
if (E) {
|
|
574
|
-
var
|
|
575
|
-
if (
|
|
576
|
-
if (
|
|
577
|
-
if (
|
|
578
|
-
for (var
|
|
579
|
-
Ue(
|
|
580
|
-
Object.freeze && Object.freeze(
|
|
574
|
+
var D = l.children;
|
|
575
|
+
if (D !== void 0)
|
|
576
|
+
if (b)
|
|
577
|
+
if (ge(D)) {
|
|
578
|
+
for (var J = 0; J < D.length; J++)
|
|
579
|
+
Ue(D[J], t);
|
|
580
|
+
Object.freeze && Object.freeze(D);
|
|
581
581
|
} else
|
|
582
|
-
|
|
582
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
583
583
|
else
|
|
584
|
-
Ue(
|
|
584
|
+
Ue(D, t);
|
|
585
585
|
}
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
return
|
|
589
|
-
}),
|
|
590
|
-
if (!Ge[
|
|
591
|
-
var
|
|
592
|
-
|
|
586
|
+
if (ee.call(l, "key")) {
|
|
587
|
+
var Z = B(t), I = Object.keys(l).filter(function(Wt) {
|
|
588
|
+
return Wt !== "key";
|
|
589
|
+
}), ye = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!Ge[Z + ye]) {
|
|
591
|
+
var $t = I.length > 0 ? "{" + I.join(": ..., ") + ": ...}" : "{}";
|
|
592
|
+
j(`A props object containing a "key" prop is being spread into JSX:
|
|
593
593
|
let props = %s;
|
|
594
594
|
<%s {...props} />
|
|
595
595
|
React keys must be passed directly to JSX without using spread:
|
|
596
596
|
let props = %s;
|
|
597
|
-
<%s key={someKey} {...props} />`,
|
|
597
|
+
<%s key={someKey} {...props} />`, ye, Z, $t, Z), Ge[Z + ye] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return t === n ?
|
|
600
|
+
return t === n ? Ft(A) : Mt(A), A;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return Ze(t,
|
|
603
|
+
function It(t, l, x) {
|
|
604
|
+
return Ze(t, l, x, !0);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return Ze(t,
|
|
606
|
+
function Bt(t, l, x) {
|
|
607
|
+
return Ze(t, l, x, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
})()),
|
|
609
|
+
var Dt = Bt, Vt = It;
|
|
610
|
+
re.Fragment = n, re.jsx = Dt, re.jsxs = Vt;
|
|
611
|
+
})()), re;
|
|
612
612
|
}
|
|
613
613
|
var et;
|
|
614
|
-
function
|
|
615
|
-
return et || (et = 1, process.env.NODE_ENV === "production" ?
|
|
614
|
+
function er() {
|
|
615
|
+
return et || (et = 1, process.env.NODE_ENV === "production" ? ie.exports = Xt() : ie.exports = Qt()), ie.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = er(), ct = {
|
|
618
618
|
color: void 0,
|
|
619
619
|
size: void 0,
|
|
620
620
|
className: void 0,
|
|
621
621
|
style: void 0,
|
|
622
622
|
attr: void 0
|
|
623
|
-
}, tt =
|
|
624
|
-
function
|
|
623
|
+
}, tt = C.createContext && /* @__PURE__ */ C.createContext(ct), tr = ["attr", "size", "title"];
|
|
624
|
+
function rr(r, a) {
|
|
625
625
|
if (r == null) return {};
|
|
626
|
-
var s, n,
|
|
626
|
+
var s, n, i = ar(r, a);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
|
-
var
|
|
629
|
-
for (n = 0; n <
|
|
628
|
+
var o = Object.getOwnPropertySymbols(r);
|
|
629
|
+
for (n = 0; n < o.length; n++) s = o[n], a.indexOf(s) === -1 && {}.propertyIsEnumerable.call(r, s) && (i[s] = r[s]);
|
|
630
630
|
}
|
|
631
|
-
return
|
|
631
|
+
return i;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function ar(r, a) {
|
|
634
634
|
if (r == null) return {};
|
|
635
635
|
var s = {};
|
|
636
636
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -639,44 +639,44 @@ function mr(r, a) {
|
|
|
639
639
|
}
|
|
640
640
|
return s;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
642
|
+
function ce() {
|
|
643
|
+
return ce = Object.assign ? Object.assign.bind() : function(r) {
|
|
644
644
|
for (var a = 1; a < arguments.length; a++) {
|
|
645
645
|
var s = arguments[a];
|
|
646
646
|
for (var n in s) ({}).hasOwnProperty.call(s, n) && (r[n] = s[n]);
|
|
647
647
|
}
|
|
648
648
|
return r;
|
|
649
|
-
},
|
|
649
|
+
}, ce.apply(null, arguments);
|
|
650
650
|
}
|
|
651
651
|
function rt(r, a) {
|
|
652
652
|
var s = Object.keys(r);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(r);
|
|
655
|
-
a && (n = n.filter(function(
|
|
656
|
-
return Object.getOwnPropertyDescriptor(r,
|
|
655
|
+
a && (n = n.filter(function(i) {
|
|
656
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
657
657
|
})), s.push.apply(s, n);
|
|
658
658
|
}
|
|
659
659
|
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function de(r) {
|
|
662
662
|
for (var a = 1; a < arguments.length; a++) {
|
|
663
663
|
var s = arguments[a] != null ? arguments[a] : {};
|
|
664
664
|
a % 2 ? rt(Object(s), !0).forEach(function(n) {
|
|
665
|
-
|
|
665
|
+
sr(r, n, s[n]);
|
|
666
666
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(s)) : rt(Object(s)).forEach(function(n) {
|
|
667
667
|
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(s, n));
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
670
|
return r;
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
return (a =
|
|
672
|
+
function sr(r, a, s) {
|
|
673
|
+
return (a = nr(a)) in r ? Object.defineProperty(r, a, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : r[a] = s, r;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
var a =
|
|
675
|
+
function nr(r) {
|
|
676
|
+
var a = lr(r, "string");
|
|
677
677
|
return typeof a == "symbol" ? a : a + "";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function lr(r, a) {
|
|
680
680
|
if (typeof r != "object" || !r) return r;
|
|
681
681
|
var s = r[Symbol.toPrimitive];
|
|
682
682
|
if (s !== void 0) {
|
|
@@ -686,39 +686,39 @@ function br(r, a) {
|
|
|
686
686
|
}
|
|
687
687
|
return (a === "string" ? String : Number)(r);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return r && r.map((a, s) => /* @__PURE__ */
|
|
689
|
+
function dt(r) {
|
|
690
|
+
return r && r.map((a, s) => /* @__PURE__ */ C.createElement(a.tag, de({
|
|
691
691
|
key: s
|
|
692
|
-
}, a.attr),
|
|
692
|
+
}, a.attr), dt(a.child)));
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return (a) => /* @__PURE__ */
|
|
696
|
-
attr:
|
|
697
|
-
}, a),
|
|
694
|
+
function T(r) {
|
|
695
|
+
return (a) => /* @__PURE__ */ C.createElement(ir, ce({
|
|
696
|
+
attr: de({}, r.attr)
|
|
697
|
+
}, a), dt(r.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function ir(r) {
|
|
700
700
|
var a = (s) => {
|
|
701
|
-
var n = r.attr,
|
|
702
|
-
return s.className && (d = s.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */
|
|
701
|
+
var n = r.attr, i = r.size, o = r.title, f = rr(r, tr), m = i || s.size || "1em", d;
|
|
702
|
+
return s.className && (d = s.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */ C.createElement("svg", ce({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
706
706
|
}, s.attr, n, f, {
|
|
707
707
|
className: d,
|
|
708
|
-
style:
|
|
708
|
+
style: de(de({
|
|
709
709
|
color: r.color || s.color
|
|
710
710
|
}, s.style), r.style),
|
|
711
|
-
height:
|
|
712
|
-
width:
|
|
711
|
+
height: m,
|
|
712
|
+
width: m,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
|
-
}),
|
|
714
|
+
}), o && /* @__PURE__ */ C.createElement("title", null, o), r.children);
|
|
715
715
|
};
|
|
716
|
-
return tt !== void 0 ? /* @__PURE__ */
|
|
716
|
+
return tt !== void 0 ? /* @__PURE__ */ C.createElement(tt.Consumer, null, (s) => a(s)) : a(ct);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
718
|
+
function or(r) {
|
|
719
|
+
return T({ 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: [] }] })(r);
|
|
720
720
|
}
|
|
721
|
-
const
|
|
721
|
+
const cr = Kt(
|
|
722
722
|
"appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
|
|
723
723
|
{
|
|
724
724
|
variants: {
|
|
@@ -749,65 +749,65 @@ const yr = or(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
),
|
|
752
|
+
), H = Yt.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: r,
|
|
755
755
|
variant: a,
|
|
756
756
|
size: s,
|
|
757
757
|
iconOnly: n,
|
|
758
|
-
loading:
|
|
759
|
-
disabled:
|
|
758
|
+
loading: i = !1,
|
|
759
|
+
disabled: o,
|
|
760
760
|
leftIcon: f,
|
|
761
|
-
rightIcon:
|
|
761
|
+
rightIcon: m,
|
|
762
762
|
children: d,
|
|
763
763
|
type: p = "button",
|
|
764
|
-
...
|
|
765
|
-
},
|
|
764
|
+
...u
|
|
765
|
+
}, h) => /* @__PURE__ */ e.jsx(
|
|
766
766
|
"button",
|
|
767
767
|
{
|
|
768
|
-
ref:
|
|
768
|
+
ref: h,
|
|
769
769
|
type: p,
|
|
770
|
-
disabled:
|
|
771
|
-
className:
|
|
772
|
-
...
|
|
773
|
-
children:
|
|
770
|
+
disabled: o || i,
|
|
771
|
+
className: c(cr({ variant: a, size: s, iconOnly: n }), r),
|
|
772
|
+
...u,
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(or, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
774
|
f,
|
|
775
775
|
d,
|
|
776
|
-
|
|
776
|
+
m
|
|
777
777
|
] })
|
|
778
778
|
}
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
|
-
|
|
782
|
-
function
|
|
783
|
-
return
|
|
781
|
+
H.displayName = "Button";
|
|
782
|
+
function dr(r) {
|
|
783
|
+
return T({ 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: [] }] })(r);
|
|
784
784
|
}
|
|
785
|
-
function
|
|
786
|
-
return
|
|
785
|
+
function ur(r) {
|
|
786
|
+
return T({ 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: [] }] })(r);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
return
|
|
788
|
+
function ut(r) {
|
|
789
|
+
return T({ 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: [] }] })(r);
|
|
790
790
|
}
|
|
791
791
|
function at(r) {
|
|
792
|
-
return
|
|
792
|
+
return T({ 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: [] }] })(r);
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return
|
|
794
|
+
function fr(r) {
|
|
795
|
+
return T({ 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: [] }] })(r);
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const ea = ({
|
|
798
798
|
quote: r,
|
|
799
799
|
authorName: a,
|
|
800
800
|
authorAvatarUrl: s,
|
|
801
801
|
meta: n,
|
|
802
|
-
rating:
|
|
803
|
-
className:
|
|
802
|
+
rating: i = 5,
|
|
803
|
+
className: o = "",
|
|
804
804
|
...f
|
|
805
805
|
}) => /* @__PURE__ */ e.jsxs(
|
|
806
806
|
"div",
|
|
807
807
|
{
|
|
808
|
-
className:
|
|
808
|
+
className: c(
|
|
809
809
|
"flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",
|
|
810
|
-
|
|
810
|
+
o
|
|
811
811
|
),
|
|
812
812
|
...f,
|
|
813
813
|
children: [
|
|
@@ -833,7 +833,7 @@ const ha = ({
|
|
|
833
833
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
834
834
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
835
835
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-base font-bold text-[#1d2125]", children: a }),
|
|
836
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5,
|
|
836
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (m, d) => /* @__PURE__ */ e.jsx(ut, { size: 12 }, d)) })
|
|
837
837
|
] }),
|
|
838
838
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
839
839
|
] })
|
|
@@ -842,58 +842,58 @@ const ha = ({
|
|
|
842
842
|
}
|
|
843
843
|
);
|
|
844
844
|
function st(r) {
|
|
845
|
-
return
|
|
845
|
+
return T({ 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: [] }] })(r);
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
return
|
|
847
|
+
function xr(r) {
|
|
848
|
+
return T({ 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: [] }] })(r);
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
return
|
|
850
|
+
function ue(r) {
|
|
851
|
+
return T({ 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: [] }] })(r);
|
|
852
852
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
853
|
+
function ft(r) {
|
|
854
|
+
return T({ 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: [] }] })(r);
|
|
855
855
|
}
|
|
856
|
-
function
|
|
857
|
-
return
|
|
856
|
+
function mr(r) {
|
|
857
|
+
return T({ 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: [] }] })(r);
|
|
858
858
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
859
|
+
function fe(r) {
|
|
860
|
+
return T({ 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: [] }] })(r);
|
|
861
861
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
862
|
+
function ke(r) {
|
|
863
|
+
return T({ 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: [] }] })(r);
|
|
864
864
|
}
|
|
865
|
-
function
|
|
866
|
-
return
|
|
865
|
+
function hr(r) {
|
|
866
|
+
return T({ 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: [] }] })(r);
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
return
|
|
868
|
+
function Ce(r) {
|
|
869
|
+
return T({ 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: [] }] })(r);
|
|
870
870
|
}
|
|
871
|
-
function
|
|
872
|
-
return
|
|
871
|
+
function xt(r) {
|
|
872
|
+
return T({ 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: [] }] })(r);
|
|
873
873
|
}
|
|
874
|
-
const
|
|
874
|
+
const pr = ({
|
|
875
875
|
title: r = "अक्सर पूछे जाने वाले प्रश्न",
|
|
876
876
|
items: a,
|
|
877
877
|
initialVisibleCount: s = 6,
|
|
878
878
|
showCta: n = !0,
|
|
879
|
-
defaultExpanded:
|
|
880
|
-
ctaExpandLabel:
|
|
879
|
+
defaultExpanded: i = !1,
|
|
880
|
+
ctaExpandLabel: o = "और देखें",
|
|
881
881
|
ctaCollapseLabel: f = "कम देखें",
|
|
882
|
-
defaultOpenIndex:
|
|
882
|
+
defaultOpenIndex: m = -1,
|
|
883
883
|
className: d = ""
|
|
884
884
|
}) => {
|
|
885
|
-
const [p,
|
|
885
|
+
const [p, u] = V(i), [h, v] = V(m), g = n && a.length > s, N = g && !p ? a.slice(0, s) : a;
|
|
886
886
|
return /* @__PURE__ */ e.jsxs(
|
|
887
887
|
"div",
|
|
888
888
|
{
|
|
889
|
-
className:
|
|
889
|
+
className: c(
|
|
890
890
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
891
891
|
d
|
|
892
892
|
),
|
|
893
893
|
children: [
|
|
894
894
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: r }),
|
|
895
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children:
|
|
896
|
-
const
|
|
895
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: N.map((R, _) => {
|
|
896
|
+
const y = h === _;
|
|
897
897
|
return /* @__PURE__ */ e.jsxs(
|
|
898
898
|
"div",
|
|
899
899
|
{
|
|
@@ -904,17 +904,17 @@ const Rr = ({
|
|
|
904
904
|
{
|
|
905
905
|
type: "button",
|
|
906
906
|
className: "flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
907
|
-
onClick: () =>
|
|
908
|
-
"aria-expanded":
|
|
909
|
-
"aria-controls": `faq-answer-${
|
|
910
|
-
id: `faq-question-${
|
|
907
|
+
onClick: () => v(y ? -1 : _),
|
|
908
|
+
"aria-expanded": y,
|
|
909
|
+
"aria-controls": `faq-answer-${_}`,
|
|
910
|
+
id: `faq-question-${_}`,
|
|
911
911
|
children: [
|
|
912
912
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#1d2125]", children: R.question }),
|
|
913
913
|
/* @__PURE__ */ e.jsx(
|
|
914
|
-
|
|
914
|
+
fe,
|
|
915
915
|
{
|
|
916
916
|
size: 24,
|
|
917
|
-
className:
|
|
917
|
+
className: c("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
|
|
918
918
|
"aria-hidden": !0
|
|
919
919
|
}
|
|
920
920
|
)
|
|
@@ -924,98 +924,98 @@ const Rr = ({
|
|
|
924
924
|
/* @__PURE__ */ e.jsx(
|
|
925
925
|
"div",
|
|
926
926
|
{
|
|
927
|
-
id: `faq-answer-${
|
|
927
|
+
id: `faq-answer-${_}`,
|
|
928
928
|
role: "region",
|
|
929
|
-
"aria-labelledby": `faq-question-${
|
|
930
|
-
hidden: !
|
|
929
|
+
"aria-labelledby": `faq-question-${_}`,
|
|
930
|
+
hidden: !y,
|
|
931
931
|
children: /* @__PURE__ */ e.jsx("p", { className: "px-3 pb-3 text-sm text-gray-500", children: R.answer })
|
|
932
932
|
}
|
|
933
933
|
)
|
|
934
934
|
]
|
|
935
935
|
},
|
|
936
|
-
|
|
936
|
+
_
|
|
937
937
|
);
|
|
938
938
|
}) }),
|
|
939
|
-
|
|
940
|
-
|
|
939
|
+
g && /* @__PURE__ */ e.jsx(
|
|
940
|
+
H,
|
|
941
941
|
{
|
|
942
942
|
variant: "secondary",
|
|
943
943
|
size: "lg",
|
|
944
944
|
className: "w-full",
|
|
945
|
-
onClick: () =>
|
|
945
|
+
onClick: () => u((R) => !R),
|
|
946
946
|
"aria-expanded": p,
|
|
947
947
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
948
|
-
|
|
948
|
+
fe,
|
|
949
949
|
{
|
|
950
950
|
size: 24,
|
|
951
|
-
className:
|
|
951
|
+
className: c("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
952
952
|
"aria-hidden": !0
|
|
953
953
|
}
|
|
954
954
|
),
|
|
955
|
-
children: p ? f :
|
|
955
|
+
children: p ? f : o
|
|
956
956
|
}
|
|
957
957
|
)
|
|
958
958
|
]
|
|
959
959
|
}
|
|
960
960
|
);
|
|
961
|
-
},
|
|
962
|
-
({ src: r, poster: a, className: s = "", rounded: n = !0, width:
|
|
963
|
-
const [
|
|
961
|
+
}, gr = C.forwardRef(
|
|
962
|
+
({ src: r, poster: a, className: s = "", rounded: n = !0, width: i, height: o }, f) => {
|
|
963
|
+
const [m, d] = C.useState(!1), [p, u] = C.useState(!0), [h, v] = C.useState(!1), [g, N] = C.useState(0), [R, _] = C.useState(0), y = C.useRef(null), O = c(
|
|
964
964
|
"block w-full",
|
|
965
|
-
(
|
|
966
|
-
),
|
|
967
|
-
const
|
|
968
|
-
|
|
965
|
+
(i !== void 0 || o !== void 0) && "h-full object-cover"
|
|
966
|
+
), w = (P) => {
|
|
967
|
+
const $ = Number(P.target.value);
|
|
968
|
+
N($), y.current && (y.current.currentTime = $);
|
|
969
969
|
};
|
|
970
970
|
return /* @__PURE__ */ e.jsx(
|
|
971
971
|
"div",
|
|
972
972
|
{
|
|
973
973
|
ref: f,
|
|
974
|
-
style: { width:
|
|
975
|
-
className:
|
|
974
|
+
style: { width: i, height: o },
|
|
975
|
+
className: c(
|
|
976
976
|
"relative w-full overflow-hidden",
|
|
977
977
|
n && "rounded-2xl",
|
|
978
978
|
s
|
|
979
979
|
),
|
|
980
|
-
children:
|
|
980
|
+
children: m ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
981
981
|
/* @__PURE__ */ e.jsx(
|
|
982
|
-
|
|
982
|
+
Jt,
|
|
983
983
|
{
|
|
984
|
-
ref:
|
|
984
|
+
ref: y,
|
|
985
985
|
src: r,
|
|
986
986
|
poster: a,
|
|
987
987
|
playing: p,
|
|
988
|
-
muted:
|
|
989
|
-
width:
|
|
990
|
-
height:
|
|
991
|
-
className:
|
|
992
|
-
onTimeUpdate: (
|
|
993
|
-
onDurationChange: (
|
|
994
|
-
onEnded: () =>
|
|
988
|
+
muted: h,
|
|
989
|
+
width: i,
|
|
990
|
+
height: o,
|
|
991
|
+
className: O,
|
|
992
|
+
onTimeUpdate: (P) => N(P.currentTarget.currentTime),
|
|
993
|
+
onDurationChange: (P) => _(P.currentTarget.duration),
|
|
994
|
+
onEnded: () => u(!1)
|
|
995
995
|
}
|
|
996
996
|
),
|
|
997
997
|
/* @__PURE__ */ e.jsx(
|
|
998
|
-
|
|
998
|
+
H,
|
|
999
999
|
{
|
|
1000
1000
|
variant: "ghost",
|
|
1001
1001
|
iconOnly: !0,
|
|
1002
1002
|
size: "lg",
|
|
1003
1003
|
"aria-label": p ? "Pause" : "Play",
|
|
1004
1004
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1005
|
-
onClick: () =>
|
|
1006
|
-
children: p ? /* @__PURE__ */ e.jsx(
|
|
1005
|
+
onClick: () => u((P) => !P),
|
|
1006
|
+
children: p ? /* @__PURE__ */ e.jsx(fr, { size: 16 }) : /* @__PURE__ */ e.jsx(at, { size: 16, className: "translate-x-0.5" })
|
|
1007
1007
|
}
|
|
1008
1008
|
),
|
|
1009
1009
|
/* @__PURE__ */ e.jsx(
|
|
1010
|
-
|
|
1010
|
+
H,
|
|
1011
1011
|
{
|
|
1012
1012
|
variant: "ghost",
|
|
1013
1013
|
iconOnly: !0,
|
|
1014
1014
|
size: "sm",
|
|
1015
|
-
"aria-label":
|
|
1015
|
+
"aria-label": h ? "Unmute" : "Mute",
|
|
1016
1016
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1017
|
-
onClick: () =>
|
|
1018
|
-
children:
|
|
1017
|
+
onClick: () => v((P) => !P),
|
|
1018
|
+
children: h ? /* @__PURE__ */ e.jsx(ur, { size: 14 }) : /* @__PURE__ */ e.jsx(dr, { size: 14 })
|
|
1019
1019
|
}
|
|
1020
1020
|
),
|
|
1021
1021
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1025,17 +1025,17 @@ const Rr = ({
|
|
|
1025
1025
|
min: 0,
|
|
1026
1026
|
max: R || 0,
|
|
1027
1027
|
step: 0.1,
|
|
1028
|
-
value:
|
|
1029
|
-
onChange:
|
|
1028
|
+
value: g,
|
|
1029
|
+
onChange: w,
|
|
1030
1030
|
"aria-label": "Seek",
|
|
1031
1031
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
1034
1034
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1035
|
-
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className:
|
|
1035
|
+
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className: O }),
|
|
1036
1036
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
1037
1037
|
/* @__PURE__ */ e.jsx(
|
|
1038
|
-
|
|
1038
|
+
H,
|
|
1039
1039
|
{
|
|
1040
1040
|
variant: "ghost",
|
|
1041
1041
|
iconOnly: !0,
|
|
@@ -1051,109 +1051,109 @@ const Rr = ({
|
|
|
1051
1051
|
);
|
|
1052
1052
|
}
|
|
1053
1053
|
);
|
|
1054
|
-
|
|
1055
|
-
const
|
|
1054
|
+
gr.displayName = "VideoPlayer";
|
|
1055
|
+
const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), mt = C.forwardRef(
|
|
1056
1056
|
({
|
|
1057
1057
|
options: r,
|
|
1058
1058
|
value: a,
|
|
1059
1059
|
onChange: s,
|
|
1060
1060
|
defaultOpen: n = !1,
|
|
1061
|
-
open:
|
|
1062
|
-
onOpenChange:
|
|
1061
|
+
open: i,
|
|
1062
|
+
onOpenChange: o,
|
|
1063
1063
|
className: f = "",
|
|
1064
|
-
triggerClassName:
|
|
1064
|
+
triggerClassName: m = "",
|
|
1065
1065
|
menuClassName: d = "",
|
|
1066
1066
|
...p
|
|
1067
|
-
},
|
|
1068
|
-
const [
|
|
1069
|
-
(
|
|
1070
|
-
|
|
1067
|
+
}, u) => {
|
|
1068
|
+
const [h, v] = C.useState(n), g = i !== void 0, N = g ? i : h, R = C.useCallback(
|
|
1069
|
+
(j) => {
|
|
1070
|
+
g || v(j), o?.(j);
|
|
1071
1071
|
},
|
|
1072
|
-
[
|
|
1073
|
-
),
|
|
1074
|
-
|
|
1075
|
-
if (!
|
|
1076
|
-
const
|
|
1077
|
-
|
|
1078
|
-
},
|
|
1079
|
-
|
|
1072
|
+
[g, o]
|
|
1073
|
+
), _ = C.useRef(null);
|
|
1074
|
+
C.useImperativeHandle(u, () => _.current), C.useEffect(() => {
|
|
1075
|
+
if (!N) return;
|
|
1076
|
+
const j = (w) => {
|
|
1077
|
+
_.current?.contains(w.target) || R(!1);
|
|
1078
|
+
}, O = (w) => {
|
|
1079
|
+
w.key === "Escape" && R(!1);
|
|
1080
1080
|
};
|
|
1081
|
-
return document.addEventListener("mousedown",
|
|
1082
|
-
document.removeEventListener("mousedown",
|
|
1081
|
+
return document.addEventListener("mousedown", j), document.addEventListener("keydown", O), () => {
|
|
1082
|
+
document.removeEventListener("mousedown", j), document.removeEventListener("keydown", O);
|
|
1083
1083
|
};
|
|
1084
|
-
}, [
|
|
1085
|
-
const
|
|
1086
|
-
s?.(
|
|
1084
|
+
}, [N, R]);
|
|
1085
|
+
const y = (j) => {
|
|
1086
|
+
s?.(j.value), R(!1);
|
|
1087
1087
|
};
|
|
1088
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1088
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: _, className: c("relative inline-block", f), ...p, children: [
|
|
1089
1089
|
/* @__PURE__ */ e.jsxs(
|
|
1090
1090
|
"button",
|
|
1091
1091
|
{
|
|
1092
1092
|
type: "button",
|
|
1093
|
-
onClick: () => R(!
|
|
1093
|
+
onClick: () => R(!N),
|
|
1094
1094
|
"aria-label": "Switch language",
|
|
1095
1095
|
"aria-haspopup": "listbox",
|
|
1096
|
-
"aria-expanded":
|
|
1097
|
-
className:
|
|
1096
|
+
"aria-expanded": N,
|
|
1097
|
+
className: c(
|
|
1098
1098
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
1099
|
-
|
|
1099
|
+
m
|
|
1100
1100
|
),
|
|
1101
1101
|
children: [
|
|
1102
|
-
/* @__PURE__ */ e.jsx(
|
|
1102
|
+
/* @__PURE__ */ e.jsx(br, {}),
|
|
1103
1103
|
/* @__PURE__ */ e.jsx(
|
|
1104
|
-
|
|
1104
|
+
fe,
|
|
1105
1105
|
{
|
|
1106
1106
|
size: 24,
|
|
1107
|
-
className:
|
|
1107
|
+
className: c("transition-transform duration-200", N ? "rotate-180" : ""),
|
|
1108
1108
|
"aria-hidden": !0
|
|
1109
1109
|
}
|
|
1110
1110
|
)
|
|
1111
1111
|
]
|
|
1112
1112
|
}
|
|
1113
1113
|
),
|
|
1114
|
-
|
|
1114
|
+
N && /* @__PURE__ */ e.jsx(
|
|
1115
1115
|
"ul",
|
|
1116
1116
|
{
|
|
1117
1117
|
role: "listbox",
|
|
1118
|
-
className:
|
|
1118
|
+
className: c(
|
|
1119
1119
|
"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",
|
|
1120
1120
|
d
|
|
1121
1121
|
),
|
|
1122
|
-
children: r.map((
|
|
1123
|
-
const
|
|
1124
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
1122
|
+
children: r.map((j) => {
|
|
1123
|
+
const O = j.value === a;
|
|
1124
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": O, children: /* @__PURE__ */ e.jsx(
|
|
1125
1125
|
"button",
|
|
1126
1126
|
{
|
|
1127
1127
|
type: "button",
|
|
1128
|
-
onClick: () =>
|
|
1129
|
-
className:
|
|
1128
|
+
onClick: () => y(j),
|
|
1129
|
+
className: c(
|
|
1130
1130
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1131
|
-
|
|
1131
|
+
O ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1132
1132
|
),
|
|
1133
|
-
children:
|
|
1133
|
+
children: j.label
|
|
1134
1134
|
}
|
|
1135
|
-
) },
|
|
1135
|
+
) }, j.value);
|
|
1136
1136
|
})
|
|
1137
1137
|
}
|
|
1138
1138
|
)
|
|
1139
1139
|
] });
|
|
1140
1140
|
}
|
|
1141
1141
|
);
|
|
1142
|
-
|
|
1143
|
-
function
|
|
1142
|
+
mt.displayName = "LanguageSwitcher";
|
|
1143
|
+
function ta({
|
|
1144
1144
|
onBackClick: r,
|
|
1145
1145
|
backButtonAriaLabel: a = "Go back",
|
|
1146
1146
|
locale: s,
|
|
1147
1147
|
localeOptions: n,
|
|
1148
|
-
onLocaleChange:
|
|
1149
|
-
className:
|
|
1148
|
+
onLocaleChange: i,
|
|
1149
|
+
className: o
|
|
1150
1150
|
}) {
|
|
1151
1151
|
return /* @__PURE__ */ e.jsxs(
|
|
1152
1152
|
"div",
|
|
1153
1153
|
{
|
|
1154
|
-
className:
|
|
1154
|
+
className: c(
|
|
1155
1155
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
1156
|
-
|
|
1156
|
+
o
|
|
1157
1157
|
),
|
|
1158
1158
|
children: [
|
|
1159
1159
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1163,15 +1163,15 @@ function ma({
|
|
|
1163
1163
|
onClick: r,
|
|
1164
1164
|
"aria-label": a,
|
|
1165
1165
|
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)]",
|
|
1166
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1166
|
+
children: /* @__PURE__ */ e.jsx(xt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1167
1167
|
}
|
|
1168
1168
|
),
|
|
1169
1169
|
/* @__PURE__ */ e.jsx(
|
|
1170
|
-
|
|
1170
|
+
mt,
|
|
1171
1171
|
{
|
|
1172
1172
|
options: n,
|
|
1173
1173
|
value: s,
|
|
1174
|
-
onChange:
|
|
1174
|
+
onChange: i,
|
|
1175
1175
|
menuClassName: "left-auto right-0"
|
|
1176
1176
|
}
|
|
1177
1177
|
)
|
|
@@ -1179,18 +1179,18 @@ function ma({
|
|
|
1179
1179
|
}
|
|
1180
1180
|
);
|
|
1181
1181
|
}
|
|
1182
|
-
const
|
|
1183
|
-
({ label: r, selected: a = !1, onClick: s, icon: n, className:
|
|
1182
|
+
const vr = C.forwardRef(
|
|
1183
|
+
({ label: r, selected: a = !1, onClick: s, icon: n, className: i, type: o = "button", ...f }, m) => /* @__PURE__ */ e.jsxs(
|
|
1184
1184
|
"button",
|
|
1185
1185
|
{
|
|
1186
|
-
ref:
|
|
1187
|
-
type:
|
|
1186
|
+
ref: m,
|
|
1187
|
+
type: o,
|
|
1188
1188
|
onClick: s,
|
|
1189
1189
|
"aria-pressed": a,
|
|
1190
|
-
className:
|
|
1190
|
+
className: c(
|
|
1191
1191
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border font-['Noto_Sans'] text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
1192
1192
|
a ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
|
|
1193
|
-
|
|
1193
|
+
i
|
|
1194
1194
|
),
|
|
1195
1195
|
...f,
|
|
1196
1196
|
children: [
|
|
@@ -1200,16 +1200,16 @@ const Tr = k.forwardRef(
|
|
|
1200
1200
|
}
|
|
1201
1201
|
)
|
|
1202
1202
|
);
|
|
1203
|
-
|
|
1204
|
-
const
|
|
1203
|
+
vr.displayName = "Chip";
|
|
1204
|
+
const ra = ({
|
|
1205
1205
|
quote: r,
|
|
1206
1206
|
currentStep: a,
|
|
1207
1207
|
totalSteps: s,
|
|
1208
1208
|
className: n,
|
|
1209
|
-
...
|
|
1209
|
+
...i
|
|
1210
1210
|
}) => {
|
|
1211
|
-
const
|
|
1212
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1211
|
+
const o = s > 0 ? Math.min(100, Math.max(0, a / s * 100)) : 0;
|
|
1212
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("step-progress-header", n), ...i, children: [
|
|
1213
1213
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
1214
1214
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: r }),
|
|
1215
1215
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -1217,14 +1217,14 @@ const pa = ({
|
|
|
1217
1217
|
"div",
|
|
1218
1218
|
{
|
|
1219
1219
|
className: "step-progress-header__track-fill",
|
|
1220
|
-
style: { width: `${
|
|
1220
|
+
style: { width: `${o}%` }
|
|
1221
1221
|
}
|
|
1222
1222
|
),
|
|
1223
1223
|
/* @__PURE__ */ e.jsx(
|
|
1224
1224
|
"div",
|
|
1225
1225
|
{
|
|
1226
1226
|
className: "step-progress-header__track-marker",
|
|
1227
|
-
style: { left: `${
|
|
1227
|
+
style: { left: `${o}%` },
|
|
1228
1228
|
children: /* @__PURE__ */ e.jsx(
|
|
1229
1229
|
"img",
|
|
1230
1230
|
{
|
|
@@ -1245,13 +1245,13 @@ const pa = ({
|
|
|
1245
1245
|
] })
|
|
1246
1246
|
] });
|
|
1247
1247
|
};
|
|
1248
|
-
function
|
|
1249
|
-
return
|
|
1248
|
+
function jr(r) {
|
|
1249
|
+
return T({ 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: [] }] })(r);
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return
|
|
1251
|
+
function yr(r) {
|
|
1252
|
+
return T({ 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: [] }] })(r);
|
|
1253
1253
|
}
|
|
1254
|
-
const nt = 1.25,
|
|
1254
|
+
const nt = 1.25, lt = [
|
|
1255
1255
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1256
1256
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1257
1257
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1259,7 +1259,7 @@ const nt = 1.25, it = [
|
|
|
1259
1259
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1260
1260
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1261
1261
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1262
|
-
],
|
|
1262
|
+
], wr = ({
|
|
1263
1263
|
animate: r,
|
|
1264
1264
|
iconIndex: a
|
|
1265
1265
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1271,7 +1271,7 @@ const nt = 1.25, it = [
|
|
|
1271
1271
|
fill: "none",
|
|
1272
1272
|
"aria-hidden": !0,
|
|
1273
1273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1274
|
-
children:
|
|
1274
|
+
children: lt.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1275
1275
|
"rect",
|
|
1276
1276
|
{
|
|
1277
1277
|
x: s.x,
|
|
@@ -1282,34 +1282,34 @@ const nt = 1.25, it = [
|
|
|
1282
1282
|
fill: "#6B7280",
|
|
1283
1283
|
className: r ? "wave-bar-anim" : "",
|
|
1284
1284
|
style: {
|
|
1285
|
-
animationDelay: `${(a *
|
|
1285
|
+
animationDelay: `${(a * lt.length + n) * 60}ms`
|
|
1286
1286
|
}
|
|
1287
1287
|
},
|
|
1288
1288
|
n
|
|
1289
1289
|
))
|
|
1290
1290
|
}
|
|
1291
|
-
),
|
|
1291
|
+
), aa = ({
|
|
1292
1292
|
avatarUrl: r,
|
|
1293
1293
|
question: a,
|
|
1294
1294
|
description: s,
|
|
1295
1295
|
audioSrc: n,
|
|
1296
|
-
className:
|
|
1297
|
-
...
|
|
1296
|
+
className: i,
|
|
1297
|
+
...o
|
|
1298
1298
|
}) => {
|
|
1299
|
-
const f =
|
|
1300
|
-
|
|
1301
|
-
!n ||
|
|
1299
|
+
const f = C.useRef(null), m = C.useRef(!1), [d, p] = C.useState(!1), [u, h] = C.useState(!1);
|
|
1300
|
+
C.useEffect(() => {
|
|
1301
|
+
!n || m.current || (m.current = !0, f.current?.play().catch(() => {
|
|
1302
1302
|
}));
|
|
1303
1303
|
}, [n]);
|
|
1304
|
-
const
|
|
1305
|
-
const
|
|
1306
|
-
|
|
1304
|
+
const v = () => {
|
|
1305
|
+
const g = f.current;
|
|
1306
|
+
g && (g.muted = !g.muted, p(g.muted));
|
|
1307
1307
|
};
|
|
1308
1308
|
return /* @__PURE__ */ e.jsxs(
|
|
1309
1309
|
"div",
|
|
1310
1310
|
{
|
|
1311
|
-
className:
|
|
1312
|
-
...
|
|
1311
|
+
className: c("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
1312
|
+
...o,
|
|
1313
1313
|
children: [
|
|
1314
1314
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
1315
1315
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1355,29 +1355,29 @@ const nt = 1.25, it = [
|
|
|
1355
1355
|
{
|
|
1356
1356
|
ref: f,
|
|
1357
1357
|
src: n,
|
|
1358
|
-
onPlay: () =>
|
|
1359
|
-
onPause: () =>
|
|
1360
|
-
onEnded: () =>
|
|
1358
|
+
onPlay: () => h(!0),
|
|
1359
|
+
onPause: () => h(!1),
|
|
1360
|
+
onEnded: () => h(!1)
|
|
1361
1361
|
}
|
|
1362
1362
|
),
|
|
1363
1363
|
/* @__PURE__ */ e.jsx(
|
|
1364
1364
|
"button",
|
|
1365
1365
|
{
|
|
1366
1366
|
type: "button",
|
|
1367
|
-
onClick:
|
|
1367
|
+
onClick: v,
|
|
1368
1368
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1369
1369
|
"aria-pressed": d,
|
|
1370
1370
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1371
|
-
children: d ? /* @__PURE__ */ e.jsx(
|
|
1371
|
+
children: d ? /* @__PURE__ */ e.jsx(yr, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(jr, { size: 18, className: "text-[#f75e22]" })
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
1374
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((
|
|
1375
|
-
|
|
1374
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1375
|
+
wr,
|
|
1376
1376
|
{
|
|
1377
|
-
animate:
|
|
1378
|
-
iconIndex:
|
|
1377
|
+
animate: u && !d,
|
|
1378
|
+
iconIndex: g
|
|
1379
1379
|
},
|
|
1380
|
-
|
|
1380
|
+
g
|
|
1381
1381
|
)) })
|
|
1382
1382
|
] })
|
|
1383
1383
|
] })
|
|
@@ -1385,122 +1385,122 @@ const nt = 1.25, it = [
|
|
|
1385
1385
|
]
|
|
1386
1386
|
}
|
|
1387
1387
|
);
|
|
1388
|
-
},
|
|
1388
|
+
}, Nr = {
|
|
1389
1389
|
sm: "size-9",
|
|
1390
1390
|
md: "size-11",
|
|
1391
1391
|
lg: "size-16"
|
|
1392
|
-
},
|
|
1393
|
-
({ icon: r, avatarUrl: a, alt: s = "", size: n = "md", className:
|
|
1392
|
+
}, ht = C.forwardRef(
|
|
1393
|
+
({ icon: r, avatarUrl: a, alt: s = "", size: n = "md", className: i, ...o }, f) => /* @__PURE__ */ e.jsx(
|
|
1394
1394
|
"div",
|
|
1395
1395
|
{
|
|
1396
1396
|
ref: f,
|
|
1397
|
-
className:
|
|
1397
|
+
className: c(
|
|
1398
1398
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1399
|
-
|
|
1399
|
+
Nr[n],
|
|
1400
1400
|
!a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1401
|
-
|
|
1401
|
+
i
|
|
1402
1402
|
),
|
|
1403
1403
|
"aria-hidden": a ? void 0 : !0,
|
|
1404
|
-
...
|
|
1404
|
+
...o,
|
|
1405
1405
|
children: a ? /* @__PURE__ */ e.jsx("img", { src: a, alt: s, className: "size-full object-cover" }) : r
|
|
1406
1406
|
}
|
|
1407
1407
|
)
|
|
1408
1408
|
);
|
|
1409
|
-
|
|
1410
|
-
const
|
|
1409
|
+
ht.displayName = "IconBadge";
|
|
1410
|
+
const pt = C.forwardRef(
|
|
1411
1411
|
({
|
|
1412
1412
|
selected: r = !1,
|
|
1413
1413
|
onSelect: a,
|
|
1414
1414
|
icon: s,
|
|
1415
1415
|
avatarUrl: n,
|
|
1416
|
-
iconSize:
|
|
1417
|
-
iconClassName:
|
|
1416
|
+
iconSize: i = "md",
|
|
1417
|
+
iconClassName: o,
|
|
1418
1418
|
title: f,
|
|
1419
|
-
description:
|
|
1419
|
+
description: m,
|
|
1420
1420
|
badge: d,
|
|
1421
1421
|
showRadio: p = !0,
|
|
1422
|
-
radioVariant:
|
|
1423
|
-
radioClassName:
|
|
1424
|
-
tag:
|
|
1425
|
-
tagClassName:
|
|
1426
|
-
children:
|
|
1422
|
+
radioVariant: u = "dot",
|
|
1423
|
+
radioClassName: h,
|
|
1424
|
+
tag: v,
|
|
1425
|
+
tagClassName: g,
|
|
1426
|
+
children: N,
|
|
1427
1427
|
className: R,
|
|
1428
|
-
disabled:
|
|
1429
|
-
type:
|
|
1430
|
-
...
|
|
1431
|
-
},
|
|
1428
|
+
disabled: _,
|
|
1429
|
+
type: y = "button",
|
|
1430
|
+
...j
|
|
1431
|
+
}, O) => /* @__PURE__ */ e.jsxs(
|
|
1432
1432
|
"div",
|
|
1433
1433
|
{
|
|
1434
|
-
className:
|
|
1434
|
+
className: c(
|
|
1435
1435
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1436
1436
|
r ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1437
|
-
|
|
1437
|
+
_ && "opacity-50",
|
|
1438
1438
|
R
|
|
1439
1439
|
),
|
|
1440
1440
|
children: [
|
|
1441
|
-
|
|
1441
|
+
v && /* @__PURE__ */ e.jsx(
|
|
1442
1442
|
"span",
|
|
1443
1443
|
{
|
|
1444
|
-
className:
|
|
1444
|
+
className: c(
|
|
1445
1445
|
"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",
|
|
1446
|
-
|
|
1446
|
+
g
|
|
1447
1447
|
),
|
|
1448
|
-
children:
|
|
1448
|
+
children: v
|
|
1449
1449
|
}
|
|
1450
1450
|
),
|
|
1451
1451
|
/* @__PURE__ */ e.jsxs(
|
|
1452
1452
|
"button",
|
|
1453
1453
|
{
|
|
1454
|
-
ref:
|
|
1455
|
-
type:
|
|
1454
|
+
ref: O,
|
|
1455
|
+
type: y,
|
|
1456
1456
|
role: "radio",
|
|
1457
1457
|
"aria-checked": r,
|
|
1458
|
-
disabled:
|
|
1458
|
+
disabled: _,
|
|
1459
1459
|
onClick: a,
|
|
1460
|
-
className:
|
|
1460
|
+
className: c(
|
|
1461
1461
|
"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",
|
|
1462
|
-
|
|
1462
|
+
v && "pt-7"
|
|
1463
1463
|
),
|
|
1464
|
-
...
|
|
1464
|
+
...j,
|
|
1465
1465
|
children: [
|
|
1466
|
-
(s || n) && /* @__PURE__ */ e.jsx(
|
|
1466
|
+
(s || n) && /* @__PURE__ */ e.jsx(ht, { icon: s, avatarUrl: n, size: i, className: o }),
|
|
1467
1467
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1468
1468
|
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]", children: f }),
|
|
1469
|
-
|
|
1469
|
+
m && !N && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: m })
|
|
1470
1470
|
] }),
|
|
1471
1471
|
d && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: d }),
|
|
1472
1472
|
p && /* @__PURE__ */ e.jsxs(
|
|
1473
1473
|
"span",
|
|
1474
1474
|
{
|
|
1475
1475
|
"aria-hidden": !0,
|
|
1476
|
-
className:
|
|
1476
|
+
className: c(
|
|
1477
1477
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1478
|
-
r ?
|
|
1478
|
+
r ? u === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", h) : "border-[#f75e22]" : "border-gray-300"
|
|
1479
1479
|
),
|
|
1480
1480
|
children: [
|
|
1481
|
-
r &&
|
|
1481
|
+
r && u === "dot" && /* @__PURE__ */ e.jsx(
|
|
1482
1482
|
"span",
|
|
1483
1483
|
{
|
|
1484
|
-
className:
|
|
1484
|
+
className: c(
|
|
1485
1485
|
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1486
|
-
|
|
1486
|
+
h
|
|
1487
1487
|
)
|
|
1488
1488
|
}
|
|
1489
1489
|
),
|
|
1490
|
-
r &&
|
|
1490
|
+
r && u === "check" && /* @__PURE__ */ e.jsx(ke, { size: 14, "aria-hidden": !0 })
|
|
1491
1491
|
]
|
|
1492
1492
|
}
|
|
1493
1493
|
)
|
|
1494
1494
|
]
|
|
1495
1495
|
}
|
|
1496
1496
|
),
|
|
1497
|
-
|
|
1497
|
+
N
|
|
1498
1498
|
]
|
|
1499
1499
|
}
|
|
1500
1500
|
)
|
|
1501
1501
|
);
|
|
1502
|
-
|
|
1503
|
-
const
|
|
1502
|
+
pt.displayName = "SelectorCard";
|
|
1503
|
+
const sa = ({
|
|
1504
1504
|
value: r,
|
|
1505
1505
|
onClick: a,
|
|
1506
1506
|
className: s,
|
|
@@ -1511,31 +1511,31 @@ const ba = ({
|
|
|
1511
1511
|
role: a ? "button" : void 0,
|
|
1512
1512
|
tabIndex: a ? 0 : void 0,
|
|
1513
1513
|
onClick: a,
|
|
1514
|
-
className:
|
|
1514
|
+
className: c(
|
|
1515
1515
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1516
1516
|
a && "cursor-pointer",
|
|
1517
1517
|
s
|
|
1518
1518
|
),
|
|
1519
1519
|
...n,
|
|
1520
1520
|
children: [
|
|
1521
|
-
/* @__PURE__ */ e.jsx(
|
|
1521
|
+
/* @__PURE__ */ e.jsx(ft, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1522
1522
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: r })
|
|
1523
1523
|
]
|
|
1524
1524
|
}
|
|
1525
|
-
),
|
|
1525
|
+
), na = ({
|
|
1526
1526
|
value: r,
|
|
1527
1527
|
onInfoClick: a,
|
|
1528
1528
|
infoLabel: s = "More info",
|
|
1529
1529
|
className: n,
|
|
1530
|
-
...
|
|
1530
|
+
...i
|
|
1531
1531
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1532
1532
|
"div",
|
|
1533
1533
|
{
|
|
1534
|
-
className:
|
|
1534
|
+
className: c(
|
|
1535
1535
|
"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",
|
|
1536
1536
|
n
|
|
1537
1537
|
),
|
|
1538
|
-
...
|
|
1538
|
+
...i,
|
|
1539
1539
|
children: [
|
|
1540
1540
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: r }),
|
|
1541
1541
|
a ? /* @__PURE__ */ e.jsx(
|
|
@@ -1545,61 +1545,61 @@ const ba = ({
|
|
|
1545
1545
|
onClick: a,
|
|
1546
1546
|
"aria-label": s,
|
|
1547
1547
|
className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
|
|
1548
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1548
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
1549
1549
|
}
|
|
1550
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1550
|
+
) : /* @__PURE__ */ e.jsx(ue, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1551
1551
|
]
|
|
1552
1552
|
}
|
|
1553
|
-
),
|
|
1553
|
+
), kr = ({
|
|
1554
1554
|
value: r,
|
|
1555
1555
|
className: a,
|
|
1556
1556
|
...s
|
|
1557
1557
|
}) => /* @__PURE__ */ e.jsx(
|
|
1558
1558
|
"span",
|
|
1559
1559
|
{
|
|
1560
|
-
className:
|
|
1560
|
+
className: c(
|
|
1561
1561
|
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",
|
|
1562
1562
|
a
|
|
1563
1563
|
),
|
|
1564
1564
|
...s,
|
|
1565
1565
|
children: r
|
|
1566
1566
|
}
|
|
1567
|
-
),
|
|
1567
|
+
), Cr = ({ className: r, children: a, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1568
1568
|
"div",
|
|
1569
1569
|
{
|
|
1570
|
-
className:
|
|
1570
|
+
className: c(
|
|
1571
1571
|
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",
|
|
1572
1572
|
r
|
|
1573
1573
|
),
|
|
1574
1574
|
...s,
|
|
1575
1575
|
children: a
|
|
1576
1576
|
}
|
|
1577
|
-
),
|
|
1577
|
+
), la = ({
|
|
1578
1578
|
value: r,
|
|
1579
1579
|
onIncrement: a,
|
|
1580
1580
|
onDecrement: s,
|
|
1581
1581
|
min: n = 0,
|
|
1582
|
-
max:
|
|
1583
|
-
addLabel:
|
|
1582
|
+
max: i,
|
|
1583
|
+
addLabel: o = "Add",
|
|
1584
1584
|
className: f
|
|
1585
1585
|
}) => r <= n ? /* @__PURE__ */ e.jsxs(
|
|
1586
1586
|
"button",
|
|
1587
1587
|
{
|
|
1588
1588
|
type: "button",
|
|
1589
1589
|
onClick: a,
|
|
1590
|
-
className:
|
|
1590
|
+
className: c(
|
|
1591
1591
|
"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] font-['Noto_Sans'] text-base font-bold text-white",
|
|
1592
1592
|
f
|
|
1593
1593
|
),
|
|
1594
1594
|
children: [
|
|
1595
1595
|
/* @__PURE__ */ e.jsx(st, { size: 20, "aria-hidden": !0 }),
|
|
1596
|
-
|
|
1596
|
+
o
|
|
1597
1597
|
]
|
|
1598
1598
|
}
|
|
1599
1599
|
) : /* @__PURE__ */ e.jsxs(
|
|
1600
1600
|
"div",
|
|
1601
1601
|
{
|
|
1602
|
-
className:
|
|
1602
|
+
className: c(
|
|
1603
1603
|
"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",
|
|
1604
1604
|
f
|
|
1605
1605
|
),
|
|
@@ -1611,7 +1611,7 @@ const ba = ({
|
|
|
1611
1611
|
onClick: s,
|
|
1612
1612
|
"aria-label": "Decrease quantity",
|
|
1613
1613
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1614
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1614
|
+
children: /* @__PURE__ */ e.jsx(xr, { size: 18, "aria-hidden": !0 })
|
|
1615
1615
|
}
|
|
1616
1616
|
),
|
|
1617
1617
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold", children: r }),
|
|
@@ -1620,7 +1620,7 @@ const ba = ({
|
|
|
1620
1620
|
{
|
|
1621
1621
|
type: "button",
|
|
1622
1622
|
onClick: a,
|
|
1623
|
-
disabled:
|
|
1623
|
+
disabled: i !== void 0 && r >= i,
|
|
1624
1624
|
"aria-label": "Increase quantity",
|
|
1625
1625
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1626
1626
|
children: /* @__PURE__ */ e.jsx(st, { size: 18, "aria-hidden": !0 })
|
|
@@ -1628,43 +1628,18 @@ const ba = ({
|
|
|
1628
1628
|
)
|
|
1629
1629
|
]
|
|
1630
1630
|
}
|
|
1631
|
-
),
|
|
1632
|
-
en: {
|
|
1633
|
-
headerTitle: "Review your booking",
|
|
1634
|
-
addonsTitle: "Add services for all ancestors",
|
|
1635
|
-
addonsDescription: "These pujas will be performed on the day of Sarva Pitru Amavasya",
|
|
1636
|
-
addedLabel: "Added",
|
|
1637
|
-
addLabel: "Add",
|
|
1638
|
-
mandapTitle: "Temple and Mandap Charges",
|
|
1639
|
-
mandapDescription: "This fee covers the temple space, mandap, and other arrangements needed for the puja.",
|
|
1640
|
-
checkoutProceedLabel: "Proceed to fill details",
|
|
1641
|
-
checkoutRitualSingular: "Ritual",
|
|
1642
|
-
checkoutRitualPlural: "Rituals"
|
|
1643
|
-
},
|
|
1644
|
-
hi: {
|
|
1645
|
-
headerTitle: "अपनी बुकिंग की समीक्षा करें",
|
|
1646
|
-
addonsTitle: "सभी पितरों के लिए सेवाएं जोड़ें",
|
|
1647
|
-
addonsDescription: "ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",
|
|
1648
|
-
addedLabel: "जोड़ा गया",
|
|
1649
|
-
addLabel: "जोड़ें",
|
|
1650
|
-
mandapTitle: "मंदिर और मंडप शुल्क",
|
|
1651
|
-
mandapDescription: "पूजा के लिए मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए यह शुल्क लिया जाता है",
|
|
1652
|
-
checkoutProceedLabel: "आगे बढ़ें, और डिटेल्स भरें",
|
|
1653
|
-
checkoutRitualSingular: "पूजा-विधि",
|
|
1654
|
-
checkoutRitualPlural: "पूजा-विधि"
|
|
1655
|
-
}
|
|
1656
|
-
}, ge = (r) => lt[r] ?? lt.en, Nt = ({
|
|
1631
|
+
), _r = ({
|
|
1657
1632
|
title: r,
|
|
1658
1633
|
description: a,
|
|
1659
1634
|
price: s,
|
|
1660
1635
|
originalPrice: n,
|
|
1661
|
-
action:
|
|
1662
|
-
className:
|
|
1636
|
+
action: i,
|
|
1637
|
+
className: o,
|
|
1663
1638
|
...f
|
|
1664
1639
|
}) => /* @__PURE__ */ e.jsx(
|
|
1665
1640
|
"div",
|
|
1666
1641
|
{
|
|
1667
|
-
className:
|
|
1642
|
+
className: c("rounded-2xl border border-gray-200 bg-white p-4", o),
|
|
1668
1643
|
...f,
|
|
1669
1644
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1670
1645
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -1676,14 +1651,11 @@ const ba = ({
|
|
|
1676
1651
|
n && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: n }),
|
|
1677
1652
|
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1d2125]", children: s })
|
|
1678
1653
|
] }),
|
|
1679
|
-
|
|
1654
|
+
i
|
|
1680
1655
|
] })
|
|
1681
1656
|
] })
|
|
1682
1657
|
}
|
|
1683
|
-
),
|
|
1684
|
-
const { mandapTitle: s, mandapDescription: n } = ge(r);
|
|
1685
|
-
return /* @__PURE__ */ e.jsx(Nt, { title: s, description: n, ...a });
|
|
1686
|
-
}, ya = ({
|
|
1658
|
+
), ia = ({
|
|
1687
1659
|
children: r = "Change",
|
|
1688
1660
|
className: a,
|
|
1689
1661
|
type: s = "button",
|
|
@@ -1692,64 +1664,62 @@ const ba = ({
|
|
|
1692
1664
|
"button",
|
|
1693
1665
|
{
|
|
1694
1666
|
type: s,
|
|
1695
|
-
className:
|
|
1667
|
+
className: c(
|
|
1696
1668
|
"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",
|
|
1697
1669
|
a
|
|
1698
1670
|
),
|
|
1699
1671
|
...n,
|
|
1700
1672
|
children: [
|
|
1701
|
-
/* @__PURE__ */ e.jsx(
|
|
1673
|
+
/* @__PURE__ */ e.jsx(ft, { size: 14, "aria-hidden": !0 }),
|
|
1702
1674
|
r
|
|
1703
1675
|
]
|
|
1704
1676
|
}
|
|
1705
|
-
),
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
type: l = "button",
|
|
1711
|
-
...c
|
|
1677
|
+
), oa = ({
|
|
1678
|
+
children: r = "Added",
|
|
1679
|
+
className: a,
|
|
1680
|
+
type: s = "button",
|
|
1681
|
+
...n
|
|
1712
1682
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1713
1683
|
"button",
|
|
1714
1684
|
{
|
|
1715
|
-
type:
|
|
1716
|
-
className:
|
|
1685
|
+
type: s,
|
|
1686
|
+
className: c(
|
|
1717
1687
|
"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",
|
|
1718
|
-
|
|
1688
|
+
a
|
|
1719
1689
|
),
|
|
1720
|
-
...
|
|
1690
|
+
...n,
|
|
1721
1691
|
children: [
|
|
1722
|
-
|
|
1723
|
-
|
|
1692
|
+
/* @__PURE__ */ e.jsx(ke, { size: 14, "aria-hidden": !0 }),
|
|
1693
|
+
r
|
|
1724
1694
|
]
|
|
1725
1695
|
}
|
|
1726
|
-
),
|
|
1696
|
+
), Er = ({
|
|
1727
1697
|
image: r,
|
|
1728
1698
|
imageAlt: a = "",
|
|
1729
1699
|
title: s,
|
|
1730
1700
|
description: n,
|
|
1731
|
-
price:
|
|
1732
|
-
originalPrice:
|
|
1701
|
+
price: i,
|
|
1702
|
+
originalPrice: o,
|
|
1733
1703
|
tag: f,
|
|
1734
|
-
tagClassName:
|
|
1704
|
+
tagClassName: m,
|
|
1735
1705
|
action: d,
|
|
1736
1706
|
className: p,
|
|
1737
|
-
...
|
|
1707
|
+
...u
|
|
1738
1708
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1739
1709
|
"div",
|
|
1740
1710
|
{
|
|
1741
|
-
className:
|
|
1711
|
+
className: c(
|
|
1742
1712
|
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1743
1713
|
p
|
|
1744
1714
|
),
|
|
1745
|
-
...
|
|
1715
|
+
...u,
|
|
1746
1716
|
children: [
|
|
1747
1717
|
f && /* @__PURE__ */ e.jsx(
|
|
1748
1718
|
"div",
|
|
1749
1719
|
{
|
|
1750
|
-
className:
|
|
1720
|
+
className: c(
|
|
1751
1721
|
"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",
|
|
1752
|
-
|
|
1722
|
+
m
|
|
1753
1723
|
),
|
|
1754
1724
|
children: f
|
|
1755
1725
|
}
|
|
@@ -1759,8 +1729,8 @@ const ba = ({
|
|
|
1759
1729
|
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-sm leading-5 font-bold text-[#232323]", children: s }),
|
|
1760
1730
|
n && /* @__PURE__ */ e.jsx("p", { className: " font-['Noto_Sans'] mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1761
1731
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1762
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children:
|
|
1763
|
-
|
|
1732
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
|
|
1733
|
+
o && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: o })
|
|
1764
1734
|
] })
|
|
1765
1735
|
] }),
|
|
1766
1736
|
/* @__PURE__ */ e.jsxs("div", { className: "relative w-30 h-34.25 shrink-0", children: [
|
|
@@ -1771,389 +1741,280 @@ const ba = ({
|
|
|
1771
1741
|
]
|
|
1772
1742
|
}
|
|
1773
1743
|
);
|
|
1774
|
-
function
|
|
1775
|
-
return
|
|
1744
|
+
function Rr(r) {
|
|
1745
|
+
return T({ 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: [] }] })(r);
|
|
1776
1746
|
}
|
|
1777
|
-
function
|
|
1778
|
-
return
|
|
1747
|
+
function Sr(r) {
|
|
1748
|
+
return T({ 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: [] }] })(r);
|
|
1779
1749
|
}
|
|
1780
|
-
function
|
|
1781
|
-
return
|
|
1750
|
+
function zr(r) {
|
|
1751
|
+
return T({ 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: [] }] })(r);
|
|
1782
1752
|
}
|
|
1783
|
-
const
|
|
1784
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1785
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1786
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1787
|
-
],
|
|
1788
|
-
badges: r =
|
|
1753
|
+
const Or = [
|
|
1754
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Sr, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1755
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Rr, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1756
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(zr, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1757
|
+
], Pr = ({
|
|
1758
|
+
badges: r = Or,
|
|
1789
1759
|
badgeClassName: a,
|
|
1790
1760
|
className: s,
|
|
1791
1761
|
...n
|
|
1792
1762
|
}) => /* @__PURE__ */ e.jsx(
|
|
1793
1763
|
"div",
|
|
1794
1764
|
{
|
|
1795
|
-
className:
|
|
1765
|
+
className: c(
|
|
1796
1766
|
"flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
|
|
1797
1767
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
1798
1768
|
s
|
|
1799
1769
|
),
|
|
1800
1770
|
...n,
|
|
1801
|
-
children: r.map((
|
|
1771
|
+
children: r.map((i) => /* @__PURE__ */ e.jsxs(
|
|
1802
1772
|
"span",
|
|
1803
1773
|
{
|
|
1804
|
-
className:
|
|
1774
|
+
className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", a, i.className),
|
|
1805
1775
|
children: [
|
|
1806
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children:
|
|
1807
|
-
|
|
1776
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: i.icon }),
|
|
1777
|
+
i.label
|
|
1808
1778
|
]
|
|
1809
1779
|
},
|
|
1810
|
-
|
|
1780
|
+
i.id
|
|
1811
1781
|
))
|
|
1812
1782
|
}
|
|
1813
|
-
),
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
subtitle: n,
|
|
1825
|
-
subtitleClassName: l,
|
|
1826
|
-
showInfoIcon: c = !0,
|
|
1827
|
-
onInfoClick: f,
|
|
1828
|
-
infoIconClassName: x,
|
|
1829
|
-
proceedLabel: d,
|
|
1830
|
-
proceedIcon: p = /* @__PURE__ */ e.jsx(vt, { "aria-hidden": !0 }),
|
|
1831
|
-
onProceed: m,
|
|
1783
|
+
), Tr = ({
|
|
1784
|
+
amount: r,
|
|
1785
|
+
amountClassName: a,
|
|
1786
|
+
subtitle: s,
|
|
1787
|
+
subtitleClassName: n,
|
|
1788
|
+
showInfoIcon: i = !0,
|
|
1789
|
+
onInfoClick: o,
|
|
1790
|
+
infoIconClassName: f,
|
|
1791
|
+
proceedLabel: m = "Proceed",
|
|
1792
|
+
proceedIcon: d = /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
|
|
1793
|
+
onProceed: p,
|
|
1832
1794
|
proceedButtonProps: u,
|
|
1833
|
-
buttonWrapperClassName:
|
|
1834
|
-
className:
|
|
1835
|
-
...
|
|
1836
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1795
|
+
buttonWrapperClassName: h,
|
|
1796
|
+
className: v,
|
|
1797
|
+
...g
|
|
1798
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", v), ...g, children: [
|
|
1837
1799
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1838
1800
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1839
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1840
|
-
|
|
1801
|
+
/* @__PURE__ */ e.jsx("span", { className: c("text-xl font-extrabold text-[#1d2125]", a), children: r }),
|
|
1802
|
+
i && /* @__PURE__ */ e.jsx(
|
|
1841
1803
|
"button",
|
|
1842
1804
|
{
|
|
1843
1805
|
type: "button",
|
|
1844
|
-
onClick:
|
|
1806
|
+
onClick: o,
|
|
1845
1807
|
"aria-label": "View bill details",
|
|
1846
|
-
className:
|
|
1808
|
+
className: c(
|
|
1847
1809
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1848
|
-
!
|
|
1849
|
-
|
|
1810
|
+
!o && "pointer-events-none",
|
|
1811
|
+
f
|
|
1850
1812
|
),
|
|
1851
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1813
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
1852
1814
|
}
|
|
1853
1815
|
)
|
|
1854
1816
|
] }),
|
|
1855
|
-
|
|
1817
|
+
s && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", n), children: s })
|
|
1856
1818
|
] }),
|
|
1857
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1858
|
-
|
|
1859
|
-
|
|
1819
|
+
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", h), children: /* @__PURE__ */ e.jsxs(H, { variant: "primary", size: "xl", onClick: p, ...u, className: c("min-w-40 justify-center gap-2", u?.className), children: [
|
|
1820
|
+
m,
|
|
1821
|
+
d
|
|
1860
1822
|
] }) })
|
|
1861
|
-
] }),
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
noHiddenCost: "No Hidden Cost",
|
|
1873
|
-
support: "24x7 Support"
|
|
1874
|
-
}
|
|
1875
|
-
},
|
|
1876
|
-
hi: {
|
|
1877
|
-
title: "पूजा करवाने वाले (कर्ता) लोगो की संख्या चुनें",
|
|
1878
|
-
description: "पूरे परिवार के साथ मिलकर पूजा करने से पितरों का आशीर्वाद मिलता है और परिवार की सुख-समृद्धि बढ़ती है",
|
|
1879
|
-
benefits: [
|
|
1880
|
-
"पंडितजी द्वारा पितृजन और कर्ता का नाम-गोत्र उच्चारण होगा",
|
|
1881
|
-
"हमारे अनुभवी पुरोहित पूरे विधि-विधान से पूजा कराएंगे",
|
|
1882
|
-
"पूरी पूजा का वीडियो आपको WhatsApp और श्रीमंदिर ऐप पर शेयर किया जाएगा"
|
|
1883
|
-
],
|
|
1884
|
-
trustBadgeLabels: {
|
|
1885
|
-
moneyBack: "100% पैसा वापसी की गारंटी",
|
|
1886
|
-
noHiddenCost: "कोई छुपी हुई लागत नहीं",
|
|
1887
|
-
support: "24x7 सहायता"
|
|
1888
|
-
}
|
|
1889
|
-
}
|
|
1890
|
-
}, Wr = (r) => ct[r] ?? ct.en, Na = ({
|
|
1891
|
-
locale: r = "en",
|
|
1892
|
-
title: a,
|
|
1893
|
-
description: s,
|
|
1894
|
-
benefits: n,
|
|
1895
|
-
options: l,
|
|
1896
|
-
value: c,
|
|
1897
|
-
onChange: f,
|
|
1898
|
-
radioVariant: x = "dot",
|
|
1899
|
-
radiogroupLabel: d,
|
|
1900
|
-
className: p,
|
|
1901
|
-
headerClassName: m,
|
|
1823
|
+
] }), ca = ({
|
|
1824
|
+
title: r,
|
|
1825
|
+
description: a,
|
|
1826
|
+
benefits: s,
|
|
1827
|
+
options: n,
|
|
1828
|
+
value: i,
|
|
1829
|
+
onChange: o,
|
|
1830
|
+
radioVariant: f = "dot",
|
|
1831
|
+
radiogroupLabel: m,
|
|
1832
|
+
className: d,
|
|
1833
|
+
headerClassName: p,
|
|
1902
1834
|
benefitsClassName: u,
|
|
1903
|
-
optionsClassName:
|
|
1904
|
-
trustBadges:
|
|
1905
|
-
checkout:
|
|
1906
|
-
stickyFooter:
|
|
1907
|
-
footerClassName:
|
|
1908
|
-
}) => {
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
iconClassName:
|
|
1942
|
-
radioVariant:
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
},
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
}, Hr = (r) => dt[r] ?? dt.en, Yr = ({
|
|
1980
|
-
locale: r = "en",
|
|
1981
|
-
icon: a = /* @__PURE__ */ e.jsx(gt, { "aria-hidden": !0 }),
|
|
1982
|
-
iconClassName: s,
|
|
1983
|
-
title: n,
|
|
1984
|
-
titleClassName: l,
|
|
1985
|
-
subtitle: c,
|
|
1986
|
-
subtitleItems: f,
|
|
1987
|
-
stats: x,
|
|
1988
|
-
subtitleClassName: d,
|
|
1989
|
-
cardClassName: p,
|
|
1990
|
-
className: m,
|
|
1991
|
-
...u
|
|
1992
|
-
}) => {
|
|
1993
|
-
const g = Hr(r), j = n ?? g.title, y = f ?? (x && [
|
|
1994
|
-
`${x.ancestors} ${g.ancestorsLabel}`,
|
|
1995
|
-
`${x.rituals} ${g.ritualsLabel}`,
|
|
1996
|
-
`${x.performers} ${g.performersLabel}`
|
|
1997
|
-
]);
|
|
1998
|
-
return /* @__PURE__ */ e.jsx("div", { className: o("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", m), ...u, children: /* @__PURE__ */ e.jsxs("div", { className: o("rounded-2xl bg-white p-4 shadow-sm", p), children: [
|
|
1999
|
-
/* @__PURE__ */ e.jsxs("p", { className: o("flex items-center gap-2 text-sm font-bold text-[#db2777]", l), children: [
|
|
2000
|
-
a && /* @__PURE__ */ e.jsx("span", { className: o("shrink-0 text-sm", s), children: a }),
|
|
2001
|
-
j
|
|
2002
|
-
] }),
|
|
2003
|
-
(c || y && y.length > 0) && /* @__PURE__ */ e.jsx("p", { className: o("mt-2 text-[15px] font-semibold text-[#1d2125]", d), children: y && y.length > 0 ? y.map((R, C) => /* @__PURE__ */ e.jsxs(k.Fragment, { children: [
|
|
2004
|
-
C > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2005
|
-
R
|
|
2006
|
-
] }, C)) : c })
|
|
2007
|
-
] }) });
|
|
2008
|
-
}, ut = {
|
|
2009
|
-
en: {
|
|
2010
|
-
title: "Bill Details",
|
|
2011
|
-
totalLabel: "Total Amount"
|
|
2012
|
-
},
|
|
2013
|
-
hi: {
|
|
2014
|
-
title: "बिल विवरण",
|
|
2015
|
-
totalLabel: "कुल राशि"
|
|
2016
|
-
}
|
|
2017
|
-
}, qr = (r) => ut[r] ?? ut.en, Ur = ({
|
|
2018
|
-
locale: r = "en",
|
|
1835
|
+
optionsClassName: h,
|
|
1836
|
+
trustBadges: v,
|
|
1837
|
+
checkout: g,
|
|
1838
|
+
stickyFooter: N = !0,
|
|
1839
|
+
footerClassName: R
|
|
1840
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("w-full", d), children: [
|
|
1841
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", p), children: [
|
|
1842
|
+
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: r }),
|
|
1843
|
+
a && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: a })
|
|
1844
|
+
] }),
|
|
1845
|
+
s && s.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: s.map((_, y) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1846
|
+
/* @__PURE__ */ e.jsx(ke, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1847
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: _ })
|
|
1848
|
+
] }, y)) }),
|
|
1849
|
+
/* @__PURE__ */ e.jsx(
|
|
1850
|
+
"div",
|
|
1851
|
+
{
|
|
1852
|
+
role: "radiogroup",
|
|
1853
|
+
"aria-label": m ?? (typeof r == "string" ? r : void 0),
|
|
1854
|
+
className: c("flex flex-col gap-3 p-4", h),
|
|
1855
|
+
children: n.map((_) => {
|
|
1856
|
+
const {
|
|
1857
|
+
id: y,
|
|
1858
|
+
price: j,
|
|
1859
|
+
free: O,
|
|
1860
|
+
badge: w,
|
|
1861
|
+
priceBadgeProps: P,
|
|
1862
|
+
note: $,
|
|
1863
|
+
noteProps: Y,
|
|
1864
|
+
children: W,
|
|
1865
|
+
iconClassName: q,
|
|
1866
|
+
radioVariant: M,
|
|
1867
|
+
...X
|
|
1868
|
+
} = _, U = i === y, B = w ?? (j == null ? void 0 : O ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", P?.className), ...P, children: j }) : /* @__PURE__ */ e.jsx(kr, { value: j, ...P }));
|
|
1869
|
+
return /* @__PURE__ */ e.jsx(
|
|
1870
|
+
pt,
|
|
1871
|
+
{
|
|
1872
|
+
...X,
|
|
1873
|
+
iconClassName: c("size-10", q),
|
|
1874
|
+
radioVariant: M ?? f,
|
|
1875
|
+
badge: B,
|
|
1876
|
+
selected: U,
|
|
1877
|
+
onSelect: () => o(y),
|
|
1878
|
+
children: W ?? (U && $ && /* @__PURE__ */ e.jsx(Cr, { ...Y, children: $ }))
|
|
1879
|
+
},
|
|
1880
|
+
y
|
|
1881
|
+
);
|
|
1882
|
+
})
|
|
1883
|
+
}
|
|
1884
|
+
),
|
|
1885
|
+
(v || g) && /* @__PURE__ */ e.jsxs("div", { className: c(N && "sticky bottom-0 z-10", R), children: [
|
|
1886
|
+
v && /* @__PURE__ */ e.jsx(Pr, { ...v }),
|
|
1887
|
+
g && /* @__PURE__ */ e.jsx(Tr, { ...g })
|
|
1888
|
+
] })
|
|
1889
|
+
] }), Lr = ({
|
|
1890
|
+
icon: r = /* @__PURE__ */ e.jsx(ut, { "aria-hidden": !0 }),
|
|
1891
|
+
iconClassName: a,
|
|
1892
|
+
title: s,
|
|
1893
|
+
titleClassName: n,
|
|
1894
|
+
subtitle: i,
|
|
1895
|
+
subtitleItems: o,
|
|
1896
|
+
subtitleClassName: f,
|
|
1897
|
+
cardClassName: m,
|
|
1898
|
+
className: d,
|
|
1899
|
+
...p
|
|
1900
|
+
}) => /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", d), ...p, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", m), children: [
|
|
1901
|
+
/* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", n), children: [
|
|
1902
|
+
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", a), children: r }),
|
|
1903
|
+
s
|
|
1904
|
+
] }),
|
|
1905
|
+
(i || o && o.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", f), children: o && o.length > 0 ? o.map((u, h) => /* @__PURE__ */ e.jsxs(C.Fragment, { children: [
|
|
1906
|
+
h > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
1907
|
+
u
|
|
1908
|
+
] }, h)) : i })
|
|
1909
|
+
] }) }), Ar = ({
|
|
1910
|
+
title: r = "Bill Details",
|
|
2019
1911
|
titleClassName: a,
|
|
2020
1912
|
rows: s,
|
|
2021
1913
|
rowClassName: n,
|
|
2022
|
-
showTitleAccent:
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
/* @__PURE__ */ e.
|
|
2031
|
-
|
|
2032
|
-
|
|
1914
|
+
showTitleAccent: i = !0,
|
|
1915
|
+
totalLabel: o = "Total Amount",
|
|
1916
|
+
totalValue: f,
|
|
1917
|
+
totalClassName: m,
|
|
1918
|
+
className: d,
|
|
1919
|
+
...p
|
|
1920
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", d), ...p, children: [
|
|
1921
|
+
/* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", a), children: [
|
|
1922
|
+
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
1923
|
+
r
|
|
1924
|
+
] }),
|
|
1925
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((u) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-start justify-between gap-3", n), children: [
|
|
1926
|
+
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
1927
|
+
/* @__PURE__ */ e.jsx("p", { className: c("text-sm text-[#1d2125]", u.labelClassName), children: u.label }),
|
|
1928
|
+
u.subLabel && /* @__PURE__ */ e.jsx("p", { className: c("mt-0.5 text-xs text-gray-400", u.subLabelClassName), children: u.subLabel })
|
|
2033
1929
|
] }),
|
|
2034
|
-
/* @__PURE__ */ e.
|
|
2035
|
-
/* @__PURE__ */ e.
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
] }),
|
|
2039
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
2040
|
-
u.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: u.note }),
|
|
2041
|
-
u.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: u.originalValue }),
|
|
2042
|
-
/* @__PURE__ */ e.jsx("span", { className: o("font-medium text-[#1d2125]", u.valueClassName), children: u.value })
|
|
2043
|
-
] })
|
|
2044
|
-
] }, u.id)) }),
|
|
2045
|
-
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", f), children: [
|
|
2046
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: m }),
|
|
2047
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: c })
|
|
1930
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
1931
|
+
u.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: u.note }),
|
|
1932
|
+
u.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: u.originalValue }),
|
|
1933
|
+
/* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]", u.valueClassName), children: u.value })
|
|
2048
1934
|
] })
|
|
2049
|
-
] })
|
|
2050
|
-
|
|
2051
|
-
|
|
1935
|
+
] }, u.id)) }),
|
|
1936
|
+
f !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: c("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", m), children: [
|
|
1937
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: o }),
|
|
1938
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: f })
|
|
1939
|
+
] })
|
|
1940
|
+
] }), da = ({
|
|
1941
|
+
headerTitle: r = "Review your booking",
|
|
2052
1942
|
onBack: a,
|
|
2053
1943
|
backButtonAriaLabel: s = "Go back",
|
|
2054
1944
|
headerClassName: n,
|
|
2055
|
-
backButtonClassName:
|
|
2056
|
-
headerTitleClassName:
|
|
1945
|
+
backButtonClassName: i,
|
|
1946
|
+
headerTitleClassName: o,
|
|
2057
1947
|
summary: f,
|
|
2058
|
-
items:
|
|
1948
|
+
items: m,
|
|
2059
1949
|
itemsClassName: d,
|
|
2060
1950
|
itemClassName: p,
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
/* @__PURE__ */ e.
|
|
2078
|
-
|
|
2079
|
-
"button",
|
|
2080
|
-
{
|
|
2081
|
-
type: "button",
|
|
2082
|
-
onClick: a,
|
|
2083
|
-
"aria-label": s,
|
|
2084
|
-
className: o(
|
|
2085
|
-
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2086
|
-
l
|
|
2087
|
-
),
|
|
2088
|
-
children: /* @__PURE__ */ e.jsx(jt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2089
|
-
}
|
|
2090
|
-
),
|
|
2091
|
-
/* @__PURE__ */ e.jsx("h1", { className: o("text-lg font-bold text-[#1d2125]", c), children: W })
|
|
2092
|
-
] }),
|
|
2093
|
-
f && /* @__PURE__ */ e.jsx(Yr, { ...f }),
|
|
2094
|
-
x && x.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3 bg-white px-4 py-4", d), children: x.map(
|
|
2095
|
-
({ id: Z, className: K, isMandapCharge: J, ...ee }) => J ? /* @__PURE__ */ e.jsx(
|
|
2096
|
-
Ir,
|
|
2097
|
-
{
|
|
2098
|
-
locale: r,
|
|
2099
|
-
className: o(p, K),
|
|
2100
|
-
...ee
|
|
2101
|
-
},
|
|
2102
|
-
Z
|
|
2103
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2104
|
-
Nt,
|
|
2105
|
-
{
|
|
2106
|
-
className: o(p, K),
|
|
2107
|
-
...ee
|
|
2108
|
-
},
|
|
2109
|
-
Z
|
|
2110
|
-
)
|
|
2111
|
-
) }),
|
|
2112
|
-
m && m.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-4 bg-gray-50 px-4 py-6", u), children: [
|
|
2113
|
-
/* @__PURE__ */ e.jsxs("div", { className: g, children: [
|
|
2114
|
-
/* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", j), children: H }),
|
|
2115
|
-
/* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", y), children: Q })
|
|
2116
|
-
] }),
|
|
2117
|
-
/* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-4", R), children: m.map(({ id: Z, className: K, ...J }) => /* @__PURE__ */ e.jsx(Fr, { className: o(C, K), ...J }, Z)) })
|
|
2118
|
-
] }),
|
|
2119
|
-
w && /* @__PURE__ */ e.jsx(Ur, { ...w, locale: r }),
|
|
2120
|
-
b && /* @__PURE__ */ e.jsx(Rr, { ...b }),
|
|
2121
|
-
z,
|
|
2122
|
-
T && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2123
|
-
Et,
|
|
1951
|
+
upsellsTitle: u = "Add services for all ancestors",
|
|
1952
|
+
upsellsDescription: h,
|
|
1953
|
+
upsells: v,
|
|
1954
|
+
upsellsSectionClassName: g,
|
|
1955
|
+
upsellsHeaderClassName: N,
|
|
1956
|
+
upsellsTitleClassName: R,
|
|
1957
|
+
upsellsDescriptionClassName: _,
|
|
1958
|
+
upsellsClassName: y,
|
|
1959
|
+
upsellClassName: j,
|
|
1960
|
+
billDetails: O,
|
|
1961
|
+
faq: w,
|
|
1962
|
+
className: P,
|
|
1963
|
+
children: $,
|
|
1964
|
+
...Y
|
|
1965
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col bg-white", P), ...Y, children: [
|
|
1966
|
+
(r || a) && /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
1967
|
+
a && /* @__PURE__ */ e.jsx(
|
|
1968
|
+
"button",
|
|
2124
1969
|
{
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
1970
|
+
type: "button",
|
|
1971
|
+
onClick: a,
|
|
1972
|
+
"aria-label": s,
|
|
1973
|
+
className: c(
|
|
1974
|
+
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
1975
|
+
i
|
|
1976
|
+
),
|
|
1977
|
+
children: /* @__PURE__ */ e.jsx(xt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2130
1978
|
}
|
|
2131
|
-
)
|
|
2132
|
-
|
|
2133
|
-
},
|
|
1979
|
+
),
|
|
1980
|
+
r && /* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", o), children: r })
|
|
1981
|
+
] }),
|
|
1982
|
+
f && /* @__PURE__ */ e.jsx(Lr, { ...f }),
|
|
1983
|
+
m && m.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", d), children: m.map(({ id: W, className: q, ...M }) => /* @__PURE__ */ e.jsx(_r, { className: c(p, q), ...M }, W)) }),
|
|
1984
|
+
v && v.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", g), children: [
|
|
1985
|
+
(u || h) && /* @__PURE__ */ e.jsxs("div", { className: N, children: [
|
|
1986
|
+
u && /* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", R), children: u }),
|
|
1987
|
+
h && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", _), children: h })
|
|
1988
|
+
] }),
|
|
1989
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", y), children: v.map(({ id: W, className: q, ...M }) => /* @__PURE__ */ e.jsx(Er, { className: c(j, q), ...M }, W)) })
|
|
1990
|
+
] }),
|
|
1991
|
+
O && /* @__PURE__ */ e.jsx(Ar, { ...O }),
|
|
1992
|
+
w && /* @__PURE__ */ e.jsx(pr, { ...w }),
|
|
1993
|
+
$
|
|
1994
|
+
] }), _e = C.forwardRef(
|
|
2134
1995
|
({
|
|
2135
1996
|
label: r,
|
|
2136
1997
|
value: a,
|
|
2137
1998
|
onChange: s,
|
|
2138
1999
|
prefix: n,
|
|
2139
|
-
showCharCount:
|
|
2140
|
-
supportingText:
|
|
2000
|
+
showCharCount: i = !1,
|
|
2001
|
+
supportingText: o,
|
|
2141
2002
|
error: f = !1,
|
|
2142
|
-
className:
|
|
2003
|
+
className: m,
|
|
2143
2004
|
containerClassName: d,
|
|
2144
2005
|
wrapperClassName: p,
|
|
2145
|
-
maxLength:
|
|
2146
|
-
id:
|
|
2147
|
-
...
|
|
2148
|
-
},
|
|
2149
|
-
const
|
|
2150
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2006
|
+
maxLength: u,
|
|
2007
|
+
id: h,
|
|
2008
|
+
...v
|
|
2009
|
+
}, g) => {
|
|
2010
|
+
const N = C.useId(), R = h ?? N, _ = o ?? (i ? `${a.length}${u ? `/${u}` : ""}` : void 0);
|
|
2011
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", d), children: [
|
|
2151
2012
|
r && /* @__PURE__ */ e.jsx("label", { htmlFor: R, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: r }),
|
|
2152
2013
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2153
2014
|
/* @__PURE__ */ e.jsxs(
|
|
2154
2015
|
"div",
|
|
2155
2016
|
{
|
|
2156
|
-
className:
|
|
2017
|
+
className: c(
|
|
2157
2018
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
2158
2019
|
f ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
2159
2020
|
p
|
|
@@ -2163,43 +2024,43 @@ const Mr = [
|
|
|
2163
2024
|
/* @__PURE__ */ e.jsx(
|
|
2164
2025
|
"input",
|
|
2165
2026
|
{
|
|
2166
|
-
ref:
|
|
2027
|
+
ref: g,
|
|
2167
2028
|
id: R,
|
|
2168
2029
|
value: a,
|
|
2169
|
-
maxLength:
|
|
2170
|
-
onChange: (
|
|
2030
|
+
maxLength: u,
|
|
2031
|
+
onChange: (y) => s(y.target.value),
|
|
2171
2032
|
"aria-invalid": f,
|
|
2172
|
-
className:
|
|
2033
|
+
className: c(
|
|
2173
2034
|
"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",
|
|
2174
|
-
|
|
2035
|
+
m
|
|
2175
2036
|
),
|
|
2176
|
-
...
|
|
2037
|
+
...v
|
|
2177
2038
|
}
|
|
2178
2039
|
)
|
|
2179
2040
|
]
|
|
2180
2041
|
}
|
|
2181
2042
|
),
|
|
2182
|
-
|
|
2043
|
+
_ && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: _ })
|
|
2183
2044
|
] })
|
|
2184
2045
|
] });
|
|
2185
2046
|
}
|
|
2186
2047
|
);
|
|
2187
|
-
|
|
2188
|
-
function
|
|
2048
|
+
_e.displayName = "TextField";
|
|
2049
|
+
function ua({
|
|
2189
2050
|
isOpen: r,
|
|
2190
2051
|
onClose: a,
|
|
2191
2052
|
avatarUrl: s,
|
|
2192
2053
|
heading: n,
|
|
2193
|
-
tithis:
|
|
2194
|
-
confirmLabel:
|
|
2054
|
+
tithis: i,
|
|
2055
|
+
confirmLabel: o,
|
|
2195
2056
|
onConfirm: f,
|
|
2196
|
-
initialTithi:
|
|
2057
|
+
initialTithi: m
|
|
2197
2058
|
}) {
|
|
2198
|
-
const [d, p] =
|
|
2059
|
+
const [d, p] = V(m), u = () => {
|
|
2199
2060
|
d && f(d);
|
|
2200
2061
|
};
|
|
2201
2062
|
return /* @__PURE__ */ e.jsx(
|
|
2202
|
-
|
|
2063
|
+
xe,
|
|
2203
2064
|
{
|
|
2204
2065
|
isOpen: r,
|
|
2205
2066
|
onClose: a,
|
|
@@ -2216,63 +2077,63 @@ function Ca({
|
|
|
2216
2077
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2217
2078
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2218
2079
|
/* @__PURE__ */ e.jsx(
|
|
2219
|
-
|
|
2080
|
+
H,
|
|
2220
2081
|
{
|
|
2221
2082
|
variant: "primary",
|
|
2222
2083
|
size: "md",
|
|
2223
2084
|
className: "w-full rounded-xl",
|
|
2224
2085
|
disabled: !d,
|
|
2225
|
-
onClick:
|
|
2226
|
-
children:
|
|
2086
|
+
onClick: u,
|
|
2087
|
+
children: o
|
|
2227
2088
|
}
|
|
2228
2089
|
)
|
|
2229
2090
|
] }),
|
|
2230
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children:
|
|
2231
|
-
const
|
|
2091
|
+
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((h) => {
|
|
2092
|
+
const v = d === h;
|
|
2232
2093
|
return /* @__PURE__ */ e.jsx(
|
|
2233
2094
|
"button",
|
|
2234
2095
|
{
|
|
2235
2096
|
type: "button",
|
|
2236
|
-
onClick: () => p(
|
|
2237
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
2238
|
-
children:
|
|
2097
|
+
onClick: () => p(h),
|
|
2098
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${v ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
2099
|
+
children: h
|
|
2239
2100
|
},
|
|
2240
|
-
|
|
2101
|
+
h
|
|
2241
2102
|
);
|
|
2242
2103
|
}) })
|
|
2243
2104
|
}
|
|
2244
2105
|
);
|
|
2245
2106
|
}
|
|
2246
|
-
const
|
|
2247
|
-
function
|
|
2248
|
-
const n =
|
|
2249
|
-
|
|
2250
|
-
|
|
2107
|
+
const oe = 48;
|
|
2108
|
+
function we({ options: r, selectedIndex: a, onChange: s }) {
|
|
2109
|
+
const n = C.useRef(null), i = C.useRef(!1);
|
|
2110
|
+
C.useEffect(() => {
|
|
2111
|
+
i.current || !n.current || (i.current = !0, n.current.scrollTop = a * oe);
|
|
2251
2112
|
}, []);
|
|
2252
|
-
const
|
|
2113
|
+
const o = () => {
|
|
2253
2114
|
if (!n.current) return;
|
|
2254
|
-
const f = Math.round(n.current.scrollTop /
|
|
2255
|
-
|
|
2115
|
+
const f = Math.round(n.current.scrollTop / oe), m = Math.max(0, Math.min(r.length - 1, f));
|
|
2116
|
+
m !== a && s(m);
|
|
2256
2117
|
};
|
|
2257
2118
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
2258
2119
|
/* @__PURE__ */ e.jsxs(
|
|
2259
2120
|
"div",
|
|
2260
2121
|
{
|
|
2261
2122
|
ref: n,
|
|
2262
|
-
onScroll:
|
|
2123
|
+
onScroll: o,
|
|
2263
2124
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2264
2125
|
style: { scrollbarWidth: "none" },
|
|
2265
2126
|
children: [
|
|
2266
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2267
|
-
r.map((f,
|
|
2127
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: oe }, "aria-hidden": !0 }),
|
|
2128
|
+
r.map((f, m) => /* @__PURE__ */ e.jsx(
|
|
2268
2129
|
"div",
|
|
2269
2130
|
{
|
|
2270
|
-
className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${
|
|
2131
|
+
className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${m === a ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
|
|
2271
2132
|
children: f
|
|
2272
2133
|
},
|
|
2273
2134
|
f
|
|
2274
2135
|
)),
|
|
2275
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2136
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: oe }, "aria-hidden": !0 })
|
|
2276
2137
|
]
|
|
2277
2138
|
}
|
|
2278
2139
|
),
|
|
@@ -2280,30 +2141,30 @@ function _e({ options: r, selectedIndex: a, onChange: s }) {
|
|
|
2280
2141
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2281
2142
|
] });
|
|
2282
2143
|
}
|
|
2283
|
-
const
|
|
2284
|
-
function
|
|
2144
|
+
const Ne = Array.from({ length: 31 }, (r, a) => a + 1);
|
|
2145
|
+
function fa({
|
|
2285
2146
|
isOpen: r,
|
|
2286
2147
|
onClose: a,
|
|
2287
2148
|
avatarUrl: s,
|
|
2288
2149
|
heading: n,
|
|
2289
|
-
monthLabels:
|
|
2290
|
-
confirmLabel:
|
|
2150
|
+
monthLabels: i,
|
|
2151
|
+
confirmLabel: o,
|
|
2291
2152
|
onConfirm: f,
|
|
2292
|
-
timezoneLabel:
|
|
2153
|
+
timezoneLabel: m,
|
|
2293
2154
|
initialDate: d,
|
|
2294
2155
|
minYear: p,
|
|
2295
|
-
maxYear:
|
|
2156
|
+
maxYear: u = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2296
2157
|
}) {
|
|
2297
|
-
const
|
|
2298
|
-
const
|
|
2299
|
-
return Array.from({ length:
|
|
2300
|
-
}, [p,
|
|
2301
|
-
() => d ? Math.max(0,
|
|
2302
|
-
),
|
|
2303
|
-
f({ day:
|
|
2158
|
+
const h = Ut(() => {
|
|
2159
|
+
const O = p ?? u - 120;
|
|
2160
|
+
return Array.from({ length: u - O + 1 }, (w, P) => O + P);
|
|
2161
|
+
}, [p, u]), [v, g] = V(() => d ? d.day - 1 : Math.floor(Ne.length / 2)), [N, R] = V(() => d ? d.month - 1 : 0), [_, y] = V(
|
|
2162
|
+
() => d ? Math.max(0, h.indexOf(d.year)) : Math.floor(h.length / 2)
|
|
2163
|
+
), j = () => {
|
|
2164
|
+
f({ day: Ne[v], month: N + 1, year: h[_] });
|
|
2304
2165
|
};
|
|
2305
2166
|
return /* @__PURE__ */ e.jsx(
|
|
2306
|
-
|
|
2167
|
+
xe,
|
|
2307
2168
|
{
|
|
2308
2169
|
isOpen: r,
|
|
2309
2170
|
onClose: a,
|
|
@@ -2320,46 +2181,46 @@ function _a({
|
|
|
2320
2181
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2321
2182
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2322
2183
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2323
|
-
|
|
2324
|
-
/* @__PURE__ */ e.jsx(
|
|
2184
|
+
m && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: m }),
|
|
2185
|
+
/* @__PURE__ */ e.jsx(H, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: j, children: o })
|
|
2325
2186
|
] })
|
|
2326
2187
|
] }),
|
|
2327
2188
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2328
|
-
/* @__PURE__ */ e.jsx(
|
|
2329
|
-
/* @__PURE__ */ e.jsx(
|
|
2330
|
-
/* @__PURE__ */ e.jsx(
|
|
2189
|
+
/* @__PURE__ */ e.jsx(we, { options: Ne.map(String), selectedIndex: v, onChange: g }),
|
|
2190
|
+
/* @__PURE__ */ e.jsx(we, { options: i, selectedIndex: N, onChange: R }),
|
|
2191
|
+
/* @__PURE__ */ e.jsx(we, { options: h.map(String), selectedIndex: _, onChange: y })
|
|
2331
2192
|
] })
|
|
2332
2193
|
}
|
|
2333
2194
|
);
|
|
2334
2195
|
}
|
|
2335
|
-
function
|
|
2196
|
+
function xa({
|
|
2336
2197
|
isOpen: r,
|
|
2337
2198
|
onClose: a,
|
|
2338
2199
|
heading: s,
|
|
2339
2200
|
subtext: n,
|
|
2340
|
-
confirmLabel:
|
|
2341
|
-
onConfirm:
|
|
2201
|
+
confirmLabel: i,
|
|
2202
|
+
onConfirm: o,
|
|
2342
2203
|
initialValue: f = "",
|
|
2343
|
-
countries:
|
|
2204
|
+
countries: m = qt,
|
|
2344
2205
|
initialCountryIso: d = "IN"
|
|
2345
2206
|
}) {
|
|
2346
|
-
const [p,
|
|
2347
|
-
() =>
|
|
2348
|
-
), [
|
|
2349
|
-
|
|
2350
|
-
if (!
|
|
2351
|
-
const
|
|
2352
|
-
R.current && !R.current.contains(
|
|
2207
|
+
const [p, u] = V(
|
|
2208
|
+
() => m.find((w) => w.iso === d) ?? m[0]
|
|
2209
|
+
), [h, v] = V(f), [g, N] = V(!1), R = Gt(null);
|
|
2210
|
+
Zt(() => {
|
|
2211
|
+
if (!g) return;
|
|
2212
|
+
const w = (P) => {
|
|
2213
|
+
R.current && !R.current.contains(P.target) && N(!1);
|
|
2353
2214
|
};
|
|
2354
|
-
return document.addEventListener("mousedown",
|
|
2355
|
-
}, [
|
|
2356
|
-
const
|
|
2357
|
-
|
|
2358
|
-
},
|
|
2359
|
-
|
|
2215
|
+
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
2216
|
+
}, [g]);
|
|
2217
|
+
const _ = Ke(p.code), y = Ht(h, p.code).isValid && h.length > 0, j = (w) => {
|
|
2218
|
+
u(w), N(!1), v((P) => P.slice(0, Ke(w.code)));
|
|
2219
|
+
}, O = () => {
|
|
2220
|
+
y && o(h, p);
|
|
2360
2221
|
};
|
|
2361
2222
|
return /* @__PURE__ */ e.jsx(
|
|
2362
|
-
|
|
2223
|
+
xe,
|
|
2363
2224
|
{
|
|
2364
2225
|
isOpen: r,
|
|
2365
2226
|
onClose: a,
|
|
@@ -2367,15 +2228,15 @@ function Ea({
|
|
|
2367
2228
|
closeButtonOutside: !0,
|
|
2368
2229
|
ariaLabel: s,
|
|
2369
2230
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2370
|
-
|
|
2231
|
+
H,
|
|
2371
2232
|
{
|
|
2372
2233
|
variant: "primary",
|
|
2373
2234
|
size: "xl",
|
|
2374
2235
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2375
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2376
|
-
disabled: !
|
|
2377
|
-
onClick:
|
|
2378
|
-
children:
|
|
2236
|
+
rightIcon: /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
|
|
2237
|
+
disabled: !y,
|
|
2238
|
+
onClick: O,
|
|
2239
|
+
children: i
|
|
2379
2240
|
}
|
|
2380
2241
|
) }),
|
|
2381
2242
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-4 py-3", children: [
|
|
@@ -2387,49 +2248,49 @@ function Ea({
|
|
|
2387
2248
|
"button",
|
|
2388
2249
|
{
|
|
2389
2250
|
type: "button",
|
|
2390
|
-
onClick: () =>
|
|
2391
|
-
"aria-expanded":
|
|
2251
|
+
onClick: () => N((w) => !w),
|
|
2252
|
+
"aria-expanded": g,
|
|
2392
2253
|
"aria-haspopup": "listbox",
|
|
2393
2254
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2394
2255
|
children: [
|
|
2395
2256
|
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Je(p.iso) }),
|
|
2396
2257
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: p.code }),
|
|
2397
|
-
/* @__PURE__ */ e.jsx(
|
|
2258
|
+
/* @__PURE__ */ e.jsx(fe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2398
2259
|
]
|
|
2399
2260
|
}
|
|
2400
2261
|
),
|
|
2401
|
-
|
|
2262
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2402
2263
|
"div",
|
|
2403
2264
|
{
|
|
2404
2265
|
role: "listbox",
|
|
2405
2266
|
className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
2406
|
-
children:
|
|
2267
|
+
children: m.map((w) => /* @__PURE__ */ e.jsxs(
|
|
2407
2268
|
"button",
|
|
2408
2269
|
{
|
|
2409
2270
|
type: "button",
|
|
2410
2271
|
role: "option",
|
|
2411
|
-
"aria-selected":
|
|
2412
|
-
onClick: () =>
|
|
2413
|
-
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${
|
|
2272
|
+
"aria-selected": w.iso === p.iso,
|
|
2273
|
+
onClick: () => j(w),
|
|
2274
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${w.iso === p.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2414
2275
|
children: [
|
|
2415
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Je(
|
|
2416
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children:
|
|
2417
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children:
|
|
2276
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Je(w.iso) }),
|
|
2277
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: w.code }),
|
|
2278
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: w.name })
|
|
2418
2279
|
]
|
|
2419
2280
|
},
|
|
2420
|
-
`${
|
|
2281
|
+
`${w.iso}-${w.code}`
|
|
2421
2282
|
))
|
|
2422
2283
|
}
|
|
2423
2284
|
)
|
|
2424
2285
|
] }),
|
|
2425
2286
|
/* @__PURE__ */ e.jsx(
|
|
2426
|
-
|
|
2287
|
+
_e,
|
|
2427
2288
|
{
|
|
2428
2289
|
type: "tel",
|
|
2429
2290
|
inputMode: "numeric",
|
|
2430
|
-
value:
|
|
2431
|
-
maxLength:
|
|
2432
|
-
onChange: (
|
|
2291
|
+
value: h,
|
|
2292
|
+
maxLength: _,
|
|
2293
|
+
onChange: (w) => v(w.replace(/\D/g, "").slice(0, _)),
|
|
2433
2294
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2434
2295
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2435
2296
|
className: "text-[18px]"
|
|
@@ -2440,46 +2301,103 @@ function Ea({
|
|
|
2440
2301
|
}
|
|
2441
2302
|
);
|
|
2442
2303
|
}
|
|
2443
|
-
|
|
2444
|
-
|
|
2304
|
+
const Mr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2305
|
+
function ma({
|
|
2306
|
+
isOpen: r,
|
|
2307
|
+
onClose: a,
|
|
2308
|
+
heading: s,
|
|
2309
|
+
subtext: n,
|
|
2310
|
+
confirmLabel: i,
|
|
2311
|
+
onConfirm: o,
|
|
2312
|
+
initialValue: f = "",
|
|
2313
|
+
errorText: m = "Please enter a valid email"
|
|
2314
|
+
}) {
|
|
2315
|
+
const [d, p] = V(f), [u, h] = V(!1), v = d.trim(), g = Mr.test(v), N = u && v.length > 0 && !g, R = () => {
|
|
2316
|
+
g && o(v);
|
|
2317
|
+
};
|
|
2318
|
+
return /* @__PURE__ */ e.jsx(
|
|
2319
|
+
xe,
|
|
2320
|
+
{
|
|
2321
|
+
isOpen: r,
|
|
2322
|
+
onClose: a,
|
|
2323
|
+
showDragHandle: !0,
|
|
2324
|
+
ariaLabel: s,
|
|
2325
|
+
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2326
|
+
H,
|
|
2327
|
+
{
|
|
2328
|
+
variant: "primary",
|
|
2329
|
+
size: "xl",
|
|
2330
|
+
className: "w-full rounded-xl",
|
|
2331
|
+
rightIcon: /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
|
|
2332
|
+
disabled: !g,
|
|
2333
|
+
onClick: R,
|
|
2334
|
+
children: i
|
|
2335
|
+
}
|
|
2336
|
+
) }),
|
|
2337
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-4 py-3", children: [
|
|
2338
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2339
|
+
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2340
|
+
/* @__PURE__ */ e.jsx(
|
|
2341
|
+
_e,
|
|
2342
|
+
{
|
|
2343
|
+
type: "email",
|
|
2344
|
+
inputMode: "email",
|
|
2345
|
+
autoFocus: !0,
|
|
2346
|
+
value: d,
|
|
2347
|
+
placeholder: "you@example.com",
|
|
2348
|
+
error: N,
|
|
2349
|
+
supportingText: N ? m : void 0,
|
|
2350
|
+
onChange: p,
|
|
2351
|
+
onBlur: () => h(!0),
|
|
2352
|
+
containerClassName: "mt-2",
|
|
2353
|
+
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2354
|
+
className: "text-[18px]"
|
|
2355
|
+
}
|
|
2356
|
+
)
|
|
2357
|
+
] })
|
|
2358
|
+
}
|
|
2359
|
+
);
|
|
2360
|
+
}
|
|
2361
|
+
function Fr(r) {
|
|
2362
|
+
return T({ 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: [] }] })(r);
|
|
2445
2363
|
}
|
|
2446
|
-
function
|
|
2447
|
-
return
|
|
2364
|
+
function Ir(r) {
|
|
2365
|
+
return T({ 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: [] }] })(r);
|
|
2448
2366
|
}
|
|
2449
|
-
const
|
|
2450
|
-
function
|
|
2367
|
+
const Br = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2368
|
+
function ha({
|
|
2451
2369
|
chipNumber: r,
|
|
2452
2370
|
chipLabel: a,
|
|
2453
2371
|
isAdded: s,
|
|
2454
2372
|
onEditClick: n,
|
|
2455
|
-
editButtonAriaLabel:
|
|
2456
|
-
onExpandClick:
|
|
2373
|
+
editButtonAriaLabel: i = "Edit",
|
|
2374
|
+
onExpandClick: o,
|
|
2457
2375
|
expandButtonAriaLabel: f = "Expand",
|
|
2458
|
-
imageUrl:
|
|
2376
|
+
imageUrl: m,
|
|
2459
2377
|
imageAlt: d,
|
|
2460
2378
|
imageComponent: p,
|
|
2461
|
-
ratingLabel:
|
|
2462
|
-
bookedLabel:
|
|
2463
|
-
title:
|
|
2464
|
-
description:
|
|
2465
|
-
learnMoreLabel:
|
|
2379
|
+
ratingLabel: u,
|
|
2380
|
+
bookedLabel: h,
|
|
2381
|
+
title: v,
|
|
2382
|
+
description: g,
|
|
2383
|
+
learnMoreLabel: N,
|
|
2466
2384
|
onLearnMoreClick: R,
|
|
2467
|
-
learnMoreHref:
|
|
2468
|
-
dateLabel:
|
|
2469
|
-
locationLabel:
|
|
2470
|
-
priceInfoLabel:
|
|
2471
|
-
onPriceInfoClick:
|
|
2472
|
-
price:
|
|
2473
|
-
cta:
|
|
2474
|
-
className:
|
|
2385
|
+
learnMoreHref: _,
|
|
2386
|
+
dateLabel: y,
|
|
2387
|
+
locationLabel: j,
|
|
2388
|
+
priceInfoLabel: O,
|
|
2389
|
+
onPriceInfoClick: w,
|
|
2390
|
+
price: P,
|
|
2391
|
+
cta: $,
|
|
2392
|
+
className: Y = ""
|
|
2475
2393
|
}) {
|
|
2476
|
-
const [
|
|
2394
|
+
const [W, q] = V(!1), M = s || W, X = M && (u != null || h != null), U = M && (y != null || j != null);
|
|
2477
2395
|
return /* @__PURE__ */ e.jsxs(
|
|
2478
2396
|
"div",
|
|
2479
2397
|
{
|
|
2480
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${
|
|
2398
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${M ? "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)]"} ${Y}`,
|
|
2481
2399
|
children: [
|
|
2482
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${
|
|
2400
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${M ? "py-4" : "pt-4"}`, children: [
|
|
2483
2401
|
/* @__PURE__ */ e.jsxs(
|
|
2484
2402
|
"div",
|
|
2485
2403
|
{
|
|
@@ -2500,8 +2418,8 @@ function Ra({
|
|
|
2500
2418
|
type: "button",
|
|
2501
2419
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2502
2420
|
onClick: n,
|
|
2503
|
-
"aria-label":
|
|
2504
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2421
|
+
"aria-label": i,
|
|
2422
|
+
children: /* @__PURE__ */ e.jsx(Fr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2505
2423
|
}
|
|
2506
2424
|
),
|
|
2507
2425
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2510,118 +2428,118 @@ function Ra({
|
|
|
2510
2428
|
type: "button",
|
|
2511
2429
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2512
2430
|
onClick: () => {
|
|
2513
|
-
|
|
2431
|
+
q((B) => !B), o?.();
|
|
2514
2432
|
},
|
|
2515
2433
|
"aria-label": f,
|
|
2516
|
-
"aria-expanded":
|
|
2434
|
+
"aria-expanded": W,
|
|
2517
2435
|
children: /* @__PURE__ */ e.jsx(
|
|
2518
|
-
|
|
2436
|
+
Ir,
|
|
2519
2437
|
{
|
|
2520
2438
|
"aria-hidden": !0,
|
|
2521
|
-
className: `size-8 text-[#1D2125] ${
|
|
2439
|
+
className: `size-8 text-[#1D2125] ${W ? "" : "-scale-y-100"}`
|
|
2522
2440
|
}
|
|
2523
2441
|
)
|
|
2524
2442
|
}
|
|
2525
2443
|
)
|
|
2526
2444
|
] })
|
|
2527
2445
|
] }),
|
|
2528
|
-
|
|
2529
|
-
|
|
2446
|
+
M && m != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: p ? /* @__PURE__ */ e.jsx(p, { src: m, alt: d ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: m, alt: d, className: "size-full object-cover" }) }),
|
|
2447
|
+
X && /* @__PURE__ */ e.jsxs(
|
|
2530
2448
|
"div",
|
|
2531
2449
|
{
|
|
2532
2450
|
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2533
2451
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2534
2452
|
children: [
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2453
|
+
u != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: u }),
|
|
2454
|
+
u != null && h != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
|
|
2455
|
+
h != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: h })
|
|
2538
2456
|
]
|
|
2539
2457
|
}
|
|
2540
2458
|
),
|
|
2541
2459
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
2542
2460
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2543
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children:
|
|
2544
|
-
|
|
2461
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
|
|
2462
|
+
M && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
|
|
2545
2463
|
] }),
|
|
2546
|
-
|
|
2464
|
+
M && N != null && /* @__PURE__ */ e.jsxs(
|
|
2547
2465
|
"a",
|
|
2548
2466
|
{
|
|
2549
|
-
href:
|
|
2467
|
+
href: _,
|
|
2550
2468
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",
|
|
2551
2469
|
onClick: R,
|
|
2552
2470
|
children: [
|
|
2553
|
-
|
|
2554
|
-
/* @__PURE__ */ e.jsx(
|
|
2471
|
+
N,
|
|
2472
|
+
/* @__PURE__ */ e.jsx(mr, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2555
2473
|
]
|
|
2556
2474
|
}
|
|
2557
2475
|
),
|
|
2558
2476
|
U && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2559
2477
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2560
2478
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2561
|
-
|
|
2562
|
-
/* @__PURE__ */ e.jsx(
|
|
2563
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
2479
|
+
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2480
|
+
/* @__PURE__ */ e.jsx(hr, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2481
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2564
2482
|
] }),
|
|
2565
|
-
|
|
2566
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2567
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
2483
|
+
j != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2484
|
+
/* @__PURE__ */ e.jsx("img", { src: Br, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2485
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
|
|
2568
2486
|
] })
|
|
2569
2487
|
] })
|
|
2570
2488
|
] }),
|
|
2571
2489
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2572
2490
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
2573
2491
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2574
|
-
|
|
2575
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children:
|
|
2576
|
-
|
|
2492
|
+
O != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2493
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: O }),
|
|
2494
|
+
w && /* @__PURE__ */ e.jsx(
|
|
2577
2495
|
"button",
|
|
2578
2496
|
{
|
|
2579
2497
|
type: "button",
|
|
2580
2498
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2581
|
-
onClick:
|
|
2499
|
+
onClick: w,
|
|
2582
2500
|
"aria-label": "More info",
|
|
2583
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2501
|
+
children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2584
2502
|
}
|
|
2585
2503
|
)
|
|
2586
2504
|
] }),
|
|
2587
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children:
|
|
2505
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: P })
|
|
2588
2506
|
] }),
|
|
2589
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2507
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: $ })
|
|
2590
2508
|
] })
|
|
2591
2509
|
] })
|
|
2592
2510
|
]
|
|
2593
2511
|
}
|
|
2594
2512
|
);
|
|
2595
2513
|
}
|
|
2596
|
-
const
|
|
2514
|
+
const Dr = {
|
|
2597
2515
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2598
2516
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2599
2517
|
accent: "border border-transparent px-4 text-white"
|
|
2600
|
-
},
|
|
2518
|
+
}, Vr = {
|
|
2601
2519
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2602
2520
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2603
|
-
},
|
|
2521
|
+
}, $r = {
|
|
2604
2522
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2605
2523
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2606
2524
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2607
2525
|
};
|
|
2608
|
-
function
|
|
2526
|
+
function pa({
|
|
2609
2527
|
variant: r = "primary",
|
|
2610
2528
|
size: a = "md",
|
|
2611
2529
|
leftIcon: s,
|
|
2612
2530
|
children: n,
|
|
2613
|
-
className:
|
|
2614
|
-
style:
|
|
2531
|
+
className: i = "",
|
|
2532
|
+
style: o,
|
|
2615
2533
|
type: f = "button",
|
|
2616
|
-
...
|
|
2534
|
+
...m
|
|
2617
2535
|
}) {
|
|
2618
2536
|
return /* @__PURE__ */ e.jsxs(
|
|
2619
2537
|
"button",
|
|
2620
2538
|
{
|
|
2621
2539
|
type: f,
|
|
2622
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2623
|
-
style: {
|
|
2624
|
-
...
|
|
2540
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${Vr[a]} ${Dr[r]} ${i}`,
|
|
2541
|
+
style: { ...$r[r], ...o },
|
|
2542
|
+
...m,
|
|
2625
2543
|
children: [
|
|
2626
2544
|
s,
|
|
2627
2545
|
n
|
|
@@ -2629,7 +2547,7 @@ function Sa({
|
|
|
2629
2547
|
}
|
|
2630
2548
|
);
|
|
2631
2549
|
}
|
|
2632
|
-
function
|
|
2550
|
+
function ga({ className: r = "size-5" }) {
|
|
2633
2551
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: r, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
2634
2552
|
"path",
|
|
2635
2553
|
{
|
|
@@ -2638,7 +2556,7 @@ function Pa({ className: r = "size-5" }) {
|
|
|
2638
2556
|
}
|
|
2639
2557
|
) });
|
|
2640
2558
|
}
|
|
2641
|
-
function
|
|
2559
|
+
function ba({ className: r = "size-5" }) {
|
|
2642
2560
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: r, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
2643
2561
|
"path",
|
|
2644
2562
|
{
|
|
@@ -2647,33 +2565,33 @@ function Ta({ className: r = "size-5" }) {
|
|
|
2647
2565
|
}
|
|
2648
2566
|
) });
|
|
2649
2567
|
}
|
|
2650
|
-
const
|
|
2651
|
-
function
|
|
2568
|
+
const it = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", Wr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", qr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Hr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Yr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Ur = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
2569
|
+
function Gr({ variant: r }) {
|
|
2652
2570
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
2653
2571
|
r === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2654
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2655
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2656
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2572
|
+
/* @__PURE__ */ e.jsx("img", { src: it, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
2573
|
+
/* @__PURE__ */ e.jsx("img", { src: it, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
2574
|
+
/* @__PURE__ */ e.jsx("img", { src: Wr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
2657
2575
|
] }),
|
|
2658
2576
|
r === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
2659
2577
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
2660
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2578
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: qr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
2661
2579
|
] }),
|
|
2662
2580
|
r === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
2663
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2664
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2665
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2581
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Hr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
2582
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Yr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
2583
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Ur, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
2666
2584
|
] })
|
|
2667
2585
|
] });
|
|
2668
2586
|
}
|
|
2669
|
-
const
|
|
2670
|
-
function
|
|
2587
|
+
const Zr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", ot = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
2588
|
+
function va({
|
|
2671
2589
|
badgeLabel: r,
|
|
2672
2590
|
headingPrefix: a,
|
|
2673
2591
|
ritualCount: s,
|
|
2674
2592
|
ritualCountLabel: n,
|
|
2675
|
-
headingSuffix:
|
|
2676
|
-
trustItems:
|
|
2593
|
+
headingSuffix: i,
|
|
2594
|
+
trustItems: o
|
|
2677
2595
|
}) {
|
|
2678
2596
|
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: [
|
|
2679
2597
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
@@ -2681,7 +2599,7 @@ function za({
|
|
|
2681
2599
|
/* @__PURE__ */ e.jsx(
|
|
2682
2600
|
"img",
|
|
2683
2601
|
{
|
|
2684
|
-
src:
|
|
2602
|
+
src: ot,
|
|
2685
2603
|
alt: "",
|
|
2686
2604
|
"aria-hidden": !0,
|
|
2687
2605
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -2694,7 +2612,7 @@ function za({
|
|
|
2694
2612
|
/* @__PURE__ */ e.jsx(
|
|
2695
2613
|
"img",
|
|
2696
2614
|
{
|
|
2697
|
-
src:
|
|
2615
|
+
src: ot,
|
|
2698
2616
|
alt: "",
|
|
2699
2617
|
"aria-hidden": !0,
|
|
2700
2618
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -2704,7 +2622,7 @@ function za({
|
|
|
2704
2622
|
}
|
|
2705
2623
|
}
|
|
2706
2624
|
),
|
|
2707
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2625
|
+
/* @__PURE__ */ e.jsx("img", { src: Zr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
2708
2626
|
] }),
|
|
2709
2627
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
2710
2628
|
"✦ ",
|
|
@@ -2718,122 +2636,51 @@ function za({
|
|
|
2718
2636
|
" ",
|
|
2719
2637
|
n,
|
|
2720
2638
|
" ",
|
|
2721
|
-
|
|
2639
|
+
i
|
|
2722
2640
|
] }),
|
|
2723
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children:
|
|
2724
|
-
/* @__PURE__ */ e.jsx(
|
|
2641
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: o.map((f) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
2642
|
+
/* @__PURE__ */ e.jsx(Gr, { variant: f.variant }),
|
|
2725
2643
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: f.text })
|
|
2726
2644
|
] }, f.variant)) })
|
|
2727
2645
|
] });
|
|
2728
2646
|
}
|
|
2729
|
-
function la(r) {
|
|
2730
|
-
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: [] }] })(r);
|
|
2731
|
-
}
|
|
2732
|
-
const ht = {
|
|
2733
|
-
en: {
|
|
2734
|
-
title: "Who is this puja for?",
|
|
2735
|
-
subtitle: "Your ancestors",
|
|
2736
|
-
value: "For all ancestors",
|
|
2737
|
-
helperText: "This will be recited by the Pandit during puja"
|
|
2738
|
-
},
|
|
2739
|
-
hi: {
|
|
2740
|
-
title: "पूजा-विधि किन पितृ के लिए बुक कर रहे है?",
|
|
2741
|
-
subtitle: "पितृजन का नाम",
|
|
2742
|
-
value: "सर्वपितृ के लिए",
|
|
2743
|
-
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
2744
|
-
}
|
|
2745
|
-
}, oa = (r) => ht[r] ?? ht.en, ca = k.forwardRef(
|
|
2746
|
-
({
|
|
2747
|
-
locale: r = "en",
|
|
2748
|
-
title: a,
|
|
2749
|
-
subtitle: s,
|
|
2750
|
-
value: n,
|
|
2751
|
-
helperText: l,
|
|
2752
|
-
icon: c,
|
|
2753
|
-
className: f,
|
|
2754
|
-
headerClassName: x,
|
|
2755
|
-
valueBoxClassName: d,
|
|
2756
|
-
helperTextClassName: p,
|
|
2757
|
-
...m
|
|
2758
|
-
}, u) => {
|
|
2759
|
-
const g = oa(r);
|
|
2760
|
-
return /* @__PURE__ */ e.jsxs(
|
|
2761
|
-
"div",
|
|
2762
|
-
{
|
|
2763
|
-
ref: u,
|
|
2764
|
-
className: o("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", f),
|
|
2765
|
-
...m,
|
|
2766
|
-
children: [
|
|
2767
|
-
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3", x), children: [
|
|
2768
|
-
/* @__PURE__ */ e.jsx(Pe, { icon: c ?? /* @__PURE__ */ e.jsx(la, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
2769
|
-
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
2770
|
-
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-lg leading-6 font-bold text-[#1d2125]", children: a ?? g.title }),
|
|
2771
|
-
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? g.subtitle })
|
|
2772
|
-
] })
|
|
2773
|
-
] }),
|
|
2774
|
-
/* @__PURE__ */ e.jsx(
|
|
2775
|
-
"div",
|
|
2776
|
-
{
|
|
2777
|
-
className: o(
|
|
2778
|
-
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
2779
|
-
d
|
|
2780
|
-
),
|
|
2781
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? g.value })
|
|
2782
|
-
}
|
|
2783
|
-
),
|
|
2784
|
-
/* @__PURE__ */ e.jsx("p", { className: o("mt-3 text-sm leading-4.5 text-gray-500", p), children: l ?? g.helperText })
|
|
2785
|
-
]
|
|
2786
|
-
}
|
|
2787
|
-
);
|
|
2788
|
-
}
|
|
2789
|
-
);
|
|
2790
|
-
ca.displayName = "SarvaPitruCard";
|
|
2791
2647
|
export {
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
ma as TopBar,
|
|
2831
|
-
$r as TrustBadgesBar,
|
|
2832
|
-
Sr as VideoPlayer,
|
|
2833
|
-
yr as buttonVariants,
|
|
2834
|
-
Aa as cn,
|
|
2835
|
-
Hr as getBookingSummaryBannerDefaultCopy,
|
|
2836
|
-
Vr as getCheckoutBarDefaultCopy,
|
|
2837
|
-
Wr as getPackageSelectDefaultCopy,
|
|
2838
|
-
oa as getSarvaPitruCardDefaultCopy
|
|
2648
|
+
aa as AudioQuestionCard,
|
|
2649
|
+
Ar as BillDetails,
|
|
2650
|
+
Lr as BookingSummaryBanner,
|
|
2651
|
+
H as Button,
|
|
2652
|
+
oa as CartReviewAddedBadge,
|
|
2653
|
+
ia as CartReviewChangeButton,
|
|
2654
|
+
_r as CartReviewItem,
|
|
2655
|
+
da as CartView,
|
|
2656
|
+
ba as CheckIcon,
|
|
2657
|
+
Tr as CheckoutBar,
|
|
2658
|
+
vr as Chip,
|
|
2659
|
+
fa as DatePickerSheet,
|
|
2660
|
+
ma as EmailSheet,
|
|
2661
|
+
pr as FAQSection,
|
|
2662
|
+
ht as IconBadge,
|
|
2663
|
+
ha as L2Card,
|
|
2664
|
+
mt as LanguageSwitcher,
|
|
2665
|
+
pa as OutcomeButton,
|
|
2666
|
+
va as OutcomeSummary,
|
|
2667
|
+
ca as PackageSelect,
|
|
2668
|
+
xa as PhoneNumberSheet,
|
|
2669
|
+
ga as PlusIcon,
|
|
2670
|
+
la as QuantityStepper,
|
|
2671
|
+
pt as SelectorCard,
|
|
2672
|
+
sa as SelectorCardEditableField,
|
|
2673
|
+
na as SelectorCardInfoRow,
|
|
2674
|
+
Cr as SelectorCardNote,
|
|
2675
|
+
kr as SelectorCardPriceBadge,
|
|
2676
|
+
Er as ServiceOfferCard,
|
|
2677
|
+
ra as StepProgressHeader,
|
|
2678
|
+
ea as TestimonialCard,
|
|
2679
|
+
_e as TextField,
|
|
2680
|
+
ua as TithiPickerSheet,
|
|
2681
|
+
ta as TopBar,
|
|
2682
|
+
Pr as TrustBadgesBar,
|
|
2683
|
+
gr as VideoPlayer,
|
|
2684
|
+
cr as buttonVariants,
|
|
2685
|
+
wa as cn
|
|
2839
2686
|
};
|