@srimandir/pitru-paksh-common 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/L2Card/L2Card.d.ts +54 -0
- package/dist/components/L2Card/index.d.ts +2 -0
- package/dist/components/OutcomeButton/OutcomeButton.d.ts +10 -0
- package/dist/components/OutcomeButton/icons.d.ts +5 -0
- package/dist/components/OutcomeButton/index.d.ts +4 -0
- package/dist/components/OutcomeSummary/OutcomeSummary.d.ts +19 -0
- package/dist/components/OutcomeSummary/OutcomeTrustIcon.d.ts +5 -0
- package/dist/components/OutcomeSummary/index.d.ts +3 -0
- package/dist/index.d.ts +6 -0
- package/dist/pitru-paksh-common.js +1194 -894
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { cva as
|
|
1
|
+
import { cn as o, BottomSheet as Ne, DEFAULT_COUNTRIES as qt, getMaxLengthForCountry as Ge, validatePhoneByCountryCode as Ht, getFlagEmoji as Ze } from "@srimandir/common";
|
|
2
|
+
import { cn as ja } from "@srimandir/common";
|
|
3
|
+
import * as Yt from "react";
|
|
4
|
+
import k, { useState as q, useMemo as Ut, useRef as Gt, useEffect as Zt } from "react";
|
|
5
|
+
import { cva as Kt } from "class-variance-authority";
|
|
6
6
|
import Jt from "react-player";
|
|
7
|
-
var
|
|
7
|
+
var le = { exports: {} }, te = {};
|
|
8
8
|
var Ke;
|
|
9
|
-
function
|
|
10
|
-
if (Ke) return
|
|
9
|
+
function Xt() {
|
|
10
|
+
if (Ke) return te;
|
|
11
11
|
Ke = 1;
|
|
12
|
-
var r =
|
|
13
|
-
function
|
|
14
|
-
var
|
|
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(m, d, p) {
|
|
14
|
+
var u, h = {}, j = null, v = null;
|
|
15
15
|
p !== void 0 && (j = "" + p), d.key !== void 0 && (j = "" + d.key), d.ref !== void 0 && (v = d.ref);
|
|
16
|
-
for (
|
|
17
|
-
if (m && m.defaultProps) for (
|
|
18
|
-
return { $$typeof: a, type: m, key: j, ref: v, props: h, _owner:
|
|
16
|
+
for (u in d) n.call(d, u) && !c.hasOwnProperty(u) && (h[u] = d[u]);
|
|
17
|
+
if (m && m.defaultProps) for (u in d = m.defaultProps, d) h[u] === void 0 && (h[u] = d[u]);
|
|
18
|
+
return { $$typeof: a, type: m, key: j, ref: v, props: h, _owner: l.current };
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return te.Fragment = s, te.jsx = f, te.jsxs = f, te;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
var r =
|
|
27
|
-
function
|
|
22
|
+
var re = {};
|
|
23
|
+
var Je;
|
|
24
|
+
function Qt() {
|
|
25
|
+
return Je || (Je = 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"), m = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.offscreen"), E = Symbol.iterator, S = "@@iterator";
|
|
27
|
+
function C(t) {
|
|
28
28
|
if (t === null || typeof t != "object")
|
|
29
29
|
return null;
|
|
30
|
-
var i =
|
|
30
|
+
var i = E && t[E] || t[S];
|
|
31
31
|
return typeof i == "function" ? i : null;
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var y = 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, x = new Array(i > 1 ? i - 1 : 0), g = 1; g < i; g++)
|
|
37
|
+
x[g - 1] = arguments[g];
|
|
38
|
+
O("error", t, x);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function O(t, i, x) {
|
|
42
42
|
{
|
|
43
|
-
var g =
|
|
44
|
-
R !== "" && (i += "%s",
|
|
45
|
-
var
|
|
46
|
-
return String(
|
|
43
|
+
var g = y.ReactDebugCurrentFrame, R = g.getStackAddendum();
|
|
44
|
+
R !== "" && (i += "%s", x = x.concat([R]));
|
|
45
|
+
var z = x.map(function(_) {
|
|
46
|
+
return String(_);
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
z.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
function
|
|
54
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
51
|
+
var w = !1, P = !1, V = !1, Y = !1, $ = !1, W;
|
|
52
|
+
W = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
+
function M(t) {
|
|
54
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === c || $ || t === l || t === p || t === u || Y || t === v || w || P || V || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === h || t.$$typeof === f || t.$$typeof === m || t.$$typeof === d || // This needs to include all possible module reference object
|
|
55
55
|
// types supported by any Flight configuration anywhere since
|
|
56
56
|
// we don't know which Flight build this will end up being used
|
|
57
57
|
// with.
|
|
58
|
-
t.$$typeof ===
|
|
58
|
+
t.$$typeof === W || t.getModuleId !== void 0));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function X(t, i, x) {
|
|
61
61
|
var g = t.displayName;
|
|
62
62
|
if (g)
|
|
63
63
|
return g;
|
|
64
64
|
var R = i.displayName || i.name || "";
|
|
65
|
-
return R !== "" ?
|
|
65
|
+
return R !== "" ? x + "(" + R + ")" : x;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function U(t) {
|
|
68
68
|
return t.displayName || "Context";
|
|
69
69
|
}
|
|
70
70
|
function B(t) {
|
|
@@ -75,36 +75,36 @@ function Zt() {
|
|
|
75
75
|
if (typeof t == "string")
|
|
76
76
|
return t;
|
|
77
77
|
switch (t) {
|
|
78
|
-
case s:
|
|
79
|
-
return "Fragment";
|
|
80
78
|
case n:
|
|
79
|
+
return "Fragment";
|
|
80
|
+
case s:
|
|
81
81
|
return "Portal";
|
|
82
82
|
case c:
|
|
83
83
|
return "Profiler";
|
|
84
|
-
case
|
|
84
|
+
case l:
|
|
85
85
|
return "StrictMode";
|
|
86
86
|
case p:
|
|
87
87
|
return "Suspense";
|
|
88
|
-
case
|
|
88
|
+
case u:
|
|
89
89
|
return "SuspenseList";
|
|
90
90
|
}
|
|
91
91
|
if (typeof t == "object")
|
|
92
92
|
switch (t.$$typeof) {
|
|
93
93
|
case m:
|
|
94
94
|
var i = t;
|
|
95
|
-
return
|
|
96
|
-
case
|
|
97
|
-
var
|
|
98
|
-
return
|
|
95
|
+
return U(i) + ".Consumer";
|
|
96
|
+
case f:
|
|
97
|
+
var x = t;
|
|
98
|
+
return U(x._context) + ".Provider";
|
|
99
99
|
case d:
|
|
100
|
-
return
|
|
100
|
+
return X(t, t.render, "ForwardRef");
|
|
101
101
|
case h:
|
|
102
102
|
var g = t.displayName || null;
|
|
103
103
|
return g !== null ? g : B(t.type) || "Memo";
|
|
104
104
|
case j: {
|
|
105
|
-
var R = t,
|
|
105
|
+
var R = t, z = R._payload, _ = R._init;
|
|
106
106
|
try {
|
|
107
|
-
return B(
|
|
107
|
+
return B(_(z));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -112,18 +112,18 @@ function Zt() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var
|
|
116
|
-
function
|
|
115
|
+
var G = Object.assign, Q = 0, Ce, _e, Ee, Se, Re, ze, Oe;
|
|
116
|
+
function Pe() {
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
function
|
|
118
|
+
Pe.__reactDisabledLog = !0;
|
|
119
|
+
function gt() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
Ce = console.log,
|
|
121
|
+
if (Q === 0) {
|
|
122
|
+
Ce = console.log, _e = console.info, Ee = console.warn, Se = console.error, Re = console.group, ze = console.groupCollapsed, Oe = console.groupEnd;
|
|
123
123
|
var t = {
|
|
124
124
|
configurable: !0,
|
|
125
125
|
enumerable: !0,
|
|
126
|
-
value:
|
|
126
|
+
value: Pe,
|
|
127
127
|
writable: !0
|
|
128
128
|
};
|
|
129
129
|
Object.defineProperties(console, {
|
|
@@ -136,332 +136,332 @@ function Zt() {
|
|
|
136
136
|
groupEnd: t
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
Q++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function bt() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (Q--, Q === 0) {
|
|
145
145
|
var t = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
148
148
|
writable: !0
|
|
149
149
|
};
|
|
150
150
|
Object.defineProperties(console, {
|
|
151
|
-
log:
|
|
151
|
+
log: G({}, t, {
|
|
152
152
|
value: Ce
|
|
153
153
|
}),
|
|
154
|
-
info:
|
|
154
|
+
info: G({}, t, {
|
|
155
|
+
value: _e
|
|
156
|
+
}),
|
|
157
|
+
warn: G({}, t, {
|
|
155
158
|
value: Ee
|
|
156
159
|
}),
|
|
157
|
-
|
|
158
|
-
value:
|
|
160
|
+
error: G({}, t, {
|
|
161
|
+
value: Se
|
|
159
162
|
}),
|
|
160
|
-
|
|
163
|
+
group: G({}, t, {
|
|
161
164
|
value: Re
|
|
162
165
|
}),
|
|
163
|
-
|
|
164
|
-
value:
|
|
166
|
+
groupCollapsed: G({}, t, {
|
|
167
|
+
value: ze
|
|
165
168
|
}),
|
|
166
|
-
|
|
169
|
+
groupEnd: G({}, t, {
|
|
167
170
|
value: Oe
|
|
168
|
-
}),
|
|
169
|
-
groupEnd: H({}, t, {
|
|
170
|
-
value: Pe
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
Q < 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 xe = y.ReactCurrentDispatcher, me;
|
|
178
|
+
function ae(t, i, x) {
|
|
179
179
|
{
|
|
180
|
-
if (
|
|
180
|
+
if (me === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
183
|
} catch (R) {
|
|
184
184
|
var g = R.stack.trim().match(/\n( *(at )?)/);
|
|
185
|
-
|
|
185
|
+
me = g && g[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
|
-
` +
|
|
188
|
+
` + me + t;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var he = !1, se;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
|
|
193
|
+
var vt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
se = new vt();
|
|
195
195
|
}
|
|
196
196
|
function Te(t, i) {
|
|
197
|
-
if (!t ||
|
|
197
|
+
if (!t || he)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var
|
|
201
|
-
if (
|
|
202
|
-
return
|
|
200
|
+
var x = se.get(t);
|
|
201
|
+
if (x !== void 0)
|
|
202
|
+
return x;
|
|
203
203
|
}
|
|
204
204
|
var g;
|
|
205
|
-
|
|
205
|
+
he = !0;
|
|
206
206
|
var R = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
|
-
var
|
|
209
|
-
|
|
208
|
+
var z;
|
|
209
|
+
z = xe.current, xe.current = null, gt();
|
|
210
210
|
try {
|
|
211
211
|
if (i) {
|
|
212
|
-
var
|
|
212
|
+
var _ = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
215
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(_.prototype, "props", {
|
|
216
216
|
set: function() {
|
|
217
217
|
throw Error();
|
|
218
218
|
}
|
|
219
219
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
220
220
|
try {
|
|
221
|
-
Reflect.construct(
|
|
222
|
-
} catch (
|
|
223
|
-
g =
|
|
221
|
+
Reflect.construct(_, []);
|
|
222
|
+
} catch (I) {
|
|
223
|
+
g = I;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(t, [],
|
|
225
|
+
Reflect.construct(t, [], _);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
229
|
-
} catch (
|
|
230
|
-
g =
|
|
228
|
+
_.call();
|
|
229
|
+
} catch (I) {
|
|
230
|
+
g = I;
|
|
231
231
|
}
|
|
232
|
-
t.call(
|
|
232
|
+
t.call(_.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
236
236
|
throw Error();
|
|
237
|
-
} catch (
|
|
238
|
-
g =
|
|
237
|
+
} catch (I) {
|
|
238
|
+
g = I;
|
|
239
239
|
}
|
|
240
240
|
t();
|
|
241
241
|
}
|
|
242
|
-
} catch (
|
|
243
|
-
if (
|
|
244
|
-
for (var
|
|
245
|
-
`),
|
|
246
|
-
`),
|
|
247
|
-
|
|
248
|
-
for (;
|
|
249
|
-
if (
|
|
250
|
-
if (
|
|
242
|
+
} catch (I) {
|
|
243
|
+
if (I && g && typeof I.stack == "string") {
|
|
244
|
+
for (var N = I.stack.split(`
|
|
245
|
+
`), F = g.stack.split(`
|
|
246
|
+
`), L = N.length - 1, A = F.length - 1; L >= 1 && A >= 0 && N[L] !== F[A]; )
|
|
247
|
+
A--;
|
|
248
|
+
for (; L >= 1 && A >= 0; L--, A--)
|
|
249
|
+
if (N[L] !== F[A]) {
|
|
250
|
+
if (L !== 1 || A !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (
|
|
253
|
-
var
|
|
254
|
-
` +
|
|
255
|
-
return t.displayName &&
|
|
252
|
+
if (L--, A--, A < 0 || N[L] !== F[A]) {
|
|
253
|
+
var D = `
|
|
254
|
+
` + N[L].replace(" at new ", " at ");
|
|
255
|
+
return t.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, D), D;
|
|
256
256
|
}
|
|
257
|
-
while (
|
|
257
|
+
while (L >= 1 && A >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
he = !1, xe.current = z, bt(), Error.prepareStackTrace = R;
|
|
263
263
|
}
|
|
264
|
-
var J = t ? t.displayName || t.name : "",
|
|
265
|
-
return typeof t == "function" &&
|
|
264
|
+
var J = t ? t.displayName || t.name : "", Z = J ? ae(J) : "";
|
|
265
|
+
return typeof t == "function" && se.set(t, Z), Z;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function jt(t, i, x) {
|
|
268
268
|
return Te(t, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function yt(t) {
|
|
271
271
|
var i = t.prototype;
|
|
272
272
|
return !!(i && i.isReactComponent);
|
|
273
273
|
}
|
|
274
|
-
function ne(t, i,
|
|
274
|
+
function ne(t, i, x) {
|
|
275
275
|
if (t == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof t == "function")
|
|
278
|
-
return Te(t,
|
|
278
|
+
return Te(t, yt(t));
|
|
279
279
|
if (typeof t == "string")
|
|
280
|
-
return
|
|
280
|
+
return ae(t);
|
|
281
281
|
switch (t) {
|
|
282
282
|
case p:
|
|
283
|
-
return
|
|
284
|
-
case
|
|
285
|
-
return
|
|
283
|
+
return ae("Suspense");
|
|
284
|
+
case u:
|
|
285
|
+
return ae("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof t == "object")
|
|
288
288
|
switch (t.$$typeof) {
|
|
289
289
|
case d:
|
|
290
|
-
return
|
|
290
|
+
return jt(t.render);
|
|
291
291
|
case h:
|
|
292
|
-
return ne(t.type, i,
|
|
292
|
+
return ne(t.type, i, x);
|
|
293
293
|
case j: {
|
|
294
|
-
var g = t, R = g._payload,
|
|
294
|
+
var g = t, R = g._payload, z = g._init;
|
|
295
295
|
try {
|
|
296
|
-
return ne(
|
|
296
|
+
return ne(z(R), i, x);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var
|
|
304
|
-
function
|
|
303
|
+
var ee = Object.prototype.hasOwnProperty, Le = {}, Ae = y.ReactDebugCurrentFrame;
|
|
304
|
+
function ie(t) {
|
|
305
305
|
if (t) {
|
|
306
|
-
var i = t._owner,
|
|
307
|
-
|
|
306
|
+
var i = t._owner, x = ne(t.type, t._source, i ? i.type : null);
|
|
307
|
+
Ae.setExtraStackFrame(x);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
Ae.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function wt(t, i, x, g, R) {
|
|
312
312
|
{
|
|
313
|
-
var
|
|
314
|
-
for (var
|
|
315
|
-
if (
|
|
316
|
-
var
|
|
313
|
+
var z = Function.call.bind(ee);
|
|
314
|
+
for (var _ in t)
|
|
315
|
+
if (z(t, _)) {
|
|
316
|
+
var N = void 0;
|
|
317
317
|
try {
|
|
318
|
-
if (typeof t[
|
|
319
|
-
var
|
|
320
|
-
throw
|
|
318
|
+
if (typeof t[_] != "function") {
|
|
319
|
+
var F = Error((g || "React class") + ": " + x + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
|
+
throw F.name = "Invariant Violation", F;
|
|
321
321
|
}
|
|
322
|
-
|
|
323
|
-
} catch (
|
|
324
|
-
|
|
322
|
+
N = t[_](i, _, g, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
|
+
} catch (L) {
|
|
324
|
+
N = L;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
N && !(N instanceof Error) && (ie(R), 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).", g || "React class", x, _, typeof N), ie(null)), N instanceof Error && !(N.message in Le) && (Le[N.message] = !0, ie(R), b("Failed %s type: %s", x, N.message), ie(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
return
|
|
330
|
+
var Nt = Array.isArray;
|
|
331
|
+
function pe(t) {
|
|
332
|
+
return Nt(t);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function kt(t) {
|
|
335
335
|
{
|
|
336
|
-
var i = typeof Symbol == "function" && Symbol.toStringTag,
|
|
337
|
-
return
|
|
336
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, x = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
337
|
+
return x;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Ct(t) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Me(t), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Me(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 (Ct(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.", kt(t)), Me(t);
|
|
353
353
|
}
|
|
354
|
-
var Ie =
|
|
354
|
+
var Ie = y.ReactCurrentOwner, _t = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
359
|
}, Be, De;
|
|
360
|
-
function
|
|
361
|
-
if (
|
|
360
|
+
function Et(t) {
|
|
361
|
+
if (ee.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 St(t) {
|
|
369
|
+
if (ee.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
|
|
376
|
+
function Rt(t, i) {
|
|
377
377
|
typeof t.ref == "string" && Ie.current;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function zt(t, i) {
|
|
380
380
|
{
|
|
381
|
-
var
|
|
381
|
+
var x = function() {
|
|
382
382
|
Be || (Be = !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
|
+
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
385
|
+
get: x,
|
|
386
386
|
configurable: !0
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Ot(t, i) {
|
|
391
391
|
{
|
|
392
|
-
var
|
|
392
|
+
var x = function() {
|
|
393
393
|
De || (De = !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
|
+
x.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
396
|
+
get: x,
|
|
397
397
|
configurable: !0
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var Pt = function(t, i, x, g, R, z, _) {
|
|
402
|
+
var N = {
|
|
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: x,
|
|
409
|
+
props: _,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
|
-
_owner:
|
|
411
|
+
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(N, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: g
|
|
423
|
-
}), Object.defineProperty(
|
|
423
|
+
}), Object.defineProperty(N, "_source", {
|
|
424
424
|
configurable: !1,
|
|
425
425
|
enumerable: !1,
|
|
426
426
|
writable: !1,
|
|
427
427
|
value: R
|
|
428
|
-
}), Object.freeze && (Object.freeze(
|
|
428
|
+
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function Tt(t, i, x, g, R) {
|
|
431
431
|
{
|
|
432
|
-
var
|
|
433
|
-
|
|
434
|
-
for (
|
|
435
|
-
|
|
432
|
+
var z, _ = {}, N = null, F = null;
|
|
433
|
+
x !== void 0 && (Fe(x), N = "" + x), St(i) && (Fe(i.key), N = "" + i.key), Et(i) && (F = i.ref, Rt(i, R));
|
|
434
|
+
for (z in i)
|
|
435
|
+
ee.call(i, z) && !_t.hasOwnProperty(z) && (_[z] = i[z]);
|
|
436
436
|
if (t && t.defaultProps) {
|
|
437
|
-
var
|
|
438
|
-
for (
|
|
439
|
-
|
|
437
|
+
var L = t.defaultProps;
|
|
438
|
+
for (z in L)
|
|
439
|
+
_[z] === void 0 && (_[z] = L[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
442
|
-
var
|
|
443
|
-
|
|
441
|
+
if (N || F) {
|
|
442
|
+
var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
443
|
+
N && zt(_, A), F && Ot(_, A);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return Pt(t, N, F, R, g, Ie.current, _);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var ge = y.ReactCurrentOwner, Ve = y.ReactDebugCurrentFrame;
|
|
449
|
+
function K(t) {
|
|
450
450
|
if (t) {
|
|
451
|
-
var i = t._owner,
|
|
452
|
-
Ve.setExtraStackFrame(
|
|
451
|
+
var i = t._owner, x = ne(t.type, t._source, i ? i.type : null);
|
|
452
|
+
Ve.setExtraStackFrame(x);
|
|
453
453
|
} else
|
|
454
454
|
Ve.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
function
|
|
456
|
+
var be;
|
|
457
|
+
be = !1;
|
|
458
|
+
function ve(t) {
|
|
459
459
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function $e() {
|
|
462
462
|
{
|
|
463
|
-
if (
|
|
464
|
-
var t = B(
|
|
463
|
+
if (ge.current) {
|
|
464
|
+
var t = B(ge.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 Lt(t) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var We = {};
|
|
477
|
+
function At(t) {
|
|
478
478
|
{
|
|
479
|
-
var i =
|
|
479
|
+
var i = $e();
|
|
480
480
|
if (!i) {
|
|
481
|
-
var
|
|
482
|
-
|
|
481
|
+
var x = typeof t == "string" ? t : t.displayName || t.name;
|
|
482
|
+
x && (i = `
|
|
483
483
|
|
|
484
|
-
Check the top-level render call using <` +
|
|
484
|
+
Check the top-level render call using <` + x + ">.");
|
|
485
485
|
}
|
|
486
486
|
return i;
|
|
487
487
|
}
|
|
@@ -491,234 +491,234 @@ Check the top-level render call using <` + u + ">.");
|
|
|
491
491
|
if (!t._store || t._store.validated || t.key != null)
|
|
492
492
|
return;
|
|
493
493
|
t._store.validated = !0;
|
|
494
|
-
var
|
|
495
|
-
if (
|
|
494
|
+
var x = At(i);
|
|
495
|
+
if (We[x])
|
|
496
496
|
return;
|
|
497
|
-
|
|
497
|
+
We[x] = !0;
|
|
498
498
|
var g = "";
|
|
499
|
-
t && t._owner && t._owner !==
|
|
499
|
+
t && t._owner && t._owner !== ge.current && (g = " It was passed a child from " + B(t._owner.type) + "."), K(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.', x, g), K(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function He(t, i) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof t != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
507
|
-
for (var
|
|
508
|
-
var g = t[
|
|
509
|
-
|
|
506
|
+
if (pe(t))
|
|
507
|
+
for (var x = 0; x < t.length; x++) {
|
|
508
|
+
var g = t[x];
|
|
509
|
+
ve(g) && qe(g, i);
|
|
510
510
|
}
|
|
511
|
-
else if (
|
|
511
|
+
else if (ve(t))
|
|
512
512
|
t._store && (t._store.validated = !0);
|
|
513
513
|
else if (t) {
|
|
514
|
-
var R =
|
|
514
|
+
var R = C(t);
|
|
515
515
|
if (typeof R == "function" && R !== t.entries)
|
|
516
|
-
for (var
|
|
517
|
-
|
|
516
|
+
for (var z = R.call(t), _; !(_ = z.next()).done; )
|
|
517
|
+
ve(_.value) && qe(_.value, i);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Mt(t) {
|
|
522
522
|
{
|
|
523
523
|
var i = t.type;
|
|
524
524
|
if (i == null || typeof i == "string")
|
|
525
525
|
return;
|
|
526
|
-
var
|
|
526
|
+
var x;
|
|
527
527
|
if (typeof i == "function")
|
|
528
|
-
|
|
528
|
+
x = 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
531
|
i.$$typeof === h))
|
|
532
|
-
|
|
532
|
+
x = i.propTypes;
|
|
533
533
|
else
|
|
534
534
|
return;
|
|
535
|
-
if (
|
|
535
|
+
if (x) {
|
|
536
536
|
var g = B(i);
|
|
537
|
-
|
|
538
|
-
} else if (i.PropTypes !== void 0 && !
|
|
539
|
-
|
|
537
|
+
wt(x, t.props, "prop", g, t);
|
|
538
|
+
} else if (i.PropTypes !== void 0 && !be) {
|
|
539
|
+
be = !0;
|
|
540
540
|
var R = B(i);
|
|
541
541
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "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 Ft(t) {
|
|
547
547
|
{
|
|
548
|
-
for (var i = Object.keys(t.props),
|
|
549
|
-
var g = i[
|
|
548
|
+
for (var i = Object.keys(t.props), x = 0; x < i.length; x++) {
|
|
549
|
+
var g = i[x];
|
|
550
550
|
if (g !== "children" && g !== "key") {
|
|
551
|
-
|
|
551
|
+
K(t), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), K(null);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
t.ref !== null && (
|
|
555
|
+
t.ref !== null && (K(t), b("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
function Ue(t, i,
|
|
558
|
+
var Ye = {};
|
|
559
|
+
function Ue(t, i, x, g, R, z) {
|
|
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
|
-
|
|
567
|
-
var
|
|
568
|
-
t === null ?
|
|
561
|
+
var _ = M(t);
|
|
562
|
+
if (!_) {
|
|
563
|
+
var N = "";
|
|
564
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
565
|
+
var F = Lt();
|
|
566
|
+
F ? N += F : N += $e();
|
|
567
|
+
var L;
|
|
568
|
+
t === null ? L = "null" : pe(t) ? L = "array" : t !== void 0 && t.$$typeof === a ? (L = "<" + (B(t.type) || "Unknown") + " />", N = " 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, N);
|
|
569
569
|
}
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
return
|
|
573
|
-
if (
|
|
574
|
-
var
|
|
575
|
-
if (
|
|
570
|
+
var A = Tt(t, i, x, R, z);
|
|
571
|
+
if (A == null)
|
|
572
|
+
return A;
|
|
573
|
+
if (_) {
|
|
574
|
+
var D = i.children;
|
|
575
|
+
if (D !== void 0)
|
|
576
576
|
if (g)
|
|
577
|
-
if (
|
|
578
|
-
for (var J = 0; J <
|
|
579
|
-
|
|
580
|
-
Object.freeze && Object.freeze(
|
|
577
|
+
if (pe(D)) {
|
|
578
|
+
for (var J = 0; J < D.length; J++)
|
|
579
|
+
He(D[J], t);
|
|
580
|
+
Object.freeze && Object.freeze(D);
|
|
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
|
+
He(D, t);
|
|
585
585
|
}
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
return
|
|
589
|
-
}),
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
586
|
+
if (ee.call(i, "key")) {
|
|
587
|
+
var Z = B(t), I = Object.keys(i).filter(function(Wt) {
|
|
588
|
+
return Wt !== "key";
|
|
589
|
+
}), je = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!Ye[Z + je]) {
|
|
591
|
+
var $t = 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} />`, je, Z, $t, Z), Ye[Z + je] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return t ===
|
|
600
|
+
return t === n ? Ft(A) : Mt(A), A;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return Ue(t, i,
|
|
603
|
+
function It(t, i, x) {
|
|
604
|
+
return Ue(t, i, x, !0);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return Ue(t, i,
|
|
606
|
+
function Bt(t, i, x) {
|
|
607
|
+
return Ue(t, i, x, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
})()),
|
|
609
|
+
var Dt = Bt, Vt = It;
|
|
610
|
+
re.Fragment = n, re.jsx = Dt, re.jsxs = Vt;
|
|
611
|
+
})()), re;
|
|
612
612
|
}
|
|
613
613
|
var Xe;
|
|
614
|
-
function
|
|
615
|
-
return Xe || (Xe = 1, process.env.NODE_ENV === "production" ?
|
|
614
|
+
function er() {
|
|
615
|
+
return Xe || (Xe = 1, process.env.NODE_ENV === "production" ? le.exports = Xt() : le.exports = Qt()), le.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = er(), lt = {
|
|
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
|
-
}, Qe =
|
|
624
|
-
function
|
|
623
|
+
}, Qe = k.createContext && /* @__PURE__ */ k.createContext(lt), tr = ["attr", "size", "title"];
|
|
624
|
+
function rr(r, a) {
|
|
625
625
|
if (r == null) return {};
|
|
626
|
-
var
|
|
626
|
+
var s, n, l = ar(r, a);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
628
|
var c = Object.getOwnPropertySymbols(r);
|
|
629
|
-
for (
|
|
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
|
-
return
|
|
631
|
+
return l;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function ar(r, a) {
|
|
634
634
|
if (r == null) return {};
|
|
635
|
-
var
|
|
636
|
-
for (var
|
|
637
|
-
if (a.indexOf(
|
|
638
|
-
n
|
|
635
|
+
var s = {};
|
|
636
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
637
|
+
if (a.indexOf(n) !== -1) continue;
|
|
638
|
+
s[n] = r[n];
|
|
639
639
|
}
|
|
640
|
-
return
|
|
640
|
+
return s;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
642
|
+
function ce() {
|
|
643
|
+
return ce = Object.assign ? Object.assign.bind() : function(r) {
|
|
644
644
|
for (var a = 1; a < arguments.length; a++) {
|
|
645
|
-
var
|
|
646
|
-
for (var
|
|
645
|
+
var s = arguments[a];
|
|
646
|
+
for (var n in s) ({}).hasOwnProperty.call(s, n) && (r[n] = s[n]);
|
|
647
647
|
}
|
|
648
648
|
return r;
|
|
649
|
-
},
|
|
649
|
+
}, ce.apply(null, arguments);
|
|
650
650
|
}
|
|
651
651
|
function et(r, a) {
|
|
652
|
-
var
|
|
652
|
+
var s = Object.keys(r);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
|
-
var
|
|
655
|
-
a && (
|
|
656
|
-
return Object.getOwnPropertyDescriptor(r,
|
|
657
|
-
})),
|
|
654
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
655
|
+
a && (n = n.filter(function(l) {
|
|
656
|
+
return Object.getOwnPropertyDescriptor(r, l).enumerable;
|
|
657
|
+
})), s.push.apply(s, n);
|
|
658
658
|
}
|
|
659
|
-
return
|
|
659
|
+
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function de(r) {
|
|
662
662
|
for (var a = 1; a < arguments.length; a++) {
|
|
663
|
-
var
|
|
664
|
-
a % 2 ? et(Object(
|
|
665
|
-
|
|
666
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(
|
|
667
|
-
Object.defineProperty(r,
|
|
663
|
+
var s = arguments[a] != null ? arguments[a] : {};
|
|
664
|
+
a % 2 ? et(Object(s), !0).forEach(function(n) {
|
|
665
|
+
sr(r, n, s[n]);
|
|
666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(s)) : et(Object(s)).forEach(function(n) {
|
|
667
|
+
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(s, n));
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
670
|
return r;
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
return (a =
|
|
672
|
+
function sr(r, a, s) {
|
|
673
|
+
return (a = nr(a)) in r ? Object.defineProperty(r, a, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : r[a] = s, r;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
var a =
|
|
675
|
+
function nr(r) {
|
|
676
|
+
var a = ir(r, "string");
|
|
677
677
|
return typeof a == "symbol" ? a : a + "";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function ir(r, a) {
|
|
680
680
|
if (typeof r != "object" || !r) return r;
|
|
681
|
-
var
|
|
682
|
-
if (
|
|
683
|
-
var
|
|
684
|
-
if (typeof
|
|
681
|
+
var s = r[Symbol.toPrimitive];
|
|
682
|
+
if (s !== void 0) {
|
|
683
|
+
var n = s.call(r, a);
|
|
684
|
+
if (typeof n != "object") return n;
|
|
685
685
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
686
686
|
}
|
|
687
687
|
return (a === "string" ? String : Number)(r);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return r && r.map((a,
|
|
691
|
-
key:
|
|
692
|
-
}, a.attr),
|
|
689
|
+
function ot(r) {
|
|
690
|
+
return r && r.map((a, s) => /* @__PURE__ */ k.createElement(a.tag, de({
|
|
691
|
+
key: s
|
|
692
|
+
}, a.attr), ot(a.child)));
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return (a) => /* @__PURE__ */
|
|
696
|
-
attr:
|
|
697
|
-
}, a),
|
|
694
|
+
function T(r) {
|
|
695
|
+
return (a) => /* @__PURE__ */ k.createElement(lr, ce({
|
|
696
|
+
attr: de({}, r.attr)
|
|
697
|
+
}, a), ot(r.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
var a = (
|
|
701
|
-
var
|
|
702
|
-
return
|
|
699
|
+
function lr(r) {
|
|
700
|
+
var a = (s) => {
|
|
701
|
+
var n = r.attr, l = r.size, c = r.title, f = rr(r, tr), m = l || s.size || "1em", d;
|
|
702
|
+
return s.className && (d = s.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */ k.createElement("svg", ce({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
706
|
-
},
|
|
706
|
+
}, s.attr, n, f, {
|
|
707
707
|
className: d,
|
|
708
|
-
style:
|
|
709
|
-
color: r.color ||
|
|
710
|
-
},
|
|
708
|
+
style: de(de({
|
|
709
|
+
color: r.color || s.color
|
|
710
|
+
}, s.style), r.style),
|
|
711
711
|
height: m,
|
|
712
712
|
width: m,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
|
-
}), c && /* @__PURE__ */
|
|
714
|
+
}), c && /* @__PURE__ */ k.createElement("title", null, c), r.children);
|
|
715
715
|
};
|
|
716
|
-
return Qe !== void 0 ? /* @__PURE__ */
|
|
716
|
+
return Qe !== void 0 ? /* @__PURE__ */ k.createElement(Qe.Consumer, null, (s) => a(s)) : a(lt);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
718
|
+
function or(r) {
|
|
719
|
+
return T({ attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z" }, child: [] }] })(r);
|
|
720
720
|
}
|
|
721
|
-
const
|
|
721
|
+
const cr = Kt(
|
|
722
722
|
"appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
|
|
723
723
|
{
|
|
724
724
|
variants: {
|
|
@@ -749,74 +749,74 @@ const lr = Gt(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
),
|
|
752
|
+
), H = Yt.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: r,
|
|
755
755
|
variant: a,
|
|
756
|
-
size:
|
|
757
|
-
iconOnly:
|
|
758
|
-
loading:
|
|
756
|
+
size: s,
|
|
757
|
+
iconOnly: n,
|
|
758
|
+
loading: l = !1,
|
|
759
759
|
disabled: c,
|
|
760
|
-
leftIcon:
|
|
760
|
+
leftIcon: f,
|
|
761
761
|
rightIcon: m,
|
|
762
762
|
children: d,
|
|
763
763
|
type: p = "button",
|
|
764
|
-
...
|
|
764
|
+
...u
|
|
765
765
|
}, h) => /* @__PURE__ */ e.jsx(
|
|
766
766
|
"button",
|
|
767
767
|
{
|
|
768
768
|
ref: h,
|
|
769
769
|
type: p,
|
|
770
|
-
disabled: c ||
|
|
771
|
-
className:
|
|
772
|
-
...
|
|
773
|
-
children:
|
|
774
|
-
|
|
770
|
+
disabled: c || l,
|
|
771
|
+
className: o(cr({ variant: a, size: s, iconOnly: n }), r),
|
|
772
|
+
...u,
|
|
773
|
+
children: l ? /* @__PURE__ */ e.jsx(or, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
|
+
f,
|
|
775
775
|
d,
|
|
776
776
|
m
|
|
777
777
|
] })
|
|
778
778
|
}
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
|
-
|
|
782
|
-
function
|
|
783
|
-
return
|
|
781
|
+
H.displayName = "Button";
|
|
782
|
+
function dr(r) {
|
|
783
|
+
return T({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(r);
|
|
784
784
|
}
|
|
785
|
-
function
|
|
786
|
-
return
|
|
785
|
+
function ur(r) {
|
|
786
|
+
return T({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(r);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
return
|
|
788
|
+
function ct(r) {
|
|
789
|
+
return T({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(r);
|
|
790
790
|
}
|
|
791
791
|
function tt(r) {
|
|
792
|
-
return
|
|
792
|
+
return T({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(r);
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return
|
|
794
|
+
function fr(r) {
|
|
795
|
+
return T({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z" }, child: [] }] })(r);
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const Qr = ({
|
|
798
798
|
quote: r,
|
|
799
799
|
authorName: a,
|
|
800
|
-
authorAvatarUrl:
|
|
801
|
-
meta:
|
|
802
|
-
rating:
|
|
800
|
+
authorAvatarUrl: s,
|
|
801
|
+
meta: n,
|
|
802
|
+
rating: l = 5,
|
|
803
803
|
className: c = "",
|
|
804
|
-
...
|
|
804
|
+
...f
|
|
805
805
|
}) => /* @__PURE__ */ e.jsxs(
|
|
806
806
|
"div",
|
|
807
807
|
{
|
|
808
|
-
className:
|
|
808
|
+
className: o(
|
|
809
809
|
"flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",
|
|
810
810
|
c
|
|
811
811
|
),
|
|
812
|
-
...
|
|
812
|
+
...f,
|
|
813
813
|
children: [
|
|
814
814
|
/* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125] mb-4", children: r }),
|
|
815
815
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-x-2.5", children: [
|
|
816
|
-
|
|
816
|
+
s ? /* @__PURE__ */ e.jsx(
|
|
817
817
|
"img",
|
|
818
818
|
{
|
|
819
|
-
src:
|
|
819
|
+
src: s,
|
|
820
820
|
alt: "",
|
|
821
821
|
className: "h-10.5 w-10.5 shrink-0 rounded-full object-cover"
|
|
822
822
|
}
|
|
@@ -833,61 +833,67 @@ const Ar = ({
|
|
|
833
833
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
834
834
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
835
835
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-base font-bold text-[#1d2125]", children: a }),
|
|
836
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5,
|
|
836
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, l)) }, (m, d) => /* @__PURE__ */ e.jsx(ct, { size: 12 }, d)) })
|
|
837
837
|
] }),
|
|
838
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children:
|
|
838
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
839
839
|
] })
|
|
840
840
|
] })
|
|
841
841
|
]
|
|
842
842
|
}
|
|
843
843
|
);
|
|
844
844
|
function rt(r) {
|
|
845
|
-
return
|
|
845
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "12", y1: "5", x2: "12", y2: "19" }, child: [] }, { tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(r);
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
return
|
|
847
|
+
function xr(r) {
|
|
848
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(r);
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
return
|
|
850
|
+
function ue(r) {
|
|
851
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(r);
|
|
852
852
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
853
|
+
function dt(r) {
|
|
854
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(r);
|
|
855
855
|
}
|
|
856
|
-
function
|
|
857
|
-
return
|
|
856
|
+
function mr(r) {
|
|
857
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(r);
|
|
858
|
+
}
|
|
859
|
+
function fe(r) {
|
|
860
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "6 9 12 15 18 9" }, child: [] }] })(r);
|
|
858
861
|
}
|
|
859
862
|
function ke(r) {
|
|
860
|
-
return
|
|
863
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(r);
|
|
861
864
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
865
|
+
function hr(r) {
|
|
866
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(r);
|
|
864
867
|
}
|
|
865
|
-
function
|
|
866
|
-
return
|
|
868
|
+
function ut(r) {
|
|
869
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(r);
|
|
867
870
|
}
|
|
868
|
-
|
|
871
|
+
function ft(r) {
|
|
872
|
+
return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(r);
|
|
873
|
+
}
|
|
874
|
+
const pr = ({
|
|
869
875
|
title: r = "अक्सर पूछे जाने वाले प्रश्न",
|
|
870
876
|
items: a,
|
|
871
|
-
initialVisibleCount:
|
|
872
|
-
showCta:
|
|
873
|
-
defaultExpanded:
|
|
877
|
+
initialVisibleCount: s = 6,
|
|
878
|
+
showCta: n = !0,
|
|
879
|
+
defaultExpanded: l = !1,
|
|
874
880
|
ctaExpandLabel: c = "और देखें",
|
|
875
|
-
ctaCollapseLabel:
|
|
881
|
+
ctaCollapseLabel: f = "कम देखें",
|
|
876
882
|
defaultOpenIndex: m = -1,
|
|
877
883
|
className: d = ""
|
|
878
884
|
}) => {
|
|
879
|
-
const [p,
|
|
885
|
+
const [p, u] = q(l), [h, j] = q(m), v = n && a.length > s, E = v && !p ? a.slice(0, s) : a;
|
|
880
886
|
return /* @__PURE__ */ e.jsxs(
|
|
881
887
|
"div",
|
|
882
888
|
{
|
|
883
|
-
className:
|
|
889
|
+
className: o(
|
|
884
890
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
885
891
|
d
|
|
886
892
|
),
|
|
887
893
|
children: [
|
|
888
894
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: r }),
|
|
889
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children:
|
|
890
|
-
const
|
|
895
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: E.map((S, C) => {
|
|
896
|
+
const y = h === C;
|
|
891
897
|
return /* @__PURE__ */ e.jsxs(
|
|
892
898
|
"div",
|
|
893
899
|
{
|
|
@@ -898,17 +904,17 @@ const fr = ({
|
|
|
898
904
|
{
|
|
899
905
|
type: "button",
|
|
900
906
|
className: "flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
901
|
-
onClick: () => j(
|
|
902
|
-
"aria-expanded":
|
|
903
|
-
"aria-controls": `faq-answer-${
|
|
904
|
-
id: `faq-question-${
|
|
907
|
+
onClick: () => j(y ? -1 : C),
|
|
908
|
+
"aria-expanded": y,
|
|
909
|
+
"aria-controls": `faq-answer-${C}`,
|
|
910
|
+
id: `faq-question-${C}`,
|
|
905
911
|
children: [
|
|
906
912
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#1d2125]", children: S.question }),
|
|
907
913
|
/* @__PURE__ */ e.jsx(
|
|
908
|
-
|
|
914
|
+
fe,
|
|
909
915
|
{
|
|
910
916
|
size: 24,
|
|
911
|
-
className:
|
|
917
|
+
className: o("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
|
|
912
918
|
"aria-hidden": !0
|
|
913
919
|
}
|
|
914
920
|
)
|
|
@@ -918,90 +924,90 @@ const fr = ({
|
|
|
918
924
|
/* @__PURE__ */ e.jsx(
|
|
919
925
|
"div",
|
|
920
926
|
{
|
|
921
|
-
id: `faq-answer-${
|
|
927
|
+
id: `faq-answer-${C}`,
|
|
922
928
|
role: "region",
|
|
923
|
-
"aria-labelledby": `faq-question-${
|
|
924
|
-
hidden: !
|
|
929
|
+
"aria-labelledby": `faq-question-${C}`,
|
|
930
|
+
hidden: !y,
|
|
925
931
|
children: /* @__PURE__ */ e.jsx("p", { className: "px-3 pb-3 text-sm text-gray-500", children: S.answer })
|
|
926
932
|
}
|
|
927
933
|
)
|
|
928
934
|
]
|
|
929
935
|
},
|
|
930
|
-
|
|
936
|
+
C
|
|
931
937
|
);
|
|
932
938
|
}) }),
|
|
933
939
|
v && /* @__PURE__ */ e.jsx(
|
|
934
|
-
|
|
940
|
+
H,
|
|
935
941
|
{
|
|
936
942
|
variant: "secondary",
|
|
937
943
|
size: "lg",
|
|
938
944
|
className: "w-full",
|
|
939
|
-
onClick: () =>
|
|
945
|
+
onClick: () => u((S) => !S),
|
|
940
946
|
"aria-expanded": p,
|
|
941
947
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
942
|
-
|
|
948
|
+
fe,
|
|
943
949
|
{
|
|
944
950
|
size: 24,
|
|
945
|
-
className:
|
|
951
|
+
className: o("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
946
952
|
"aria-hidden": !0
|
|
947
953
|
}
|
|
948
954
|
),
|
|
949
|
-
children: p ?
|
|
955
|
+
children: p ? f : c
|
|
950
956
|
}
|
|
951
957
|
)
|
|
952
958
|
]
|
|
953
959
|
}
|
|
954
960
|
);
|
|
955
|
-
},
|
|
956
|
-
({ src: r, poster: a, className:
|
|
957
|
-
const [m, d] =
|
|
961
|
+
}, gr = k.forwardRef(
|
|
962
|
+
({ src: r, poster: a, className: s = "", rounded: n = !0, width: l, height: c }, f) => {
|
|
963
|
+
const [m, d] = k.useState(!1), [p, u] = k.useState(!0), [h, j] = k.useState(!1), [v, E] = k.useState(0), [S, C] = k.useState(0), y = k.useRef(null), O = o(
|
|
958
964
|
"block w-full",
|
|
959
|
-
(
|
|
960
|
-
),
|
|
961
|
-
const
|
|
962
|
-
|
|
965
|
+
(l !== void 0 || c !== void 0) && "h-full object-cover"
|
|
966
|
+
), w = (P) => {
|
|
967
|
+
const V = Number(P.target.value);
|
|
968
|
+
E(V), y.current && (y.current.currentTime = V);
|
|
963
969
|
};
|
|
964
970
|
return /* @__PURE__ */ e.jsx(
|
|
965
971
|
"div",
|
|
966
972
|
{
|
|
967
|
-
ref:
|
|
968
|
-
style: { width:
|
|
969
|
-
className:
|
|
973
|
+
ref: f,
|
|
974
|
+
style: { width: l, height: c },
|
|
975
|
+
className: o(
|
|
970
976
|
"relative w-full overflow-hidden",
|
|
971
|
-
|
|
972
|
-
|
|
977
|
+
n && "rounded-2xl",
|
|
978
|
+
s
|
|
973
979
|
),
|
|
974
980
|
children: m ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
975
981
|
/* @__PURE__ */ e.jsx(
|
|
976
982
|
Jt,
|
|
977
983
|
{
|
|
978
|
-
ref:
|
|
984
|
+
ref: y,
|
|
979
985
|
src: r,
|
|
980
986
|
poster: a,
|
|
981
987
|
playing: p,
|
|
982
988
|
muted: h,
|
|
983
|
-
width:
|
|
989
|
+
width: l,
|
|
984
990
|
height: c,
|
|
985
|
-
className:
|
|
986
|
-
onTimeUpdate: (P) =>
|
|
987
|
-
onDurationChange: (P) =>
|
|
988
|
-
onEnded: () =>
|
|
991
|
+
className: O,
|
|
992
|
+
onTimeUpdate: (P) => E(P.currentTarget.currentTime),
|
|
993
|
+
onDurationChange: (P) => C(P.currentTarget.duration),
|
|
994
|
+
onEnded: () => u(!1)
|
|
989
995
|
}
|
|
990
996
|
),
|
|
991
997
|
/* @__PURE__ */ e.jsx(
|
|
992
|
-
|
|
998
|
+
H,
|
|
993
999
|
{
|
|
994
1000
|
variant: "ghost",
|
|
995
1001
|
iconOnly: !0,
|
|
996
1002
|
size: "lg",
|
|
997
1003
|
"aria-label": p ? "Pause" : "Play",
|
|
998
1004
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
999
|
-
onClick: () =>
|
|
1000
|
-
children: p ? /* @__PURE__ */ e.jsx(
|
|
1005
|
+
onClick: () => u((P) => !P),
|
|
1006
|
+
children: p ? /* @__PURE__ */ e.jsx(fr, { size: 16 }) : /* @__PURE__ */ e.jsx(tt, { size: 16, className: "translate-x-0.5" })
|
|
1001
1007
|
}
|
|
1002
1008
|
),
|
|
1003
1009
|
/* @__PURE__ */ e.jsx(
|
|
1004
|
-
|
|
1010
|
+
H,
|
|
1005
1011
|
{
|
|
1006
1012
|
variant: "ghost",
|
|
1007
1013
|
iconOnly: !0,
|
|
@@ -1009,7 +1015,7 @@ const fr = ({
|
|
|
1009
1015
|
"aria-label": h ? "Unmute" : "Mute",
|
|
1010
1016
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1011
1017
|
onClick: () => j((P) => !P),
|
|
1012
|
-
children: h ? /* @__PURE__ */ e.jsx(
|
|
1018
|
+
children: h ? /* @__PURE__ */ e.jsx(ur, { size: 14 }) : /* @__PURE__ */ e.jsx(dr, { size: 14 })
|
|
1013
1019
|
}
|
|
1014
1020
|
),
|
|
1015
1021
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1020,16 +1026,16 @@ const fr = ({
|
|
|
1020
1026
|
max: S || 0,
|
|
1021
1027
|
step: 0.1,
|
|
1022
1028
|
value: v,
|
|
1023
|
-
onChange:
|
|
1029
|
+
onChange: w,
|
|
1024
1030
|
"aria-label": "Seek",
|
|
1025
1031
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
1026
1032
|
}
|
|
1027
1033
|
)
|
|
1028
1034
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1029
|
-
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className:
|
|
1035
|
+
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className: O }),
|
|
1030
1036
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
1031
1037
|
/* @__PURE__ */ e.jsx(
|
|
1032
|
-
|
|
1038
|
+
H,
|
|
1033
1039
|
{
|
|
1034
1040
|
variant: "ghost",
|
|
1035
1041
|
iconOnly: !0,
|
|
@@ -1045,84 +1051,84 @@ const fr = ({
|
|
|
1045
1051
|
);
|
|
1046
1052
|
}
|
|
1047
1053
|
);
|
|
1048
|
-
|
|
1049
|
-
const
|
|
1054
|
+
gr.displayName = "VideoPlayer";
|
|
1055
|
+
const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), xt = k.forwardRef(
|
|
1050
1056
|
({
|
|
1051
1057
|
options: r,
|
|
1052
1058
|
value: a,
|
|
1053
|
-
onChange:
|
|
1054
|
-
defaultOpen:
|
|
1055
|
-
open:
|
|
1059
|
+
onChange: s,
|
|
1060
|
+
defaultOpen: n = !1,
|
|
1061
|
+
open: l,
|
|
1056
1062
|
onOpenChange: c,
|
|
1057
|
-
className:
|
|
1063
|
+
className: f = "",
|
|
1058
1064
|
triggerClassName: m = "",
|
|
1059
1065
|
menuClassName: d = "",
|
|
1060
1066
|
...p
|
|
1061
|
-
},
|
|
1062
|
-
const [h, j] =
|
|
1067
|
+
}, u) => {
|
|
1068
|
+
const [h, j] = k.useState(n), v = l !== void 0, E = v ? l : h, S = k.useCallback(
|
|
1063
1069
|
(b) => {
|
|
1064
1070
|
v || j(b), c?.(b);
|
|
1065
1071
|
},
|
|
1066
1072
|
[v, c]
|
|
1067
|
-
),
|
|
1068
|
-
|
|
1069
|
-
if (!
|
|
1070
|
-
const b = (
|
|
1071
|
-
|
|
1072
|
-
},
|
|
1073
|
-
|
|
1073
|
+
), C = k.useRef(null);
|
|
1074
|
+
k.useImperativeHandle(u, () => C.current), k.useEffect(() => {
|
|
1075
|
+
if (!E) return;
|
|
1076
|
+
const b = (w) => {
|
|
1077
|
+
C.current?.contains(w.target) || S(!1);
|
|
1078
|
+
}, O = (w) => {
|
|
1079
|
+
w.key === "Escape" && S(!1);
|
|
1074
1080
|
};
|
|
1075
|
-
return document.addEventListener("mousedown", b), document.addEventListener("keydown",
|
|
1076
|
-
document.removeEventListener("mousedown", b), document.removeEventListener("keydown",
|
|
1081
|
+
return document.addEventListener("mousedown", b), document.addEventListener("keydown", O), () => {
|
|
1082
|
+
document.removeEventListener("mousedown", b), document.removeEventListener("keydown", O);
|
|
1077
1083
|
};
|
|
1078
|
-
}, [
|
|
1079
|
-
const
|
|
1080
|
-
|
|
1084
|
+
}, [E, S]);
|
|
1085
|
+
const y = (b) => {
|
|
1086
|
+
s?.(b.value), S(!1);
|
|
1081
1087
|
};
|
|
1082
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1088
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: C, className: o("relative inline-block", f), ...p, children: [
|
|
1083
1089
|
/* @__PURE__ */ e.jsxs(
|
|
1084
1090
|
"button",
|
|
1085
1091
|
{
|
|
1086
1092
|
type: "button",
|
|
1087
|
-
onClick: () => S(!
|
|
1093
|
+
onClick: () => S(!E),
|
|
1088
1094
|
"aria-label": "Switch language",
|
|
1089
1095
|
"aria-haspopup": "listbox",
|
|
1090
|
-
"aria-expanded":
|
|
1091
|
-
className:
|
|
1096
|
+
"aria-expanded": E,
|
|
1097
|
+
className: o(
|
|
1092
1098
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
1093
1099
|
m
|
|
1094
1100
|
),
|
|
1095
1101
|
children: [
|
|
1096
|
-
/* @__PURE__ */ e.jsx(
|
|
1102
|
+
/* @__PURE__ */ e.jsx(br, {}),
|
|
1097
1103
|
/* @__PURE__ */ e.jsx(
|
|
1098
|
-
|
|
1104
|
+
fe,
|
|
1099
1105
|
{
|
|
1100
1106
|
size: 24,
|
|
1101
|
-
className:
|
|
1107
|
+
className: o("transition-transform duration-200", E ? "rotate-180" : ""),
|
|
1102
1108
|
"aria-hidden": !0
|
|
1103
1109
|
}
|
|
1104
1110
|
)
|
|
1105
1111
|
]
|
|
1106
1112
|
}
|
|
1107
1113
|
),
|
|
1108
|
-
|
|
1114
|
+
E && /* @__PURE__ */ e.jsx(
|
|
1109
1115
|
"ul",
|
|
1110
1116
|
{
|
|
1111
1117
|
role: "listbox",
|
|
1112
|
-
className:
|
|
1118
|
+
className: o(
|
|
1113
1119
|
"absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",
|
|
1114
1120
|
d
|
|
1115
1121
|
),
|
|
1116
1122
|
children: r.map((b) => {
|
|
1117
|
-
const
|
|
1118
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
1123
|
+
const O = b.value === a;
|
|
1124
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": O, children: /* @__PURE__ */ e.jsx(
|
|
1119
1125
|
"button",
|
|
1120
1126
|
{
|
|
1121
1127
|
type: "button",
|
|
1122
|
-
onClick: () =>
|
|
1123
|
-
className:
|
|
1128
|
+
onClick: () => y(b),
|
|
1129
|
+
className: o(
|
|
1124
1130
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1125
|
-
|
|
1131
|
+
O ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1126
1132
|
),
|
|
1127
1133
|
children: b.label
|
|
1128
1134
|
}
|
|
@@ -1133,19 +1139,19 @@ const mr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1133
1139
|
] });
|
|
1134
1140
|
}
|
|
1135
1141
|
);
|
|
1136
|
-
|
|
1137
|
-
function
|
|
1142
|
+
xt.displayName = "LanguageSwitcher";
|
|
1143
|
+
function ea({
|
|
1138
1144
|
onBackClick: r,
|
|
1139
1145
|
backButtonAriaLabel: a = "Go back",
|
|
1140
|
-
locale:
|
|
1141
|
-
localeOptions:
|
|
1142
|
-
onLocaleChange:
|
|
1146
|
+
locale: s,
|
|
1147
|
+
localeOptions: n,
|
|
1148
|
+
onLocaleChange: l,
|
|
1143
1149
|
className: c
|
|
1144
1150
|
}) {
|
|
1145
1151
|
return /* @__PURE__ */ e.jsxs(
|
|
1146
1152
|
"div",
|
|
1147
1153
|
{
|
|
1148
|
-
className:
|
|
1154
|
+
className: o(
|
|
1149
1155
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
1150
1156
|
c
|
|
1151
1157
|
),
|
|
@@ -1157,15 +1163,15 @@ function Fr({
|
|
|
1157
1163
|
onClick: r,
|
|
1158
1164
|
"aria-label": a,
|
|
1159
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)]",
|
|
1160
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1166
|
+
children: /* @__PURE__ */ e.jsx(ft, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1161
1167
|
}
|
|
1162
1168
|
),
|
|
1163
1169
|
/* @__PURE__ */ e.jsx(
|
|
1164
|
-
|
|
1170
|
+
xt,
|
|
1165
1171
|
{
|
|
1166
|
-
options:
|
|
1167
|
-
value:
|
|
1168
|
-
onChange:
|
|
1172
|
+
options: n,
|
|
1173
|
+
value: s,
|
|
1174
|
+
onChange: l,
|
|
1169
1175
|
menuClassName: "left-auto right-0"
|
|
1170
1176
|
}
|
|
1171
1177
|
)
|
|
@@ -1173,41 +1179,41 @@ function Fr({
|
|
|
1173
1179
|
}
|
|
1174
1180
|
);
|
|
1175
1181
|
}
|
|
1176
|
-
const
|
|
1177
|
-
({ label: r, selected: a = !1, onClick:
|
|
1182
|
+
const vr = k.forwardRef(
|
|
1183
|
+
({ label: r, selected: a = !1, onClick: s, icon: n, className: l, type: c = "button", ...f }, m) => /* @__PURE__ */ e.jsxs(
|
|
1178
1184
|
"button",
|
|
1179
1185
|
{
|
|
1180
1186
|
ref: m,
|
|
1181
1187
|
type: c,
|
|
1182
|
-
onClick:
|
|
1188
|
+
onClick: s,
|
|
1183
1189
|
"aria-pressed": a,
|
|
1184
|
-
className:
|
|
1190
|
+
className: o(
|
|
1185
1191
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border font-['Noto_Sans'] text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
1186
1192
|
a ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
|
|
1187
|
-
|
|
1193
|
+
l
|
|
1188
1194
|
),
|
|
1189
|
-
...
|
|
1195
|
+
...f,
|
|
1190
1196
|
children: [
|
|
1191
|
-
|
|
1197
|
+
n,
|
|
1192
1198
|
r
|
|
1193
1199
|
]
|
|
1194
1200
|
}
|
|
1195
1201
|
)
|
|
1196
1202
|
);
|
|
1197
|
-
|
|
1198
|
-
const
|
|
1203
|
+
vr.displayName = "Chip";
|
|
1204
|
+
const ta = ({
|
|
1199
1205
|
quote: r,
|
|
1200
1206
|
currentStep: a,
|
|
1201
|
-
totalSteps:
|
|
1202
|
-
className:
|
|
1203
|
-
...
|
|
1207
|
+
totalSteps: s,
|
|
1208
|
+
className: n,
|
|
1209
|
+
...l
|
|
1204
1210
|
}) => {
|
|
1205
|
-
const c =
|
|
1211
|
+
const c = s > 0 ? Math.min(100, Math.max(0, a / s * 100)) : 0;
|
|
1206
1212
|
return /* @__PURE__ */ e.jsxs(
|
|
1207
1213
|
"div",
|
|
1208
1214
|
{
|
|
1209
|
-
className:
|
|
1210
|
-
...
|
|
1215
|
+
className: o("flex w-full items-center gap-3 px-4 py-3", n),
|
|
1216
|
+
...l,
|
|
1211
1217
|
children: [
|
|
1212
1218
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col items-center gap-2 min-w-0", children: [
|
|
1213
1219
|
/* @__PURE__ */ e.jsx("p", { className: "w-full truncate text-center font-['Noto_Sans'] text-[10px] leading-[14px] font-semibold text-[#cf6c09]", children: r }),
|
|
@@ -1240,19 +1246,19 @@ const Ir = ({
|
|
|
1240
1246
|
/* @__PURE__ */ e.jsxs("p", { className: "shrink-0 font-['Noto_Sans'] text-xs font-semibold text-gray-700", children: [
|
|
1241
1247
|
a,
|
|
1242
1248
|
"/",
|
|
1243
|
-
|
|
1249
|
+
s
|
|
1244
1250
|
] })
|
|
1245
1251
|
]
|
|
1246
1252
|
}
|
|
1247
1253
|
);
|
|
1248
1254
|
};
|
|
1249
|
-
function
|
|
1250
|
-
return
|
|
1255
|
+
function jr(r) {
|
|
1256
|
+
return T({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z" }, child: [] }, { tag: "path", attr: { d: "M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z" }, child: [] }] })(r);
|
|
1251
1257
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return
|
|
1258
|
+
function yr(r) {
|
|
1259
|
+
return T({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z" }, child: [] }] })(r);
|
|
1254
1260
|
}
|
|
1255
|
-
const at = 1.25,
|
|
1261
|
+
const at = 1.25, st = [
|
|
1256
1262
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1257
1263
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1258
1264
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1260,7 +1266,7 @@ const at = 1.25, nt = [
|
|
|
1260
1266
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1261
1267
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1262
1268
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1263
|
-
],
|
|
1269
|
+
], wr = ({
|
|
1264
1270
|
animate: r,
|
|
1265
1271
|
iconIndex: a
|
|
1266
1272
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1272,44 +1278,44 @@ const at = 1.25, nt = [
|
|
|
1272
1278
|
fill: "none",
|
|
1273
1279
|
"aria-hidden": !0,
|
|
1274
1280
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1275
|
-
children:
|
|
1281
|
+
children: st.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1276
1282
|
"rect",
|
|
1277
1283
|
{
|
|
1278
|
-
x:
|
|
1279
|
-
y:
|
|
1284
|
+
x: s.x,
|
|
1285
|
+
y: s.y,
|
|
1280
1286
|
width: at,
|
|
1281
|
-
height:
|
|
1287
|
+
height: s.height,
|
|
1282
1288
|
rx: at / 2,
|
|
1283
1289
|
fill: "#6B7280",
|
|
1284
1290
|
className: r ? "wave-bar-anim" : "",
|
|
1285
1291
|
style: {
|
|
1286
|
-
animationDelay: `${(a *
|
|
1292
|
+
animationDelay: `${(a * st.length + n) * 60}ms`
|
|
1287
1293
|
}
|
|
1288
1294
|
},
|
|
1289
|
-
|
|
1295
|
+
n
|
|
1290
1296
|
))
|
|
1291
1297
|
}
|
|
1292
|
-
),
|
|
1298
|
+
), ra = ({
|
|
1293
1299
|
avatarUrl: r,
|
|
1294
1300
|
question: a,
|
|
1295
|
-
description:
|
|
1296
|
-
audioSrc:
|
|
1297
|
-
className:
|
|
1301
|
+
description: s,
|
|
1302
|
+
audioSrc: n,
|
|
1303
|
+
className: l,
|
|
1298
1304
|
...c
|
|
1299
1305
|
}) => {
|
|
1300
|
-
const
|
|
1301
|
-
|
|
1302
|
-
!
|
|
1306
|
+
const f = k.useRef(null), m = k.useRef(!1), [d, p] = k.useState(!1), [u, h] = k.useState(!1);
|
|
1307
|
+
k.useEffect(() => {
|
|
1308
|
+
!n || m.current || (m.current = !0, f.current?.play().catch(() => {
|
|
1303
1309
|
}));
|
|
1304
|
-
}, [
|
|
1310
|
+
}, [n]);
|
|
1305
1311
|
const j = () => {
|
|
1306
|
-
const v =
|
|
1312
|
+
const v = f.current;
|
|
1307
1313
|
v && (v.muted = !v.muted, p(v.muted));
|
|
1308
1314
|
};
|
|
1309
1315
|
return /* @__PURE__ */ e.jsxs(
|
|
1310
1316
|
"div",
|
|
1311
1317
|
{
|
|
1312
|
-
className:
|
|
1318
|
+
className: o("flex w-full items-start gap-3 px-4 pb-6", l),
|
|
1313
1319
|
...c,
|
|
1314
1320
|
children: [
|
|
1315
1321
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
@@ -1349,13 +1355,13 @@ const at = 1.25, nt = [
|
|
|
1349
1355
|
),
|
|
1350
1356
|
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]", children: [
|
|
1351
1357
|
a,
|
|
1352
|
-
|
|
1353
|
-
|
|
1358
|
+
s,
|
|
1359
|
+
n && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1354
1360
|
/* @__PURE__ */ e.jsx(
|
|
1355
1361
|
"audio",
|
|
1356
1362
|
{
|
|
1357
|
-
ref:
|
|
1358
|
-
src:
|
|
1363
|
+
ref: f,
|
|
1364
|
+
src: n,
|
|
1359
1365
|
onPlay: () => h(!0),
|
|
1360
1366
|
onPause: () => h(!1),
|
|
1361
1367
|
onEnded: () => h(!1)
|
|
@@ -1369,13 +1375,13 @@ const at = 1.25, nt = [
|
|
|
1369
1375
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1370
1376
|
"aria-pressed": d,
|
|
1371
1377
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1372
|
-
children: d ? /* @__PURE__ */ e.jsx(
|
|
1378
|
+
children: d ? /* @__PURE__ */ e.jsx(yr, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(jr, { size: 18, className: "text-[#f75e22]" })
|
|
1373
1379
|
}
|
|
1374
1380
|
),
|
|
1375
1381
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((v) => /* @__PURE__ */ e.jsx(
|
|
1376
|
-
|
|
1382
|
+
wr,
|
|
1377
1383
|
{
|
|
1378
|
-
animate:
|
|
1384
|
+
animate: u && !d,
|
|
1379
1385
|
iconIndex: v
|
|
1380
1386
|
},
|
|
1381
1387
|
v
|
|
@@ -1386,63 +1392,63 @@ const at = 1.25, nt = [
|
|
|
1386
1392
|
]
|
|
1387
1393
|
}
|
|
1388
1394
|
);
|
|
1389
|
-
},
|
|
1395
|
+
}, Nr = {
|
|
1390
1396
|
sm: "size-9",
|
|
1391
1397
|
md: "size-11",
|
|
1392
1398
|
lg: "size-16"
|
|
1393
|
-
},
|
|
1394
|
-
({ icon: r, avatarUrl: a, alt:
|
|
1399
|
+
}, mt = k.forwardRef(
|
|
1400
|
+
({ icon: r, avatarUrl: a, alt: s = "", size: n = "md", className: l, ...c }, f) => /* @__PURE__ */ e.jsx(
|
|
1395
1401
|
"div",
|
|
1396
1402
|
{
|
|
1397
|
-
ref:
|
|
1398
|
-
className:
|
|
1403
|
+
ref: f,
|
|
1404
|
+
className: o(
|
|
1399
1405
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1400
|
-
|
|
1406
|
+
Nr[n],
|
|
1401
1407
|
!a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1402
|
-
|
|
1408
|
+
l
|
|
1403
1409
|
),
|
|
1404
1410
|
"aria-hidden": a ? void 0 : !0,
|
|
1405
1411
|
...c,
|
|
1406
|
-
children: a ? /* @__PURE__ */ e.jsx("img", { src: a, alt:
|
|
1412
|
+
children: a ? /* @__PURE__ */ e.jsx("img", { src: a, alt: s, className: "size-full object-cover" }) : r
|
|
1407
1413
|
}
|
|
1408
1414
|
)
|
|
1409
1415
|
);
|
|
1410
|
-
|
|
1411
|
-
const
|
|
1416
|
+
mt.displayName = "IconBadge";
|
|
1417
|
+
const ht = k.forwardRef(
|
|
1412
1418
|
({
|
|
1413
1419
|
selected: r = !1,
|
|
1414
1420
|
onSelect: a,
|
|
1415
|
-
icon:
|
|
1416
|
-
avatarUrl:
|
|
1417
|
-
iconSize:
|
|
1421
|
+
icon: s,
|
|
1422
|
+
avatarUrl: n,
|
|
1423
|
+
iconSize: l = "md",
|
|
1418
1424
|
iconClassName: c,
|
|
1419
|
-
title:
|
|
1425
|
+
title: f,
|
|
1420
1426
|
description: m,
|
|
1421
1427
|
badge: d,
|
|
1422
1428
|
showRadio: p = !0,
|
|
1423
|
-
radioVariant:
|
|
1429
|
+
radioVariant: u = "dot",
|
|
1424
1430
|
radioClassName: h,
|
|
1425
1431
|
tag: j,
|
|
1426
1432
|
tagClassName: v,
|
|
1427
|
-
children:
|
|
1433
|
+
children: E,
|
|
1428
1434
|
className: S,
|
|
1429
|
-
disabled:
|
|
1430
|
-
type:
|
|
1435
|
+
disabled: C,
|
|
1436
|
+
type: y = "button",
|
|
1431
1437
|
...b
|
|
1432
|
-
},
|
|
1438
|
+
}, O) => /* @__PURE__ */ e.jsxs(
|
|
1433
1439
|
"div",
|
|
1434
1440
|
{
|
|
1435
|
-
className:
|
|
1441
|
+
className: o(
|
|
1436
1442
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1437
1443
|
r ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1438
|
-
|
|
1444
|
+
C && "opacity-50",
|
|
1439
1445
|
S
|
|
1440
1446
|
),
|
|
1441
1447
|
children: [
|
|
1442
1448
|
j && /* @__PURE__ */ e.jsx(
|
|
1443
1449
|
"span",
|
|
1444
1450
|
{
|
|
1445
|
-
className:
|
|
1451
|
+
className: o(
|
|
1446
1452
|
"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",
|
|
1447
1453
|
v
|
|
1448
1454
|
),
|
|
@@ -1452,91 +1458,91 @@ const xt = w.forwardRef(
|
|
|
1452
1458
|
/* @__PURE__ */ e.jsxs(
|
|
1453
1459
|
"button",
|
|
1454
1460
|
{
|
|
1455
|
-
ref:
|
|
1456
|
-
type:
|
|
1461
|
+
ref: O,
|
|
1462
|
+
type: y,
|
|
1457
1463
|
role: "radio",
|
|
1458
1464
|
"aria-checked": r,
|
|
1459
|
-
disabled:
|
|
1465
|
+
disabled: C,
|
|
1460
1466
|
onClick: a,
|
|
1461
|
-
className:
|
|
1467
|
+
className: o(
|
|
1462
1468
|
"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",
|
|
1463
1469
|
j && "pt-7"
|
|
1464
1470
|
),
|
|
1465
1471
|
...b,
|
|
1466
1472
|
children: [
|
|
1467
|
-
(
|
|
1473
|
+
(s || n) && /* @__PURE__ */ e.jsx(mt, { icon: s, avatarUrl: n, size: l, className: c }),
|
|
1468
1474
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1469
|
-
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]", children:
|
|
1470
|
-
m && !
|
|
1475
|
+
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]", children: f }),
|
|
1476
|
+
m && !E && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: m })
|
|
1471
1477
|
] }),
|
|
1472
1478
|
d && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: d }),
|
|
1473
1479
|
p && /* @__PURE__ */ e.jsxs(
|
|
1474
1480
|
"span",
|
|
1475
1481
|
{
|
|
1476
1482
|
"aria-hidden": !0,
|
|
1477
|
-
className:
|
|
1483
|
+
className: o(
|
|
1478
1484
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1479
|
-
r ?
|
|
1485
|
+
r ? u === "check" ? o("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", h) : "border-[#f75e22]" : "border-gray-300"
|
|
1480
1486
|
),
|
|
1481
1487
|
children: [
|
|
1482
|
-
r &&
|
|
1488
|
+
r && u === "dot" && /* @__PURE__ */ e.jsx(
|
|
1483
1489
|
"span",
|
|
1484
1490
|
{
|
|
1485
|
-
className:
|
|
1491
|
+
className: o(
|
|
1486
1492
|
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1487
1493
|
h
|
|
1488
1494
|
)
|
|
1489
1495
|
}
|
|
1490
1496
|
),
|
|
1491
|
-
r &&
|
|
1497
|
+
r && u === "check" && /* @__PURE__ */ e.jsx(ke, { size: 14, "aria-hidden": !0 })
|
|
1492
1498
|
]
|
|
1493
1499
|
}
|
|
1494
1500
|
)
|
|
1495
1501
|
]
|
|
1496
1502
|
}
|
|
1497
1503
|
),
|
|
1498
|
-
|
|
1504
|
+
E
|
|
1499
1505
|
]
|
|
1500
1506
|
}
|
|
1501
1507
|
)
|
|
1502
1508
|
);
|
|
1503
|
-
|
|
1504
|
-
const
|
|
1509
|
+
ht.displayName = "SelectorCard";
|
|
1510
|
+
const aa = ({
|
|
1505
1511
|
value: r,
|
|
1506
1512
|
onClick: a,
|
|
1507
|
-
className:
|
|
1508
|
-
...
|
|
1513
|
+
className: s,
|
|
1514
|
+
...n
|
|
1509
1515
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1510
1516
|
"div",
|
|
1511
1517
|
{
|
|
1512
1518
|
role: a ? "button" : void 0,
|
|
1513
1519
|
tabIndex: a ? 0 : void 0,
|
|
1514
1520
|
onClick: a,
|
|
1515
|
-
className:
|
|
1521
|
+
className: o(
|
|
1516
1522
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1517
1523
|
a && "cursor-pointer",
|
|
1518
|
-
|
|
1524
|
+
s
|
|
1519
1525
|
),
|
|
1520
|
-
...
|
|
1526
|
+
...n,
|
|
1521
1527
|
children: [
|
|
1522
|
-
/* @__PURE__ */ e.jsx(
|
|
1528
|
+
/* @__PURE__ */ e.jsx(dt, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1523
1529
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: r })
|
|
1524
1530
|
]
|
|
1525
1531
|
}
|
|
1526
|
-
),
|
|
1532
|
+
), sa = ({
|
|
1527
1533
|
value: r,
|
|
1528
1534
|
onInfoClick: a,
|
|
1529
|
-
infoLabel:
|
|
1530
|
-
className:
|
|
1531
|
-
...
|
|
1535
|
+
infoLabel: s = "More info",
|
|
1536
|
+
className: n,
|
|
1537
|
+
...l
|
|
1532
1538
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1533
1539
|
"div",
|
|
1534
1540
|
{
|
|
1535
|
-
className:
|
|
1541
|
+
className: o(
|
|
1536
1542
|
"mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1537
|
-
|
|
1543
|
+
n
|
|
1538
1544
|
),
|
|
1539
|
-
...
|
|
1545
|
+
...l,
|
|
1540
1546
|
children: [
|
|
1541
1547
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: r }),
|
|
1542
1548
|
a ? /* @__PURE__ */ e.jsx(
|
|
@@ -1544,53 +1550,53 @@ const Dr = ({
|
|
|
1544
1550
|
{
|
|
1545
1551
|
type: "button",
|
|
1546
1552
|
onClick: a,
|
|
1547
|
-
"aria-label":
|
|
1553
|
+
"aria-label": s,
|
|
1548
1554
|
className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
|
|
1549
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1555
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
1550
1556
|
}
|
|
1551
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1557
|
+
) : /* @__PURE__ */ e.jsx(ue, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1552
1558
|
]
|
|
1553
1559
|
}
|
|
1554
|
-
),
|
|
1560
|
+
), kr = ({
|
|
1555
1561
|
value: r,
|
|
1556
1562
|
className: a,
|
|
1557
|
-
...
|
|
1563
|
+
...s
|
|
1558
1564
|
}) => /* @__PURE__ */ e.jsx(
|
|
1559
1565
|
"span",
|
|
1560
1566
|
{
|
|
1561
|
-
className:
|
|
1567
|
+
className: o(
|
|
1562
1568
|
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",
|
|
1563
1569
|
a
|
|
1564
1570
|
),
|
|
1565
|
-
...
|
|
1571
|
+
...s,
|
|
1566
1572
|
children: r
|
|
1567
1573
|
}
|
|
1568
|
-
),
|
|
1574
|
+
), Cr = ({ className: r, children: a, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1569
1575
|
"div",
|
|
1570
1576
|
{
|
|
1571
|
-
className:
|
|
1577
|
+
className: o(
|
|
1572
1578
|
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",
|
|
1573
1579
|
r
|
|
1574
1580
|
),
|
|
1575
|
-
...
|
|
1581
|
+
...s,
|
|
1576
1582
|
children: a
|
|
1577
1583
|
}
|
|
1578
|
-
),
|
|
1584
|
+
), na = ({
|
|
1579
1585
|
value: r,
|
|
1580
1586
|
onIncrement: a,
|
|
1581
|
-
onDecrement:
|
|
1582
|
-
min:
|
|
1583
|
-
max:
|
|
1587
|
+
onDecrement: s,
|
|
1588
|
+
min: n = 0,
|
|
1589
|
+
max: l,
|
|
1584
1590
|
addLabel: c = "Add",
|
|
1585
|
-
className:
|
|
1586
|
-
}) => r <=
|
|
1591
|
+
className: f
|
|
1592
|
+
}) => r <= n ? /* @__PURE__ */ e.jsxs(
|
|
1587
1593
|
"button",
|
|
1588
1594
|
{
|
|
1589
1595
|
type: "button",
|
|
1590
1596
|
onClick: a,
|
|
1591
|
-
className:
|
|
1597
|
+
className: o(
|
|
1592
1598
|
"inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] font-['Noto_Sans'] text-base font-bold text-white",
|
|
1593
|
-
|
|
1599
|
+
f
|
|
1594
1600
|
),
|
|
1595
1601
|
children: [
|
|
1596
1602
|
/* @__PURE__ */ e.jsx(rt, { size: 20, "aria-hidden": !0 }),
|
|
@@ -1600,19 +1606,19 @@ const Dr = ({
|
|
|
1600
1606
|
) : /* @__PURE__ */ e.jsxs(
|
|
1601
1607
|
"div",
|
|
1602
1608
|
{
|
|
1603
|
-
className:
|
|
1609
|
+
className: o(
|
|
1604
1610
|
"inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",
|
|
1605
|
-
|
|
1611
|
+
f
|
|
1606
1612
|
),
|
|
1607
1613
|
children: [
|
|
1608
1614
|
/* @__PURE__ */ e.jsx(
|
|
1609
1615
|
"button",
|
|
1610
1616
|
{
|
|
1611
1617
|
type: "button",
|
|
1612
|
-
onClick:
|
|
1618
|
+
onClick: s,
|
|
1613
1619
|
"aria-label": "Decrease quantity",
|
|
1614
1620
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1615
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1621
|
+
children: /* @__PURE__ */ e.jsx(xr, { size: 18, "aria-hidden": !0 })
|
|
1616
1622
|
}
|
|
1617
1623
|
),
|
|
1618
1624
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold", children: r }),
|
|
@@ -1621,7 +1627,7 @@ const Dr = ({
|
|
|
1621
1627
|
{
|
|
1622
1628
|
type: "button",
|
|
1623
1629
|
onClick: a,
|
|
1624
|
-
disabled:
|
|
1630
|
+
disabled: l !== void 0 && r >= l,
|
|
1625
1631
|
"aria-label": "Increase quantity",
|
|
1626
1632
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1627
1633
|
children: /* @__PURE__ */ e.jsx(rt, { size: 18, "aria-hidden": !0 })
|
|
@@ -1629,19 +1635,19 @@ const Dr = ({
|
|
|
1629
1635
|
)
|
|
1630
1636
|
]
|
|
1631
1637
|
}
|
|
1632
|
-
),
|
|
1638
|
+
), _r = ({
|
|
1633
1639
|
title: r,
|
|
1634
1640
|
description: a,
|
|
1635
|
-
price:
|
|
1636
|
-
originalPrice:
|
|
1637
|
-
action:
|
|
1641
|
+
price: s,
|
|
1642
|
+
originalPrice: n,
|
|
1643
|
+
action: l,
|
|
1638
1644
|
className: c,
|
|
1639
|
-
...
|
|
1645
|
+
...f
|
|
1640
1646
|
}) => /* @__PURE__ */ e.jsx(
|
|
1641
1647
|
"div",
|
|
1642
1648
|
{
|
|
1643
|
-
className:
|
|
1644
|
-
...
|
|
1649
|
+
className: o("rounded-2xl border border-gray-200 bg-white p-4", c),
|
|
1650
|
+
...f,
|
|
1645
1651
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1646
1652
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1647
1653
|
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[15px] leading-5 font-bold text-[#1d2125]", children: r }),
|
|
@@ -1649,88 +1655,88 @@ const Dr = ({
|
|
|
1649
1655
|
] }),
|
|
1650
1656
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-end gap-2", children: [
|
|
1651
1657
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-baseline gap-1.5 whitespace-nowrap", children: [
|
|
1652
|
-
|
|
1653
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1d2125]", children:
|
|
1658
|
+
n && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: n }),
|
|
1659
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1d2125]", children: s })
|
|
1654
1660
|
] }),
|
|
1655
|
-
|
|
1661
|
+
l
|
|
1656
1662
|
] })
|
|
1657
1663
|
] })
|
|
1658
1664
|
}
|
|
1659
|
-
),
|
|
1665
|
+
), ia = ({
|
|
1660
1666
|
children: r = "Change",
|
|
1661
1667
|
className: a,
|
|
1662
|
-
type:
|
|
1663
|
-
...
|
|
1668
|
+
type: s = "button",
|
|
1669
|
+
...n
|
|
1664
1670
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1665
1671
|
"button",
|
|
1666
1672
|
{
|
|
1667
|
-
type:
|
|
1668
|
-
className:
|
|
1673
|
+
type: s,
|
|
1674
|
+
className: o(
|
|
1669
1675
|
"inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900 transition-colors hover:bg-gray-50",
|
|
1670
1676
|
a
|
|
1671
1677
|
),
|
|
1672
|
-
...
|
|
1678
|
+
...n,
|
|
1673
1679
|
children: [
|
|
1674
|
-
/* @__PURE__ */ e.jsx(
|
|
1680
|
+
/* @__PURE__ */ e.jsx(dt, { size: 14, "aria-hidden": !0 }),
|
|
1675
1681
|
r
|
|
1676
1682
|
]
|
|
1677
1683
|
}
|
|
1678
|
-
),
|
|
1684
|
+
), la = ({
|
|
1679
1685
|
children: r = "Added",
|
|
1680
1686
|
className: a,
|
|
1681
|
-
type:
|
|
1682
|
-
...
|
|
1687
|
+
type: s = "button",
|
|
1688
|
+
...n
|
|
1683
1689
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1684
1690
|
"button",
|
|
1685
1691
|
{
|
|
1686
|
-
type:
|
|
1687
|
-
className:
|
|
1692
|
+
type: s,
|
|
1693
|
+
className: o(
|
|
1688
1694
|
"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",
|
|
1689
1695
|
a
|
|
1690
1696
|
),
|
|
1691
|
-
...
|
|
1697
|
+
...n,
|
|
1692
1698
|
children: [
|
|
1693
1699
|
/* @__PURE__ */ e.jsx(ke, { size: 14, "aria-hidden": !0 }),
|
|
1694
1700
|
r
|
|
1695
1701
|
]
|
|
1696
1702
|
}
|
|
1697
|
-
),
|
|
1703
|
+
), Er = ({
|
|
1698
1704
|
image: r,
|
|
1699
1705
|
imageAlt: a = "",
|
|
1700
|
-
title:
|
|
1701
|
-
description:
|
|
1702
|
-
price:
|
|
1706
|
+
title: s,
|
|
1707
|
+
description: n,
|
|
1708
|
+
price: l,
|
|
1703
1709
|
originalPrice: c,
|
|
1704
|
-
tag:
|
|
1710
|
+
tag: f,
|
|
1705
1711
|
tagClassName: m,
|
|
1706
1712
|
action: d,
|
|
1707
1713
|
className: p,
|
|
1708
|
-
...
|
|
1714
|
+
...u
|
|
1709
1715
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1710
1716
|
"div",
|
|
1711
1717
|
{
|
|
1712
|
-
className:
|
|
1718
|
+
className: o(
|
|
1713
1719
|
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1714
1720
|
p
|
|
1715
1721
|
),
|
|
1716
|
-
...
|
|
1722
|
+
...u,
|
|
1717
1723
|
children: [
|
|
1718
|
-
|
|
1724
|
+
f && /* @__PURE__ */ e.jsx(
|
|
1719
1725
|
"div",
|
|
1720
1726
|
{
|
|
1721
|
-
className:
|
|
1727
|
+
className: o(
|
|
1722
1728
|
"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",
|
|
1723
1729
|
m
|
|
1724
1730
|
),
|
|
1725
|
-
children:
|
|
1731
|
+
children: f
|
|
1726
1732
|
}
|
|
1727
1733
|
),
|
|
1728
1734
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
|
|
1729
1735
|
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1730
|
-
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-sm leading-5 font-bold text-[#232323]", children:
|
|
1731
|
-
|
|
1736
|
+
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-sm leading-5 font-bold text-[#232323]", children: s }),
|
|
1737
|
+
n && /* @__PURE__ */ e.jsx("p", { className: " font-['Noto_Sans'] mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1732
1738
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1733
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children:
|
|
1739
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: l }),
|
|
1734
1740
|
c && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: c })
|
|
1735
1741
|
] })
|
|
1736
1742
|
] }),
|
|
@@ -1742,296 +1748,296 @@ const Dr = ({
|
|
|
1742
1748
|
]
|
|
1743
1749
|
}
|
|
1744
1750
|
);
|
|
1745
|
-
function
|
|
1746
|
-
return
|
|
1751
|
+
function Sr(r) {
|
|
1752
|
+
return T({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(r);
|
|
1747
1753
|
}
|
|
1748
|
-
function
|
|
1749
|
-
return
|
|
1754
|
+
function Rr(r) {
|
|
1755
|
+
return T({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56" }, child: [] }, { tag: "path", attr: { d: "M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0" }, child: [] }] })(r);
|
|
1750
1756
|
}
|
|
1751
|
-
function
|
|
1752
|
-
return
|
|
1757
|
+
function zr(r) {
|
|
1758
|
+
return T({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z" }, child: [] }, { tag: "path", attr: { d: "M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z" }, child: [] }, { tag: "path", attr: { d: "M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(r);
|
|
1753
1759
|
}
|
|
1754
|
-
const
|
|
1755
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1756
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1757
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1758
|
-
],
|
|
1759
|
-
badges: r =
|
|
1760
|
+
const Or = [
|
|
1761
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Rr, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1762
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Sr, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1763
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(zr, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1764
|
+
], Pr = ({
|
|
1765
|
+
badges: r = Or,
|
|
1760
1766
|
badgeClassName: a,
|
|
1761
|
-
className:
|
|
1762
|
-
...
|
|
1767
|
+
className: s,
|
|
1768
|
+
...n
|
|
1763
1769
|
}) => /* @__PURE__ */ e.jsx(
|
|
1764
1770
|
"div",
|
|
1765
1771
|
{
|
|
1766
|
-
className:
|
|
1772
|
+
className: o(
|
|
1767
1773
|
"flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
|
|
1768
1774
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
1769
|
-
|
|
1775
|
+
s
|
|
1770
1776
|
),
|
|
1771
|
-
...
|
|
1772
|
-
children: r.map((
|
|
1777
|
+
...n,
|
|
1778
|
+
children: r.map((l) => /* @__PURE__ */ e.jsxs(
|
|
1773
1779
|
"span",
|
|
1774
1780
|
{
|
|
1775
|
-
className:
|
|
1781
|
+
className: o("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", a, l.className),
|
|
1776
1782
|
children: [
|
|
1777
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children:
|
|
1778
|
-
|
|
1783
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: l.icon }),
|
|
1784
|
+
l.label
|
|
1779
1785
|
]
|
|
1780
1786
|
},
|
|
1781
|
-
|
|
1787
|
+
l.id
|
|
1782
1788
|
))
|
|
1783
1789
|
}
|
|
1784
|
-
),
|
|
1790
|
+
), Tr = ({
|
|
1785
1791
|
amount: r,
|
|
1786
1792
|
amountClassName: a,
|
|
1787
|
-
subtitle:
|
|
1788
|
-
subtitleClassName:
|
|
1789
|
-
showInfoIcon:
|
|
1793
|
+
subtitle: s,
|
|
1794
|
+
subtitleClassName: n,
|
|
1795
|
+
showInfoIcon: l = !0,
|
|
1790
1796
|
onInfoClick: c,
|
|
1791
|
-
infoIconClassName:
|
|
1797
|
+
infoIconClassName: f,
|
|
1792
1798
|
proceedLabel: m = "Proceed",
|
|
1793
|
-
proceedIcon: d = /* @__PURE__ */ e.jsx(
|
|
1799
|
+
proceedIcon: d = /* @__PURE__ */ e.jsx(ut, { "aria-hidden": !0 }),
|
|
1794
1800
|
onProceed: p,
|
|
1795
|
-
proceedButtonProps:
|
|
1801
|
+
proceedButtonProps: u,
|
|
1796
1802
|
buttonWrapperClassName: h,
|
|
1797
1803
|
className: j,
|
|
1798
1804
|
...v
|
|
1799
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1805
|
+
}) => /* @__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), ...v, children: [
|
|
1800
1806
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1801
1807
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1802
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1803
|
-
|
|
1808
|
+
/* @__PURE__ */ e.jsx("span", { className: o("text-xl font-extrabold text-[#1d2125]", a), children: r }),
|
|
1809
|
+
l && /* @__PURE__ */ e.jsx(
|
|
1804
1810
|
"button",
|
|
1805
1811
|
{
|
|
1806
1812
|
type: "button",
|
|
1807
1813
|
onClick: c,
|
|
1808
1814
|
"aria-label": "View bill details",
|
|
1809
|
-
className:
|
|
1815
|
+
className: o(
|
|
1810
1816
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1811
1817
|
!c && "pointer-events-none",
|
|
1812
|
-
|
|
1818
|
+
f
|
|
1813
1819
|
),
|
|
1814
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1820
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
1815
1821
|
}
|
|
1816
1822
|
)
|
|
1817
1823
|
] }),
|
|
1818
|
-
|
|
1824
|
+
s && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", n), children: s })
|
|
1819
1825
|
] }),
|
|
1820
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1826
|
+
/* @__PURE__ */ e.jsx("div", { className: o("shrink-0", h), children: /* @__PURE__ */ e.jsxs(H, { variant: "primary", size: "xl", onClick: p, ...u, className: o("min-w-40 justify-center gap-2", u?.className), children: [
|
|
1821
1827
|
m,
|
|
1822
1828
|
d
|
|
1823
1829
|
] }) })
|
|
1824
|
-
] }),
|
|
1830
|
+
] }), oa = ({
|
|
1825
1831
|
title: r,
|
|
1826
1832
|
description: a,
|
|
1827
|
-
benefits:
|
|
1828
|
-
options:
|
|
1829
|
-
value:
|
|
1833
|
+
benefits: s,
|
|
1834
|
+
options: n,
|
|
1835
|
+
value: l,
|
|
1830
1836
|
onChange: c,
|
|
1831
|
-
radioVariant:
|
|
1837
|
+
radioVariant: f = "dot",
|
|
1832
1838
|
radiogroupLabel: m,
|
|
1833
1839
|
className: d,
|
|
1834
1840
|
headerClassName: p,
|
|
1835
|
-
benefitsClassName:
|
|
1841
|
+
benefitsClassName: u,
|
|
1836
1842
|
optionsClassName: h,
|
|
1837
1843
|
trustBadges: j,
|
|
1838
1844
|
checkout: v,
|
|
1839
|
-
stickyFooter:
|
|
1845
|
+
stickyFooter: E = !0,
|
|
1840
1846
|
footerClassName: S
|
|
1841
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1842
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1847
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o("w-full", d), children: [
|
|
1848
|
+
/* @__PURE__ */ e.jsxs("div", { className: o("px-4 pt-5 pb-4", p), children: [
|
|
1843
1849
|
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: r }),
|
|
1844
1850
|
a && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: a })
|
|
1845
1851
|
] }),
|
|
1846
|
-
|
|
1852
|
+
s && s.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: s.map((C, y) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1847
1853
|
/* @__PURE__ */ e.jsx(ke, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1848
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
1849
|
-
] },
|
|
1854
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: C })
|
|
1855
|
+
] }, y)) }),
|
|
1850
1856
|
/* @__PURE__ */ e.jsx(
|
|
1851
1857
|
"div",
|
|
1852
1858
|
{
|
|
1853
1859
|
role: "radiogroup",
|
|
1854
1860
|
"aria-label": m ?? (typeof r == "string" ? r : void 0),
|
|
1855
|
-
className:
|
|
1856
|
-
children:
|
|
1861
|
+
className: o("flex flex-col gap-3 p-4", h),
|
|
1862
|
+
children: n.map((C) => {
|
|
1857
1863
|
const {
|
|
1858
|
-
id:
|
|
1864
|
+
id: y,
|
|
1859
1865
|
price: b,
|
|
1860
|
-
free:
|
|
1861
|
-
badge:
|
|
1866
|
+
free: O,
|
|
1867
|
+
badge: w,
|
|
1862
1868
|
priceBadgeProps: P,
|
|
1863
|
-
note:
|
|
1864
|
-
noteProps:
|
|
1865
|
-
children:
|
|
1866
|
-
iconClassName:
|
|
1867
|
-
radioVariant:
|
|
1868
|
-
...
|
|
1869
|
-
} =
|
|
1869
|
+
note: V,
|
|
1870
|
+
noteProps: Y,
|
|
1871
|
+
children: $,
|
|
1872
|
+
iconClassName: W,
|
|
1873
|
+
radioVariant: M,
|
|
1874
|
+
...X
|
|
1875
|
+
} = C, U = l === y, B = w ?? (b == null ? void 0 : O ? /* @__PURE__ */ e.jsx("span", { className: o("text-sm font-medium text-gray-400", P?.className), ...P, children: b }) : /* @__PURE__ */ e.jsx(kr, { value: b, ...P }));
|
|
1870
1876
|
return /* @__PURE__ */ e.jsx(
|
|
1871
|
-
|
|
1877
|
+
ht,
|
|
1872
1878
|
{
|
|
1873
|
-
...
|
|
1874
|
-
iconClassName:
|
|
1875
|
-
radioVariant:
|
|
1879
|
+
...X,
|
|
1880
|
+
iconClassName: o("size-10", W),
|
|
1881
|
+
radioVariant: M ?? f,
|
|
1876
1882
|
badge: B,
|
|
1877
|
-
selected:
|
|
1878
|
-
onSelect: () => c(
|
|
1879
|
-
children:
|
|
1883
|
+
selected: U,
|
|
1884
|
+
onSelect: () => c(y),
|
|
1885
|
+
children: $ ?? (U && V && /* @__PURE__ */ e.jsx(Cr, { ...Y, children: V }))
|
|
1880
1886
|
},
|
|
1881
|
-
|
|
1887
|
+
y
|
|
1882
1888
|
);
|
|
1883
1889
|
})
|
|
1884
1890
|
}
|
|
1885
1891
|
),
|
|
1886
|
-
(j || v) && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1887
|
-
j && /* @__PURE__ */ e.jsx(
|
|
1888
|
-
v && /* @__PURE__ */ e.jsx(
|
|
1892
|
+
(j || v) && /* @__PURE__ */ e.jsxs("div", { className: o(E && "sticky bottom-0 z-10", S), children: [
|
|
1893
|
+
j && /* @__PURE__ */ e.jsx(Pr, { ...j }),
|
|
1894
|
+
v && /* @__PURE__ */ e.jsx(Tr, { ...v })
|
|
1889
1895
|
] })
|
|
1890
|
-
] }),
|
|
1891
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
1896
|
+
] }), Lr = ({
|
|
1897
|
+
icon: r = /* @__PURE__ */ e.jsx(ct, { "aria-hidden": !0 }),
|
|
1892
1898
|
iconClassName: a,
|
|
1893
|
-
title:
|
|
1894
|
-
titleClassName:
|
|
1895
|
-
subtitle:
|
|
1899
|
+
title: s,
|
|
1900
|
+
titleClassName: n,
|
|
1901
|
+
subtitle: l,
|
|
1896
1902
|
subtitleItems: c,
|
|
1897
|
-
subtitleClassName:
|
|
1903
|
+
subtitleClassName: f,
|
|
1898
1904
|
cardClassName: m,
|
|
1899
1905
|
className: d,
|
|
1900
1906
|
...p
|
|
1901
|
-
}) => /* @__PURE__ */ e.jsx("div", { className:
|
|
1902
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
1903
|
-
r && /* @__PURE__ */ e.jsx("span", { className:
|
|
1904
|
-
|
|
1907
|
+
}) => /* @__PURE__ */ e.jsx("div", { className: o("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", d), ...p, children: /* @__PURE__ */ e.jsxs("div", { className: o("rounded-2xl bg-white p-4 shadow-sm", m), children: [
|
|
1908
|
+
/* @__PURE__ */ e.jsxs("p", { className: o("flex items-center gap-2 text-sm font-bold text-[#db2777]", n), children: [
|
|
1909
|
+
r && /* @__PURE__ */ e.jsx("span", { className: o("shrink-0 text-sm", a), children: r }),
|
|
1910
|
+
s
|
|
1905
1911
|
] }),
|
|
1906
|
-
(
|
|
1912
|
+
(l || c && c.length > 0) && /* @__PURE__ */ e.jsx("p", { className: o("mt-2 text-[15px] font-semibold text-[#1d2125]", f), children: c && c.length > 0 ? c.map((u, h) => /* @__PURE__ */ e.jsxs(k.Fragment, { children: [
|
|
1907
1913
|
h > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
1908
|
-
|
|
1909
|
-
] }, h)) :
|
|
1910
|
-
] }) }),
|
|
1914
|
+
u
|
|
1915
|
+
] }, h)) : l })
|
|
1916
|
+
] }) }), Ar = ({
|
|
1911
1917
|
title: r = "Bill Details",
|
|
1912
1918
|
titleClassName: a,
|
|
1913
|
-
rows:
|
|
1914
|
-
rowClassName:
|
|
1915
|
-
showTitleAccent:
|
|
1919
|
+
rows: s,
|
|
1920
|
+
rowClassName: n,
|
|
1921
|
+
showTitleAccent: l = !0,
|
|
1916
1922
|
totalLabel: c = "Total Amount",
|
|
1917
|
-
totalValue:
|
|
1923
|
+
totalValue: f,
|
|
1918
1924
|
totalClassName: m,
|
|
1919
1925
|
className: d,
|
|
1920
1926
|
...p
|
|
1921
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1922
|
-
/* @__PURE__ */ e.jsxs("h2", { className:
|
|
1923
|
-
|
|
1927
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o("bg-white px-4 py-6", d), ...p, children: [
|
|
1928
|
+
/* @__PURE__ */ e.jsxs("h2", { className: o("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", a), children: [
|
|
1929
|
+
l && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
1924
1930
|
r
|
|
1925
1931
|
] }),
|
|
1926
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children:
|
|
1932
|
+
/* @__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: [
|
|
1927
1933
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
1928
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1929
|
-
|
|
1934
|
+
/* @__PURE__ */ e.jsx("p", { className: o("text-sm text-[#1d2125]", u.labelClassName), children: u.label }),
|
|
1935
|
+
u.subLabel && /* @__PURE__ */ e.jsx("p", { className: o("mt-0.5 text-xs text-gray-400", u.subLabelClassName), children: u.subLabel })
|
|
1930
1936
|
] }),
|
|
1931
1937
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1938
|
+
u.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: u.note }),
|
|
1939
|
+
u.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: u.originalValue }),
|
|
1940
|
+
/* @__PURE__ */ e.jsx("span", { className: o("font-medium text-[#1d2125]", u.valueClassName), children: u.value })
|
|
1935
1941
|
] })
|
|
1936
|
-
] },
|
|
1937
|
-
|
|
1942
|
+
] }, u.id)) }),
|
|
1943
|
+
f !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: o("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", m), children: [
|
|
1938
1944
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: c }),
|
|
1939
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children:
|
|
1945
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: f })
|
|
1940
1946
|
] })
|
|
1941
|
-
] }),
|
|
1947
|
+
] }), ca = ({
|
|
1942
1948
|
headerTitle: r = "Review your booking",
|
|
1943
1949
|
onBack: a,
|
|
1944
|
-
backButtonAriaLabel:
|
|
1945
|
-
headerClassName:
|
|
1946
|
-
backButtonClassName:
|
|
1950
|
+
backButtonAriaLabel: s = "Go back",
|
|
1951
|
+
headerClassName: n,
|
|
1952
|
+
backButtonClassName: l,
|
|
1947
1953
|
headerTitleClassName: c,
|
|
1948
|
-
summary:
|
|
1954
|
+
summary: f,
|
|
1949
1955
|
items: m,
|
|
1950
1956
|
itemsClassName: d,
|
|
1951
1957
|
itemClassName: p,
|
|
1952
|
-
upsellsTitle:
|
|
1958
|
+
upsellsTitle: u = "Add services for all ancestors",
|
|
1953
1959
|
upsellsDescription: h,
|
|
1954
1960
|
upsells: j,
|
|
1955
1961
|
upsellsSectionClassName: v,
|
|
1956
|
-
upsellsHeaderClassName:
|
|
1962
|
+
upsellsHeaderClassName: E,
|
|
1957
1963
|
upsellsTitleClassName: S,
|
|
1958
|
-
upsellsDescriptionClassName:
|
|
1959
|
-
upsellsClassName:
|
|
1964
|
+
upsellsDescriptionClassName: C,
|
|
1965
|
+
upsellsClassName: y,
|
|
1960
1966
|
upsellClassName: b,
|
|
1961
|
-
billDetails:
|
|
1962
|
-
faq:
|
|
1967
|
+
billDetails: O,
|
|
1968
|
+
faq: w,
|
|
1963
1969
|
className: P,
|
|
1964
|
-
children:
|
|
1965
|
-
...
|
|
1966
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1967
|
-
(r || a) && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1970
|
+
children: V,
|
|
1971
|
+
...Y
|
|
1972
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col bg-white", P), ...Y, children: [
|
|
1973
|
+
(r || a) && /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 px-4 py-3", n), children: [
|
|
1968
1974
|
a && /* @__PURE__ */ e.jsx(
|
|
1969
1975
|
"button",
|
|
1970
1976
|
{
|
|
1971
1977
|
type: "button",
|
|
1972
1978
|
onClick: a,
|
|
1973
|
-
"aria-label":
|
|
1974
|
-
className:
|
|
1979
|
+
"aria-label": s,
|
|
1980
|
+
className: o(
|
|
1975
1981
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
1976
|
-
|
|
1982
|
+
l
|
|
1977
1983
|
),
|
|
1978
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1984
|
+
children: /* @__PURE__ */ e.jsx(ft, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1979
1985
|
}
|
|
1980
1986
|
),
|
|
1981
|
-
r && /* @__PURE__ */ e.jsx("h1", { className:
|
|
1987
|
+
r && /* @__PURE__ */ e.jsx("h1", { className: o("text-lg font-bold text-[#1d2125]", c), children: r })
|
|
1982
1988
|
] }),
|
|
1983
|
-
|
|
1984
|
-
m && m.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
1985
|
-
j && j.length > 0 && /* @__PURE__ */ e.jsxs("div", { className:
|
|
1986
|
-
(
|
|
1987
|
-
|
|
1988
|
-
h && /* @__PURE__ */ e.jsx("p", { className:
|
|
1989
|
+
f && /* @__PURE__ */ e.jsx(Lr, { ...f }),
|
|
1990
|
+
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 }, $)) }),
|
|
1991
|
+
j && j.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-4 bg-gray-50 px-4 py-6", v), children: [
|
|
1992
|
+
(u || h) && /* @__PURE__ */ e.jsxs("div", { className: E, children: [
|
|
1993
|
+
u && /* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", S), children: u }),
|
|
1994
|
+
h && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", C), children: h })
|
|
1989
1995
|
] }),
|
|
1990
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1996
|
+
/* @__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 }, $)) })
|
|
1991
1997
|
] }),
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
] }),
|
|
1998
|
+
O && /* @__PURE__ */ e.jsx(Ar, { ...O }),
|
|
1999
|
+
w && /* @__PURE__ */ e.jsx(pr, { ...w }),
|
|
2000
|
+
V
|
|
2001
|
+
] }), pt = k.forwardRef(
|
|
1996
2002
|
({
|
|
1997
2003
|
label: r,
|
|
1998
2004
|
value: a,
|
|
1999
|
-
onChange:
|
|
2000
|
-
prefix:
|
|
2001
|
-
showCharCount:
|
|
2005
|
+
onChange: s,
|
|
2006
|
+
prefix: n,
|
|
2007
|
+
showCharCount: l = !1,
|
|
2002
2008
|
supportingText: c,
|
|
2003
|
-
error:
|
|
2009
|
+
error: f = !1,
|
|
2004
2010
|
className: m,
|
|
2005
2011
|
containerClassName: d,
|
|
2006
2012
|
wrapperClassName: p,
|
|
2007
|
-
maxLength:
|
|
2013
|
+
maxLength: u,
|
|
2008
2014
|
id: h,
|
|
2009
2015
|
...j
|
|
2010
2016
|
}, v) => {
|
|
2011
|
-
const
|
|
2012
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2017
|
+
const E = k.useId(), S = h ?? E, C = c ?? (l ? `${a.length}${u ? `/${u}` : ""}` : void 0);
|
|
2018
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("flex w-full flex-col gap-2", d), children: [
|
|
2013
2019
|
r && /* @__PURE__ */ e.jsx("label", { htmlFor: S, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: r }),
|
|
2014
2020
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2015
2021
|
/* @__PURE__ */ e.jsxs(
|
|
2016
2022
|
"div",
|
|
2017
2023
|
{
|
|
2018
|
-
className:
|
|
2024
|
+
className: o(
|
|
2019
2025
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
2020
|
-
|
|
2026
|
+
f ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
2021
2027
|
p
|
|
2022
2028
|
),
|
|
2023
2029
|
children: [
|
|
2024
|
-
|
|
2030
|
+
n && /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]", children: n }),
|
|
2025
2031
|
/* @__PURE__ */ e.jsx(
|
|
2026
2032
|
"input",
|
|
2027
2033
|
{
|
|
2028
2034
|
ref: v,
|
|
2029
2035
|
id: S,
|
|
2030
2036
|
value: a,
|
|
2031
|
-
maxLength:
|
|
2032
|
-
onChange: (
|
|
2033
|
-
"aria-invalid":
|
|
2034
|
-
className:
|
|
2037
|
+
maxLength: u,
|
|
2038
|
+
onChange: (y) => s(y.target.value),
|
|
2039
|
+
"aria-invalid": f,
|
|
2040
|
+
className: o(
|
|
2035
2041
|
"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",
|
|
2036
2042
|
m
|
|
2037
2043
|
),
|
|
@@ -2041,24 +2047,24 @@ const _r = [
|
|
|
2041
2047
|
]
|
|
2042
2048
|
}
|
|
2043
2049
|
),
|
|
2044
|
-
|
|
2050
|
+
C && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: C })
|
|
2045
2051
|
] })
|
|
2046
2052
|
] });
|
|
2047
2053
|
}
|
|
2048
2054
|
);
|
|
2049
|
-
|
|
2050
|
-
function
|
|
2055
|
+
pt.displayName = "TextField";
|
|
2056
|
+
function da({
|
|
2051
2057
|
isOpen: r,
|
|
2052
2058
|
onClose: a,
|
|
2053
|
-
avatarUrl:
|
|
2054
|
-
heading:
|
|
2055
|
-
tithis:
|
|
2059
|
+
avatarUrl: s,
|
|
2060
|
+
heading: n,
|
|
2061
|
+
tithis: l,
|
|
2056
2062
|
confirmLabel: c,
|
|
2057
|
-
onConfirm:
|
|
2063
|
+
onConfirm: f,
|
|
2058
2064
|
initialTithi: m
|
|
2059
2065
|
}) {
|
|
2060
|
-
const [d, p] =
|
|
2061
|
-
d &&
|
|
2066
|
+
const [d, p] = q(m), u = () => {
|
|
2067
|
+
d && f(d);
|
|
2062
2068
|
};
|
|
2063
2069
|
return /* @__PURE__ */ e.jsx(
|
|
2064
2070
|
Ne,
|
|
@@ -2066,29 +2072,30 @@ function Ur({
|
|
|
2066
2072
|
isOpen: r,
|
|
2067
2073
|
onClose: a,
|
|
2068
2074
|
showDragHandle: !0,
|
|
2069
|
-
|
|
2075
|
+
closeButtonOutside: !0,
|
|
2076
|
+
ariaLabel: n,
|
|
2070
2077
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2071
2078
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
2072
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2073
|
-
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]", children:
|
|
2079
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]", children: /* @__PURE__ */ e.jsx("img", { src: s, alt: "", className: "size-full object-cover" }) }),
|
|
2080
|
+
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]", children: n })
|
|
2074
2081
|
] }),
|
|
2075
2082
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" })
|
|
2076
2083
|
] }),
|
|
2077
2084
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2078
2085
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2079
2086
|
/* @__PURE__ */ e.jsx(
|
|
2080
|
-
|
|
2087
|
+
H,
|
|
2081
2088
|
{
|
|
2082
2089
|
variant: "primary",
|
|
2083
2090
|
size: "md",
|
|
2084
2091
|
className: "w-full rounded-xl",
|
|
2085
2092
|
disabled: !d,
|
|
2086
|
-
onClick:
|
|
2093
|
+
onClick: u,
|
|
2087
2094
|
children: c
|
|
2088
2095
|
}
|
|
2089
2096
|
)
|
|
2090
2097
|
] }),
|
|
2091
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children:
|
|
2098
|
+
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((h) => {
|
|
2092
2099
|
const j = d === h;
|
|
2093
2100
|
return /* @__PURE__ */ e.jsx(
|
|
2094
2101
|
"button",
|
|
@@ -2104,36 +2111,36 @@ function Ur({
|
|
|
2104
2111
|
}
|
|
2105
2112
|
);
|
|
2106
2113
|
}
|
|
2107
|
-
const
|
|
2108
|
-
function
|
|
2109
|
-
const
|
|
2110
|
-
|
|
2111
|
-
|
|
2114
|
+
const oe = 48;
|
|
2115
|
+
function ye({ options: r, selectedIndex: a, onChange: s }) {
|
|
2116
|
+
const n = k.useRef(null), l = k.useRef(!1);
|
|
2117
|
+
k.useEffect(() => {
|
|
2118
|
+
l.current || !n.current || (l.current = !0, n.current.scrollTop = a * oe);
|
|
2112
2119
|
}, []);
|
|
2113
2120
|
const c = () => {
|
|
2114
|
-
if (!
|
|
2115
|
-
const
|
|
2116
|
-
m !== a &&
|
|
2121
|
+
if (!n.current) return;
|
|
2122
|
+
const f = Math.round(n.current.scrollTop / oe), m = Math.max(0, Math.min(r.length - 1, f));
|
|
2123
|
+
m !== a && s(m);
|
|
2117
2124
|
};
|
|
2118
2125
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
2119
2126
|
/* @__PURE__ */ e.jsxs(
|
|
2120
2127
|
"div",
|
|
2121
2128
|
{
|
|
2122
|
-
ref:
|
|
2129
|
+
ref: n,
|
|
2123
2130
|
onScroll: c,
|
|
2124
2131
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2125
2132
|
style: { scrollbarWidth: "none" },
|
|
2126
2133
|
children: [
|
|
2127
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2128
|
-
r.map((
|
|
2134
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: oe }, "aria-hidden": !0 }),
|
|
2135
|
+
r.map((f, m) => /* @__PURE__ */ e.jsx(
|
|
2129
2136
|
"div",
|
|
2130
2137
|
{
|
|
2131
2138
|
className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${m === a ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
|
|
2132
|
-
children:
|
|
2139
|
+
children: f
|
|
2133
2140
|
},
|
|
2134
|
-
|
|
2141
|
+
f
|
|
2135
2142
|
)),
|
|
2136
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2143
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: oe }, "aria-hidden": !0 })
|
|
2137
2144
|
]
|
|
2138
2145
|
}
|
|
2139
2146
|
),
|
|
@@ -2141,27 +2148,27 @@ function je({ options: r, selectedIndex: a, onChange: n }) {
|
|
|
2141
2148
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2142
2149
|
] });
|
|
2143
2150
|
}
|
|
2144
|
-
const
|
|
2145
|
-
function
|
|
2151
|
+
const we = Array.from({ length: 31 }, (r, a) => a + 1);
|
|
2152
|
+
function ua({
|
|
2146
2153
|
isOpen: r,
|
|
2147
2154
|
onClose: a,
|
|
2148
|
-
avatarUrl:
|
|
2149
|
-
heading:
|
|
2150
|
-
monthLabels:
|
|
2155
|
+
avatarUrl: s,
|
|
2156
|
+
heading: n,
|
|
2157
|
+
monthLabels: l,
|
|
2151
2158
|
confirmLabel: c,
|
|
2152
|
-
onConfirm:
|
|
2159
|
+
onConfirm: f,
|
|
2153
2160
|
timezoneLabel: m,
|
|
2154
2161
|
initialDate: d,
|
|
2155
2162
|
minYear: p,
|
|
2156
|
-
maxYear:
|
|
2163
|
+
maxYear: u = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2157
2164
|
}) {
|
|
2158
|
-
const h =
|
|
2159
|
-
const
|
|
2160
|
-
return Array.from({ length:
|
|
2161
|
-
}, [p,
|
|
2165
|
+
const h = Ut(() => {
|
|
2166
|
+
const O = p ?? u - 120;
|
|
2167
|
+
return Array.from({ length: u - O + 1 }, (w, P) => O + P);
|
|
2168
|
+
}, [p, u]), [j, v] = q(() => d ? d.day - 1 : Math.floor(we.length / 2)), [E, S] = q(() => d ? d.month - 1 : 0), [C, y] = q(
|
|
2162
2169
|
() => d ? Math.max(0, h.indexOf(d.year)) : Math.floor(h.length / 2)
|
|
2163
2170
|
), b = () => {
|
|
2164
|
-
|
|
2171
|
+
f({ day: we[j], month: E + 1, year: h[C] });
|
|
2165
2172
|
};
|
|
2166
2173
|
return /* @__PURE__ */ e.jsx(
|
|
2167
2174
|
Ne,
|
|
@@ -2169,11 +2176,12 @@ function Gr({
|
|
|
2169
2176
|
isOpen: r,
|
|
2170
2177
|
onClose: a,
|
|
2171
2178
|
showDragHandle: !0,
|
|
2172
|
-
|
|
2179
|
+
closeButtonOutside: !0,
|
|
2180
|
+
ariaLabel: n,
|
|
2173
2181
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2174
2182
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
2175
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
2176
|
-
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]", children:
|
|
2183
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]", children: /* @__PURE__ */ e.jsx("img", { src: s, alt: "", className: "size-full object-cover" }) }),
|
|
2184
|
+
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]", children: n })
|
|
2177
2185
|
] }),
|
|
2178
2186
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" })
|
|
2179
2187
|
] }),
|
|
@@ -2181,42 +2189,42 @@ function Gr({
|
|
|
2181
2189
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2182
2190
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2183
2191
|
m && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: m }),
|
|
2184
|
-
/* @__PURE__ */ e.jsx(
|
|
2192
|
+
/* @__PURE__ */ e.jsx(H, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: b, children: c })
|
|
2185
2193
|
] })
|
|
2186
2194
|
] }),
|
|
2187
2195
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2188
|
-
/* @__PURE__ */ e.jsx(
|
|
2189
|
-
/* @__PURE__ */ e.jsx(
|
|
2190
|
-
/* @__PURE__ */ e.jsx(
|
|
2196
|
+
/* @__PURE__ */ e.jsx(ye, { options: we.map(String), selectedIndex: j, onChange: v }),
|
|
2197
|
+
/* @__PURE__ */ e.jsx(ye, { options: l, selectedIndex: E, onChange: S }),
|
|
2198
|
+
/* @__PURE__ */ e.jsx(ye, { options: h.map(String), selectedIndex: C, onChange: y })
|
|
2191
2199
|
] })
|
|
2192
2200
|
}
|
|
2193
2201
|
);
|
|
2194
2202
|
}
|
|
2195
|
-
function
|
|
2203
|
+
function fa({
|
|
2196
2204
|
isOpen: r,
|
|
2197
2205
|
onClose: a,
|
|
2198
|
-
heading:
|
|
2199
|
-
subtext:
|
|
2200
|
-
confirmLabel:
|
|
2206
|
+
heading: s,
|
|
2207
|
+
subtext: n,
|
|
2208
|
+
confirmLabel: l,
|
|
2201
2209
|
onConfirm: c,
|
|
2202
|
-
initialValue:
|
|
2203
|
-
countries: m =
|
|
2210
|
+
initialValue: f = "",
|
|
2211
|
+
countries: m = qt,
|
|
2204
2212
|
initialCountryIso: d = "IN"
|
|
2205
2213
|
}) {
|
|
2206
|
-
const [p,
|
|
2207
|
-
() => m.find((
|
|
2208
|
-
), [h, j] =
|
|
2209
|
-
|
|
2214
|
+
const [p, u] = q(
|
|
2215
|
+
() => m.find((w) => w.iso === d) ?? m[0]
|
|
2216
|
+
), [h, j] = q(f), [v, E] = q(!1), S = Gt(null);
|
|
2217
|
+
Zt(() => {
|
|
2210
2218
|
if (!v) return;
|
|
2211
|
-
const
|
|
2212
|
-
S.current && !S.current.contains(P.target) &&
|
|
2219
|
+
const w = (P) => {
|
|
2220
|
+
S.current && !S.current.contains(P.target) && E(!1);
|
|
2213
2221
|
};
|
|
2214
|
-
return document.addEventListener("mousedown",
|
|
2222
|
+
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
2215
2223
|
}, [v]);
|
|
2216
|
-
const
|
|
2217
|
-
|
|
2218
|
-
},
|
|
2219
|
-
|
|
2224
|
+
const C = Ge(p.code), y = Ht(h, p.code).isValid && h.length > 0, b = (w) => {
|
|
2225
|
+
u(w), E(!1), j((P) => P.slice(0, Ge(w.code)));
|
|
2226
|
+
}, O = () => {
|
|
2227
|
+
y && c(h, p);
|
|
2220
2228
|
};
|
|
2221
2229
|
return /* @__PURE__ */ e.jsx(
|
|
2222
2230
|
Ne,
|
|
@@ -2224,36 +2232,37 @@ function Jr({
|
|
|
2224
2232
|
isOpen: r,
|
|
2225
2233
|
onClose: a,
|
|
2226
2234
|
showDragHandle: !0,
|
|
2227
|
-
|
|
2235
|
+
closeButtonOutside: !0,
|
|
2236
|
+
ariaLabel: s,
|
|
2228
2237
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2229
|
-
|
|
2238
|
+
H,
|
|
2230
2239
|
{
|
|
2231
2240
|
variant: "primary",
|
|
2232
2241
|
size: "xl",
|
|
2233
2242
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2234
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2235
|
-
disabled: !
|
|
2236
|
-
onClick:
|
|
2237
|
-
children:
|
|
2243
|
+
rightIcon: /* @__PURE__ */ e.jsx(ut, { "aria-hidden": !0 }),
|
|
2244
|
+
disabled: !y,
|
|
2245
|
+
onClick: O,
|
|
2246
|
+
children: l
|
|
2238
2247
|
}
|
|
2239
2248
|
) }),
|
|
2240
2249
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-4 py-3", children: [
|
|
2241
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children:
|
|
2242
|
-
|
|
2250
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2251
|
+
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2243
2252
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2244
2253
|
/* @__PURE__ */ e.jsxs("div", { ref: S, className: "relative shrink-0", children: [
|
|
2245
2254
|
/* @__PURE__ */ e.jsxs(
|
|
2246
2255
|
"button",
|
|
2247
2256
|
{
|
|
2248
2257
|
type: "button",
|
|
2249
|
-
onClick: () =>
|
|
2258
|
+
onClick: () => E((w) => !w),
|
|
2250
2259
|
"aria-expanded": v,
|
|
2251
2260
|
"aria-haspopup": "listbox",
|
|
2252
2261
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2253
2262
|
children: [
|
|
2254
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
2263
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Ze(p.iso) }),
|
|
2255
2264
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: p.code }),
|
|
2256
|
-
/* @__PURE__ */ e.jsx(
|
|
2265
|
+
/* @__PURE__ */ e.jsx(fe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2257
2266
|
]
|
|
2258
2267
|
}
|
|
2259
2268
|
),
|
|
@@ -2262,33 +2271,33 @@ function Jr({
|
|
|
2262
2271
|
{
|
|
2263
2272
|
role: "listbox",
|
|
2264
2273
|
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",
|
|
2265
|
-
children: m.map((
|
|
2274
|
+
children: m.map((w) => /* @__PURE__ */ e.jsxs(
|
|
2266
2275
|
"button",
|
|
2267
2276
|
{
|
|
2268
2277
|
type: "button",
|
|
2269
2278
|
role: "option",
|
|
2270
|
-
"aria-selected":
|
|
2271
|
-
onClick: () => b(
|
|
2272
|
-
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${
|
|
2279
|
+
"aria-selected": w.iso === p.iso,
|
|
2280
|
+
onClick: () => b(w),
|
|
2281
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${w.iso === p.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2273
2282
|
children: [
|
|
2274
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children:
|
|
2275
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children:
|
|
2276
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children:
|
|
2283
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Ze(w.iso) }),
|
|
2284
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: w.code }),
|
|
2285
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: w.name })
|
|
2277
2286
|
]
|
|
2278
2287
|
},
|
|
2279
|
-
`${
|
|
2288
|
+
`${w.iso}-${w.code}`
|
|
2280
2289
|
))
|
|
2281
2290
|
}
|
|
2282
2291
|
)
|
|
2283
2292
|
] }),
|
|
2284
2293
|
/* @__PURE__ */ e.jsx(
|
|
2285
|
-
|
|
2294
|
+
pt,
|
|
2286
2295
|
{
|
|
2287
2296
|
type: "tel",
|
|
2288
2297
|
inputMode: "numeric",
|
|
2289
2298
|
value: h,
|
|
2290
|
-
maxLength:
|
|
2291
|
-
onChange: (
|
|
2299
|
+
maxLength: C,
|
|
2300
|
+
onChange: (w) => j(w.replace(/\D/g, "").slice(0, C)),
|
|
2292
2301
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2293
2302
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2294
2303
|
className: "text-[18px]"
|
|
@@ -2299,37 +2308,328 @@ function Jr({
|
|
|
2299
2308
|
}
|
|
2300
2309
|
);
|
|
2301
2310
|
}
|
|
2311
|
+
function Mr(r) {
|
|
2312
|
+
return T({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(r);
|
|
2313
|
+
}
|
|
2314
|
+
function Fr(r) {
|
|
2315
|
+
return T({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }, child: [] }] })(r);
|
|
2316
|
+
}
|
|
2317
|
+
const Ir = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2318
|
+
function xa({
|
|
2319
|
+
chipNumber: r,
|
|
2320
|
+
chipLabel: a,
|
|
2321
|
+
isAdded: s,
|
|
2322
|
+
onEditClick: n,
|
|
2323
|
+
editButtonAriaLabel: l = "Edit",
|
|
2324
|
+
onExpandClick: c,
|
|
2325
|
+
expandButtonAriaLabel: f = "Expand",
|
|
2326
|
+
imageUrl: m,
|
|
2327
|
+
imageAlt: d,
|
|
2328
|
+
imageComponent: p,
|
|
2329
|
+
ratingLabel: u,
|
|
2330
|
+
bookedLabel: h,
|
|
2331
|
+
title: j,
|
|
2332
|
+
description: v,
|
|
2333
|
+
learnMoreLabel: E,
|
|
2334
|
+
onLearnMoreClick: S,
|
|
2335
|
+
learnMoreHref: C,
|
|
2336
|
+
dateLabel: y,
|
|
2337
|
+
locationLabel: b,
|
|
2338
|
+
priceInfoLabel: O,
|
|
2339
|
+
onPriceInfoClick: w,
|
|
2340
|
+
price: P,
|
|
2341
|
+
cta: V,
|
|
2342
|
+
className: Y = ""
|
|
2343
|
+
}) {
|
|
2344
|
+
const [$, W] = q(!1), M = s || $, X = M && (u != null || h != null), U = M && (y != null || b != null);
|
|
2345
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2346
|
+
"div",
|
|
2347
|
+
{
|
|
2348
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${M ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${Y}`,
|
|
2349
|
+
children: [
|
|
2350
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${M ? "py-4" : "pt-4"}`, children: [
|
|
2351
|
+
/* @__PURE__ */ e.jsxs(
|
|
2352
|
+
"div",
|
|
2353
|
+
{
|
|
2354
|
+
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-1.5",
|
|
2355
|
+
style: {
|
|
2356
|
+
background: "linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"
|
|
2357
|
+
},
|
|
2358
|
+
children: [
|
|
2359
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700", children: r }),
|
|
2360
|
+
/* @__PURE__ */ e.jsx("p", { className: "min-w-0 flex-1 text-xs font-semibold leading-4 text-[#1d0d38]", children: a })
|
|
2361
|
+
]
|
|
2362
|
+
}
|
|
2363
|
+
),
|
|
2364
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-center gap-1", children: [
|
|
2365
|
+
n && /* @__PURE__ */ e.jsx(
|
|
2366
|
+
"button",
|
|
2367
|
+
{
|
|
2368
|
+
type: "button",
|
|
2369
|
+
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2370
|
+
onClick: n,
|
|
2371
|
+
"aria-label": l,
|
|
2372
|
+
children: /* @__PURE__ */ e.jsx(Mr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2373
|
+
}
|
|
2374
|
+
),
|
|
2375
|
+
!s && /* @__PURE__ */ e.jsx(
|
|
2376
|
+
"button",
|
|
2377
|
+
{
|
|
2378
|
+
type: "button",
|
|
2379
|
+
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2380
|
+
onClick: () => {
|
|
2381
|
+
W((B) => !B), c?.();
|
|
2382
|
+
},
|
|
2383
|
+
"aria-label": f,
|
|
2384
|
+
"aria-expanded": $,
|
|
2385
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2386
|
+
Fr,
|
|
2387
|
+
{
|
|
2388
|
+
"aria-hidden": !0,
|
|
2389
|
+
className: `size-8 text-[#1D2125] ${$ ? "" : "-scale-y-100"}`
|
|
2390
|
+
}
|
|
2391
|
+
)
|
|
2392
|
+
}
|
|
2393
|
+
)
|
|
2394
|
+
] })
|
|
2395
|
+
] }),
|
|
2396
|
+
M && m != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: p ? /* @__PURE__ */ e.jsx(p, { src: m, alt: d ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: m, alt: d, className: "size-full object-cover" }) }),
|
|
2397
|
+
X && /* @__PURE__ */ e.jsxs(
|
|
2398
|
+
"div",
|
|
2399
|
+
{
|
|
2400
|
+
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2401
|
+
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2402
|
+
children: [
|
|
2403
|
+
u != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: u }),
|
|
2404
|
+
u != null && h != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
|
|
2405
|
+
h != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: h })
|
|
2406
|
+
]
|
|
2407
|
+
}
|
|
2408
|
+
),
|
|
2409
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
2410
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2411
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: j }),
|
|
2412
|
+
M && v != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: v })
|
|
2413
|
+
] }),
|
|
2414
|
+
M && E != null && /* @__PURE__ */ e.jsxs(
|
|
2415
|
+
"a",
|
|
2416
|
+
{
|
|
2417
|
+
href: C,
|
|
2418
|
+
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",
|
|
2419
|
+
onClick: S,
|
|
2420
|
+
children: [
|
|
2421
|
+
E,
|
|
2422
|
+
/* @__PURE__ */ e.jsx(mr, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2423
|
+
]
|
|
2424
|
+
}
|
|
2425
|
+
),
|
|
2426
|
+
U && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2427
|
+
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2428
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2429
|
+
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2430
|
+
/* @__PURE__ */ e.jsx(hr, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2431
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2432
|
+
] }),
|
|
2433
|
+
b != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2434
|
+
/* @__PURE__ */ e.jsx("img", { src: Ir, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2435
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: b })
|
|
2436
|
+
] })
|
|
2437
|
+
] })
|
|
2438
|
+
] }),
|
|
2439
|
+
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2440
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
2441
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2442
|
+
O != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2443
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: O }),
|
|
2444
|
+
w && /* @__PURE__ */ e.jsx(
|
|
2445
|
+
"button",
|
|
2446
|
+
{
|
|
2447
|
+
type: "button",
|
|
2448
|
+
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2449
|
+
onClick: w,
|
|
2450
|
+
"aria-label": "More info",
|
|
2451
|
+
children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2452
|
+
}
|
|
2453
|
+
)
|
|
2454
|
+
] }),
|
|
2455
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: P })
|
|
2456
|
+
] }),
|
|
2457
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: V })
|
|
2458
|
+
] })
|
|
2459
|
+
] })
|
|
2460
|
+
]
|
|
2461
|
+
}
|
|
2462
|
+
);
|
|
2463
|
+
}
|
|
2464
|
+
const Br = {
|
|
2465
|
+
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2466
|
+
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2467
|
+
accent: "border border-transparent px-4 text-white"
|
|
2468
|
+
}, Dr = {
|
|
2469
|
+
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2470
|
+
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2471
|
+
}, Vr = {
|
|
2472
|
+
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2473
|
+
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2474
|
+
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2475
|
+
};
|
|
2476
|
+
function ma({
|
|
2477
|
+
variant: r = "primary",
|
|
2478
|
+
size: a = "md",
|
|
2479
|
+
leftIcon: s,
|
|
2480
|
+
children: n,
|
|
2481
|
+
className: l = "",
|
|
2482
|
+
style: c,
|
|
2483
|
+
type: f = "button",
|
|
2484
|
+
...m
|
|
2485
|
+
}) {
|
|
2486
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2487
|
+
"button",
|
|
2488
|
+
{
|
|
2489
|
+
type: f,
|
|
2490
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${Dr[a]} ${Br[r]} ${l}`,
|
|
2491
|
+
style: { ...Vr[r], ...c },
|
|
2492
|
+
...m,
|
|
2493
|
+
children: [
|
|
2494
|
+
s,
|
|
2495
|
+
n
|
|
2496
|
+
]
|
|
2497
|
+
}
|
|
2498
|
+
);
|
|
2499
|
+
}
|
|
2500
|
+
function ha({ className: r = "size-5" }) {
|
|
2501
|
+
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(
|
|
2502
|
+
"path",
|
|
2503
|
+
{
|
|
2504
|
+
d: "M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V9.25H17.5C17.9142 9.25 18.25 9.58579 18.25 10C18.25 10.4142 17.9142 10.75 17.5 10.75H10.75V17.5C10.75 17.9142 10.4142 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V10.75H2.5C2.08579 10.75 1.75 10.4142 1.75 10C1.75 9.58579 2.08579 9.25 2.5 9.25H9.25V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z",
|
|
2505
|
+
fill: "currentColor"
|
|
2506
|
+
}
|
|
2507
|
+
) });
|
|
2508
|
+
}
|
|
2509
|
+
function pa({ className: r = "size-5" }) {
|
|
2510
|
+
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(
|
|
2511
|
+
"path",
|
|
2512
|
+
{
|
|
2513
|
+
d: "M16.1361 4.88627C16.4289 4.59345 16.9037 4.59355 17.1966 4.88627C17.4895 5.17916 17.4895 5.65394 17.1966 5.94682L8.03059 15.1138C7.89003 15.2544 7.6991 15.3334 7.50032 15.3335C7.30158 15.3335 7.11066 15.2542 6.97004 15.1138L2.80305 10.9468C2.51016 10.6539 2.51016 10.1792 2.80305 9.88627C3.09595 9.59339 3.57071 9.59338 3.8636 9.88627L7.49934 13.522L16.1361 4.88627Z",
|
|
2514
|
+
fill: "currentColor"
|
|
2515
|
+
}
|
|
2516
|
+
) });
|
|
2517
|
+
}
|
|
2518
|
+
const nt = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", $r = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", Wr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", qr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Hr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Yr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
2519
|
+
function Ur({ variant: r }) {
|
|
2520
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
2521
|
+
r === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2522
|
+
/* @__PURE__ */ e.jsx("img", { src: nt, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
2523
|
+
/* @__PURE__ */ e.jsx("img", { src: nt, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
2524
|
+
/* @__PURE__ */ e.jsx("img", { src: $r, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
2525
|
+
] }),
|
|
2526
|
+
r === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
2527
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
2528
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: Wr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
2529
|
+
] }),
|
|
2530
|
+
r === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
2531
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: qr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
2532
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Hr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
2533
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Yr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
2534
|
+
] })
|
|
2535
|
+
] });
|
|
2536
|
+
}
|
|
2537
|
+
const Gr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", it = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
2538
|
+
function ga({
|
|
2539
|
+
badgeLabel: r,
|
|
2540
|
+
headingPrefix: a,
|
|
2541
|
+
ritualCount: s,
|
|
2542
|
+
ritualCountLabel: n,
|
|
2543
|
+
headingSuffix: l,
|
|
2544
|
+
trustItems: c
|
|
2545
|
+
}) {
|
|
2546
|
+
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-3 rounded-b-[32px] border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4", children: [
|
|
2547
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
2548
|
+
/* @__PURE__ */ e.jsxs("div", { className: "relative flex size-14 items-center justify-center", children: [
|
|
2549
|
+
/* @__PURE__ */ e.jsx(
|
|
2550
|
+
"img",
|
|
2551
|
+
{
|
|
2552
|
+
src: it,
|
|
2553
|
+
alt: "",
|
|
2554
|
+
"aria-hidden": !0,
|
|
2555
|
+
className: "pointer-events-none absolute inset-0 size-full",
|
|
2556
|
+
style: {
|
|
2557
|
+
maskImage: "linear-gradient(to bottom, black 0%, black 45%, transparent 70%)",
|
|
2558
|
+
WebkitMaskImage: "linear-gradient(to bottom, black 0%, black 45%, transparent 70%)"
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
),
|
|
2562
|
+
/* @__PURE__ */ e.jsx(
|
|
2563
|
+
"img",
|
|
2564
|
+
{
|
|
2565
|
+
src: it,
|
|
2566
|
+
alt: "",
|
|
2567
|
+
"aria-hidden": !0,
|
|
2568
|
+
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
2569
|
+
style: {
|
|
2570
|
+
maskImage: "linear-gradient(to bottom, transparent 45%, black 70%, black 100%)",
|
|
2571
|
+
WebkitMaskImage: "linear-gradient(to bottom, transparent 45%, black 70%, black 100%)"
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
),
|
|
2575
|
+
/* @__PURE__ */ e.jsx("img", { src: Gr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
2576
|
+
] }),
|
|
2577
|
+
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
2578
|
+
"✦ ",
|
|
2579
|
+
r,
|
|
2580
|
+
" ✦"
|
|
2581
|
+
] })
|
|
2582
|
+
] }),
|
|
2583
|
+
/* @__PURE__ */ e.jsxs("p", { className: "px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]", children: [
|
|
2584
|
+
a,
|
|
2585
|
+
s,
|
|
2586
|
+
" ",
|
|
2587
|
+
n,
|
|
2588
|
+
" ",
|
|
2589
|
+
l
|
|
2590
|
+
] }),
|
|
2591
|
+
/* @__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: [
|
|
2592
|
+
/* @__PURE__ */ e.jsx(Ur, { variant: f.variant }),
|
|
2593
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: f.text })
|
|
2594
|
+
] }, f.variant)) })
|
|
2595
|
+
] });
|
|
2596
|
+
}
|
|
2302
2597
|
export {
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2598
|
+
ra as AudioQuestionCard,
|
|
2599
|
+
Ar as BillDetails,
|
|
2600
|
+
Lr as BookingSummaryBanner,
|
|
2601
|
+
H as Button,
|
|
2602
|
+
la as CartReviewAddedBadge,
|
|
2603
|
+
ia as CartReviewChangeButton,
|
|
2604
|
+
_r as CartReviewItem,
|
|
2605
|
+
ca as CartView,
|
|
2606
|
+
pa as CheckIcon,
|
|
2607
|
+
Tr as CheckoutBar,
|
|
2608
|
+
vr as Chip,
|
|
2609
|
+
ua as DatePickerSheet,
|
|
2610
|
+
pr as FAQSection,
|
|
2611
|
+
mt as IconBadge,
|
|
2612
|
+
xa as L2Card,
|
|
2613
|
+
xt as LanguageSwitcher,
|
|
2614
|
+
ma as OutcomeButton,
|
|
2615
|
+
ga as OutcomeSummary,
|
|
2616
|
+
oa as PackageSelect,
|
|
2617
|
+
fa as PhoneNumberSheet,
|
|
2618
|
+
ha as PlusIcon,
|
|
2619
|
+
na as QuantityStepper,
|
|
2620
|
+
ht as SelectorCard,
|
|
2621
|
+
aa as SelectorCardEditableField,
|
|
2622
|
+
sa as SelectorCardInfoRow,
|
|
2623
|
+
Cr as SelectorCardNote,
|
|
2624
|
+
kr as SelectorCardPriceBadge,
|
|
2625
|
+
Er as ServiceOfferCard,
|
|
2626
|
+
ta as StepProgressHeader,
|
|
2627
|
+
Qr as TestimonialCard,
|
|
2628
|
+
pt as TextField,
|
|
2629
|
+
da as TithiPickerSheet,
|
|
2630
|
+
ea as TopBar,
|
|
2631
|
+
Pr as TrustBadgesBar,
|
|
2632
|
+
gr as VideoPlayer,
|
|
2633
|
+
cr as buttonVariants,
|
|
2634
|
+
ja as cn
|
|
2335
2635
|
};
|