@lanaco/lnc-react-ui 4.0.185 → 4.0.188

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