@solostylist/ui-kit 1.0.85 → 1.0.86

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.
@@ -1,60 +1,55 @@
1
- import { j as i } from "../jsx-runtime-DywqP_6a.js";
2
- import { useState as y, useEffect as v, useRef as z } from "react";
3
- import { Box as a, Paper as b, Typography as m, Modal as R, IconButton as j, Stack as P } from "@mui/material";
4
- import { AnimatePresence as k, motion as f } from "framer-motion";
1
+ import { j as r } from "../jsx-runtime-DywqP_6a.js";
2
+ import { useState as u, useEffect as y, useRef as w } from "react";
3
+ import { Box as n, Paper as j, Typography as v } from "@mui/material";
4
+ import { AnimatePresence as I, motion as x } from "framer-motion";
5
+ import C from "../s-image-modal/s-image-modal.js";
5
6
  import S from "../s-lazy-image/s-lazy-image.js";
6
- import { C as E } from "../Close-C1lLcTQu.js";
7
- import { c as C } from "../createSvgIcon-9XY7lJan.js";
8
- const D = C(/* @__PURE__ */ i.jsx("path", {
9
- d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
10
- }), "ChevronLeft"), M = C(/* @__PURE__ */ i.jsx("path", {
11
- d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
12
- }), "ChevronRight"), w = ({ item: r, sx: s, onClick: l }) => {
13
- const o = z(null), [d, u] = y(!1), [g, e] = y(!0);
14
- return v(() => {
15
- const n = {
7
+ const k = ({ item: s, sx: o, onClick: a }) => {
8
+ const e = w(null), [d, h] = u(!1), [p, t] = u(!0);
9
+ return y(() => {
10
+ const i = {
16
11
  root: null,
17
12
  rootMargin: "50px",
18
13
  // Start loading 50px before entering viewport
19
14
  threshold: 0.1
20
15
  // Trigger when 10% of video is visible
21
- }, x = new IntersectionObserver((p) => {
22
- p.forEach((t) => u(t.isIntersecting));
23
- }, n);
24
- return o.current && x.observe(o.current), () => {
25
- o.current && x.unobserve(o.current);
16
+ }, c = new IntersectionObserver((l) => {
17
+ l.forEach((f) => h(f.isIntersecting));
18
+ }, i);
19
+ return e.current && c.observe(e.current), () => {
20
+ e.current && c.unobserve(e.current);
26
21
  };
27
- }, []), v(() => {
28
- let n = !0;
22
+ }, []), y(() => {
23
+ let i = !0;
29
24
  return d ? (async () => {
30
- if (!(!o.current || !d || !n))
25
+ if (!(!e.current || !d || !i))
31
26
  try {
32
- o.current.readyState >= 3 ? (e(!1), await o.current.play()) : (e(!0), await new Promise((p) => {
33
- o.current && (o.current.oncanplay = () => p());
34
- }), n && (e(!1), await o.current.play()));
35
- } catch (p) {
36
- console.warn("Video playback failed:", p);
27
+ e.current.readyState >= 3 ? (t(!1), await e.current.play()) : (t(!0), await new Promise((l) => {
28
+ e.current && (e.current.oncanplay = () => l());
29
+ }), i && (t(!1), await e.current.play()));
30
+ } catch (l) {
31
+ console.warn("Video playback failed:", l);
37
32
  }
38
- })() : o.current && o.current.pause(), () => {
39
- n = !1, o.current && (o.current.pause(), o.current.removeAttribute("src"), o.current.load());
33
+ })() : e.current && e.current.pause(), () => {
34
+ i = !1, e.current && (e.current.pause(), e.current.removeAttribute("src"), e.current.load());
40
35
  };
41
- }, [d]), r.type === "video" ? /* @__PURE__ */ i.jsxs(
42
- a,
36
+ }, [d]), s.type === "video" ? /* @__PURE__ */ r.jsxs(
37
+ n,
43
38
  {
44
39
  sx: {
45
40
  position: "relative",
46
41
  overflow: "hidden",
47
42
  width: "100%",
48
43
  height: "100%",
49
- ...s
44
+ ...o
50
45
  },
51
46
  children: [
52
- /* @__PURE__ */ i.jsx(
53
- a,
47
+ /* @__PURE__ */ r.jsx(
48
+ n,
54
49
  {
55
50
  component: "video",
56
- ref: o,
57
- onClick: l,
51
+ ref: e,
52
+ onClick: a,
58
53
  playsInline: !0,
59
54
  muted: !0,
60
55
  loop: !0,
@@ -63,17 +58,17 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
63
58
  width: "100%",
64
59
  height: "100%",
65
60
  objectFit: "cover",
66
- opacity: g ? 0.8 : 1,
61
+ opacity: p ? 0.8 : 1,
67
62
  transition: "opacity 0.2s",
68
63
  transform: "translateZ(0)",
69
64
  willChange: "transform",
70
65
  display: "block"
71
66
  },
72
- children: /* @__PURE__ */ i.jsx("source", { src: r.url, type: "video/mp4" })
67
+ children: /* @__PURE__ */ r.jsx("source", { src: s.url, type: "video/mp4" })
73
68
  }
74
69
  ),
75
- g && /* @__PURE__ */ i.jsx(
76
- a,
70
+ p && /* @__PURE__ */ r.jsx(
71
+ n,
77
72
  {
78
73
  sx: {
79
74
  position: "absolute",
@@ -83,8 +78,8 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
83
78
  justifyContent: "center",
84
79
  bgcolor: "action.disabled"
85
80
  },
86
- children: /* @__PURE__ */ i.jsx(
87
- a,
81
+ children: /* @__PURE__ */ r.jsx(
82
+ n,
88
83
  {
89
84
  sx: {
90
85
  width: 24,
@@ -104,377 +99,39 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
104
99
  )
105
100
  ]
106
101
  }
107
- ) : /* @__PURE__ */ i.jsx(a, { onClick: l, sx: { width: "100%", height: "100%", ...s }, children: /* @__PURE__ */ i.jsx(
102
+ ) : /* @__PURE__ */ r.jsx(n, { onClick: a, sx: { width: "100%", height: "100%", ...o }, children: /* @__PURE__ */ r.jsx(
108
103
  S,
109
104
  {
110
- src: r.url,
111
- alt: r.title || "",
105
+ src: s.url,
106
+ alt: s.title || "",
112
107
  width: "100%",
113
108
  height: "100%",
114
109
  style: {
115
- objectFit: s != null && s.objectFit ? s.objectFit : "cover",
116
- cursor: l ? "pointer" : "default",
110
+ objectFit: o != null && o.objectFit ? o.objectFit : "cover",
111
+ cursor: a ? "pointer" : "default",
117
112
  display: "block",
118
113
  width: "100%",
119
114
  height: "100%"
120
115
  }
121
116
  }
122
117
  ) });
123
- }, L = ({
124
- selectedItem: r,
125
- isOpen: s,
126
- onClose: l,
127
- setSelectedItem: o,
128
- mediaItems: d
129
- }) => {
130
- const [u, g] = y({ x: 0, y: 0 }), e = d.findIndex((t) => t.id === r.id), n = d.length, x = () => {
131
- e > 0 && o(d[e - 1]);
132
- }, p = () => {
133
- e < n - 1 && o(d[e + 1]);
134
- };
135
- return v(() => {
136
- const t = (c) => {
137
- if (s)
138
- switch (c.key) {
139
- case "ArrowLeft":
140
- x();
141
- break;
142
- case "ArrowRight":
143
- p();
144
- break;
145
- case "Escape":
146
- l();
147
- break;
148
- }
149
- };
150
- return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
151
- }, [s, e, n]), s ? /* @__PURE__ */ i.jsx(
152
- R,
153
- {
154
- open: s,
155
- onClose: l,
156
- sx: {
157
- zIndex: (t) => t.zIndex.modal + 100
158
- // Increased z-index
159
- },
160
- slotProps: {
161
- backdrop: {
162
- sx: {
163
- backdropFilter: "blur(8px)",
164
- zIndex: (t) => t.zIndex.modal + 99
165
- // Ensure backdrop is below modal
166
- }
167
- }
168
- },
169
- children: /* @__PURE__ */ i.jsxs(a, { children: [
170
- /* @__PURE__ */ i.jsx(
171
- f.div,
172
- {
173
- initial: { scale: 0.98 },
174
- animate: { scale: 1 },
175
- exit: { scale: 0.98 },
176
- transition: { type: "spring", stiffness: 400, damping: 30 },
177
- children: /* @__PURE__ */ i.jsxs(
178
- b,
179
- {
180
- elevation: 3,
181
- sx: {
182
- position: "fixed",
183
- inset: 0,
184
- width: "100%",
185
- minHeight: "100vh",
186
- borderRadius: 0,
187
- overflow: "hidden",
188
- zIndex: (t) => t.zIndex.modal + 101
189
- // Higher than backdrop
190
- },
191
- children: [
192
- /* @__PURE__ */ i.jsx(
193
- a,
194
- {
195
- sx: {
196
- height: "100%",
197
- display: "flex",
198
- flexDirection: "column"
199
- },
200
- children: /* @__PURE__ */ i.jsx(
201
- a,
202
- {
203
- sx: {
204
- flex: 1,
205
- p: { xs: 1, sm: 2, md: 3 },
206
- display: "flex",
207
- alignItems: "center",
208
- justifyContent: "center",
209
- bgcolor: "background.default"
210
- },
211
- children: /* @__PURE__ */ i.jsx(k, { mode: "wait", children: /* @__PURE__ */ i.jsx(
212
- f.div,
213
- {
214
- style: { position: "relative" },
215
- initial: { y: 20, scale: 0.97 },
216
- animate: {
217
- y: 0,
218
- scale: 1,
219
- transition: { type: "spring", stiffness: 500, damping: 30, mass: 0.5 }
220
- },
221
- exit: { y: 20, scale: 0.97, transition: { duration: 0.15 } },
222
- onClick: l,
223
- children: /* @__PURE__ */ i.jsxs(
224
- b,
225
- {
226
- elevation: 6,
227
- sx: {
228
- position: "relative",
229
- width: "100%",
230
- aspectRatio: "16 / 9",
231
- maxWidth: { xs: "95%", sm: "85%", md: 960 },
232
- maxHeight: "70vh",
233
- borderRadius: 2,
234
- overflow: "hidden"
235
- },
236
- children: [
237
- /* @__PURE__ */ i.jsx(
238
- w,
239
- {
240
- item: r,
241
- sx: { width: "100%", height: "100%", objectFit: "contain", bgcolor: "background.paper" },
242
- onClick: l
243
- }
244
- ),
245
- /* @__PURE__ */ i.jsxs(
246
- a,
247
- {
248
- sx: {
249
- position: "absolute",
250
- left: 0,
251
- right: 0,
252
- bottom: 0,
253
- p: { xs: 1.5, sm: 2, md: 3 },
254
- background: (t) => `linear-gradient(to top, ${t.palette.grey[900]}CC, transparent)`,
255
- color: "primary.contrastText"
256
- },
257
- onClick: (t) => t.stopPropagation(),
258
- children: [
259
- r.title && /* @__PURE__ */ i.jsx(m, { variant: "h6", sx: { fontWeight: 600, fontSize: { xs: 14, sm: 18, md: 20 } }, children: r.title }),
260
- r.desc && /* @__PURE__ */ i.jsx(m, { variant: "body2", sx: { opacity: 0.8, mt: 0.5 }, children: r.desc })
261
- ]
262
- }
263
- )
264
- ]
265
- }
266
- )
267
- },
268
- r.id
269
- ) })
270
- }
271
- )
272
- }
273
- ),
274
- /* @__PURE__ */ i.jsx(
275
- j,
276
- {
277
- "aria-label": "Close",
278
- onClick: l,
279
- sx: {
280
- position: "absolute",
281
- top: { xs: 8, sm: 10, md: 12 },
282
- right: { xs: 8, sm: 10, md: 12 },
283
- zIndex: (t) => t.zIndex.modal + 102
284
- // Ensure it's above everything
285
- },
286
- children: /* @__PURE__ */ i.jsx(E, {})
287
- }
288
- ),
289
- /* @__PURE__ */ i.jsxs(
290
- a,
291
- {
292
- sx: {
293
- position: "absolute",
294
- top: { xs: 8, sm: 10, md: 12 },
295
- left: { xs: 8, sm: 10, md: 12 },
296
- zIndex: (t) => t.zIndex.modal + 102,
297
- padding: 1,
298
- px: 2,
299
- fontSize: { xs: 14, sm: 16 },
300
- color: "text.primary"
301
- },
302
- children: [
303
- e + 1,
304
- " / ",
305
- n
306
- ]
307
- }
308
- ),
309
- /* @__PURE__ */ i.jsx(
310
- j,
311
- {
312
- "aria-label": "Previous image",
313
- onClick: (t) => {
314
- t.stopPropagation(), x();
315
- },
316
- disabled: e === 0,
317
- sx: {
318
- position: "absolute",
319
- left: { xs: 8, sm: 10, md: 12 },
320
- top: "50%",
321
- transform: "translateY(-50%)",
322
- zIndex: (t) => t.zIndex.modal + 102,
323
- "&:disabled": {
324
- opacity: 0.5
325
- }
326
- },
327
- children: /* @__PURE__ */ i.jsx(D, {})
328
- }
329
- ),
330
- /* @__PURE__ */ i.jsx(
331
- j,
332
- {
333
- "aria-label": "Next image",
334
- onClick: (t) => {
335
- t.stopPropagation(), p();
336
- },
337
- disabled: e === n - 1,
338
- sx: {
339
- position: "absolute",
340
- right: { xs: 8, sm: 10, md: 12 },
341
- top: "50%",
342
- transform: "translateY(-50%)",
343
- zIndex: (t) => t.zIndex.modal + 102,
344
- "&:disabled": {
345
- opacity: 0.5
346
- }
347
- },
348
- children: /* @__PURE__ */ i.jsx(M, {})
349
- }
350
- )
351
- ]
352
- }
353
- )
354
- }
355
- ),
356
- /* @__PURE__ */ i.jsx(
357
- f.div,
358
- {
359
- drag: !0,
360
- dragMomentum: !1,
361
- dragElastic: 0.1,
362
- initial: !1,
363
- animate: { x: u.x, y: u.y },
364
- onDragEnd: (t, c) => {
365
- g((h) => ({ x: h.x + c.offset.x, y: h.y + c.offset.y }));
366
- },
367
- style: {
368
- position: "fixed",
369
- zIndex: 1502,
370
- // Higher than modal content
371
- left: "50%",
372
- bottom: 16,
373
- transform: "translateX(-50%)",
374
- touchAction: "none"
375
- },
376
- children: /* @__PURE__ */ i.jsx(
377
- b,
378
- {
379
- elevation: 8,
380
- sx: {
381
- position: "relative",
382
- borderRadius: 3,
383
- bgcolor: "background.paper",
384
- border: "1px solid",
385
- borderColor: "divider",
386
- backdropFilter: "blur(12px)",
387
- cursor: "grab",
388
- "&:active": { cursor: "grabbing" },
389
- px: 1.5,
390
- py: 1
391
- },
392
- children: /* @__PURE__ */ i.jsx(P, { direction: "row", alignItems: "center", spacing: -1.5, children: d.map((t, c) => /* @__PURE__ */ i.jsxs(
393
- f.div,
394
- {
395
- onClick: (h) => {
396
- h.stopPropagation(), o(t);
397
- },
398
- style: {
399
- position: "relative",
400
- width: 40,
401
- height: 40,
402
- borderRadius: 10,
403
- overflow: "hidden",
404
- flexShrink: 0,
405
- zIndex: r.id === t.id ? 30 : d.length - c,
406
- border: r.id === t.id ? "2px solid" : void 0,
407
- borderColor: r.id === t.id ? "divider" : void 0,
408
- cursor: "pointer"
409
- },
410
- initial: { rotate: c % 2 === 0 ? -15 : 15 },
411
- animate: {
412
- scale: r.id === t.id ? 1.2 : 1,
413
- rotate: r.id === t.id ? 0 : c % 2 === 0 ? -15 : 15,
414
- y: r.id === t.id ? -8 : 0
415
- },
416
- whileHover: {
417
- scale: 1.3,
418
- rotate: 0,
419
- y: -10,
420
- transition: { type: "spring", stiffness: 400, damping: 25 }
421
- },
422
- children: [
423
- /* @__PURE__ */ i.jsx(w, { item: t, sx: { width: "100%", height: "100%" }, onClick: () => o(t) }),
424
- /* @__PURE__ */ i.jsx(
425
- a,
426
- {
427
- sx: {
428
- position: "absolute",
429
- inset: 0,
430
- background: (h) => `linear-gradient(to bottom, transparent, ${h.palette.action.hover}, ${h.palette.action.selected})`,
431
- pointerEvents: "none"
432
- }
433
- }
434
- ),
435
- r.id === t.id && /* @__PURE__ */ i.jsx(
436
- f.div,
437
- {
438
- layoutId: "activeGlow",
439
- style: {
440
- position: "absolute",
441
- inset: -8,
442
- background: "primary.main",
443
- filter: "blur(16px)"
444
- },
445
- initial: { opacity: 0 },
446
- animate: { opacity: 1 },
447
- transition: { duration: 0.2 }
448
- }
449
- )
450
- ]
451
- },
452
- t.id
453
- )) })
454
- }
455
- )
456
- }
457
- )
458
- ] })
459
- }
460
- ) : null;
461
- }, H = ({ mediaItems: r }) => {
462
- const [s, l] = y(null), [o, d] = y(r), [u, g] = y(!1);
463
- return v(() => {
464
- d(r);
465
- }, [r]), /* @__PURE__ */ i.jsxs(a, { sx: { width: "100%", position: "relative", zIndex: 1 }, children: [
466
- s && /* @__PURE__ */ i.jsx(
467
- L,
118
+ }, $ = ({ mediaItems: s }) => {
119
+ const [o, a] = u(null), [e, d] = u(s), [h, p] = u(!1);
120
+ return y(() => {
121
+ d(s);
122
+ }, [s]), /* @__PURE__ */ r.jsxs(n, { sx: { width: "100%", position: "relative", zIndex: 1 }, children: [
123
+ /* @__PURE__ */ r.jsx(
124
+ C,
468
125
  {
469
- selectedItem: s,
470
- isOpen: !0,
471
- onClose: () => l(null),
472
- setSelectedItem: l,
473
- mediaItems: o
126
+ selectedItem: o,
127
+ isOpen: !!o,
128
+ onClose: () => a(null),
129
+ onItemChange: a,
130
+ mediaItems: e
474
131
  }
475
132
  ),
476
- /* @__PURE__ */ i.jsx(k, { mode: "wait", children: !s && /* @__PURE__ */ i.jsx(
477
- f.div,
133
+ /* @__PURE__ */ r.jsx(I, { mode: "wait", children: !o && /* @__PURE__ */ r.jsx(
134
+ x.div,
478
135
  {
479
136
  initial: "hidden",
480
137
  animate: "visible",
@@ -487,8 +144,8 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
487
144
  // Stagger child animations
488
145
  }
489
146
  },
490
- children: /* @__PURE__ */ i.jsx(
491
- a,
147
+ children: /* @__PURE__ */ r.jsx(
148
+ n,
492
149
  {
493
150
  sx: {
494
151
  display: "grid",
@@ -502,11 +159,11 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
502
159
  position: "relative"
503
160
  // Ensure proper stacking context
504
161
  },
505
- children: o.map((e, n) => /* @__PURE__ */ i.jsx(
506
- f.div,
162
+ children: e.map((t, i) => /* @__PURE__ */ r.jsx(
163
+ x.div,
507
164
  {
508
- layoutId: `media-${e.id}`,
509
- onClick: () => !u && l(e),
165
+ layoutId: `media-${t.id}`,
166
+ onClick: () => !h && a(t),
510
167
  variants: {
511
168
  hidden: { y: 50, scale: 0.9, opacity: 0 },
512
169
  visible: {
@@ -517,7 +174,7 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
517
174
  type: "spring",
518
175
  stiffness: 350,
519
176
  damping: 25,
520
- delay: n * 0.05
177
+ delay: i * 0.05
521
178
  }
522
179
  }
523
180
  },
@@ -525,22 +182,22 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
525
182
  drag: !0,
526
183
  dragConstraints: { left: 0, right: 0, top: 0, bottom: 0 },
527
184
  dragElastic: 1,
528
- onDragStart: () => g(!0),
529
- onDragEnd: (x, p) => {
530
- g(!1);
531
- const t = p.offset.x + p.offset.y;
532
- if (Math.abs(t) > 50) {
533
- const c = [...o], h = c[n], I = t > 0 ? Math.min(n + 1, o.length - 1) : Math.max(n - 1, 0);
534
- c.splice(n, 1), c.splice(I, 0, h), d(c);
185
+ onDragStart: () => p(!0),
186
+ onDragEnd: (c, l) => {
187
+ p(!1);
188
+ const f = l.offset.x + l.offset.y;
189
+ if (Math.abs(f) > 50) {
190
+ const g = [...e], b = g[i], m = f > 0 ? Math.min(i + 1, e.length - 1) : Math.max(i - 1, 0);
191
+ g.splice(i, 1), g.splice(m, 0, b), d(g);
535
192
  }
536
193
  },
537
194
  style: {
538
195
  position: "relative",
539
- gridRow: e.rowSpan ? `span ${e.rowSpan}` : "span 2",
540
- gridColumn: e.colSpan ? `span ${e.colSpan}` : "span 1"
196
+ gridRow: t.rowSpan ? `span ${t.rowSpan}` : "span 2",
197
+ gridColumn: t.colSpan ? `span ${t.colSpan}` : "span 1"
541
198
  },
542
- children: /* @__PURE__ */ i.jsxs(
543
- b,
199
+ children: /* @__PURE__ */ r.jsxs(
200
+ j,
544
201
  {
545
202
  elevation: 4,
546
203
  sx: {
@@ -556,16 +213,16 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
556
213
  }
557
214
  },
558
215
  children: [
559
- /* @__PURE__ */ i.jsx(
560
- w,
216
+ /* @__PURE__ */ r.jsx(
217
+ k,
561
218
  {
562
- item: e,
219
+ item: t,
563
220
  sx: { position: "absolute", inset: 0, width: "100%", height: "100%" },
564
- onClick: () => !u && l(e)
221
+ onClick: () => !h && a(t)
565
222
  }
566
223
  ),
567
- (e.title || e.desc) && /* @__PURE__ */ i.jsxs(
568
- a,
224
+ (t.title || t.desc) && /* @__PURE__ */ r.jsxs(
225
+ n,
569
226
  {
570
227
  className: "hover-overlay",
571
228
  sx: {
@@ -581,18 +238,18 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
581
238
  transition: "opacity 0.2s ease-in-out"
582
239
  },
583
240
  children: [
584
- /* @__PURE__ */ i.jsx(
585
- a,
241
+ /* @__PURE__ */ r.jsx(
242
+ n,
586
243
  {
587
244
  sx: {
588
245
  position: "absolute",
589
246
  inset: 0,
590
- background: (x) => `linear-gradient(to top, ${x.palette.grey[900]}CC, ${x.palette.grey[900]}66, transparent)`
247
+ background: (c) => `linear-gradient(to top, ${c.palette.grey[900]}CC, ${c.palette.grey[900]}66, transparent)`
591
248
  }
592
249
  }
593
250
  ),
594
- e.title && /* @__PURE__ */ i.jsx(
595
- m,
251
+ t.title && /* @__PURE__ */ r.jsx(
252
+ v,
596
253
  {
597
254
  variant: "subtitle2",
598
255
  sx: {
@@ -603,23 +260,23 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
603
260
  overflow: "hidden",
604
261
  textOverflow: "ellipsis"
605
262
  },
606
- children: e.title
263
+ children: t.title
607
264
  }
608
265
  ),
609
- e.desc && /* @__PURE__ */ i.jsx(
610
- m,
266
+ t.desc && /* @__PURE__ */ r.jsx(
267
+ v,
611
268
  {
612
269
  variant: "caption",
613
270
  sx: {
614
271
  position: "relative",
615
272
  color: "text.secondary",
616
- mt: e.title ? 0.5 : 0,
273
+ mt: t.title ? 0.5 : 0,
617
274
  display: "-webkit-box",
618
275
  WebkitLineClamp: 2,
619
276
  WebkitBoxOrient: "vertical",
620
277
  overflow: "hidden"
621
278
  },
622
- children: e.desc
279
+ children: t.desc
623
280
  }
624
281
  )
625
282
  ]
@@ -629,7 +286,7 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
629
286
  }
630
287
  )
631
288
  },
632
- e.id
289
+ t.id
633
290
  ))
634
291
  }
635
292
  )
@@ -638,7 +295,6 @@ const D = C(/* @__PURE__ */ i.jsx("path", {
638
295
  ] });
639
296
  };
640
297
  export {
641
- L as GalleryModal,
642
- w as MediaItem,
643
- H as default
298
+ k as MediaItem,
299
+ $ as default
644
300
  };