@lanaco/lnc-react-ui 4.0.183 → 4.0.185

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.
Files changed (75) hide show
  1. package/dist/BlogCardsSponsoredSection.cjs +5 -3
  2. package/dist/BlogCardsSponsoredSection.js +68 -64
  3. package/dist/BlogCategoryCardsSection.cjs +1 -1
  4. package/dist/BlogCategoryCardsSection.js +1 -1
  5. package/dist/BlogListSection.cjs +8 -6
  6. package/dist/BlogListSection.js +122 -114
  7. package/dist/BlogProductCardsSection.cjs +1 -1
  8. package/dist/BlogProductCardsSection.js +1 -1
  9. package/dist/BlogShopCardsSection.cjs +1 -1
  10. package/dist/BlogShopCardsSection.js +1 -1
  11. package/dist/BlogSingleSection.cjs +1 -1
  12. package/dist/BlogSingleSection.js +1 -1
  13. package/dist/BlogsSectionDetailed.cjs +5 -3
  14. package/dist/BlogsSectionDetailed.js +53 -49
  15. package/dist/BlogsSectionLarge.cjs +2 -2
  16. package/dist/BlogsSectionLarge.js +2 -2
  17. package/dist/BlogsSectionSimple.cjs +9 -7
  18. package/dist/BlogsSectionSimple.js +53 -47
  19. package/dist/BlogsSectionSimpleCentered.cjs +7 -5
  20. package/dist/BlogsSectionSimpleCentered.js +31 -26
  21. package/dist/BlogsSectionWithFilters.cjs +9 -7
  22. package/dist/BlogsSectionWithFilters.js +47 -42
  23. package/dist/BrandHitsSection.cjs +9 -7
  24. package/dist/BrandHitsSection.js +40 -35
  25. package/dist/{CategorySimpleCard-BNYjZQTH.cjs → CategorySimpleCard-D5N8cx0Z.cjs} +4 -3
  26. package/dist/{CategorySimpleCard-BA0S7TaN.js → CategorySimpleCard-DRQuoxXu.js} +17 -15
  27. package/dist/CheckBoxInput.cjs +27 -27
  28. package/dist/CheckBoxInput.js +61 -98
  29. package/dist/ColorInput.cjs +26 -26
  30. package/dist/ColorInput.js +127 -162
  31. package/dist/DetailedProductsInfinitiveSection.cjs +2 -2
  32. package/dist/DetailedProductsInfinitiveSection.js +6 -5
  33. package/dist/DetailedProductsSection.cjs +2 -2
  34. package/dist/DetailedProductsSection.js +12 -10
  35. package/dist/FieldOfInterestsMasonrySection.cjs +5 -3
  36. package/dist/FieldOfInterestsMasonrySection.js +90 -85
  37. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +4 -4
  38. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +49 -46
  39. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +8 -6
  40. package/dist/FieldOfInterestsWithTagsCardsSection.js +44 -40
  41. package/dist/GeneralWithTagsCardsSection.cjs +12 -8
  42. package/dist/GeneralWithTagsCardsSection.js +50 -44
  43. package/dist/GiftCardsSection.cjs +7 -5
  44. package/dist/GiftCardsSection.js +46 -40
  45. package/dist/MasonryGeneralCardsSection.cjs +6 -5
  46. package/dist/MasonryGeneralCardsSection.js +26 -23
  47. package/dist/Modal.cjs +14 -13
  48. package/dist/Modal.js +88 -86
  49. package/dist/OverlayGeneralCardsSection.cjs +7 -5
  50. package/dist/OverlayGeneralCardsSection.js +30 -35
  51. package/dist/ProductsWithBannerSection.cjs +8 -6
  52. package/dist/ProductsWithBannerSection.js +71 -77
  53. package/dist/QuattroCardsSection.cjs +8 -6
  54. package/dist/QuattroCardsSection.js +31 -28
  55. package/dist/ReviewsSection.cjs +11 -9
  56. package/dist/ReviewsSection.js +38 -36
  57. package/dist/SalesCampaignsSection.cjs +22 -19
  58. package/dist/SalesCampaignsSection.js +299 -300
  59. package/dist/ShopCardsSection.cjs +1 -1
  60. package/dist/ShopCardsSection.js +1 -1
  61. package/dist/SimpleCategoriesSection.cjs +2 -2
  62. package/dist/SimpleCategoriesSection.js +7 -3
  63. package/dist/SimpleProductsSection.cjs +5 -5
  64. package/dist/SimpleProductsSection.js +62 -72
  65. package/dist/UrgentSaleProductsSection.cjs +6 -6
  66. package/dist/UrgentSaleProductsSection.js +9 -7
  67. package/dist/{index-DoKMLSVY.cjs → index-0p_3g3pT.cjs} +4 -2
  68. package/dist/{index-Bhfq_YpE.js → index-BipuzfLW.js} +28 -25
  69. package/dist/{index-CaAhRJ2-.cjs → index-Bmr3IeZ_.cjs} +12 -11
  70. package/dist/{index-DWLKvVyZ.js → index-C8QkdNHi.js} +27 -23
  71. package/dist/{index-B8I1mHMA.js → index-CA59z2ge.js} +29 -26
  72. package/dist/{index-BnYqZk-h.cjs → index-DHV9awrE.cjs} +4 -2
  73. package/dist/{index-DxZ71UZ1.js → index-DZ8515cZ.js} +144 -137
  74. package/dist/{index-D55MR8tU.cjs → index-MiN854X_.cjs} +6 -4
  75. package/package.json +1 -1
