@srimandir/pitru-paksh-common 2.0.17 → 2.0.19
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 +6 -2
- package/dist/components/BillDetails/BillDetails.translations.d.ts +9 -0
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.d.ts +25 -4
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.translations.d.ts +18 -0
- package/dist/components/BookingSummaryBanner/index.d.ts +3 -1
- package/dist/components/CartReviewItem/CartReviewItem.d.ts +27 -4
- package/dist/components/CartReviewItem/index.d.ts +2 -2
- package/dist/components/CartView/CartView.d.ts +50 -21
- package/dist/components/CartView/CartView.translations.d.ts +24 -0
- package/dist/components/CartView/index.d.ts +1 -1
- package/dist/components/CheckoutBar/CheckoutBar.d.ts +11 -1
- package/dist/components/CheckoutBar/CheckoutBar.translations.d.ts +14 -0
- package/dist/components/CheckoutBar/index.d.ts +2 -0
- package/dist/components/PackageSelect/PackageSelect.d.ts +17 -5
- package/dist/components/PackageSelect/PackageSelect.translations.d.ts +23 -0
- package/dist/components/PackageSelect/index.d.ts +2 -0
- package/dist/components/SarvaPitruCard/SarvaPitruCard.d.ts +33 -0
- package/dist/components/SarvaPitruCard/SarvaPitruCard.translations.d.ts +19 -0
- package/dist/components/SarvaPitruCard/index.d.ts +4 -0
- package/dist/components/ServiceOfferCard/ServiceOfferCard.d.ts +1 -1
- package/dist/index.d.ts +14 -4
- package/dist/pitru-paksh-common.d.ts +65 -0
- package/dist/pitru-paksh-common.js +1113 -902
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { cn as o, BottomSheet as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
import k, { useState as
|
|
5
|
-
import { cva as
|
|
6
|
-
import
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
if (
|
|
11
|
-
|
|
1
|
+
import { cn as o, BottomSheet as Re, DEFAULT_COUNTRIES as rr, getMaxLengthForCountry as Ke, validatePhoneByCountryCode as ar, getFlagEmoji as Je } from "@srimandir/common";
|
|
2
|
+
import { cn as Aa } from "@srimandir/common";
|
|
3
|
+
import * as sr from "react";
|
|
4
|
+
import k, { useState as Y, useMemo as nr, useRef as ir, useEffect as lr } from "react";
|
|
5
|
+
import { cva as or } from "class-variance-authority";
|
|
6
|
+
import cr from "react-player";
|
|
7
|
+
var ue = { exports: {} }, ne = {};
|
|
8
|
+
var Xe;
|
|
9
|
+
function dr() {
|
|
10
|
+
if (Xe) return ne;
|
|
11
|
+
Xe = 1;
|
|
12
12
|
var r = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
|
-
function f(
|
|
14
|
-
var
|
|
15
|
-
p !== void 0 && (
|
|
16
|
-
for (
|
|
17
|
-
if (
|
|
18
|
-
return { $$typeof: a, type:
|
|
13
|
+
function f(x, d, p) {
|
|
14
|
+
var m, u = {}, g = null, j = null;
|
|
15
|
+
p !== void 0 && (g = "" + p), d.key !== void 0 && (g = "" + d.key), d.ref !== void 0 && (j = d.ref);
|
|
16
|
+
for (m in d) n.call(d, m) && !c.hasOwnProperty(m) && (u[m] = d[m]);
|
|
17
|
+
if (x && x.defaultProps) for (m in d = x.defaultProps, d) u[m] === void 0 && (u[m] = d[m]);
|
|
18
|
+
return { $$typeof: a, type: x, key: g, ref: j, props: u, _owner: l.current };
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return ne.Fragment = s, ne.jsx = f, ne.jsxs = f, ne;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
var r = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), c = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"),
|
|
22
|
+
var ie = {};
|
|
23
|
+
var Qe;
|
|
24
|
+
function ur() {
|
|
25
|
+
return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
+
var r = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), c = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), x = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), j = /* @__PURE__ */ Symbol.for("react.offscreen"), y = Symbol.iterator, R = "@@iterator";
|
|
27
27
|
function C(t) {
|
|
28
28
|
if (t === null || typeof t != "object")
|
|
29
29
|
return null;
|
|
30
|
-
var i =
|
|
30
|
+
var i = y && t[y] || t[R];
|
|
31
31
|
return typeof i == "function" ? i : null;
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var w = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
34
34
|
function b(t) {
|
|
35
35
|
{
|
|
36
|
-
for (var i = arguments.length,
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
for (var i = arguments.length, h = new Array(i > 1 ? i - 1 : 0), v = 1; v < i; v++)
|
|
37
|
+
h[v - 1] = arguments[v];
|
|
38
|
+
T("error", t, h);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function T(t, i, h) {
|
|
42
42
|
{
|
|
43
|
-
var
|
|
44
|
-
S !== "" && (i += "%s",
|
|
45
|
-
var
|
|
46
|
-
return String(
|
|
43
|
+
var v = w.ReactDebugCurrentFrame, S = v.getStackAddendum();
|
|
44
|
+
S !== "" && (i += "%s", h = h.concat([S]));
|
|
45
|
+
var P = h.map(function(E) {
|
|
46
|
+
return String(E);
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
P.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, P);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
function
|
|
54
|
-
return !!(typeof t == "string" || typeof t == "function" || t === n || t === c ||
|
|
51
|
+
var N = !1, z = !1, M = !1, W = !1, H = !1, Q;
|
|
52
|
+
Q = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
+
function F(t) {
|
|
54
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === c || H || t === l || t === p || t === m || W || t === j || N || z || M || typeof t == "object" && t !== null && (t.$$typeof === g || t.$$typeof === u || t.$$typeof === f || t.$$typeof === x || 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
|
|
60
|
+
function q(t, i, h) {
|
|
61
|
+
var v = t.displayName;
|
|
62
|
+
if (v)
|
|
63
|
+
return v;
|
|
64
64
|
var S = i.displayName || i.name || "";
|
|
65
|
-
return S !== "" ?
|
|
65
|
+
return S !== "" ? h + "(" + S + ")" : h;
|
|
66
66
|
}
|
|
67
67
|
function U(t) {
|
|
68
68
|
return t.displayName || "Context";
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function D(t) {
|
|
71
71
|
if (t == null)
|
|
72
72
|
return null;
|
|
73
73
|
if (typeof t.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -85,26 +85,26 @@ function Qt() {
|
|
|
85
85
|
return "StrictMode";
|
|
86
86
|
case p:
|
|
87
87
|
return "Suspense";
|
|
88
|
-
case
|
|
88
|
+
case m:
|
|
89
89
|
return "SuspenseList";
|
|
90
90
|
}
|
|
91
91
|
if (typeof t == "object")
|
|
92
92
|
switch (t.$$typeof) {
|
|
93
|
-
case
|
|
93
|
+
case x:
|
|
94
94
|
var i = t;
|
|
95
95
|
return U(i) + ".Consumer";
|
|
96
96
|
case f:
|
|
97
|
-
var
|
|
98
|
-
return U(
|
|
97
|
+
var h = t;
|
|
98
|
+
return U(h._context) + ".Provider";
|
|
99
99
|
case d:
|
|
100
|
-
return
|
|
101
|
-
case
|
|
102
|
-
var
|
|
103
|
-
return
|
|
104
|
-
case
|
|
105
|
-
var S = t,
|
|
100
|
+
return q(t, t.render, "ForwardRef");
|
|
101
|
+
case u:
|
|
102
|
+
var v = t.displayName || null;
|
|
103
|
+
return v !== null ? v : D(t.type) || "Memo";
|
|
104
|
+
case g: {
|
|
105
|
+
var S = t, P = S._payload, E = S._init;
|
|
106
106
|
try {
|
|
107
|
-
return
|
|
107
|
+
return D(E(P));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -112,18 +112,18 @@ function Qt() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var
|
|
116
|
-
function
|
|
115
|
+
var $ = Object.assign, G = 0, Z, K, J, ee, Te, ze, Oe;
|
|
116
|
+
function Le() {
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
function
|
|
118
|
+
Le.__reactDisabledLog = !0;
|
|
119
|
+
function St() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
|
|
121
|
+
if (G === 0) {
|
|
122
|
+
Z = console.log, K = console.info, J = console.warn, ee = console.error, Te = console.group, ze = console.groupCollapsed, Oe = console.groupEnd;
|
|
123
123
|
var t = {
|
|
124
124
|
configurable: !0,
|
|
125
125
|
enumerable: !0,
|
|
126
|
-
value:
|
|
126
|
+
value: Le,
|
|
127
127
|
writable: !0
|
|
128
128
|
};
|
|
129
129
|
Object.defineProperties(console, {
|
|
@@ -136,332 +136,332 @@ function Qt() {
|
|
|
136
136
|
groupEnd: t
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
G++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Pt() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (G--, G === 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: $({}, t, {
|
|
152
|
+
value: Z
|
|
153
153
|
}),
|
|
154
|
-
info:
|
|
155
|
-
value:
|
|
154
|
+
info: $({}, t, {
|
|
155
|
+
value: K
|
|
156
156
|
}),
|
|
157
|
-
warn:
|
|
158
|
-
value:
|
|
157
|
+
warn: $({}, t, {
|
|
158
|
+
value: J
|
|
159
159
|
}),
|
|
160
|
-
error:
|
|
161
|
-
value:
|
|
160
|
+
error: $({}, t, {
|
|
161
|
+
value: ee
|
|
162
162
|
}),
|
|
163
|
-
group:
|
|
164
|
-
value:
|
|
163
|
+
group: $({}, t, {
|
|
164
|
+
value: Te
|
|
165
165
|
}),
|
|
166
|
-
groupCollapsed:
|
|
166
|
+
groupCollapsed: $({}, t, {
|
|
167
167
|
value: ze
|
|
168
168
|
}),
|
|
169
|
-
groupEnd:
|
|
169
|
+
groupEnd: $({}, t, {
|
|
170
170
|
value: Oe
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
G < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function
|
|
177
|
+
var be = w.ReactCurrentDispatcher, ve;
|
|
178
|
+
function le(t, i, h) {
|
|
179
179
|
{
|
|
180
|
-
if (
|
|
180
|
+
if (ve === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
183
|
} catch (S) {
|
|
184
|
-
var
|
|
185
|
-
|
|
184
|
+
var v = S.stack.trim().match(/\n( *(at )?)/);
|
|
185
|
+
ve = v && v[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
|
-
` +
|
|
188
|
+
` + ve + t;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var je = !1, oe;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
|
|
193
|
+
var Tt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
oe = new Tt();
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
if (!t ||
|
|
196
|
+
function Ae(t, i) {
|
|
197
|
+
if (!t || je)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var
|
|
201
|
-
if (
|
|
202
|
-
return
|
|
200
|
+
var h = oe.get(t);
|
|
201
|
+
if (h !== void 0)
|
|
202
|
+
return h;
|
|
203
203
|
}
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var v;
|
|
205
|
+
je = !0;
|
|
206
206
|
var S = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
|
-
var
|
|
209
|
-
|
|
208
|
+
var P;
|
|
209
|
+
P = be.current, be.current = null, St();
|
|
210
210
|
try {
|
|
211
211
|
if (i) {
|
|
212
|
-
var
|
|
212
|
+
var E = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
215
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(E.prototype, "props", {
|
|
216
216
|
set: function() {
|
|
217
217
|
throw Error();
|
|
218
218
|
}
|
|
219
219
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
220
220
|
try {
|
|
221
|
-
Reflect.construct(
|
|
221
|
+
Reflect.construct(E, []);
|
|
222
222
|
} catch (I) {
|
|
223
|
-
|
|
223
|
+
v = I;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(t, [],
|
|
225
|
+
Reflect.construct(t, [], E);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
228
|
+
E.call();
|
|
229
229
|
} catch (I) {
|
|
230
|
-
|
|
230
|
+
v = I;
|
|
231
231
|
}
|
|
232
|
-
t.call(
|
|
232
|
+
t.call(E.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
236
236
|
throw Error();
|
|
237
237
|
} catch (I) {
|
|
238
|
-
|
|
238
|
+
v = I;
|
|
239
239
|
}
|
|
240
240
|
t();
|
|
241
241
|
}
|
|
242
242
|
} catch (I) {
|
|
243
|
-
if (I &&
|
|
244
|
-
for (var
|
|
245
|
-
`),
|
|
246
|
-
`), L =
|
|
243
|
+
if (I && v && typeof I.stack == "string") {
|
|
244
|
+
for (var _ = I.stack.split(`
|
|
245
|
+
`), B = v.stack.split(`
|
|
246
|
+
`), L = _.length - 1, A = B.length - 1; L >= 1 && A >= 0 && _[L] !== B[A]; )
|
|
247
247
|
A--;
|
|
248
248
|
for (; L >= 1 && A >= 0; L--, A--)
|
|
249
|
-
if (
|
|
249
|
+
if (_[L] !== B[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 || _[L] !== B[A]) {
|
|
253
|
+
var V = `
|
|
254
|
+
` + _[L].replace(" at new ", " at ");
|
|
255
|
+
return t.displayName && V.includes("<anonymous>") && (V = V.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, V), V;
|
|
256
256
|
}
|
|
257
257
|
while (L >= 1 && A >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
je = !1, be.current = P, Pt(), Error.prepareStackTrace = S;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
return typeof t == "function" &&
|
|
264
|
+
var ae = t ? t.displayName || t.name : "", te = ae ? le(ae) : "";
|
|
265
|
+
return typeof t == "function" && oe.set(t, te), te;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function zt(t, i, h) {
|
|
268
|
+
return Ae(t, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Ot(t) {
|
|
271
271
|
var i = t.prototype;
|
|
272
272
|
return !!(i && i.isReactComponent);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function ce(t, i, h) {
|
|
275
275
|
if (t == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof t == "function")
|
|
278
|
-
return
|
|
278
|
+
return Ae(t, Ot(t));
|
|
279
279
|
if (typeof t == "string")
|
|
280
|
-
return
|
|
280
|
+
return le(t);
|
|
281
281
|
switch (t) {
|
|
282
282
|
case p:
|
|
283
|
-
return
|
|
284
|
-
case
|
|
285
|
-
return
|
|
283
|
+
return le("Suspense");
|
|
284
|
+
case m:
|
|
285
|
+
return le("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 zt(t.render);
|
|
291
|
+
case u:
|
|
292
|
+
return ce(t.type, i, h);
|
|
293
|
+
case g: {
|
|
294
|
+
var v = t, S = v._payload, P = v._init;
|
|
295
295
|
try {
|
|
296
|
-
return
|
|
296
|
+
return ce(P(S), i, h);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var
|
|
304
|
-
function
|
|
303
|
+
var se = Object.prototype.hasOwnProperty, Be = {}, De = w.ReactDebugCurrentFrame;
|
|
304
|
+
function de(t) {
|
|
305
305
|
if (t) {
|
|
306
|
-
var i = t._owner,
|
|
307
|
-
|
|
306
|
+
var i = t._owner, h = ce(t.type, t._source, i ? i.type : null);
|
|
307
|
+
De.setExtraStackFrame(h);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
De.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Lt(t, i, h, v, S) {
|
|
312
312
|
{
|
|
313
|
-
var
|
|
314
|
-
for (var
|
|
315
|
-
if (
|
|
316
|
-
var
|
|
313
|
+
var P = Function.call.bind(se);
|
|
314
|
+
for (var E in t)
|
|
315
|
+
if (P(t, E)) {
|
|
316
|
+
var _ = void 0;
|
|
317
317
|
try {
|
|
318
|
-
if (typeof t[
|
|
319
|
-
var
|
|
320
|
-
throw
|
|
318
|
+
if (typeof t[E] != "function") {
|
|
319
|
+
var B = Error((v || "React class") + ": " + h + " 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 B.name = "Invariant Violation", B;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
_ = t[E](i, E, v, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (L) {
|
|
324
|
-
|
|
324
|
+
_ = L;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
_ && !(_ instanceof Error) && (de(S), b("%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).", v || "React class", h, E, typeof _), de(null)), _ instanceof Error && !(_.message in Be) && (Be[_.message] = !0, de(S), b("Failed %s type: %s", h, _.message), de(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
return
|
|
330
|
+
var At = Array.isArray;
|
|
331
|
+
function ye(t) {
|
|
332
|
+
return At(t);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Bt(t) {
|
|
335
335
|
{
|
|
336
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
337
|
-
return
|
|
336
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, h = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
337
|
+
return h;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Dt(t) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Ie(t), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Ie(t) {
|
|
348
348
|
return "" + t;
|
|
349
349
|
}
|
|
350
350
|
function Fe(t) {
|
|
351
|
-
if (
|
|
352
|
-
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
351
|
+
if (Dt(t))
|
|
352
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Bt(t)), Ie(t);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Me = w.ReactCurrentOwner, It = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
},
|
|
360
|
-
function
|
|
361
|
-
if (
|
|
359
|
+
}, $e, Ve;
|
|
360
|
+
function Ft(t) {
|
|
361
|
+
if (se.call(t, "ref")) {
|
|
362
362
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
363
363
|
if (i && i.isReactWarning)
|
|
364
364
|
return !1;
|
|
365
365
|
}
|
|
366
366
|
return t.ref !== void 0;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
368
|
+
function Mt(t) {
|
|
369
|
+
if (se.call(t, "key")) {
|
|
370
370
|
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
371
371
|
if (i && i.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 $t(t, i) {
|
|
377
|
+
typeof t.ref == "string" && Me.current;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Vt(t, i) {
|
|
380
380
|
{
|
|
381
|
-
var
|
|
382
|
-
|
|
381
|
+
var h = function() {
|
|
382
|
+
$e || ($e = !0, b("%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)", i));
|
|
383
383
|
};
|
|
384
|
-
|
|
385
|
-
get:
|
|
384
|
+
h.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
385
|
+
get: h,
|
|
386
386
|
configurable: !0
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Wt(t, i) {
|
|
391
391
|
{
|
|
392
|
-
var
|
|
393
|
-
|
|
392
|
+
var h = function() {
|
|
393
|
+
Ve || (Ve = !0, b("%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)", i));
|
|
394
394
|
};
|
|
395
|
-
|
|
396
|
-
get:
|
|
395
|
+
h.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
396
|
+
get: h,
|
|
397
397
|
configurable: !0
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var Ht = function(t, i, h, v, S, P, E) {
|
|
402
|
+
var _ = {
|
|
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
407
|
key: i,
|
|
408
|
-
ref:
|
|
409
|
-
props:
|
|
408
|
+
ref: h,
|
|
409
|
+
props: E,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
|
-
_owner:
|
|
411
|
+
_owner: P
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(_, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
|
-
value:
|
|
423
|
-
}), Object.defineProperty(
|
|
422
|
+
value: v
|
|
423
|
+
}), Object.defineProperty(_, "_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(_.props), Object.freeze(_)), _;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function Yt(t, i, h, v, S) {
|
|
431
431
|
{
|
|
432
|
-
var
|
|
433
|
-
|
|
434
|
-
for (
|
|
435
|
-
|
|
432
|
+
var P, E = {}, _ = null, B = null;
|
|
433
|
+
h !== void 0 && (Fe(h), _ = "" + h), Mt(i) && (Fe(i.key), _ = "" + i.key), Ft(i) && (B = i.ref, $t(i, S));
|
|
434
|
+
for (P in i)
|
|
435
|
+
se.call(i, P) && !It.hasOwnProperty(P) && (E[P] = i[P]);
|
|
436
436
|
if (t && t.defaultProps) {
|
|
437
437
|
var L = t.defaultProps;
|
|
438
|
-
for (
|
|
439
|
-
|
|
438
|
+
for (P in L)
|
|
439
|
+
E[P] === void 0 && (E[P] = L[P]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (_ || B) {
|
|
442
442
|
var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
443
|
-
|
|
443
|
+
_ && Vt(E, A), B && Wt(E, A);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return Ht(t, _, B, S, v, Me.current, E);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var we = w.ReactCurrentOwner, We = w.ReactDebugCurrentFrame;
|
|
449
|
+
function re(t) {
|
|
450
450
|
if (t) {
|
|
451
|
-
var i = t._owner,
|
|
452
|
-
|
|
451
|
+
var i = t._owner, h = ce(t.type, t._source, i ? i.type : null);
|
|
452
|
+
We.setExtraStackFrame(h);
|
|
453
453
|
} else
|
|
454
|
-
|
|
454
|
+
We.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
function
|
|
456
|
+
var Ne;
|
|
457
|
+
Ne = !1;
|
|
458
|
+
function ke(t) {
|
|
459
459
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function He() {
|
|
462
462
|
{
|
|
463
|
-
if (
|
|
464
|
-
var t =
|
|
463
|
+
if (we.current) {
|
|
464
|
+
var t = D(we.current.type);
|
|
465
465
|
if (t)
|
|
466
466
|
return `
|
|
467
467
|
|
|
@@ -470,18 +470,18 @@ Check the render method of \`` + t + "`.";
|
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function qt(t) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var Ye = {};
|
|
477
|
+
function Ut(t) {
|
|
478
478
|
{
|
|
479
|
-
var i =
|
|
479
|
+
var i = He();
|
|
480
480
|
if (!i) {
|
|
481
|
-
var
|
|
482
|
-
|
|
481
|
+
var h = typeof t == "string" ? t : t.displayName || t.name;
|
|
482
|
+
h && (i = `
|
|
483
483
|
|
|
484
|
-
Check the top-level render call using <` +
|
|
484
|
+
Check the top-level render call using <` + h + ">.");
|
|
485
485
|
}
|
|
486
486
|
return i;
|
|
487
487
|
}
|
|
@@ -491,146 +491,146 @@ Check the top-level render call using <` + x + ">.");
|
|
|
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 h = Ut(i);
|
|
495
|
+
if (Ye[h])
|
|
496
496
|
return;
|
|
497
|
-
|
|
498
|
-
var
|
|
499
|
-
t && t._owner && t._owner !==
|
|
497
|
+
Ye[h] = !0;
|
|
498
|
+
var v = "";
|
|
499
|
+
t && t._owner && t._owner !== we.current && (v = " It was passed a child from " + D(t._owner.type) + "."), re(t), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, v), re(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function Ue(t, i) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof t != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
507
|
-
for (var
|
|
508
|
-
var
|
|
509
|
-
|
|
506
|
+
if (ye(t))
|
|
507
|
+
for (var h = 0; h < t.length; h++) {
|
|
508
|
+
var v = t[h];
|
|
509
|
+
ke(v) && qe(v, i);
|
|
510
510
|
}
|
|
511
|
-
else if (
|
|
511
|
+
else if (ke(t))
|
|
512
512
|
t._store && (t._store.validated = !0);
|
|
513
513
|
else if (t) {
|
|
514
514
|
var S = C(t);
|
|
515
515
|
if (typeof S == "function" && S !== t.entries)
|
|
516
|
-
for (var
|
|
517
|
-
|
|
516
|
+
for (var P = S.call(t), E; !(E = P.next()).done; )
|
|
517
|
+
ke(E.value) && qe(E.value, i);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Gt(t) {
|
|
522
522
|
{
|
|
523
523
|
var i = t.type;
|
|
524
524
|
if (i == null || typeof i == "string")
|
|
525
525
|
return;
|
|
526
|
-
var
|
|
526
|
+
var h;
|
|
527
527
|
if (typeof i == "function")
|
|
528
|
-
|
|
528
|
+
h = i.propTypes;
|
|
529
529
|
else if (typeof i == "object" && (i.$$typeof === d || // Note: Memo only checks outer props here.
|
|
530
530
|
// Inner props are checked in the reconciler.
|
|
531
|
-
i.$$typeof ===
|
|
532
|
-
|
|
531
|
+
i.$$typeof === u))
|
|
532
|
+
h = i.propTypes;
|
|
533
533
|
else
|
|
534
534
|
return;
|
|
535
|
-
if (
|
|
536
|
-
var
|
|
537
|
-
|
|
538
|
-
} else if (i.PropTypes !== void 0 && !
|
|
539
|
-
|
|
540
|
-
var S =
|
|
535
|
+
if (h) {
|
|
536
|
+
var v = D(i);
|
|
537
|
+
Lt(h, t.props, "prop", v, t);
|
|
538
|
+
} else if (i.PropTypes !== void 0 && !Ne) {
|
|
539
|
+
Ne = !0;
|
|
540
|
+
var S = D(i);
|
|
541
541
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
542
542
|
}
|
|
543
543
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Zt(t) {
|
|
547
547
|
{
|
|
548
|
-
for (var i = Object.keys(t.props),
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
551
|
-
|
|
548
|
+
for (var i = Object.keys(t.props), h = 0; h < i.length; h++) {
|
|
549
|
+
var v = i[h];
|
|
550
|
+
if (v !== "children" && v !== "key") {
|
|
551
|
+
re(t), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), re(null);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
t.ref !== null && (
|
|
555
|
+
t.ref !== null && (re(t), b("Invalid attribute `ref` supplied to `React.Fragment`."), re(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
function
|
|
558
|
+
var Ge = {};
|
|
559
|
+
function Ze(t, i, h, v, S, P) {
|
|
560
560
|
{
|
|
561
|
-
var
|
|
562
|
-
if (!
|
|
563
|
-
var
|
|
564
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
565
|
-
var
|
|
566
|
-
|
|
561
|
+
var E = F(t);
|
|
562
|
+
if (!E) {
|
|
563
|
+
var _ = "";
|
|
564
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (_ += " 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 B = qt();
|
|
566
|
+
B ? _ += B : _ += He();
|
|
567
567
|
var L;
|
|
568
|
-
t === null ? L = "null" :
|
|
568
|
+
t === null ? L = "null" : ye(t) ? L = "array" : t !== void 0 && t.$$typeof === a ? (L = "<" + (D(t.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : L = typeof t, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, _);
|
|
569
569
|
}
|
|
570
|
-
var A =
|
|
570
|
+
var A = Yt(t, i, h, S, P);
|
|
571
571
|
if (A == null)
|
|
572
572
|
return A;
|
|
573
|
-
if (
|
|
574
|
-
var
|
|
575
|
-
if (
|
|
576
|
-
if (
|
|
577
|
-
if (
|
|
578
|
-
for (var
|
|
579
|
-
|
|
580
|
-
Object.freeze && Object.freeze(
|
|
573
|
+
if (E) {
|
|
574
|
+
var V = i.children;
|
|
575
|
+
if (V !== void 0)
|
|
576
|
+
if (v)
|
|
577
|
+
if (ye(V)) {
|
|
578
|
+
for (var ae = 0; ae < V.length; ae++)
|
|
579
|
+
Ue(V[ae], t);
|
|
580
|
+
Object.freeze && Object.freeze(V);
|
|
581
581
|
} else
|
|
582
582
|
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
583
583
|
else
|
|
584
|
-
|
|
584
|
+
Ue(V, t);
|
|
585
585
|
}
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
return
|
|
589
|
-
}),
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
586
|
+
if (se.call(i, "key")) {
|
|
587
|
+
var te = D(t), I = Object.keys(i).filter(function(tr) {
|
|
588
|
+
return tr !== "key";
|
|
589
|
+
}), Ce = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!Ge[te + Ce]) {
|
|
591
|
+
var er = I.length > 0 ? "{" + I.join(": ..., ") + ": ...}" : "{}";
|
|
592
592
|
b(`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} />`, Ce, te, er, te), Ge[te + Ce] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return t === n ?
|
|
600
|
+
return t === n ? Zt(A) : Gt(A), A;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
603
|
+
function Kt(t, i, h) {
|
|
604
|
+
return Ze(t, i, h, !0);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return
|
|
606
|
+
function Jt(t, i, h) {
|
|
607
|
+
return Ze(t, i, h, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
})()),
|
|
609
|
+
var Xt = Jt, Qt = Kt;
|
|
610
|
+
ie.Fragment = n, ie.jsx = Xt, ie.jsxs = Qt;
|
|
611
|
+
})()), ie;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
function
|
|
615
|
-
return
|
|
613
|
+
var et;
|
|
614
|
+
function fr() {
|
|
615
|
+
return et || (et = 1, process.env.NODE_ENV === "production" ? ue.exports = dr() : ue.exports = ur()), ue.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = fr(), mt = {
|
|
618
618
|
color: void 0,
|
|
619
619
|
size: void 0,
|
|
620
620
|
className: void 0,
|
|
621
621
|
style: void 0,
|
|
622
622
|
attr: void 0
|
|
623
|
-
},
|
|
624
|
-
function
|
|
623
|
+
}, tt = k.createContext && /* @__PURE__ */ k.createContext(mt), xr = ["attr", "size", "title"];
|
|
624
|
+
function hr(r, a) {
|
|
625
625
|
if (r == null) return {};
|
|
626
|
-
var s, n, l =
|
|
626
|
+
var s, n, l = mr(r, a);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
628
|
var c = Object.getOwnPropertySymbols(r);
|
|
629
629
|
for (n = 0; n < c.length; n++) s = c[n], a.indexOf(s) === -1 && {}.propertyIsEnumerable.call(r, s) && (l[s] = r[s]);
|
|
630
630
|
}
|
|
631
631
|
return l;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function mr(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,16 +639,16 @@ function ar(r, a) {
|
|
|
639
639
|
}
|
|
640
640
|
return s;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
642
|
+
function xe() {
|
|
643
|
+
return xe = 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
|
+
}, xe.apply(null, arguments);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function rt(r, a) {
|
|
652
652
|
var s = Object.keys(r);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(r);
|
|
@@ -658,25 +658,25 @@ function et(r, a) {
|
|
|
658
658
|
}
|
|
659
659
|
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function he(r) {
|
|
662
662
|
for (var a = 1; a < arguments.length; a++) {
|
|
663
663
|
var s = arguments[a] != null ? arguments[a] : {};
|
|
664
|
-
a % 2 ?
|
|
665
|
-
|
|
666
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(s)) :
|
|
664
|
+
a % 2 ? rt(Object(s), !0).forEach(function(n) {
|
|
665
|
+
pr(r, n, s[n]);
|
|
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 pr(r, a, s) {
|
|
673
|
+
return (a = gr(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 gr(r) {
|
|
676
|
+
var a = br(r, "string");
|
|
677
677
|
return typeof a == "symbol" ? a : a + "";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function br(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 ir(r, a) {
|
|
|
686
686
|
}
|
|
687
687
|
return (a === "string" ? String : Number)(r);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return r && r.map((a, s) => /* @__PURE__ */ k.createElement(a.tag,
|
|
689
|
+
function pt(r) {
|
|
690
|
+
return r && r.map((a, s) => /* @__PURE__ */ k.createElement(a.tag, he({
|
|
691
691
|
key: s
|
|
692
|
-
}, a.attr),
|
|
692
|
+
}, a.attr), pt(a.child)));
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return (a) => /* @__PURE__ */ k.createElement(
|
|
696
|
-
attr:
|
|
697
|
-
}, a),
|
|
694
|
+
function O(r) {
|
|
695
|
+
return (a) => /* @__PURE__ */ k.createElement(vr, xe({
|
|
696
|
+
attr: he({}, r.attr)
|
|
697
|
+
}, a), pt(r.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function vr(r) {
|
|
700
700
|
var a = (s) => {
|
|
701
|
-
var n = r.attr, l = r.size, c = r.title, f =
|
|
702
|
-
return s.className && (d = s.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */ k.createElement("svg",
|
|
701
|
+
var n = r.attr, l = r.size, c = r.title, f = hr(r, xr), x = l || s.size || "1em", d;
|
|
702
|
+
return s.className && (d = s.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */ k.createElement("svg", xe({
|
|
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: he(he({
|
|
709
709
|
color: r.color || s.color
|
|
710
710
|
}, s.style), r.style),
|
|
711
|
-
height:
|
|
712
|
-
width:
|
|
711
|
+
height: x,
|
|
712
|
+
width: x,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
714
|
}), c && /* @__PURE__ */ k.createElement("title", null, c), r.children);
|
|
715
715
|
};
|
|
716
|
-
return
|
|
716
|
+
return tt !== void 0 ? /* @__PURE__ */ k.createElement(tt.Consumer, null, (s) => a(s)) : a(mt);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
718
|
+
function jr(r) {
|
|
719
|
+
return O({ attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z" }, child: [] }] })(r);
|
|
720
720
|
}
|
|
721
|
-
const
|
|
721
|
+
const yr = or(
|
|
722
722
|
"appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
|
|
723
723
|
{
|
|
724
724
|
variants: {
|
|
@@ -749,7 +749,7 @@ const cr = Kt(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
),
|
|
752
|
+
), X = sr.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: r,
|
|
755
755
|
variant: a,
|
|
@@ -758,43 +758,43 @@ const cr = Kt(
|
|
|
758
758
|
loading: l = !1,
|
|
759
759
|
disabled: c,
|
|
760
760
|
leftIcon: f,
|
|
761
|
-
rightIcon:
|
|
761
|
+
rightIcon: x,
|
|
762
762
|
children: d,
|
|
763
763
|
type: p = "button",
|
|
764
|
-
...
|
|
765
|
-
},
|
|
764
|
+
...m
|
|
765
|
+
}, u) => /* @__PURE__ */ e.jsx(
|
|
766
766
|
"button",
|
|
767
767
|
{
|
|
768
|
-
ref:
|
|
768
|
+
ref: u,
|
|
769
769
|
type: p,
|
|
770
770
|
disabled: c || l,
|
|
771
|
-
className: o(
|
|
772
|
-
...
|
|
773
|
-
children: l ? /* @__PURE__ */ e.jsx(
|
|
771
|
+
className: o(yr({ variant: a, size: s, iconOnly: n }), r),
|
|
772
|
+
...m,
|
|
773
|
+
children: l ? /* @__PURE__ */ e.jsx(jr, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
774
|
f,
|
|
775
775
|
d,
|
|
776
|
-
|
|
776
|
+
x
|
|
777
777
|
] })
|
|
778
778
|
}
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
|
-
|
|
782
|
-
function
|
|
783
|
-
return
|
|
781
|
+
X.displayName = "Button";
|
|
782
|
+
function wr(r) {
|
|
783
|
+
return O({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(r);
|
|
784
784
|
}
|
|
785
|
-
function
|
|
786
|
-
return
|
|
785
|
+
function Nr(r) {
|
|
786
|
+
return O({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(r);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
return
|
|
788
|
+
function gt(r) {
|
|
789
|
+
return O({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(r);
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
return
|
|
791
|
+
function at(r) {
|
|
792
|
+
return O({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(r);
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return
|
|
794
|
+
function kr(r) {
|
|
795
|
+
return O({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z" }, child: [] }] })(r);
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const ha = ({
|
|
798
798
|
quote: r,
|
|
799
799
|
authorName: a,
|
|
800
800
|
authorAvatarUrl: s,
|
|
@@ -833,7 +833,7 @@ const Qr = ({
|
|
|
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, l)) }, (
|
|
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, l)) }, (x, d) => /* @__PURE__ */ e.jsx(gt, { size: 12 }, d)) })
|
|
837
837
|
] }),
|
|
838
838
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
839
839
|
] })
|
|
@@ -841,37 +841,37 @@ const Qr = ({
|
|
|
841
841
|
]
|
|
842
842
|
}
|
|
843
843
|
);
|
|
844
|
-
function
|
|
845
|
-
return
|
|
844
|
+
function st(r) {
|
|
845
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "12", y1: "5", x2: "12", y2: "19" }, child: [] }, { tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(r);
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
return
|
|
847
|
+
function Cr(r) {
|
|
848
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(r);
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
return
|
|
850
|
+
function me(r) {
|
|
851
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(r);
|
|
852
852
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
853
|
+
function bt(r) {
|
|
854
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(r);
|
|
855
855
|
}
|
|
856
|
-
function
|
|
857
|
-
return
|
|
856
|
+
function _r(r) {
|
|
857
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(r);
|
|
858
858
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
859
|
+
function pe(r) {
|
|
860
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "6 9 12 15 18 9" }, child: [] }] })(r);
|
|
861
861
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
862
|
+
function Se(r) {
|
|
863
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(r);
|
|
864
864
|
}
|
|
865
|
-
function
|
|
866
|
-
return
|
|
865
|
+
function Er(r) {
|
|
866
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(r);
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
return
|
|
868
|
+
function vt(r) {
|
|
869
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(r);
|
|
870
870
|
}
|
|
871
|
-
function
|
|
872
|
-
return
|
|
871
|
+
function jt(r) {
|
|
872
|
+
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(r);
|
|
873
873
|
}
|
|
874
|
-
const
|
|
874
|
+
const Rr = ({
|
|
875
875
|
title: r = "अक्सर पूछे जाने वाले प्रश्न",
|
|
876
876
|
items: a,
|
|
877
877
|
initialVisibleCount: s = 6,
|
|
@@ -879,10 +879,10 @@ const pr = ({
|
|
|
879
879
|
defaultExpanded: l = !1,
|
|
880
880
|
ctaExpandLabel: c = "और देखें",
|
|
881
881
|
ctaCollapseLabel: f = "कम देखें",
|
|
882
|
-
defaultOpenIndex:
|
|
882
|
+
defaultOpenIndex: x = -1,
|
|
883
883
|
className: d = ""
|
|
884
884
|
}) => {
|
|
885
|
-
const [p,
|
|
885
|
+
const [p, m] = Y(l), [u, g] = Y(x), j = n && a.length > s, y = j && !p ? a.slice(0, s) : a;
|
|
886
886
|
return /* @__PURE__ */ e.jsxs(
|
|
887
887
|
"div",
|
|
888
888
|
{
|
|
@@ -892,8 +892,8 @@ const pr = ({
|
|
|
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: y.map((R, C) => {
|
|
896
|
+
const w = u === C;
|
|
897
897
|
return /* @__PURE__ */ e.jsxs(
|
|
898
898
|
"div",
|
|
899
899
|
{
|
|
@@ -904,17 +904,17 @@ const pr = ({
|
|
|
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":
|
|
907
|
+
onClick: () => g(w ? -1 : C),
|
|
908
|
+
"aria-expanded": w,
|
|
909
909
|
"aria-controls": `faq-answer-${C}`,
|
|
910
910
|
id: `faq-question-${C}`,
|
|
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
|
+
pe,
|
|
915
915
|
{
|
|
916
916
|
size: 24,
|
|
917
|
-
className: o("shrink-0 transition-transform duration-200",
|
|
917
|
+
className: o("shrink-0 transition-transform duration-200", w ? "rotate-180" : ""),
|
|
918
918
|
"aria-hidden": !0
|
|
919
919
|
}
|
|
920
920
|
)
|
|
@@ -927,7 +927,7 @@ const pr = ({
|
|
|
927
927
|
id: `faq-answer-${C}`,
|
|
928
928
|
role: "region",
|
|
929
929
|
"aria-labelledby": `faq-question-${C}`,
|
|
930
|
-
hidden: !
|
|
930
|
+
hidden: !w,
|
|
931
931
|
children: /* @__PURE__ */ e.jsx("p", { className: "px-3 pb-3 text-sm text-gray-500", children: R.answer })
|
|
932
932
|
}
|
|
933
933
|
)
|
|
@@ -936,16 +936,16 @@ const pr = ({
|
|
|
936
936
|
C
|
|
937
937
|
);
|
|
938
938
|
}) }),
|
|
939
|
-
|
|
940
|
-
|
|
939
|
+
j && /* @__PURE__ */ e.jsx(
|
|
940
|
+
X,
|
|
941
941
|
{
|
|
942
942
|
variant: "secondary",
|
|
943
943
|
size: "lg",
|
|
944
944
|
className: "w-full",
|
|
945
|
-
onClick: () =>
|
|
945
|
+
onClick: () => m((R) => !R),
|
|
946
946
|
"aria-expanded": p,
|
|
947
947
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
948
|
-
|
|
948
|
+
pe,
|
|
949
949
|
{
|
|
950
950
|
size: 24,
|
|
951
951
|
className: o("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
@@ -958,14 +958,14 @@ const pr = ({
|
|
|
958
958
|
]
|
|
959
959
|
}
|
|
960
960
|
);
|
|
961
|
-
},
|
|
961
|
+
}, Sr = k.forwardRef(
|
|
962
962
|
({ src: r, poster: a, className: s = "", rounded: n = !0, width: l, height: c }, f) => {
|
|
963
|
-
const [
|
|
963
|
+
const [x, d] = k.useState(!1), [p, m] = k.useState(!0), [u, g] = k.useState(!1), [j, y] = k.useState(0), [R, C] = k.useState(0), w = k.useRef(null), T = o(
|
|
964
964
|
"block w-full",
|
|
965
965
|
(l !== void 0 || c !== void 0) && "h-full object-cover"
|
|
966
|
-
),
|
|
967
|
-
const
|
|
968
|
-
|
|
966
|
+
), N = (z) => {
|
|
967
|
+
const M = Number(z.target.value);
|
|
968
|
+
y(M), w.current && (w.current.currentTime = M);
|
|
969
969
|
};
|
|
970
970
|
return /* @__PURE__ */ e.jsx(
|
|
971
971
|
"div",
|
|
@@ -977,45 +977,45 @@ const pr = ({
|
|
|
977
977
|
n && "rounded-2xl",
|
|
978
978
|
s
|
|
979
979
|
),
|
|
980
|
-
children:
|
|
980
|
+
children: x ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
981
981
|
/* @__PURE__ */ e.jsx(
|
|
982
|
-
|
|
982
|
+
cr,
|
|
983
983
|
{
|
|
984
|
-
ref:
|
|
984
|
+
ref: w,
|
|
985
985
|
src: r,
|
|
986
986
|
poster: a,
|
|
987
987
|
playing: p,
|
|
988
|
-
muted:
|
|
988
|
+
muted: u,
|
|
989
989
|
width: l,
|
|
990
990
|
height: c,
|
|
991
|
-
className:
|
|
992
|
-
onTimeUpdate: (
|
|
993
|
-
onDurationChange: (
|
|
994
|
-
onEnded: () =>
|
|
991
|
+
className: T,
|
|
992
|
+
onTimeUpdate: (z) => y(z.currentTarget.currentTime),
|
|
993
|
+
onDurationChange: (z) => C(z.currentTarget.duration),
|
|
994
|
+
onEnded: () => m(!1)
|
|
995
995
|
}
|
|
996
996
|
),
|
|
997
997
|
/* @__PURE__ */ e.jsx(
|
|
998
|
-
|
|
998
|
+
X,
|
|
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: () => m((z) => !z),
|
|
1006
|
+
children: p ? /* @__PURE__ */ e.jsx(kr, { size: 16 }) : /* @__PURE__ */ e.jsx(at, { size: 16, className: "translate-x-0.5" })
|
|
1007
1007
|
}
|
|
1008
1008
|
),
|
|
1009
1009
|
/* @__PURE__ */ e.jsx(
|
|
1010
|
-
|
|
1010
|
+
X,
|
|
1011
1011
|
{
|
|
1012
1012
|
variant: "ghost",
|
|
1013
1013
|
iconOnly: !0,
|
|
1014
1014
|
size: "sm",
|
|
1015
|
-
"aria-label":
|
|
1015
|
+
"aria-label": u ? "Unmute" : "Mute",
|
|
1016
1016
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1017
|
-
onClick: () =>
|
|
1018
|
-
children:
|
|
1017
|
+
onClick: () => g((z) => !z),
|
|
1018
|
+
children: u ? /* @__PURE__ */ e.jsx(Nr, { size: 14 }) : /* @__PURE__ */ e.jsx(wr, { size: 14 })
|
|
1019
1019
|
}
|
|
1020
1020
|
),
|
|
1021
1021
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1025,17 +1025,17 @@ const pr = ({
|
|
|
1025
1025
|
min: 0,
|
|
1026
1026
|
max: R || 0,
|
|
1027
1027
|
step: 0.1,
|
|
1028
|
-
value:
|
|
1029
|
-
onChange:
|
|
1028
|
+
value: j,
|
|
1029
|
+
onChange: N,
|
|
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: T }),
|
|
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
|
+
X,
|
|
1039
1039
|
{
|
|
1040
1040
|
variant: "ghost",
|
|
1041
1041
|
iconOnly: !0,
|
|
@@ -1043,7 +1043,7 @@ const pr = ({
|
|
|
1043
1043
|
"aria-label": "Play video",
|
|
1044
1044
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1045
1045
|
onClick: () => d(!0),
|
|
1046
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1046
|
+
children: /* @__PURE__ */ e.jsx(at, { size: 16, className: "translate-x-0.5" })
|
|
1047
1047
|
}
|
|
1048
1048
|
)
|
|
1049
1049
|
] })
|
|
@@ -1051,8 +1051,8 @@ const pr = ({
|
|
|
1051
1051
|
);
|
|
1052
1052
|
}
|
|
1053
1053
|
);
|
|
1054
|
-
|
|
1055
|
-
const
|
|
1054
|
+
Sr.displayName = "VideoPlayer";
|
|
1055
|
+
const Pr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), yt = k.forwardRef(
|
|
1056
1056
|
({
|
|
1057
1057
|
options: r,
|
|
1058
1058
|
value: a,
|
|
@@ -1061,28 +1061,28 @@ const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1061
1061
|
open: l,
|
|
1062
1062
|
onOpenChange: c,
|
|
1063
1063
|
className: f = "",
|
|
1064
|
-
triggerClassName:
|
|
1064
|
+
triggerClassName: x = "",
|
|
1065
1065
|
menuClassName: d = "",
|
|
1066
1066
|
...p
|
|
1067
|
-
},
|
|
1068
|
-
const [
|
|
1067
|
+
}, m) => {
|
|
1068
|
+
const [u, g] = k.useState(n), j = l !== void 0, y = j ? l : u, R = k.useCallback(
|
|
1069
1069
|
(b) => {
|
|
1070
|
-
|
|
1070
|
+
j || g(b), c?.(b);
|
|
1071
1071
|
},
|
|
1072
|
-
[
|
|
1072
|
+
[j, c]
|
|
1073
1073
|
), C = k.useRef(null);
|
|
1074
|
-
k.useImperativeHandle(
|
|
1075
|
-
if (!
|
|
1076
|
-
const b = (
|
|
1077
|
-
C.current?.contains(
|
|
1078
|
-
},
|
|
1079
|
-
|
|
1074
|
+
k.useImperativeHandle(m, () => C.current), k.useEffect(() => {
|
|
1075
|
+
if (!y) return;
|
|
1076
|
+
const b = (N) => {
|
|
1077
|
+
C.current?.contains(N.target) || R(!1);
|
|
1078
|
+
}, T = (N) => {
|
|
1079
|
+
N.key === "Escape" && R(!1);
|
|
1080
1080
|
};
|
|
1081
|
-
return document.addEventListener("mousedown", b), document.addEventListener("keydown",
|
|
1082
|
-
document.removeEventListener("mousedown", b), document.removeEventListener("keydown",
|
|
1081
|
+
return document.addEventListener("mousedown", b), document.addEventListener("keydown", T), () => {
|
|
1082
|
+
document.removeEventListener("mousedown", b), document.removeEventListener("keydown", T);
|
|
1083
1083
|
};
|
|
1084
|
-
}, [
|
|
1085
|
-
const
|
|
1084
|
+
}, [y, R]);
|
|
1085
|
+
const w = (b) => {
|
|
1086
1086
|
s?.(b.value), R(!1);
|
|
1087
1087
|
};
|
|
1088
1088
|
return /* @__PURE__ */ e.jsxs("div", { ref: C, className: o("relative inline-block", f), ...p, children: [
|
|
@@ -1090,28 +1090,28 @@ const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1090
1090
|
"button",
|
|
1091
1091
|
{
|
|
1092
1092
|
type: "button",
|
|
1093
|
-
onClick: () => R(!
|
|
1093
|
+
onClick: () => R(!y),
|
|
1094
1094
|
"aria-label": "Switch language",
|
|
1095
1095
|
"aria-haspopup": "listbox",
|
|
1096
|
-
"aria-expanded":
|
|
1096
|
+
"aria-expanded": y,
|
|
1097
1097
|
className: o(
|
|
1098
1098
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
1099
|
-
|
|
1099
|
+
x
|
|
1100
1100
|
),
|
|
1101
1101
|
children: [
|
|
1102
|
-
/* @__PURE__ */ e.jsx(
|
|
1102
|
+
/* @__PURE__ */ e.jsx(Pr, {}),
|
|
1103
1103
|
/* @__PURE__ */ e.jsx(
|
|
1104
|
-
|
|
1104
|
+
pe,
|
|
1105
1105
|
{
|
|
1106
1106
|
size: 24,
|
|
1107
|
-
className: o("transition-transform duration-200",
|
|
1107
|
+
className: o("transition-transform duration-200", y ? "rotate-180" : ""),
|
|
1108
1108
|
"aria-hidden": !0
|
|
1109
1109
|
}
|
|
1110
1110
|
)
|
|
1111
1111
|
]
|
|
1112
1112
|
}
|
|
1113
1113
|
),
|
|
1114
|
-
|
|
1114
|
+
y && /* @__PURE__ */ e.jsx(
|
|
1115
1115
|
"ul",
|
|
1116
1116
|
{
|
|
1117
1117
|
role: "listbox",
|
|
@@ -1120,15 +1120,15 @@ const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1120
1120
|
d
|
|
1121
1121
|
),
|
|
1122
1122
|
children: r.map((b) => {
|
|
1123
|
-
const
|
|
1124
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
1123
|
+
const T = b.value === a;
|
|
1124
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": T, children: /* @__PURE__ */ e.jsx(
|
|
1125
1125
|
"button",
|
|
1126
1126
|
{
|
|
1127
1127
|
type: "button",
|
|
1128
|
-
onClick: () =>
|
|
1128
|
+
onClick: () => w(b),
|
|
1129
1129
|
className: o(
|
|
1130
1130
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1131
|
-
|
|
1131
|
+
T ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1132
1132
|
),
|
|
1133
1133
|
children: b.label
|
|
1134
1134
|
}
|
|
@@ -1139,8 +1139,8 @@ const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1139
1139
|
] });
|
|
1140
1140
|
}
|
|
1141
1141
|
);
|
|
1142
|
-
|
|
1143
|
-
function
|
|
1142
|
+
yt.displayName = "LanguageSwitcher";
|
|
1143
|
+
function ma({
|
|
1144
1144
|
onBackClick: r,
|
|
1145
1145
|
backButtonAriaLabel: a = "Go back",
|
|
1146
1146
|
locale: s,
|
|
@@ -1163,11 +1163,11 @@ function ea({
|
|
|
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(jt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1167
1167
|
}
|
|
1168
1168
|
),
|
|
1169
1169
|
/* @__PURE__ */ e.jsx(
|
|
1170
|
-
|
|
1170
|
+
yt,
|
|
1171
1171
|
{
|
|
1172
1172
|
options: n,
|
|
1173
1173
|
value: s,
|
|
@@ -1179,11 +1179,11 @@ function ea({
|
|
|
1179
1179
|
}
|
|
1180
1180
|
);
|
|
1181
1181
|
}
|
|
1182
|
-
const
|
|
1183
|
-
({ label: r, selected: a = !1, onClick: s, icon: n, className: l, type: c = "button", ...f },
|
|
1182
|
+
const Tr = k.forwardRef(
|
|
1183
|
+
({ label: r, selected: a = !1, onClick: s, icon: n, className: l, type: c = "button", ...f }, x) => /* @__PURE__ */ e.jsxs(
|
|
1184
1184
|
"button",
|
|
1185
1185
|
{
|
|
1186
|
-
ref:
|
|
1186
|
+
ref: x,
|
|
1187
1187
|
type: c,
|
|
1188
1188
|
onClick: s,
|
|
1189
1189
|
"aria-pressed": a,
|
|
@@ -1200,8 +1200,8 @@ const vr = k.forwardRef(
|
|
|
1200
1200
|
}
|
|
1201
1201
|
)
|
|
1202
1202
|
);
|
|
1203
|
-
|
|
1204
|
-
const
|
|
1203
|
+
Tr.displayName = "Chip";
|
|
1204
|
+
const pa = ({
|
|
1205
1205
|
quote: r,
|
|
1206
1206
|
currentStep: a,
|
|
1207
1207
|
totalSteps: s,
|
|
@@ -1245,13 +1245,13 @@ const ta = ({
|
|
|
1245
1245
|
] })
|
|
1246
1246
|
] });
|
|
1247
1247
|
};
|
|
1248
|
-
function
|
|
1249
|
-
return
|
|
1248
|
+
function zr(r) {
|
|
1249
|
+
return O({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z" }, child: [] }, { tag: "path", attr: { d: "M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z" }, child: [] }] })(r);
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return
|
|
1251
|
+
function Or(r) {
|
|
1252
|
+
return O({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z" }, child: [] }] })(r);
|
|
1253
1253
|
}
|
|
1254
|
-
const
|
|
1254
|
+
const nt = 1.25, it = [
|
|
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 at = 1.25, st = [
|
|
|
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
|
+
], Lr = ({
|
|
1263
1263
|
animate: r,
|
|
1264
1264
|
iconIndex: a
|
|
1265
1265
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1271,24 +1271,24 @@ const at = 1.25, st = [
|
|
|
1271
1271
|
fill: "none",
|
|
1272
1272
|
"aria-hidden": !0,
|
|
1273
1273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1274
|
-
children:
|
|
1274
|
+
children: it.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1275
1275
|
"rect",
|
|
1276
1276
|
{
|
|
1277
1277
|
x: s.x,
|
|
1278
1278
|
y: s.y,
|
|
1279
|
-
width:
|
|
1279
|
+
width: nt,
|
|
1280
1280
|
height: s.height,
|
|
1281
|
-
rx:
|
|
1281
|
+
rx: nt / 2,
|
|
1282
1282
|
fill: "#6B7280",
|
|
1283
1283
|
className: r ? "wave-bar-anim" : "",
|
|
1284
1284
|
style: {
|
|
1285
|
-
animationDelay: `${(a *
|
|
1285
|
+
animationDelay: `${(a * it.length + n) * 60}ms`
|
|
1286
1286
|
}
|
|
1287
1287
|
},
|
|
1288
1288
|
n
|
|
1289
1289
|
))
|
|
1290
1290
|
}
|
|
1291
|
-
),
|
|
1291
|
+
), ga = ({
|
|
1292
1292
|
avatarUrl: r,
|
|
1293
1293
|
question: a,
|
|
1294
1294
|
description: s,
|
|
@@ -1296,14 +1296,14 @@ const at = 1.25, st = [
|
|
|
1296
1296
|
className: l,
|
|
1297
1297
|
...c
|
|
1298
1298
|
}) => {
|
|
1299
|
-
const f = k.useRef(null),
|
|
1299
|
+
const f = k.useRef(null), x = k.useRef(!1), [d, p] = k.useState(!1), [m, u] = k.useState(!1);
|
|
1300
1300
|
k.useEffect(() => {
|
|
1301
|
-
!n ||
|
|
1301
|
+
!n || x.current || (x.current = !0, f.current?.play().catch(() => {
|
|
1302
1302
|
}));
|
|
1303
1303
|
}, [n]);
|
|
1304
|
-
const
|
|
1305
|
-
const
|
|
1306
|
-
|
|
1304
|
+
const g = () => {
|
|
1305
|
+
const j = f.current;
|
|
1306
|
+
j && (j.muted = !j.muted, p(j.muted));
|
|
1307
1307
|
};
|
|
1308
1308
|
return /* @__PURE__ */ e.jsxs(
|
|
1309
1309
|
"div",
|
|
@@ -1355,29 +1355,29 @@ const at = 1.25, st = [
|
|
|
1355
1355
|
{
|
|
1356
1356
|
ref: f,
|
|
1357
1357
|
src: n,
|
|
1358
|
-
onPlay: () =>
|
|
1359
|
-
onPause: () =>
|
|
1360
|
-
onEnded: () =>
|
|
1358
|
+
onPlay: () => u(!0),
|
|
1359
|
+
onPause: () => u(!1),
|
|
1360
|
+
onEnded: () => u(!1)
|
|
1361
1361
|
}
|
|
1362
1362
|
),
|
|
1363
1363
|
/* @__PURE__ */ e.jsx(
|
|
1364
1364
|
"button",
|
|
1365
1365
|
{
|
|
1366
1366
|
type: "button",
|
|
1367
|
-
onClick:
|
|
1367
|
+
onClick: g,
|
|
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(Or, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(zr, { 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((j) => /* @__PURE__ */ e.jsx(
|
|
1375
|
+
Lr,
|
|
1376
1376
|
{
|
|
1377
|
-
animate:
|
|
1378
|
-
iconIndex:
|
|
1377
|
+
animate: m && !d,
|
|
1378
|
+
iconIndex: j
|
|
1379
1379
|
},
|
|
1380
|
-
|
|
1380
|
+
j
|
|
1381
1381
|
)) })
|
|
1382
1382
|
] })
|
|
1383
1383
|
] })
|
|
@@ -1385,18 +1385,18 @@ const at = 1.25, st = [
|
|
|
1385
1385
|
]
|
|
1386
1386
|
}
|
|
1387
1387
|
);
|
|
1388
|
-
},
|
|
1388
|
+
}, Ar = {
|
|
1389
1389
|
sm: "size-9",
|
|
1390
1390
|
md: "size-11",
|
|
1391
1391
|
lg: "size-16"
|
|
1392
|
-
},
|
|
1392
|
+
}, Pe = k.forwardRef(
|
|
1393
1393
|
({ icon: r, avatarUrl: a, alt: s = "", size: n = "md", className: l, ...c }, f) => /* @__PURE__ */ e.jsx(
|
|
1394
1394
|
"div",
|
|
1395
1395
|
{
|
|
1396
1396
|
ref: f,
|
|
1397
1397
|
className: o(
|
|
1398
1398
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1399
|
-
|
|
1399
|
+
Ar[n],
|
|
1400
1400
|
!a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1401
1401
|
l
|
|
1402
1402
|
),
|
|
@@ -1406,8 +1406,8 @@ const at = 1.25, st = [
|
|
|
1406
1406
|
}
|
|
1407
1407
|
)
|
|
1408
1408
|
);
|
|
1409
|
-
|
|
1410
|
-
const
|
|
1409
|
+
Pe.displayName = "IconBadge";
|
|
1410
|
+
const wt = k.forwardRef(
|
|
1411
1411
|
({
|
|
1412
1412
|
selected: r = !1,
|
|
1413
1413
|
onSelect: a,
|
|
@@ -1416,19 +1416,19 @@ const ht = k.forwardRef(
|
|
|
1416
1416
|
iconSize: l = "md",
|
|
1417
1417
|
iconClassName: c,
|
|
1418
1418
|
title: f,
|
|
1419
|
-
description:
|
|
1419
|
+
description: x,
|
|
1420
1420
|
badge: d,
|
|
1421
1421
|
showRadio: p = !0,
|
|
1422
|
-
radioVariant:
|
|
1423
|
-
radioClassName:
|
|
1424
|
-
tag:
|
|
1425
|
-
tagClassName:
|
|
1426
|
-
children:
|
|
1422
|
+
radioVariant: m = "dot",
|
|
1423
|
+
radioClassName: u,
|
|
1424
|
+
tag: g,
|
|
1425
|
+
tagClassName: j,
|
|
1426
|
+
children: y,
|
|
1427
1427
|
className: R,
|
|
1428
1428
|
disabled: C,
|
|
1429
|
-
type:
|
|
1429
|
+
type: w = "button",
|
|
1430
1430
|
...b
|
|
1431
|
-
},
|
|
1431
|
+
}, T) => /* @__PURE__ */ e.jsxs(
|
|
1432
1432
|
"div",
|
|
1433
1433
|
{
|
|
1434
1434
|
className: o(
|
|
@@ -1438,35 +1438,35 @@ const ht = k.forwardRef(
|
|
|
1438
1438
|
R
|
|
1439
1439
|
),
|
|
1440
1440
|
children: [
|
|
1441
|
-
|
|
1441
|
+
g && /* @__PURE__ */ e.jsx(
|
|
1442
1442
|
"span",
|
|
1443
1443
|
{
|
|
1444
1444
|
className: o(
|
|
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
|
+
j
|
|
1447
1447
|
),
|
|
1448
|
-
children:
|
|
1448
|
+
children: g
|
|
1449
1449
|
}
|
|
1450
1450
|
),
|
|
1451
1451
|
/* @__PURE__ */ e.jsxs(
|
|
1452
1452
|
"button",
|
|
1453
1453
|
{
|
|
1454
|
-
ref:
|
|
1455
|
-
type:
|
|
1454
|
+
ref: T,
|
|
1455
|
+
type: w,
|
|
1456
1456
|
role: "radio",
|
|
1457
1457
|
"aria-checked": r,
|
|
1458
1458
|
disabled: C,
|
|
1459
1459
|
onClick: a,
|
|
1460
1460
|
className: o(
|
|
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
|
+
g && "pt-7"
|
|
1463
1463
|
),
|
|
1464
1464
|
...b,
|
|
1465
1465
|
children: [
|
|
1466
|
-
(s || n) && /* @__PURE__ */ e.jsx(
|
|
1466
|
+
(s || n) && /* @__PURE__ */ e.jsx(Pe, { icon: s, avatarUrl: n, size: l, className: c }),
|
|
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
|
+
x && !y && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: x })
|
|
1470
1470
|
] }),
|
|
1471
1471
|
d && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: d }),
|
|
1472
1472
|
p && /* @__PURE__ */ e.jsxs(
|
|
@@ -1475,32 +1475,32 @@ const ht = k.forwardRef(
|
|
|
1475
1475
|
"aria-hidden": !0,
|
|
1476
1476
|
className: o(
|
|
1477
1477
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1478
|
-
r ?
|
|
1478
|
+
r ? m === "check" ? o("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", u) : "border-[#f75e22]" : "border-gray-300"
|
|
1479
1479
|
),
|
|
1480
1480
|
children: [
|
|
1481
|
-
r &&
|
|
1481
|
+
r && m === "dot" && /* @__PURE__ */ e.jsx(
|
|
1482
1482
|
"span",
|
|
1483
1483
|
{
|
|
1484
1484
|
className: o(
|
|
1485
1485
|
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1486
|
-
|
|
1486
|
+
u
|
|
1487
1487
|
)
|
|
1488
1488
|
}
|
|
1489
1489
|
),
|
|
1490
|
-
r &&
|
|
1490
|
+
r && m === "check" && /* @__PURE__ */ e.jsx(Se, { size: 14, "aria-hidden": !0 })
|
|
1491
1491
|
]
|
|
1492
1492
|
}
|
|
1493
1493
|
)
|
|
1494
1494
|
]
|
|
1495
1495
|
}
|
|
1496
1496
|
),
|
|
1497
|
-
|
|
1497
|
+
y
|
|
1498
1498
|
]
|
|
1499
1499
|
}
|
|
1500
1500
|
)
|
|
1501
1501
|
);
|
|
1502
|
-
|
|
1503
|
-
const
|
|
1502
|
+
wt.displayName = "SelectorCard";
|
|
1503
|
+
const ba = ({
|
|
1504
1504
|
value: r,
|
|
1505
1505
|
onClick: a,
|
|
1506
1506
|
className: s,
|
|
@@ -1518,11 +1518,11 @@ const aa = ({
|
|
|
1518
1518
|
),
|
|
1519
1519
|
...n,
|
|
1520
1520
|
children: [
|
|
1521
|
-
/* @__PURE__ */ e.jsx(
|
|
1521
|
+
/* @__PURE__ */ e.jsx(bt, { 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
|
+
), va = ({
|
|
1526
1526
|
value: r,
|
|
1527
1527
|
onInfoClick: a,
|
|
1528
1528
|
infoLabel: s = "More info",
|
|
@@ -1545,12 +1545,12 @@ const aa = ({
|
|
|
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(me, { size: 18, "aria-hidden": !0 })
|
|
1549
1549
|
}
|
|
1550
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1550
|
+
) : /* @__PURE__ */ e.jsx(me, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1551
1551
|
]
|
|
1552
1552
|
}
|
|
1553
|
-
),
|
|
1553
|
+
), Br = ({
|
|
1554
1554
|
value: r,
|
|
1555
1555
|
className: a,
|
|
1556
1556
|
...s
|
|
@@ -1564,7 +1564,7 @@ const aa = ({
|
|
|
1564
1564
|
...s,
|
|
1565
1565
|
children: r
|
|
1566
1566
|
}
|
|
1567
|
-
),
|
|
1567
|
+
), Dr = ({ className: r, children: a, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1568
1568
|
"div",
|
|
1569
1569
|
{
|
|
1570
1570
|
className: o(
|
|
@@ -1574,7 +1574,7 @@ const aa = ({
|
|
|
1574
1574
|
...s,
|
|
1575
1575
|
children: a
|
|
1576
1576
|
}
|
|
1577
|
-
),
|
|
1577
|
+
), ja = ({
|
|
1578
1578
|
value: r,
|
|
1579
1579
|
onIncrement: a,
|
|
1580
1580
|
onDecrement: s,
|
|
@@ -1592,7 +1592,7 @@ const aa = ({
|
|
|
1592
1592
|
f
|
|
1593
1593
|
),
|
|
1594
1594
|
children: [
|
|
1595
|
-
/* @__PURE__ */ e.jsx(
|
|
1595
|
+
/* @__PURE__ */ e.jsx(st, { size: 20, "aria-hidden": !0 }),
|
|
1596
1596
|
c
|
|
1597
1597
|
]
|
|
1598
1598
|
}
|
|
@@ -1611,7 +1611,7 @@ const aa = ({
|
|
|
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(Cr, { 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 }),
|
|
@@ -1623,12 +1623,37 @@ const aa = ({
|
|
|
1623
1623
|
disabled: l !== void 0 && r >= l,
|
|
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
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1626
|
+
children: /* @__PURE__ */ e.jsx(st, { size: 18, "aria-hidden": !0 })
|
|
1627
1627
|
}
|
|
1628
1628
|
)
|
|
1629
1629
|
]
|
|
1630
1630
|
}
|
|
1631
|
-
),
|
|
1631
|
+
), lt = {
|
|
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 = ({
|
|
1632
1657
|
title: r,
|
|
1633
1658
|
description: a,
|
|
1634
1659
|
price: s,
|
|
@@ -1655,7 +1680,10 @@ const aa = ({
|
|
|
1655
1680
|
] })
|
|
1656
1681
|
] })
|
|
1657
1682
|
}
|
|
1658
|
-
),
|
|
1683
|
+
), Ir = ({ locale: r = "en", ...a }) => {
|
|
1684
|
+
const { mandapTitle: s, mandapDescription: n } = ge(r);
|
|
1685
|
+
return /* @__PURE__ */ e.jsx(Nt, { title: s, description: n, ...a });
|
|
1686
|
+
}, ya = ({
|
|
1659
1687
|
children: r = "Change",
|
|
1660
1688
|
className: a,
|
|
1661
1689
|
type: s = "button",
|
|
@@ -1670,30 +1698,32 @@ const aa = ({
|
|
|
1670
1698
|
),
|
|
1671
1699
|
...n,
|
|
1672
1700
|
children: [
|
|
1673
|
-
/* @__PURE__ */ e.jsx(
|
|
1701
|
+
/* @__PURE__ */ e.jsx(bt, { size: 14, "aria-hidden": !0 }),
|
|
1674
1702
|
r
|
|
1675
1703
|
]
|
|
1676
1704
|
}
|
|
1677
|
-
),
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1705
|
+
), wa = ({
|
|
1706
|
+
locale: r = "en",
|
|
1707
|
+
isAdded: a = !0,
|
|
1708
|
+
children: s,
|
|
1709
|
+
className: n,
|
|
1710
|
+
type: l = "button",
|
|
1711
|
+
...c
|
|
1682
1712
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1683
1713
|
"button",
|
|
1684
1714
|
{
|
|
1685
|
-
type:
|
|
1715
|
+
type: l,
|
|
1686
1716
|
className: o(
|
|
1687
1717
|
"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",
|
|
1688
|
-
|
|
1718
|
+
n
|
|
1689
1719
|
),
|
|
1690
|
-
...
|
|
1720
|
+
...c,
|
|
1691
1721
|
children: [
|
|
1692
|
-
/* @__PURE__ */ e.jsx(
|
|
1693
|
-
r
|
|
1722
|
+
a && /* @__PURE__ */ e.jsx(Se, { size: 14, "aria-hidden": !0 }),
|
|
1723
|
+
s ?? (a ? ge(r).addedLabel : ge(r).addLabel)
|
|
1694
1724
|
]
|
|
1695
1725
|
}
|
|
1696
|
-
),
|
|
1726
|
+
), Fr = ({
|
|
1697
1727
|
image: r,
|
|
1698
1728
|
imageAlt: a = "",
|
|
1699
1729
|
title: s,
|
|
@@ -1701,10 +1731,10 @@ const aa = ({
|
|
|
1701
1731
|
price: l,
|
|
1702
1732
|
originalPrice: c,
|
|
1703
1733
|
tag: f,
|
|
1704
|
-
tagClassName:
|
|
1734
|
+
tagClassName: x,
|
|
1705
1735
|
action: d,
|
|
1706
1736
|
className: p,
|
|
1707
|
-
...
|
|
1737
|
+
...m
|
|
1708
1738
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1709
1739
|
"div",
|
|
1710
1740
|
{
|
|
@@ -1712,14 +1742,14 @@ const aa = ({
|
|
|
1712
1742
|
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1713
1743
|
p
|
|
1714
1744
|
),
|
|
1715
|
-
...
|
|
1745
|
+
...m,
|
|
1716
1746
|
children: [
|
|
1717
1747
|
f && /* @__PURE__ */ e.jsx(
|
|
1718
1748
|
"div",
|
|
1719
1749
|
{
|
|
1720
1750
|
className: o(
|
|
1721
1751
|
"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",
|
|
1722
|
-
|
|
1752
|
+
x
|
|
1723
1753
|
),
|
|
1724
1754
|
children: f
|
|
1725
1755
|
}
|
|
@@ -1741,21 +1771,21 @@ const aa = ({
|
|
|
1741
1771
|
]
|
|
1742
1772
|
}
|
|
1743
1773
|
);
|
|
1744
|
-
function
|
|
1745
|
-
return
|
|
1774
|
+
function kt(r) {
|
|
1775
|
+
return O({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(r);
|
|
1746
1776
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return
|
|
1777
|
+
function Ct(r) {
|
|
1778
|
+
return O({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56" }, child: [] }, { tag: "path", attr: { d: "M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0" }, child: [] }] })(r);
|
|
1749
1779
|
}
|
|
1750
|
-
function
|
|
1751
|
-
return
|
|
1780
|
+
function _t(r) {
|
|
1781
|
+
return O({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z" }, child: [] }, { tag: "path", attr: { d: "M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z" }, child: [] }, { tag: "path", attr: { d: "M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(r);
|
|
1752
1782
|
}
|
|
1753
|
-
const
|
|
1754
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1755
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1756
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1757
|
-
],
|
|
1758
|
-
badges: r =
|
|
1783
|
+
const Mr = [
|
|
1784
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Ct, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1785
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(kt, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1786
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(_t, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1787
|
+
], $r = ({
|
|
1788
|
+
badges: r = Mr,
|
|
1759
1789
|
badgeClassName: a,
|
|
1760
1790
|
className: s,
|
|
1761
1791
|
...n
|
|
@@ -1780,218 +1810,327 @@ const Or = [
|
|
|
1780
1810
|
l.id
|
|
1781
1811
|
))
|
|
1782
1812
|
}
|
|
1783
|
-
),
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1813
|
+
), ot = {
|
|
1814
|
+
en: {
|
|
1815
|
+
proceedLabel: "Proceed"
|
|
1816
|
+
},
|
|
1817
|
+
hi: {
|
|
1818
|
+
proceedLabel: "आगे बढ़ें"
|
|
1819
|
+
}
|
|
1820
|
+
}, Vr = (r) => ot[r] ?? ot.en, Et = ({
|
|
1821
|
+
locale: r = "en",
|
|
1822
|
+
amount: a,
|
|
1823
|
+
amountClassName: s,
|
|
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,
|
|
1794
1832
|
proceedButtonProps: u,
|
|
1795
|
-
buttonWrapperClassName:
|
|
1833
|
+
buttonWrapperClassName: g,
|
|
1796
1834
|
className: j,
|
|
1797
|
-
...
|
|
1798
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", j), ...
|
|
1835
|
+
...y
|
|
1836
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", j), ...y, children: [
|
|
1799
1837
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1800
1838
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1801
|
-
/* @__PURE__ */ e.jsx("span", { className: o("text-xl font-extrabold text-[#1d2125]",
|
|
1802
|
-
|
|
1839
|
+
/* @__PURE__ */ e.jsx("span", { className: o("text-xl font-extrabold text-[#1d2125]", s), children: a }),
|
|
1840
|
+
c && /* @__PURE__ */ e.jsx(
|
|
1803
1841
|
"button",
|
|
1804
1842
|
{
|
|
1805
1843
|
type: "button",
|
|
1806
|
-
onClick:
|
|
1844
|
+
onClick: f,
|
|
1807
1845
|
"aria-label": "View bill details",
|
|
1808
1846
|
className: o(
|
|
1809
1847
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1810
|
-
!
|
|
1811
|
-
|
|
1848
|
+
!f && "pointer-events-none",
|
|
1849
|
+
x
|
|
1812
1850
|
),
|
|
1813
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1851
|
+
children: /* @__PURE__ */ e.jsx(me, { size: 18, "aria-hidden": !0 })
|
|
1814
1852
|
}
|
|
1815
1853
|
)
|
|
1816
1854
|
] }),
|
|
1817
|
-
|
|
1855
|
+
n && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", l), children: n })
|
|
1818
1856
|
] }),
|
|
1819
|
-
/* @__PURE__ */ e.jsx("div", { className: o("shrink-0",
|
|
1820
|
-
|
|
1821
|
-
|
|
1857
|
+
/* @__PURE__ */ e.jsx("div", { className: o("shrink-0", g), children: /* @__PURE__ */ e.jsxs(X, { variant: "primary", size: "xl", onClick: m, ...u, className: o("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", u?.className), children: [
|
|
1858
|
+
d ?? Vr(r).proceedLabel,
|
|
1859
|
+
p
|
|
1822
1860
|
] }) })
|
|
1823
|
-
] }),
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1861
|
+
] }), ct = {
|
|
1862
|
+
en: {
|
|
1863
|
+
title: "Select the number of people performing the Puja (Karta)",
|
|
1864
|
+
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
1865
|
+
benefits: [
|
|
1866
|
+
"Panditji will pronounce the names and gotra of the ancestors and the performers",
|
|
1867
|
+
"Our experienced Pandits will conduct the Puja with correct vedic rituals",
|
|
1868
|
+
"A video of the entire Puja will be shared with you on WhatsApp and the Srimandir app"
|
|
1869
|
+
],
|
|
1870
|
+
trustBadgeLabels: {
|
|
1871
|
+
moneyBack: "100% Money Back Guarantee",
|
|
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,
|
|
1834
1902
|
benefitsClassName: u,
|
|
1835
|
-
optionsClassName:
|
|
1903
|
+
optionsClassName: g,
|
|
1836
1904
|
trustBadges: j,
|
|
1837
|
-
checkout:
|
|
1838
|
-
stickyFooter:
|
|
1839
|
-
footerClassName:
|
|
1840
|
-
}) =>
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
className:
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
iconClassName:
|
|
1874
|
-
radioVariant:
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1905
|
+
checkout: y,
|
|
1906
|
+
stickyFooter: R = !0,
|
|
1907
|
+
footerClassName: C
|
|
1908
|
+
}) => {
|
|
1909
|
+
const w = Wr(r), b = a ?? w.title, T = s ?? w.description, N = n ?? w.benefits, z = j ?? {
|
|
1910
|
+
badges: [
|
|
1911
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Ct, { "aria-hidden": !0 }), label: w.trustBadgeLabels.moneyBack },
|
|
1912
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(kt, { "aria-hidden": !0 }), label: w.trustBadgeLabels.noHiddenCost },
|
|
1913
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(_t, { "aria-hidden": !0 }), label: w.trustBadgeLabels.support }
|
|
1914
|
+
]
|
|
1915
|
+
};
|
|
1916
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("w-full", p), children: [
|
|
1917
|
+
/* @__PURE__ */ e.jsxs("div", { className: o("px-4 pt-5 pb-4", m), children: [
|
|
1918
|
+
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: b }),
|
|
1919
|
+
T && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: T })
|
|
1920
|
+
] }),
|
|
1921
|
+
N && N.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: N.map((M, W) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1922
|
+
/* @__PURE__ */ e.jsx(Se, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1923
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: M })
|
|
1924
|
+
] }, W)) }),
|
|
1925
|
+
/* @__PURE__ */ e.jsx(
|
|
1926
|
+
"div",
|
|
1927
|
+
{
|
|
1928
|
+
role: "radiogroup",
|
|
1929
|
+
"aria-label": d ?? (typeof b == "string" ? b : void 0),
|
|
1930
|
+
className: o("flex flex-col gap-3 p-4", g),
|
|
1931
|
+
children: l.map((M) => {
|
|
1932
|
+
const {
|
|
1933
|
+
id: W,
|
|
1934
|
+
price: H,
|
|
1935
|
+
free: Q,
|
|
1936
|
+
badge: F,
|
|
1937
|
+
priceBadgeProps: q,
|
|
1938
|
+
note: U,
|
|
1939
|
+
noteProps: D,
|
|
1940
|
+
children: $,
|
|
1941
|
+
iconClassName: G,
|
|
1942
|
+
radioVariant: Z,
|
|
1943
|
+
...K
|
|
1944
|
+
} = M, J = c === W, ee = F ?? (H == null ? void 0 : Q ? /* @__PURE__ */ e.jsx("span", { className: o("text-sm font-medium text-gray-400", q?.className), ...q, children: H }) : /* @__PURE__ */ e.jsx(Br, { value: H, ...q }));
|
|
1945
|
+
return /* @__PURE__ */ e.jsx(
|
|
1946
|
+
wt,
|
|
1947
|
+
{
|
|
1948
|
+
...K,
|
|
1949
|
+
iconClassName: o("size-10", G),
|
|
1950
|
+
radioVariant: Z ?? x,
|
|
1951
|
+
badge: ee,
|
|
1952
|
+
selected: J,
|
|
1953
|
+
onSelect: () => f(W),
|
|
1954
|
+
children: $ ?? (J && U && /* @__PURE__ */ e.jsx(Dr, { ...D, children: U }))
|
|
1955
|
+
},
|
|
1956
|
+
W
|
|
1957
|
+
);
|
|
1958
|
+
})
|
|
1959
|
+
}
|
|
1960
|
+
),
|
|
1961
|
+
(z || y) && /* @__PURE__ */ e.jsxs("div", { className: o(R && "sticky bottom-0 z-10", C), children: [
|
|
1962
|
+
z && /* @__PURE__ */ e.jsx($r, { ...z }),
|
|
1963
|
+
y && /* @__PURE__ */ e.jsx(Et, { ...y })
|
|
1964
|
+
] })
|
|
1965
|
+
] });
|
|
1966
|
+
}, dt = {
|
|
1967
|
+
en: {
|
|
1968
|
+
title: "Pitru Paksha Special Rituals",
|
|
1969
|
+
ancestorsLabel: "Ancestors",
|
|
1970
|
+
ritualsLabel: "Rituals",
|
|
1971
|
+
performersLabel: "Performers"
|
|
1972
|
+
},
|
|
1973
|
+
hi: {
|
|
1974
|
+
title: "पितृ पक्ष विशेष अनुष्ठान",
|
|
1975
|
+
ancestorsLabel: "पितृजन",
|
|
1976
|
+
ritualsLabel: "पूजा विधि",
|
|
1977
|
+
performersLabel: "कर्ता"
|
|
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",
|
|
1911
2019
|
titleClassName: a,
|
|
1912
2020
|
rows: s,
|
|
1913
2021
|
rowClassName: n,
|
|
1914
2022
|
showTitleAccent: l = !0,
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
/* @__PURE__ */ e.jsxs("
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((u) => /* @__PURE__ */ e.jsxs("div", { className: o("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: o("text-sm text-[#1d2125]", u.labelClassName), children: u.label }),
|
|
1928
|
-
u.subLabel && /* @__PURE__ */ e.jsx("p", { className: o("mt-0.5 text-xs text-gray-400", u.subLabelClassName), children: u.subLabel })
|
|
2023
|
+
totalValue: c,
|
|
2024
|
+
totalClassName: f,
|
|
2025
|
+
className: x,
|
|
2026
|
+
...d
|
|
2027
|
+
}) => {
|
|
2028
|
+
const { title: p, totalLabel: m } = qr(r);
|
|
2029
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("bg-white px-4 py-6", x), ...d, children: [
|
|
2030
|
+
/* @__PURE__ */ e.jsxs("h2", { className: o("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", a), children: [
|
|
2031
|
+
l && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2032
|
+
p
|
|
1929
2033
|
] }),
|
|
1930
|
-
/* @__PURE__ */ e.
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
2034
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((u) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-start justify-between gap-3", n), children: [
|
|
2035
|
+
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2036
|
+
/* @__PURE__ */ e.jsx("p", { className: o("text-sm text-[#1d2125]", u.labelClassName), children: u.label }),
|
|
2037
|
+
u.subLabel && /* @__PURE__ */ e.jsx("p", { className: o("mt-0.5 text-xs text-gray-400", u.subLabelClassName), children: u.subLabel })
|
|
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 })
|
|
1934
2048
|
] })
|
|
1935
|
-
] }
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: f })
|
|
1939
|
-
] })
|
|
1940
|
-
] }), ca = ({
|
|
1941
|
-
headerTitle: r = "Review your booking",
|
|
2049
|
+
] });
|
|
2050
|
+
}, ka = ({
|
|
2051
|
+
locale: r = "en",
|
|
1942
2052
|
onBack: a,
|
|
1943
2053
|
backButtonAriaLabel: s = "Go back",
|
|
1944
2054
|
headerClassName: n,
|
|
1945
2055
|
backButtonClassName: l,
|
|
1946
2056
|
headerTitleClassName: c,
|
|
1947
2057
|
summary: f,
|
|
1948
|
-
items:
|
|
2058
|
+
items: x,
|
|
1949
2059
|
itemsClassName: d,
|
|
1950
2060
|
itemClassName: p,
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
2061
|
+
addons: m,
|
|
2062
|
+
addonsSectionClassName: u,
|
|
2063
|
+
addonsHeaderClassName: g,
|
|
2064
|
+
addonsTitleClassName: j,
|
|
2065
|
+
addonsDescriptionClassName: y,
|
|
2066
|
+
addonsClassName: R,
|
|
2067
|
+
addonClassName: C,
|
|
2068
|
+
billDetails: w,
|
|
2069
|
+
faq: b,
|
|
2070
|
+
checkout: T,
|
|
2071
|
+
className: N,
|
|
2072
|
+
children: z,
|
|
2073
|
+
...M
|
|
2074
|
+
}) => {
|
|
2075
|
+
const { headerTitle: W, addonsTitle: H, addonsDescription: Q, checkoutProceedLabel: F, checkoutRitualSingular: q, checkoutRitualPlural: U } = ge(r), { price: D, ritualCount: $, ...G } = T ?? {};
|
|
2076
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col bg-white", N), ...M, children: [
|
|
2077
|
+
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2078
|
+
a && /* @__PURE__ */ e.jsx(
|
|
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,
|
|
1969
2124
|
{
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
l
|
|
1976
|
-
),
|
|
1977
|
-
children: /* @__PURE__ */ e.jsx(ft, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2125
|
+
...G,
|
|
2126
|
+
locale: r,
|
|
2127
|
+
amount: D,
|
|
2128
|
+
subtitle: `${$} ${$ === 1 ? q : U}`,
|
|
2129
|
+
proceedLabel: F
|
|
1978
2130
|
}
|
|
1979
|
-
)
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
f && /* @__PURE__ */ e.jsx(Lr, { ...f }),
|
|
1983
|
-
m && m.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3 bg-white px-4 py-4", d), children: m.map(({ id: $, className: W, ...M }) => /* @__PURE__ */ e.jsx(_r, { className: o(p, W), ...M }, $)) }),
|
|
1984
|
-
j && j.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-4 bg-gray-50 px-4 py-6", v), children: [
|
|
1985
|
-
(u || h) && /* @__PURE__ */ e.jsxs("div", { className: E, children: [
|
|
1986
|
-
u && /* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", R), children: u }),
|
|
1987
|
-
h && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", C), children: h })
|
|
1988
|
-
] }),
|
|
1989
|
-
/* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-4", y), children: j.map(({ id: $, className: W, ...M }) => /* @__PURE__ */ e.jsx(Er, { className: o(b, W), ...M }, $)) })
|
|
1990
|
-
] }),
|
|
1991
|
-
O && /* @__PURE__ */ e.jsx(Ar, { ...O }),
|
|
1992
|
-
w && /* @__PURE__ */ e.jsx(pr, { ...w }),
|
|
1993
|
-
V
|
|
1994
|
-
] }), pt = k.forwardRef(
|
|
2131
|
+
) })
|
|
2132
|
+
] });
|
|
2133
|
+
}, Rt = k.forwardRef(
|
|
1995
2134
|
({
|
|
1996
2135
|
label: r,
|
|
1997
2136
|
value: a,
|
|
@@ -2000,14 +2139,14 @@ const Or = [
|
|
|
2000
2139
|
showCharCount: l = !1,
|
|
2001
2140
|
supportingText: c,
|
|
2002
2141
|
error: f = !1,
|
|
2003
|
-
className:
|
|
2142
|
+
className: x,
|
|
2004
2143
|
containerClassName: d,
|
|
2005
2144
|
wrapperClassName: p,
|
|
2006
|
-
maxLength:
|
|
2007
|
-
id:
|
|
2008
|
-
...
|
|
2009
|
-
},
|
|
2010
|
-
const
|
|
2145
|
+
maxLength: m,
|
|
2146
|
+
id: u,
|
|
2147
|
+
...g
|
|
2148
|
+
}, j) => {
|
|
2149
|
+
const y = k.useId(), R = u ?? y, C = c ?? (l ? `${a.length}${m ? `/${m}` : ""}` : void 0);
|
|
2011
2150
|
return /* @__PURE__ */ e.jsxs("div", { className: o("flex w-full flex-col gap-2", d), children: [
|
|
2012
2151
|
r && /* @__PURE__ */ e.jsx("label", { htmlFor: R, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: r }),
|
|
2013
2152
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
@@ -2024,17 +2163,17 @@ const Or = [
|
|
|
2024
2163
|
/* @__PURE__ */ e.jsx(
|
|
2025
2164
|
"input",
|
|
2026
2165
|
{
|
|
2027
|
-
ref:
|
|
2166
|
+
ref: j,
|
|
2028
2167
|
id: R,
|
|
2029
2168
|
value: a,
|
|
2030
|
-
maxLength:
|
|
2031
|
-
onChange: (
|
|
2169
|
+
maxLength: m,
|
|
2170
|
+
onChange: (w) => s(w.target.value),
|
|
2032
2171
|
"aria-invalid": f,
|
|
2033
2172
|
className: o(
|
|
2034
2173
|
"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",
|
|
2035
|
-
|
|
2174
|
+
x
|
|
2036
2175
|
),
|
|
2037
|
-
...
|
|
2176
|
+
...g
|
|
2038
2177
|
}
|
|
2039
2178
|
)
|
|
2040
2179
|
]
|
|
@@ -2045,8 +2184,8 @@ const Or = [
|
|
|
2045
2184
|
] });
|
|
2046
2185
|
}
|
|
2047
2186
|
);
|
|
2048
|
-
|
|
2049
|
-
function
|
|
2187
|
+
Rt.displayName = "TextField";
|
|
2188
|
+
function Ca({
|
|
2050
2189
|
isOpen: r,
|
|
2051
2190
|
onClose: a,
|
|
2052
2191
|
avatarUrl: s,
|
|
@@ -2054,13 +2193,13 @@ function da({
|
|
|
2054
2193
|
tithis: l,
|
|
2055
2194
|
confirmLabel: c,
|
|
2056
2195
|
onConfirm: f,
|
|
2057
|
-
initialTithi:
|
|
2196
|
+
initialTithi: x
|
|
2058
2197
|
}) {
|
|
2059
|
-
const [d, p] =
|
|
2198
|
+
const [d, p] = Y(x), m = () => {
|
|
2060
2199
|
d && f(d);
|
|
2061
2200
|
};
|
|
2062
2201
|
return /* @__PURE__ */ e.jsx(
|
|
2063
|
-
|
|
2202
|
+
Re,
|
|
2064
2203
|
{
|
|
2065
2204
|
isOpen: r,
|
|
2066
2205
|
onClose: a,
|
|
@@ -2077,43 +2216,43 @@ function da({
|
|
|
2077
2216
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2078
2217
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2079
2218
|
/* @__PURE__ */ e.jsx(
|
|
2080
|
-
|
|
2219
|
+
X,
|
|
2081
2220
|
{
|
|
2082
2221
|
variant: "primary",
|
|
2083
2222
|
size: "md",
|
|
2084
2223
|
className: "w-full rounded-xl",
|
|
2085
2224
|
disabled: !d,
|
|
2086
|
-
onClick:
|
|
2225
|
+
onClick: m,
|
|
2087
2226
|
children: c
|
|
2088
2227
|
}
|
|
2089
2228
|
)
|
|
2090
2229
|
] }),
|
|
2091
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: l.map((
|
|
2092
|
-
const
|
|
2230
|
+
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: l.map((u) => {
|
|
2231
|
+
const g = d === u;
|
|
2093
2232
|
return /* @__PURE__ */ e.jsx(
|
|
2094
2233
|
"button",
|
|
2095
2234
|
{
|
|
2096
2235
|
type: "button",
|
|
2097
|
-
onClick: () => p(
|
|
2098
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
2099
|
-
children:
|
|
2236
|
+
onClick: () => p(u),
|
|
2237
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${g ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
2238
|
+
children: u
|
|
2100
2239
|
},
|
|
2101
|
-
|
|
2240
|
+
u
|
|
2102
2241
|
);
|
|
2103
2242
|
}) })
|
|
2104
2243
|
}
|
|
2105
2244
|
);
|
|
2106
2245
|
}
|
|
2107
|
-
const
|
|
2108
|
-
function
|
|
2246
|
+
const fe = 48;
|
|
2247
|
+
function _e({ options: r, selectedIndex: a, onChange: s }) {
|
|
2109
2248
|
const n = k.useRef(null), l = k.useRef(!1);
|
|
2110
2249
|
k.useEffect(() => {
|
|
2111
|
-
l.current || !n.current || (l.current = !0, n.current.scrollTop = a *
|
|
2250
|
+
l.current || !n.current || (l.current = !0, n.current.scrollTop = a * fe);
|
|
2112
2251
|
}, []);
|
|
2113
2252
|
const c = () => {
|
|
2114
2253
|
if (!n.current) return;
|
|
2115
|
-
const f = Math.round(n.current.scrollTop /
|
|
2116
|
-
|
|
2254
|
+
const f = Math.round(n.current.scrollTop / fe), x = Math.max(0, Math.min(r.length - 1, f));
|
|
2255
|
+
x !== a && s(x);
|
|
2117
2256
|
};
|
|
2118
2257
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
2119
2258
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -2124,16 +2263,16 @@ function ye({ options: r, selectedIndex: a, onChange: s }) {
|
|
|
2124
2263
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2125
2264
|
style: { scrollbarWidth: "none" },
|
|
2126
2265
|
children: [
|
|
2127
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2128
|
-
r.map((f,
|
|
2266
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: fe }, "aria-hidden": !0 }),
|
|
2267
|
+
r.map((f, x) => /* @__PURE__ */ e.jsx(
|
|
2129
2268
|
"div",
|
|
2130
2269
|
{
|
|
2131
|
-
className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${
|
|
2270
|
+
className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${x === a ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
|
|
2132
2271
|
children: f
|
|
2133
2272
|
},
|
|
2134
2273
|
f
|
|
2135
2274
|
)),
|
|
2136
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2275
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: fe }, "aria-hidden": !0 })
|
|
2137
2276
|
]
|
|
2138
2277
|
}
|
|
2139
2278
|
),
|
|
@@ -2141,8 +2280,8 @@ function ye({ options: r, selectedIndex: a, onChange: s }) {
|
|
|
2141
2280
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2142
2281
|
] });
|
|
2143
2282
|
}
|
|
2144
|
-
const
|
|
2145
|
-
function
|
|
2283
|
+
const Ee = Array.from({ length: 31 }, (r, a) => a + 1);
|
|
2284
|
+
function _a({
|
|
2146
2285
|
isOpen: r,
|
|
2147
2286
|
onClose: a,
|
|
2148
2287
|
avatarUrl: s,
|
|
@@ -2150,21 +2289,21 @@ function ua({
|
|
|
2150
2289
|
monthLabels: l,
|
|
2151
2290
|
confirmLabel: c,
|
|
2152
2291
|
onConfirm: f,
|
|
2153
|
-
timezoneLabel:
|
|
2292
|
+
timezoneLabel: x,
|
|
2154
2293
|
initialDate: d,
|
|
2155
2294
|
minYear: p,
|
|
2156
|
-
maxYear:
|
|
2295
|
+
maxYear: m = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2157
2296
|
}) {
|
|
2158
|
-
const
|
|
2159
|
-
const
|
|
2160
|
-
return Array.from({ length:
|
|
2161
|
-
}, [p,
|
|
2162
|
-
() => d ? Math.max(0,
|
|
2297
|
+
const u = nr(() => {
|
|
2298
|
+
const T = p ?? m - 120;
|
|
2299
|
+
return Array.from({ length: m - T + 1 }, (N, z) => T + z);
|
|
2300
|
+
}, [p, m]), [g, j] = Y(() => d ? d.day - 1 : Math.floor(Ee.length / 2)), [y, R] = Y(() => d ? d.month - 1 : 0), [C, w] = Y(
|
|
2301
|
+
() => d ? Math.max(0, u.indexOf(d.year)) : Math.floor(u.length / 2)
|
|
2163
2302
|
), b = () => {
|
|
2164
|
-
f({ day:
|
|
2303
|
+
f({ day: Ee[g], month: y + 1, year: u[C] });
|
|
2165
2304
|
};
|
|
2166
2305
|
return /* @__PURE__ */ e.jsx(
|
|
2167
|
-
|
|
2306
|
+
Re,
|
|
2168
2307
|
{
|
|
2169
2308
|
isOpen: r,
|
|
2170
2309
|
onClose: a,
|
|
@@ -2181,19 +2320,19 @@ function ua({
|
|
|
2181
2320
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2182
2321
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2183
2322
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2184
|
-
|
|
2185
|
-
/* @__PURE__ */ e.jsx(
|
|
2323
|
+
x && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: x }),
|
|
2324
|
+
/* @__PURE__ */ e.jsx(X, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: b, children: c })
|
|
2186
2325
|
] })
|
|
2187
2326
|
] }),
|
|
2188
2327
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2189
|
-
/* @__PURE__ */ e.jsx(
|
|
2190
|
-
/* @__PURE__ */ e.jsx(
|
|
2191
|
-
/* @__PURE__ */ e.jsx(
|
|
2328
|
+
/* @__PURE__ */ e.jsx(_e, { options: Ee.map(String), selectedIndex: g, onChange: j }),
|
|
2329
|
+
/* @__PURE__ */ e.jsx(_e, { options: l, selectedIndex: y, onChange: R }),
|
|
2330
|
+
/* @__PURE__ */ e.jsx(_e, { options: u.map(String), selectedIndex: C, onChange: w })
|
|
2192
2331
|
] })
|
|
2193
2332
|
}
|
|
2194
2333
|
);
|
|
2195
2334
|
}
|
|
2196
|
-
function
|
|
2335
|
+
function Ea({
|
|
2197
2336
|
isOpen: r,
|
|
2198
2337
|
onClose: a,
|
|
2199
2338
|
heading: s,
|
|
@@ -2201,26 +2340,26 @@ function fa({
|
|
|
2201
2340
|
confirmLabel: l,
|
|
2202
2341
|
onConfirm: c,
|
|
2203
2342
|
initialValue: f = "",
|
|
2204
|
-
countries:
|
|
2343
|
+
countries: x = rr,
|
|
2205
2344
|
initialCountryIso: d = "IN"
|
|
2206
2345
|
}) {
|
|
2207
|
-
const [p,
|
|
2208
|
-
() =>
|
|
2209
|
-
), [
|
|
2210
|
-
|
|
2211
|
-
if (!
|
|
2212
|
-
const
|
|
2213
|
-
R.current && !R.current.contains(
|
|
2346
|
+
const [p, m] = Y(
|
|
2347
|
+
() => x.find((N) => N.iso === d) ?? x[0]
|
|
2348
|
+
), [u, g] = Y(f), [j, y] = Y(!1), R = ir(null);
|
|
2349
|
+
lr(() => {
|
|
2350
|
+
if (!j) return;
|
|
2351
|
+
const N = (z) => {
|
|
2352
|
+
R.current && !R.current.contains(z.target) && y(!1);
|
|
2214
2353
|
};
|
|
2215
|
-
return document.addEventListener("mousedown",
|
|
2216
|
-
}, [
|
|
2217
|
-
const C =
|
|
2218
|
-
|
|
2219
|
-
},
|
|
2220
|
-
|
|
2354
|
+
return document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
|
|
2355
|
+
}, [j]);
|
|
2356
|
+
const C = Ke(p.code), w = ar(u, p.code).isValid && u.length > 0, b = (N) => {
|
|
2357
|
+
m(N), y(!1), g((z) => z.slice(0, Ke(N.code)));
|
|
2358
|
+
}, T = () => {
|
|
2359
|
+
w && c(u, p);
|
|
2221
2360
|
};
|
|
2222
2361
|
return /* @__PURE__ */ e.jsx(
|
|
2223
|
-
|
|
2362
|
+
Re,
|
|
2224
2363
|
{
|
|
2225
2364
|
isOpen: r,
|
|
2226
2365
|
onClose: a,
|
|
@@ -2228,14 +2367,14 @@ function fa({
|
|
|
2228
2367
|
closeButtonOutside: !0,
|
|
2229
2368
|
ariaLabel: s,
|
|
2230
2369
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2231
|
-
|
|
2370
|
+
X,
|
|
2232
2371
|
{
|
|
2233
2372
|
variant: "primary",
|
|
2234
2373
|
size: "xl",
|
|
2235
2374
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2236
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2237
|
-
disabled: !
|
|
2238
|
-
onClick:
|
|
2375
|
+
rightIcon: /* @__PURE__ */ e.jsx(vt, { "aria-hidden": !0 }),
|
|
2376
|
+
disabled: !w,
|
|
2377
|
+
onClick: T,
|
|
2239
2378
|
children: l
|
|
2240
2379
|
}
|
|
2241
2380
|
) }),
|
|
@@ -2248,49 +2387,49 @@ function fa({
|
|
|
2248
2387
|
"button",
|
|
2249
2388
|
{
|
|
2250
2389
|
type: "button",
|
|
2251
|
-
onClick: () =>
|
|
2252
|
-
"aria-expanded":
|
|
2390
|
+
onClick: () => y((N) => !N),
|
|
2391
|
+
"aria-expanded": j,
|
|
2253
2392
|
"aria-haspopup": "listbox",
|
|
2254
2393
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2255
2394
|
children: [
|
|
2256
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
2395
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Je(p.iso) }),
|
|
2257
2396
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: p.code }),
|
|
2258
|
-
/* @__PURE__ */ e.jsx(
|
|
2397
|
+
/* @__PURE__ */ e.jsx(pe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2259
2398
|
]
|
|
2260
2399
|
}
|
|
2261
2400
|
),
|
|
2262
|
-
|
|
2401
|
+
j && /* @__PURE__ */ e.jsx(
|
|
2263
2402
|
"div",
|
|
2264
2403
|
{
|
|
2265
2404
|
role: "listbox",
|
|
2266
2405
|
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",
|
|
2267
|
-
children:
|
|
2406
|
+
children: x.map((N) => /* @__PURE__ */ e.jsxs(
|
|
2268
2407
|
"button",
|
|
2269
2408
|
{
|
|
2270
2409
|
type: "button",
|
|
2271
2410
|
role: "option",
|
|
2272
|
-
"aria-selected":
|
|
2273
|
-
onClick: () => b(
|
|
2274
|
-
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${
|
|
2411
|
+
"aria-selected": N.iso === p.iso,
|
|
2412
|
+
onClick: () => b(N),
|
|
2413
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${N.iso === p.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2275
2414
|
children: [
|
|
2276
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children:
|
|
2277
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children:
|
|
2278
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children:
|
|
2415
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Je(N.iso) }),
|
|
2416
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: N.code }),
|
|
2417
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: N.name })
|
|
2279
2418
|
]
|
|
2280
2419
|
},
|
|
2281
|
-
`${
|
|
2420
|
+
`${N.iso}-${N.code}`
|
|
2282
2421
|
))
|
|
2283
2422
|
}
|
|
2284
2423
|
)
|
|
2285
2424
|
] }),
|
|
2286
2425
|
/* @__PURE__ */ e.jsx(
|
|
2287
|
-
|
|
2426
|
+
Rt,
|
|
2288
2427
|
{
|
|
2289
2428
|
type: "tel",
|
|
2290
2429
|
inputMode: "numeric",
|
|
2291
|
-
value:
|
|
2430
|
+
value: u,
|
|
2292
2431
|
maxLength: C,
|
|
2293
|
-
onChange: (
|
|
2432
|
+
onChange: (N) => g(N.replace(/\D/g, "").slice(0, C)),
|
|
2294
2433
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2295
2434
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2296
2435
|
className: "text-[18px]"
|
|
@@ -2301,14 +2440,14 @@ function fa({
|
|
|
2301
2440
|
}
|
|
2302
2441
|
);
|
|
2303
2442
|
}
|
|
2304
|
-
function
|
|
2305
|
-
return
|
|
2443
|
+
function Gr(r) {
|
|
2444
|
+
return O({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(r);
|
|
2306
2445
|
}
|
|
2307
|
-
function
|
|
2308
|
-
return
|
|
2446
|
+
function Zr(r) {
|
|
2447
|
+
return O({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }, child: [] }] })(r);
|
|
2309
2448
|
}
|
|
2310
|
-
const
|
|
2311
|
-
function
|
|
2449
|
+
const Kr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2450
|
+
function Ra({
|
|
2312
2451
|
chipNumber: r,
|
|
2313
2452
|
chipLabel: a,
|
|
2314
2453
|
isAdded: s,
|
|
@@ -2316,31 +2455,31 @@ function xa({
|
|
|
2316
2455
|
editButtonAriaLabel: l = "Edit",
|
|
2317
2456
|
onExpandClick: c,
|
|
2318
2457
|
expandButtonAriaLabel: f = "Expand",
|
|
2319
|
-
imageUrl:
|
|
2458
|
+
imageUrl: x,
|
|
2320
2459
|
imageAlt: d,
|
|
2321
2460
|
imageComponent: p,
|
|
2322
|
-
ratingLabel:
|
|
2323
|
-
bookedLabel:
|
|
2324
|
-
title:
|
|
2325
|
-
description:
|
|
2326
|
-
learnMoreLabel:
|
|
2461
|
+
ratingLabel: m,
|
|
2462
|
+
bookedLabel: u,
|
|
2463
|
+
title: g,
|
|
2464
|
+
description: j,
|
|
2465
|
+
learnMoreLabel: y,
|
|
2327
2466
|
onLearnMoreClick: R,
|
|
2328
2467
|
learnMoreHref: C,
|
|
2329
|
-
dateLabel:
|
|
2468
|
+
dateLabel: w,
|
|
2330
2469
|
locationLabel: b,
|
|
2331
|
-
priceInfoLabel:
|
|
2332
|
-
onPriceInfoClick:
|
|
2333
|
-
price:
|
|
2334
|
-
cta:
|
|
2335
|
-
className:
|
|
2470
|
+
priceInfoLabel: T,
|
|
2471
|
+
onPriceInfoClick: N,
|
|
2472
|
+
price: z,
|
|
2473
|
+
cta: M,
|
|
2474
|
+
className: W = ""
|
|
2336
2475
|
}) {
|
|
2337
|
-
const [
|
|
2476
|
+
const [H, Q] = Y(!1), F = s || H, q = F && (m != null || u != null), U = F && (w != null || b != null);
|
|
2338
2477
|
return /* @__PURE__ */ e.jsxs(
|
|
2339
2478
|
"div",
|
|
2340
2479
|
{
|
|
2341
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${
|
|
2480
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${F ? "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)]"} ${W}`,
|
|
2342
2481
|
children: [
|
|
2343
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${
|
|
2482
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${F ? "py-4" : "pt-4"}`, children: [
|
|
2344
2483
|
/* @__PURE__ */ e.jsxs(
|
|
2345
2484
|
"div",
|
|
2346
2485
|
{
|
|
@@ -2362,7 +2501,7 @@ function xa({
|
|
|
2362
2501
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2363
2502
|
onClick: n,
|
|
2364
2503
|
"aria-label": l,
|
|
2365
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2504
|
+
children: /* @__PURE__ */ e.jsx(Gr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2366
2505
|
}
|
|
2367
2506
|
),
|
|
2368
2507
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2371,60 +2510,60 @@ function xa({
|
|
|
2371
2510
|
type: "button",
|
|
2372
2511
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2373
2512
|
onClick: () => {
|
|
2374
|
-
|
|
2513
|
+
Q((D) => !D), c?.();
|
|
2375
2514
|
},
|
|
2376
2515
|
"aria-label": f,
|
|
2377
|
-
"aria-expanded":
|
|
2516
|
+
"aria-expanded": H,
|
|
2378
2517
|
children: /* @__PURE__ */ e.jsx(
|
|
2379
|
-
|
|
2518
|
+
Zr,
|
|
2380
2519
|
{
|
|
2381
2520
|
"aria-hidden": !0,
|
|
2382
|
-
className: `size-8 text-[#1D2125] ${
|
|
2521
|
+
className: `size-8 text-[#1D2125] ${H ? "" : "-scale-y-100"}`
|
|
2383
2522
|
}
|
|
2384
2523
|
)
|
|
2385
2524
|
}
|
|
2386
2525
|
)
|
|
2387
2526
|
] })
|
|
2388
2527
|
] }),
|
|
2389
|
-
|
|
2390
|
-
|
|
2528
|
+
F && x != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: p ? /* @__PURE__ */ e.jsx(p, { src: x, alt: d ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: x, alt: d, className: "size-full object-cover" }) }),
|
|
2529
|
+
q && /* @__PURE__ */ e.jsxs(
|
|
2391
2530
|
"div",
|
|
2392
2531
|
{
|
|
2393
2532
|
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2394
2533
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2395
2534
|
children: [
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2535
|
+
m != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: m }),
|
|
2536
|
+
m != null && u != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
|
|
2537
|
+
u != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: u })
|
|
2399
2538
|
]
|
|
2400
2539
|
}
|
|
2401
2540
|
),
|
|
2402
2541
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
2403
2542
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2404
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children:
|
|
2405
|
-
|
|
2543
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: g }),
|
|
2544
|
+
F && j != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: j })
|
|
2406
2545
|
] }),
|
|
2407
|
-
|
|
2546
|
+
F && y != null && /* @__PURE__ */ e.jsxs(
|
|
2408
2547
|
"a",
|
|
2409
2548
|
{
|
|
2410
2549
|
href: C,
|
|
2411
2550
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",
|
|
2412
2551
|
onClick: R,
|
|
2413
2552
|
children: [
|
|
2414
|
-
|
|
2415
|
-
/* @__PURE__ */ e.jsx(
|
|
2553
|
+
y,
|
|
2554
|
+
/* @__PURE__ */ e.jsx(_r, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2416
2555
|
]
|
|
2417
2556
|
}
|
|
2418
2557
|
),
|
|
2419
2558
|
U && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2420
2559
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2421
2560
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2422
|
-
|
|
2423
|
-
/* @__PURE__ */ e.jsx(
|
|
2424
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
2561
|
+
w != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2562
|
+
/* @__PURE__ */ e.jsx(Er, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2563
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: w })
|
|
2425
2564
|
] }),
|
|
2426
2565
|
b != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2427
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2566
|
+
/* @__PURE__ */ e.jsx("img", { src: Kr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2428
2567
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: b })
|
|
2429
2568
|
] })
|
|
2430
2569
|
] })
|
|
@@ -2432,41 +2571,41 @@ function xa({
|
|
|
2432
2571
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2433
2572
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
2434
2573
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2435
|
-
|
|
2436
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children:
|
|
2437
|
-
|
|
2574
|
+
T != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2575
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: T }),
|
|
2576
|
+
N && /* @__PURE__ */ e.jsx(
|
|
2438
2577
|
"button",
|
|
2439
2578
|
{
|
|
2440
2579
|
type: "button",
|
|
2441
2580
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2442
|
-
onClick:
|
|
2581
|
+
onClick: N,
|
|
2443
2582
|
"aria-label": "More info",
|
|
2444
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2583
|
+
children: /* @__PURE__ */ e.jsx(me, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2445
2584
|
}
|
|
2446
2585
|
)
|
|
2447
2586
|
] }),
|
|
2448
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children:
|
|
2587
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: z })
|
|
2449
2588
|
] }),
|
|
2450
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2589
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: M })
|
|
2451
2590
|
] })
|
|
2452
2591
|
] })
|
|
2453
2592
|
]
|
|
2454
2593
|
}
|
|
2455
2594
|
);
|
|
2456
2595
|
}
|
|
2457
|
-
const
|
|
2596
|
+
const Jr = {
|
|
2458
2597
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2459
2598
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2460
2599
|
accent: "border border-transparent px-4 text-white"
|
|
2461
|
-
},
|
|
2600
|
+
}, Xr = {
|
|
2462
2601
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2463
2602
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2464
|
-
},
|
|
2603
|
+
}, Qr = {
|
|
2465
2604
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2466
2605
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2467
2606
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2468
2607
|
};
|
|
2469
|
-
function
|
|
2608
|
+
function Sa({
|
|
2470
2609
|
variant: r = "primary",
|
|
2471
2610
|
size: a = "md",
|
|
2472
2611
|
leftIcon: s,
|
|
@@ -2474,15 +2613,15 @@ function ma({
|
|
|
2474
2613
|
className: l = "",
|
|
2475
2614
|
style: c,
|
|
2476
2615
|
type: f = "button",
|
|
2477
|
-
...
|
|
2616
|
+
...x
|
|
2478
2617
|
}) {
|
|
2479
2618
|
return /* @__PURE__ */ e.jsxs(
|
|
2480
2619
|
"button",
|
|
2481
2620
|
{
|
|
2482
2621
|
type: f,
|
|
2483
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2484
|
-
style: { ...
|
|
2485
|
-
...
|
|
2622
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${Xr[a]} ${Jr[r]} ${l}`,
|
|
2623
|
+
style: { ...Qr[r], ...c },
|
|
2624
|
+
...x,
|
|
2486
2625
|
children: [
|
|
2487
2626
|
s,
|
|
2488
2627
|
n
|
|
@@ -2490,7 +2629,7 @@ function ma({
|
|
|
2490
2629
|
}
|
|
2491
2630
|
);
|
|
2492
2631
|
}
|
|
2493
|
-
function
|
|
2632
|
+
function Pa({ className: r = "size-5" }) {
|
|
2494
2633
|
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(
|
|
2495
2634
|
"path",
|
|
2496
2635
|
{
|
|
@@ -2499,7 +2638,7 @@ function ha({ className: r = "size-5" }) {
|
|
|
2499
2638
|
}
|
|
2500
2639
|
) });
|
|
2501
2640
|
}
|
|
2502
|
-
function
|
|
2641
|
+
function Ta({ className: r = "size-5" }) {
|
|
2503
2642
|
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(
|
|
2504
2643
|
"path",
|
|
2505
2644
|
{
|
|
@@ -2508,27 +2647,27 @@ function pa({ className: r = "size-5" }) {
|
|
|
2508
2647
|
}
|
|
2509
2648
|
) });
|
|
2510
2649
|
}
|
|
2511
|
-
const
|
|
2512
|
-
function
|
|
2650
|
+
const ft = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", ea = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", ta = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", ra = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", aa = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", sa = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
2651
|
+
function na({ variant: r }) {
|
|
2513
2652
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
2514
2653
|
r === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2515
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2516
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2517
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2654
|
+
/* @__PURE__ */ e.jsx("img", { src: ft, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
2655
|
+
/* @__PURE__ */ e.jsx("img", { src: ft, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
2656
|
+
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
2518
2657
|
] }),
|
|
2519
2658
|
r === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
2520
2659
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
2521
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2660
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: ta, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
2522
2661
|
] }),
|
|
2523
2662
|
r === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
2524
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2525
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2526
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2663
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: ra, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
2664
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: aa, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
2665
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: sa, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
2527
2666
|
] })
|
|
2528
2667
|
] });
|
|
2529
2668
|
}
|
|
2530
|
-
const
|
|
2531
|
-
function
|
|
2669
|
+
const ia = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", xt = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
2670
|
+
function za({
|
|
2532
2671
|
badgeLabel: r,
|
|
2533
2672
|
headingPrefix: a,
|
|
2534
2673
|
ritualCount: s,
|
|
@@ -2542,7 +2681,7 @@ function ga({
|
|
|
2542
2681
|
/* @__PURE__ */ e.jsx(
|
|
2543
2682
|
"img",
|
|
2544
2683
|
{
|
|
2545
|
-
src:
|
|
2684
|
+
src: xt,
|
|
2546
2685
|
alt: "",
|
|
2547
2686
|
"aria-hidden": !0,
|
|
2548
2687
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -2555,7 +2694,7 @@ function ga({
|
|
|
2555
2694
|
/* @__PURE__ */ e.jsx(
|
|
2556
2695
|
"img",
|
|
2557
2696
|
{
|
|
2558
|
-
src:
|
|
2697
|
+
src: xt,
|
|
2559
2698
|
alt: "",
|
|
2560
2699
|
"aria-hidden": !0,
|
|
2561
2700
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -2565,7 +2704,7 @@ function ga({
|
|
|
2565
2704
|
}
|
|
2566
2705
|
}
|
|
2567
2706
|
),
|
|
2568
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2707
|
+
/* @__PURE__ */ e.jsx("img", { src: ia, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
2569
2708
|
] }),
|
|
2570
2709
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
2571
2710
|
"✦ ",
|
|
@@ -2582,47 +2721,119 @@ function ga({
|
|
|
2582
2721
|
l
|
|
2583
2722
|
] }),
|
|
2584
2723
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: c.map((f) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
2585
|
-
/* @__PURE__ */ e.jsx(
|
|
2724
|
+
/* @__PURE__ */ e.jsx(na, { variant: f.variant }),
|
|
2586
2725
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: f.text })
|
|
2587
2726
|
] }, f.variant)) })
|
|
2588
2727
|
] });
|
|
2589
2728
|
}
|
|
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";
|
|
2590
2791
|
export {
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2792
|
+
ga as AudioQuestionCard,
|
|
2793
|
+
dt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
2794
|
+
Ur as BillDetails,
|
|
2795
|
+
Yr as BookingSummaryBanner,
|
|
2796
|
+
X as Button,
|
|
2797
|
+
ot as CHECKOUT_BAR_DEFAULT_COPY,
|
|
2798
|
+
wa as CartReviewAddedBadge,
|
|
2799
|
+
ya as CartReviewChangeButton,
|
|
2800
|
+
Nt as CartReviewItem,
|
|
2801
|
+
Ir as CartReviewMandapItem,
|
|
2802
|
+
ka as CartView,
|
|
2803
|
+
Ta as CheckIcon,
|
|
2804
|
+
Et as CheckoutBar,
|
|
2805
|
+
Tr as Chip,
|
|
2806
|
+
_a as DatePickerSheet,
|
|
2807
|
+
Rr as FAQSection,
|
|
2808
|
+
Pe as IconBadge,
|
|
2809
|
+
Ra as L2Card,
|
|
2810
|
+
yt as LanguageSwitcher,
|
|
2811
|
+
Sa as OutcomeButton,
|
|
2812
|
+
za as OutcomeSummary,
|
|
2813
|
+
ct as PACKAGE_SELECT_DEFAULT_COPY,
|
|
2814
|
+
Na as PackageSelect,
|
|
2815
|
+
Ea as PhoneNumberSheet,
|
|
2816
|
+
Pa as PlusIcon,
|
|
2817
|
+
ja as QuantityStepper,
|
|
2818
|
+
ht as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
2819
|
+
ca as SarvaPitruCard,
|
|
2820
|
+
wt as SelectorCard,
|
|
2821
|
+
ba as SelectorCardEditableField,
|
|
2822
|
+
va as SelectorCardInfoRow,
|
|
2823
|
+
Dr as SelectorCardNote,
|
|
2824
|
+
Br as SelectorCardPriceBadge,
|
|
2825
|
+
Fr as ServiceOfferCard,
|
|
2826
|
+
pa as StepProgressHeader,
|
|
2827
|
+
ha as TestimonialCard,
|
|
2828
|
+
Rt as TextField,
|
|
2829
|
+
Ca as TithiPickerSheet,
|
|
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
|
|
2628
2839
|
};
|