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