@@ -1,4 +1,6 @@
1
- "use strict";const r=require("react/jsx-runtime"),h=require("react"),l=require("./utils-RnrgDDZP.cjs"),b=require("./Icon.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./index-BAJkosVg.cjs"),k=x.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),x=require("react"),p=require("./utils-RnrgDDZP.cjs"),b=require("./Icon.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./index-BAJkosVg.cjs"),N=w.styled.a`
2
+ text-decoration: none;
3
+ color: var(--gray-950);
2
4
  display: flex;
3
5
  flex-direction: column;
4
6
  align-items: flex-start;
@@ -36,7 +38,7 @@
36
38
  font-style: normal;
37
39
  font-weight: 500;
38
40
  line-height: 1.5rem;
39
- ${l.truncateTextInRows(2)}
41
+ ${p.truncateTextInRows(2)}
40
42
  }
41
43
 
42
44
  & .wrapper__description {
@@ -46,11 +48,11 @@
46
48
  font-weight: 400;
47
49
  line-height: 1rem;
48
50
  letter-spacing: 0.025rem;
49
- ${l.truncateTextInRows(2)}
51
+ ${p.truncateTextInRows(2)}
50
52
  }
51
53
  }
52
54
  cursor: pointer;
53
- `,I=x.styled.div`
55
+ `,k=w.styled.div`
54
56
  display: flex;
55
57
  padding: 0 0.75rem 0 0.75rem;
56
58
  align-items: center;
@@ -104,7 +106,7 @@
104
106
  @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
105
107
  min-width: fit-content;
106
108
  }
107
- `,N=h.forwardRef(({name:i,isActive:s,activeColor:t,icon:n,onSelectCard:a=()=>{}},o)=>r.jsxs(I,{ref:o,className:s?"active":"",activeColor:t,onClick:a,children:[l.isDefinedNotEmptyString(n)&&r.jsx(b,{icon:n,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),C=h.forwardRef(({image:i,imageComponent:s,name:t,description:n,onSelectCard:a=()=>{}},o)=>{const{theme:p}=j.useTheme();return r.jsxs(k,{ref:o,theme:p,onClick:a,children:[l.isDefined(s)?s:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),$=x.styled.div`
109
+ `,I=x.forwardRef(({name:i,isActive:s,activeColor:t,icon:n,onSelectCard:a=()=>{}},o)=>r.jsxs(k,{ref:o,className:s?"active":"",activeColor:t,onClick:a,children:[p.isDefinedNotEmptyString(n)&&r.jsx(b,{icon:n,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),$=x.forwardRef(({image:i,imageComponent:s,name:t,description:n,onSelectCard:a=()=>{},uuid:o,nameSlug:m},l)=>{const{theme:c}=j.useTheme();return r.jsxs(N,{ref:l,theme:c,onClick:a,href:`/product/${p.isDefinedNotEmptyString(m)?`${m}-`:""}${o}`,children:[p.isDefined(s)?s:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),C=w.styled.div`
108
110
  display: flex;
109
111
  flex-direction: column;
110
112
  align-items: center;
@@ -181,4 +183,4 @@
181
183
  gap: 1rem;
182
184
  }
183
185
  }
184
- `,q=h.forwardRef(({title:i,subtitle:s,tags:t=[],limitTags:n=7,limitTagsForMobile:a=7,limit:o=3,limitForMobile:p=2,items:c=[],isLoadingTags:w=!1,isLoadingCards:F=!1,selectedTag:u,activeColor:v,onSelectTag:d=()=>{},onSelectCard:m=()=>{}},y)=>r.jsxs($,{ref:y,limitTags:n,limitTagsForMobile:a,limitCards:o,limitCardsForMobile:p,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),s&&r.jsx("div",{className:"wrapper__subtitle",children:s})]}),r.jsx(_.SuspenseFieldOfInterestsWithTagsTag,{isLoading:w,keyPrefix:"field-of-interests-with-tags-tag",children:r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,f)=>r.jsx(N,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===u,activeColor:v,onSelectCard:()=>d==null?void 0:d(e)},`field-of-interests-with-tags-card-tag__${f+1}`))})}),r.jsx(_.SuspenseFieldOfInterestsWithTagsCard,{isLoading:w,keyPrefix:"field-of-interests-with-tags-card",children:r.jsx("div",{className:"wrapper__cards",children:c==null?void 0:c.map((e,f)=>r.jsx(C,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>m==null?void 0:m(e)},`field-of-interests-with-tags-card__${f+1}`))})})]}));module.exports=q;
186
+ `,q=x.forwardRef(({title:i,subtitle:s,tags:t=[],limitTags:n=7,limitTagsForMobile:a=7,limit:o=3,limitForMobile:m=2,items:l=[],isLoadingTags:c=!1,isLoadingCards:E=!1,selectedTag:u,activeColor:v,onSelectTag:d=()=>{},onSelectCard:f=()=>{}},y)=>r.jsxs(C,{ref:y,limitTags:n,limitTagsForMobile:a,limitCards:o,limitCardsForMobile:m,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),s&&r.jsx("div",{className:"wrapper__subtitle",children:s})]}),r.jsx(_.SuspenseFieldOfInterestsWithTagsTag,{isLoading:c,keyPrefix:"field-of-interests-with-tags-tag",children:r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,h)=>r.jsx(I,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===u,activeColor:v,onSelectCard:()=>d==null?void 0:d(e)},`field-of-interests-with-tags-card-tag__${h+1}`))})}),r.jsx(_.SuspenseFieldOfInterestsWithTagsCard,{isLoading:c,keyPrefix:"field-of-interests-with-tags-card",children:r.jsx("div",{className:"wrapper__cards",children:l==null?void 0:l.map((e,h)=>r.jsx($,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>f==null?void 0:f(e),uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug},`field-of-interests-with-tags-card__${h+1}`))})})]}));module.exports=q;
@@ -1,12 +1,14 @@
1
- import { jsxs as l, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as h } from "react";
3
- import { o as _, k as b, l as k } from "./utils-Dc5zIpaz.js";
1
+ import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as g } from "react";
3
+ import { o as _, k as x, l as k } from "./utils-Dc5zIpaz.js";
4
4
  import N from "./Icon.js";
5
- import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { M as x } from "./consts-BuFChS64.js";
7
- import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- import { S as I, a as $ } from "./index-DxwIu0Wn.js";
9
- const W = g.div`
5
+ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { M as u } from "./consts-BuFChS64.js";
7
+ import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
+ import { S as C, a as I } from "./index-DxwIu0Wn.js";
9
+ const W = w.a`
10
+ text-decoration: none;
11
+ color: var(--gray-950);
10
12
  display: flex;
11
13
  flex-direction: column;
12
14
  align-items: flex-start;
@@ -58,7 +60,7 @@ const W = g.div`
58
60
  }
59
61
  }
60
62
  cursor: pointer;
61
- `, j = g.div`
63
+ `, j = w.div`
62
64
  display: flex;
63
65
  padding: 0 0.75rem 0 0.75rem;
64
66
  align-items: center;
@@ -109,12 +111,12 @@ const W = g.div`
109
111
  }
110
112
  }
111
113
 
112
- @media (max-width: ${x + "px"}) {
114
+ @media (max-width: ${u + "px"}) {
113
115
  min-width: fit-content;
114
116
  }
115
- `, F = h(
117
+ `, F = g(
116
118
  ({ name: r, isActive: a, activeColor: t, icon: n, onSelectCard: s = () => {
117
- } }, o) => /* @__PURE__ */ l(
119
+ } }, o) => /* @__PURE__ */ p(
118
120
  j,
119
121
  {
120
122
  ref: o,
@@ -122,24 +124,24 @@ const W = g.div`
122
124
  activeColor: t,
123
125
  onClick: s,
124
126
  children: [
125
- b(n) && /* @__PURE__ */ i(N, { icon: n, className: "wrapper__icon" }),
127
+ x(n) && /* @__PURE__ */ i(N, { icon: n, className: "wrapper__icon" }),
126
128
  /* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
127
129
  ]
128
130
  }
129
131
  )
130
- ), z = h(
132
+ ), z = g(
131
133
  ({ image: r, imageComponent: a, name: t, description: n, onSelectCard: s = () => {
132
- } }, o) => {
133
- const { theme: p } = C();
134
- return /* @__PURE__ */ l(W, { ref: o, theme: p, onClick: s, children: [
134
+ }, uuid: o, nameSlug: m }, l) => {
135
+ const { theme: f } = $();
136
+ return /* @__PURE__ */ p(W, { ref: l, theme: f, onClick: s, href: `/product/${x(m) ? `${m}-` : ""}${o}`, children: [
135
137
  k(a) ? a : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
136
- /* @__PURE__ */ l("div", { className: "wrapper__content", children: [
138
+ /* @__PURE__ */ p("div", { className: "wrapper__content", children: [
137
139
  t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
138
140
  n && /* @__PURE__ */ i("div", { className: "wrapper__description", children: n })
139
141
  ] })
140
142
  ] });
141
143
  }
142
- ), O = g.div`
144
+ ), O = w.div`
143
145
  display: flex;
144
146
  flex-direction: column;
145
147
  align-items: center;
@@ -187,7 +189,7 @@ const W = g.div`
187
189
  width: 100%;
188
190
  }
189
191
 
190
- @media (max-width: ${x + "px"}) {
192
+ @media (max-width: ${u + "px"}) {
191
193
  gap: 1rem;
192
194
 
193
195
  & .wrapper__tags {
@@ -216,7 +218,7 @@ const W = g.div`
216
218
  gap: 1rem;
217
219
  }
218
220
  }
219
- `, G = h(
221
+ `, B = g(
220
222
  ({
221
223
  title: r,
222
224
  subtitle: a,
@@ -224,62 +226,64 @@ const W = g.div`
224
226
  limitTags: n = 7,
225
227
  limitTagsForMobile: s = 7,
226
228
  limit: o = 3,
227
- limitForMobile: p = 2,
228
- items: m = [],
229
- isLoadingTags: w = !1,
229
+ limitForMobile: m = 2,
230
+ items: l = [],
231
+ isLoadingTags: f = !1,
230
232
  isLoadingCards: T = !1,
231
233
  selectedTag: v,
232
- activeColor: u,
234
+ activeColor: y,
233
235
  onSelectTag: d = () => {
234
236
  },
235
237
  onSelectCard: c = () => {
236
238
  }
237
- }, y) => /* @__PURE__ */ l(
239
+ }, b) => /* @__PURE__ */ p(
238
240
  O,
239
241
  {
240
- ref: y,
242
+ ref: b,
241
243
  limitTags: n,
242
244
  limitTagsForMobile: s,
243
245
  limitCards: o,
244
- limitCardsForMobile: p,
246
+ limitCardsForMobile: m,
245
247
  children: [
246
- /* @__PURE__ */ l("div", { className: "wrapper__heading", children: [
248
+ /* @__PURE__ */ p("div", { className: "wrapper__heading", children: [
247
249
  r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
248
250
  a && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: a })
249
251
  ] }),
250
252
  /* @__PURE__ */ i(
251
- I,
253
+ C,
252
254
  {
253
- isLoading: w,
255
+ isLoading: f,
254
256
  keyPrefix: "field-of-interests-with-tags-tag",
255
- children: /* @__PURE__ */ i("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e, f) => /* @__PURE__ */ i(
257
+ children: /* @__PURE__ */ i("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e, h) => /* @__PURE__ */ i(
256
258
  F,
257
259
  {
258
260
  icon: e == null ? void 0 : e.icon,
259
261
  name: e == null ? void 0 : e.title,
260
262
  isActive: (e == null ? void 0 : e.code) === v,
261
- activeColor: u,
263
+ activeColor: y,
262
264
  onSelectCard: () => d == null ? void 0 : d(e)
263
265
  },
264
- `field-of-interests-with-tags-card-tag__${f + 1}`
266
+ `field-of-interests-with-tags-card-tag__${h + 1}`
265
267
  )) })
266
268
  }
267
269
  ),
268
270
  /* @__PURE__ */ i(
269
- $,
271
+ I,
270
272
  {
271
- isLoading: w,
273
+ isLoading: f,
272
274
  keyPrefix: "field-of-interests-with-tags-card",
273
- children: /* @__PURE__ */ i("div", { className: "wrapper__cards", children: m == null ? void 0 : m.map((e, f) => /* @__PURE__ */ i(
275
+ children: /* @__PURE__ */ i("div", { className: "wrapper__cards", children: l == null ? void 0 : l.map((e, h) => /* @__PURE__ */ i(
274
276
  z,
275
277
  {
276
278
  image: e == null ? void 0 : e.image,
277
279
  imageComponent: e == null ? void 0 : e.imageComponent,
278
280
  name: e == null ? void 0 : e.title,
279
281
  description: e == null ? void 0 : e.description,
280
- onSelectCard: () => c == null ? void 0 : c(e)
282
+ onSelectCard: () => c == null ? void 0 : c(e),
283
+ uuid: e == null ? void 0 : e.uuid,
284
+ nameSlug: e == null ? void 0 : e.nameSlug
281
285
  },
282
- `field-of-interests-with-tags-card__${f + 1}`
286
+ `field-of-interests-with-tags-card__${h + 1}`
283
287
  )) })
284
288
  }
285
289
  )
@@ -288,5 +292,5 @@ const W = g.div`
288
292
  )
289
293
  );
290
294
  export {
291
- G as default
295
+ B as default
292
296
  };
@@ -1,4 +1,6 @@
1
- "use strict";const r=require("react/jsx-runtime"),m=require("react"),y=require("./Icon.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./consts-goSZX3xP.cjs"),w=require("./utils-RnrgDDZP.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=require("./index-BAJkosVg.cjs"),j=g.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),x=require("react"),b=require("./Icon.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),h=require("./utils-RnrgDDZP.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),w=require("./index-BAJkosVg.cjs"),j=g.styled.a`
2
+ text-decoration: none;
3
+ color: var(--gray-950);
2
4
  display: flex;
3
5
  flex-direction: column;
4
6
  align-items: flex-start;
@@ -35,13 +37,13 @@
35
37
  font-style: normal;
36
38
  font-weight: 500;
37
39
  line-height: 1.5rem;
38
- ${w.truncateTextInRows(2)}
40
+ ${h.truncateTextInRows(2)}
39
41
  transition: var(--transition, all 0.2s ease);
40
42
  }
41
43
  }
42
44
  cursor: pointer;
43
45
 
44
- @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
46
+ @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
45
47
  background: transparent;
46
48
  border: none;
47
49
  box-shadow: none;
@@ -63,7 +65,9 @@
63
65
  }
64
66
  }
65
67
  }
66
- `,k=g.styled.div`
68
+ `,$=g.styled.a`
69
+ text-decoration: none;
70
+ color: var(--gray-950);
67
71
  display: flex;
68
72
  padding: 0 0.75rem 0 0.75rem;
69
73
  align-items: center;
@@ -104,12 +108,12 @@
104
108
  letter-spacing: -0.09px;
105
109
  }
106
110
 
107
- @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
111
+ @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
108
112
  & .wrapper__text {
109
113
  white-space: nowrap;
110
114
  }
111
115
  }
112
- `,I=m.forwardRef(({title:t,icon:a,onSelectCard:i=()=>{}},n)=>r.jsxs(k,{ref:n,onClick:i,children:[w.isDefinedNotEmptyString(a)&&r.jsx(y,{icon:a,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),N=m.forwardRef(({imageUrl:t,imageComponent:a,title:i,onSelectCard:n=()=>{}},s)=>{const{theme:l}=v.useTheme();return r.jsxs(j,{ref:s,theme:l,onClick:n,children:[w.isDefined(a)?a:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:i})})]})}),$=g.styled.div`
116
+ `,k=x.forwardRef(({title:t,icon:i,onSelectCard:a=()=>{},selectAction:n},s)=>r.jsxs($,{ref:s,onClick:a,href:`/${n}`,children:[h.isDefinedNotEmptyString(i)&&r.jsx(b,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),I=x.forwardRef(({imageUrl:t,imageComponent:i,title:a,onSelectCard:n=()=>{},selectAction:s},l)=>{const{theme:o}=v.useTheme();return r.jsxs(j,{ref:l,theme:o,onClick:n,href:`/${s}`,children:[h.isDefined(i)?i:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:a})})]})}),N=g.styled.div`
113
117
  display: flex;
114
118
  flex-direction: column;
115
119
  align-items: center;
@@ -157,7 +161,7 @@
157
161
  gap: 1.5rem;
158
162
  }
159
163
 
160
- @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
164
+ @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
161
165
  & .wrapper__tags {
162
166
  display: flex;
163
167
  flex-wrap: nowrap;
@@ -185,4 +189,4 @@
185
189
  gap: 1rem;
186
190
  }
187
191
  }
188
- `,C=m.forwardRef(({title:t,subtitle:a,options:i=[],limitTags:n=7,limitTagsForMobile:s=2,limit:l=3,limitForMobile:h=3,items:o=[],onSelectTag:p=()=>{},onSelectCard:d=()=>{},isLoadingTags:_=!1,isLoadingCards:u=!1},b)=>r.jsxs($,{ref:b,limitTags:n,limitTagsForMobile:s,limitCards:l,limitCardsForMobile:h,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),a&&r.jsx("div",{className:"wrapper__subtitle",children:a})]}),r.jsx(f.SuspenseFieldOfInterestsWithTagsCard,{isLoading:u,keyPrefix:"general-with-tags-cards-card",children:r.jsx("div",{className:"wrapper__cards",children:o==null?void 0:o.map((e,c)=>r.jsx(N,{imageUrl:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,onSelectCard:()=>{d==null||d(e)}},`general-with-tags-card__${c+1}`))})}),r.jsx(f.SuspenseFieldOfInterestsWithTagsTag,{isLoading:_,keyPrefix:"general-with-tags-cards-tag",children:r.jsx("div",{className:"wrapper__tags",children:i==null?void 0:i.map((e,c)=>r.jsx(I,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>p==null?void 0:p(e)},`general-with-tags-card-tag__${c+1}`))})})]}));module.exports=C;
192
+ `,C=x.forwardRef(({title:t,subtitle:i,options:a=[],limitTags:n=7,limitTagsForMobile:s=2,limit:l=3,limitForMobile:o=3,items:p=[],onSelectTag:c=()=>{},onSelectCard:d=()=>{},isLoadingTags:_=!1,isLoadingCards:u=!1},y)=>r.jsxs(N,{ref:y,limitTags:n,limitTagsForMobile:s,limitCards:l,limitCardsForMobile:o,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),i&&r.jsx("div",{className:"wrapper__subtitle",children:i})]}),r.jsx(w.SuspenseFieldOfInterestsWithTagsCard,{isLoading:u,keyPrefix:"general-with-tags-cards-card",children:r.jsx("div",{className:"wrapper__cards",children:p==null?void 0:p.map((e,m)=>r.jsx(I,{imageUrl:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,selectAction:e==null?void 0:e.selectAction,onSelectCard:()=>{d==null||d(e)}},`general-with-tags-card__${m+1}`))})}),r.jsx(w.SuspenseFieldOfInterestsWithTagsTag,{isLoading:_,keyPrefix:"general-with-tags-cards-tag",children:r.jsx("div",{className:"wrapper__tags",children:a==null?void 0:a.map((e,m)=>r.jsx(k,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>c==null?void 0:c(e),selectAction:e==null?void 0:e.selectAction},`general-with-tags-card-tag__${m+1}`))})})]}));module.exports=C;
@@ -1,12 +1,14 @@
1
- import { jsxs as s, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as g } from "react";
3
- import b from "./Icon.js";
4
- import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { M as h } from "./consts-BuFChS64.js";
6
- import { o as v, k as y, l as k } from "./utils-Dc5zIpaz.js";
7
- import { u as N } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- import { a as $, S as C } from "./index-DxwIu0Wn.js";
9
- const W = f.div`
3
+ import y from "./Icon.js";
4
+ import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
+ import { M as w } from "./consts-BuFChS64.js";
6
+ import { o as b, k as v, l as k } from "./utils-Dc5zIpaz.js";
7
+ import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
+ import { a as N, S as C } from "./index-DxwIu0Wn.js";
9
+ const W = h.a`
10
+ text-decoration: none;
11
+ color: var(--gray-950);
10
12
  display: flex;
11
13
  flex-direction: column;
12
14
  align-items: flex-start;
@@ -43,13 +45,13 @@ const W = f.div`
43
45
  font-style: normal;
44
46
  font-weight: 500;
45
47
  line-height: 1.5rem;
46
- ${v(2)}
48
+ ${b(2)}
47
49
  transition: var(--transition, all 0.2s ease);
48
50
  }
49
51
  }
50
52
  cursor: pointer;
51
53
 
52
- @media (max-width: ${h + "px"}) {
54
+ @media (max-width: ${w + "px"}) {
53
55
  background: transparent;
54
56
  border: none;
55
57
  box-shadow: none;
@@ -71,7 +73,9 @@ const W = f.div`
71
73
  }
72
74
  }
73
75
  }
74
- `, j = f.div`
76
+ `, j = h.a`
77
+ text-decoration: none;
78
+ color: var(--gray-950);
75
79
  display: flex;
76
80
  padding: 0 0.75rem 0 0.75rem;
77
81
  align-items: center;
@@ -112,28 +116,28 @@ const W = f.div`
112
116
  letter-spacing: -0.09px;
113
117
  }
114
118
 
115
- @media (max-width: ${h + "px"}) {
119
+ @media (max-width: ${w + "px"}) {
116
120
  & .wrapper__text {
117
121
  white-space: nowrap;
118
122
  }
119
123
  }
120
124
  `, I = g(
121
- ({ title: r, icon: i, onSelectCard: t = () => {
122
- } }, n) => /* @__PURE__ */ s(j, { ref: n, onClick: t, children: [
123
- y(i) && /* @__PURE__ */ a(b, { icon: i, className: "wrapper__icon" }),
125
+ ({ title: r, icon: t, onSelectCard: i = () => {
126
+ }, selectAction: n }, o) => /* @__PURE__ */ l(j, { ref: o, onClick: i, href: `/${n}`, children: [
127
+ v(t) && /* @__PURE__ */ a(y, { icon: t, className: "wrapper__icon" }),
124
128
  /* @__PURE__ */ a("div", { className: "wrapper__text", children: r })
125
129
  ] })
126
130
  ), z = g(
127
131
  // eslint-disable-next-line react/prop-types
128
- ({ imageUrl: r, imageComponent: i, title: t, onSelectCard: n = () => {
129
- } }, l) => {
130
- const { theme: o } = N();
131
- return /* @__PURE__ */ s(W, { ref: l, theme: o, onClick: n, children: [
132
- k(i) ? i : /* @__PURE__ */ a("img", { src: r, className: "wrapper__image" }),
133
- /* @__PURE__ */ a("div", { className: "wrapper__content", children: /* @__PURE__ */ a("div", { className: "wrapper__title", children: t }) })
132
+ ({ imageUrl: r, imageComponent: t, title: i, onSelectCard: n = () => {
133
+ }, selectAction: o }, s) => {
134
+ const { theme: p } = $();
135
+ return /* @__PURE__ */ l(W, { ref: s, theme: p, onClick: n, href: `/${o}`, children: [
136
+ k(t) ? t : /* @__PURE__ */ a("img", { src: r, className: "wrapper__image" }),
137
+ /* @__PURE__ */ a("div", { className: "wrapper__content", children: /* @__PURE__ */ a("div", { className: "wrapper__title", children: i }) })
134
138
  ] });
135
139
  }
136
- ), T = f.div`
140
+ ), T = h.div`
137
141
  display: flex;
138
142
  flex-direction: column;
139
143
  align-items: center;
@@ -181,7 +185,7 @@ const W = f.div`
181
185
  gap: 1.5rem;
182
186
  }
183
187
 
184
- @media (max-width: ${h + "px"}) {
188
+ @media (max-width: ${w + "px"}) {
185
189
  & .wrapper__tags {
186
190
  display: flex;
187
191
  flex-wrap: nowrap;
@@ -209,51 +213,52 @@ const W = f.div`
209
213
  gap: 1rem;
210
214
  }
211
215
  }
212
- `, R = g(
216
+ `, D = g(
213
217
  ({
214
218
  title: r,
215
- subtitle: i,
216
- options: t = [],
219
+ subtitle: t,
220
+ options: i = [],
217
221
  limitTags: n = 7,
218
- limitTagsForMobile: l = 2,
219
- limit: o = 3,
220
- limitForMobile: w = 3,
221
- items: p = [],
222
- onSelectTag: m = () => {
222
+ limitTagsForMobile: o = 2,
223
+ limit: s = 3,
224
+ limitForMobile: p = 3,
225
+ items: m = [],
226
+ onSelectTag: c = () => {
223
227
  },
224
228
  onSelectCard: d = () => {
225
229
  },
226
230
  isLoadingTags: _ = !1,
227
231
  isLoadingCards: x = !1
228
- }, u) => /* @__PURE__ */ s(
232
+ }, u) => /* @__PURE__ */ l(
229
233
  T,
230
234
  {
231
235
  ref: u,
232
236
  limitTags: n,
233
- limitTagsForMobile: l,
234
- limitCards: o,
235
- limitCardsForMobile: w,
237
+ limitTagsForMobile: o,
238
+ limitCards: s,
239
+ limitCardsForMobile: p,
236
240
  children: [
237
- /* @__PURE__ */ s("div", { className: "wrapper__heading", children: [
241
+ /* @__PURE__ */ l("div", { className: "wrapper__heading", children: [
238
242
  r && /* @__PURE__ */ a("div", { className: "wrapper__title", children: r }),
239
- i && /* @__PURE__ */ a("div", { className: "wrapper__subtitle", children: i })
243
+ t && /* @__PURE__ */ a("div", { className: "wrapper__subtitle", children: t })
240
244
  ] }),
241
245
  /* @__PURE__ */ a(
242
- $,
246
+ N,
243
247
  {
244
248
  isLoading: x,
245
249
  keyPrefix: "general-with-tags-cards-card",
246
- children: /* @__PURE__ */ a("div", { className: "wrapper__cards", children: p == null ? void 0 : p.map((e, c) => /* @__PURE__ */ a(
250
+ children: /* @__PURE__ */ a("div", { className: "wrapper__cards", children: m == null ? void 0 : m.map((e, f) => /* @__PURE__ */ a(
247
251
  z,
248
252
  {
249
253
  imageUrl: e == null ? void 0 : e.imageUrl,
250
254
  imageComponent: e == null ? void 0 : e.imageComponent,
251
255
  title: e == null ? void 0 : e.title,
256
+ selectAction: e == null ? void 0 : e.selectAction,
252
257
  onSelectCard: () => {
253
258
  d == null || d(e);
254
259
  }
255
260
  },
256
- `general-with-tags-card__${c + 1}`
261
+ `general-with-tags-card__${f + 1}`
257
262
  )) })
258
263
  }
259
264
  ),
@@ -262,14 +267,15 @@ const W = f.div`
262
267
  {
263
268
  isLoading: _,
264
269
  keyPrefix: "general-with-tags-cards-tag",
265
- children: /* @__PURE__ */ a("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e, c) => /* @__PURE__ */ a(
270
+ children: /* @__PURE__ */ a("div", { className: "wrapper__tags", children: i == null ? void 0 : i.map((e, f) => /* @__PURE__ */ a(
266
271
  I,
267
272
  {
268
273
  icon: e == null ? void 0 : e.icon,
269
274
  title: e == null ? void 0 : e.title,
270
- onSelectCard: () => m == null ? void 0 : m(e)
275
+ onSelectCard: () => c == null ? void 0 : c(e),
276
+ selectAction: e == null ? void 0 : e.selectAction
271
277
  },
272
- `general-with-tags-card-tag__${c + 1}`
278
+ `general-with-tags-card-tag__${f + 1}`
273
279
  )) })
274
280
  }
275
281
  )
@@ -278,5 +284,5 @@ const W = f.div`
278
284
  )
279
285
  );
280
286
  export {
281
- R as default
287
+ D as default
282
288
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),h=require("react"),y=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-CkcozOY6.cjs"),c=require("./utils-RnrgDDZP.cjs"),C=require("./Button.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),t=require("./style-BAcV7F53.cjs"),R=u.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),p=require("react"),k=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-CkcozOY6.cjs"),d=require("./utils-RnrgDDZP.cjs"),C=require("./Button.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),t=require("./style-BAcV7F53.cjs"),R=h.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -6,7 +6,9 @@
6
6
  @media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,G=u.styled.div`
9
+ `,G=h.styled.a`
10
+ text-decoration: none;
11
+ color: var(--gray-950);
10
12
  display: flex;
11
13
  flex-direction: column;
12
14
  gap: 0.75rem;
@@ -27,7 +29,7 @@
27
29
  transform: scale(1.1);
28
30
  }
29
31
  }
30
- `,L=u.styled.div`
32
+ `,L=h.styled.div`
31
33
  width: 100%;
32
34
  min-height: 11rem;
33
35
  max-height: 11rem;
@@ -64,7 +66,7 @@
64
66
  -webkit-transform: rotate(315deg);
65
67
  transform: rotate(315deg);
66
68
  }
67
- `,j=h.forwardRef((i,l)=>{const{image:o,text:d,price:s,currency:n,onSelectGiftCard:m=()=>{}}=i;return r.jsxs(G,{ref:l,className:"simple-gift-card",onClick:()=>m(s),children:[r.jsxs(L,{children:[r.jsx("div",{className:"price-tag",children:s&&n&&`${c.formatPrice(s)} ${c.GetCurrencySymbol(n)}`}),r.jsx("img",{src:o})]}),r.jsx("div",{className:"text-wrap",children:d})]})}),$=u.styled(t.SkeletonRowWrapper)`
69
+ `,j=p.forwardRef((i,a)=>{const{image:o,text:c,price:s,currency:n,onSelectGiftCard:m=()=>{},selectAction:u}=i;return r.jsxs(G,{ref:a,className:"simple-gift-card",onClick:()=>m(s),href:u,children:[r.jsxs(L,{children:[r.jsx("div",{className:"price-tag",children:s&&n&&`${d.formatPrice(s)} ${d.GetCurrencySymbol(n)}`}),r.jsx("img",{src:o})]}),r.jsx("div",{className:"text-wrap",children:c})]})}),$=h.styled(t.SkeletonRowWrapper)`
68
70
  @media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
69
71
  flex-direction: column;
70
72
 
@@ -76,4 +78,4 @@
76
78
  }
77
79
  }
78
80
  }
79
- `,I=({keyPrefix:i})=>r.jsxs($,{children:[r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-1`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-2`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-3`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-4`)]}),N=({keyPrefix:i,isLoading:l=!1,fallbackComponent:o=r.jsx(r.Fragment,{}),children:d})=>r.jsx(h.Suspense,{fallbackComponent:o,children:l===!0?r.jsx(I,{keyPrefix:i}):d}),q=h.forwardRef((i,l)=>{const{icon:o,title:d,buttonLink:s,items:n,isLoading:m=!1,buttonText:p,limit:g=4,onSelectCard:f=()=>{},onButtonAction:S=()=>{}}=i,w=y.useDetectMobile();return r.jsxs(v.RegulatTitleSectionWrapper,{ref:l,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[c.isDefinedNotEmptyString(o)&&r.jsx("i",{className:o}),r.jsx("span",{children:d})]}),c.isDefinedNotEmptyString(p)&&c.isDefinedNotEmptyString(s)&&!m&&r.jsx(C,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),S(s)},borderRadius:"curved",className:"button-link",children:p})]}),r.jsx(N,{isLoading:m,keyPrefix:"gift-cards-skeleton",children:r.jsx(R,{limit:g,children:w===!0?n==null?void 0:n.map((e,a)=>r.jsx(j,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,onSelectGiftCard:k=>f(e)},a)):n==null?void 0:n.slice(0,g).map((e,a)=>r.jsx(j,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,onSelectGiftCard:k=>f(e)},a))})})]})});module.exports=q;
81
+ `,I=({keyPrefix:i})=>r.jsxs($,{children:[r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-1`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-2`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-3`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-4`)]}),N=({keyPrefix:i,isLoading:a=!1,fallbackComponent:o=r.jsx(r.Fragment,{}),children:c})=>r.jsx(p.Suspense,{fallbackComponent:o,children:a===!0?r.jsx(I,{keyPrefix:i}):c}),q=p.forwardRef((i,a)=>{const{icon:o,title:c,buttonLink:s,items:n,isLoading:m=!1,buttonText:u,limit:g=4,onSelectCard:f=()=>{},onButtonAction:S=()=>{}}=i,w=k.useDetectMobile();return r.jsxs(v.RegulatTitleSectionWrapper,{ref:a,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[d.isDefinedNotEmptyString(o)&&r.jsx("i",{className:o}),r.jsx("span",{children:c})]}),d.isDefinedNotEmptyString(u)&&d.isDefinedNotEmptyString(s)&&!m&&r.jsx(C,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var l;(l=e==null?void 0:e.target)==null||l.blur(),S(s)},borderRadius:"curved",className:"button-link",children:u})]}),r.jsx(N,{isLoading:m,keyPrefix:"gift-cards-skeleton",children:r.jsx(R,{limit:g,children:w===!0?n==null?void 0:n.map((e,l)=>r.jsx(j,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,selectAction:e==null?void 0:e.selectAction,onSelectGiftCard:y=>f(e)},l)):n==null?void 0:n.slice(0,g).map((e,l)=>r.jsx(j,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,selectAction:e==null?void 0:e.selectAction,onSelectGiftCard:y=>f(e)},l))})})]})});module.exports=q;