@lanaco/lnc-react-ui 4.0.109 → 4.0.110

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 (45) hide show
  1. package/dist/BlogCategoryCardsSection.cjs +1 -1
  2. package/dist/BlogCategoryCardsSection.js +1 -1
  3. package/dist/BlogProductCardsSection.cjs +1 -1
  4. package/dist/BlogProductCardsSection.js +2 -2
  5. package/dist/BlogsSectionDetailed.cjs +6 -9
  6. package/dist/BlogsSectionDetailed.js +9 -12
  7. package/dist/BlogsSectionSimple.cjs +6 -9
  8. package/dist/BlogsSectionSimple.js +23 -26
  9. package/dist/DetailedProductsSection.cjs +1 -1
  10. package/dist/DetailedProductsSection.js +1 -1
  11. package/dist/FieldOfInterestsMasonrySection.cjs +13 -4
  12. package/dist/FieldOfInterestsMasonrySection.js +51 -41
  13. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  14. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +1 -1
  15. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +0 -9
  16. package/dist/FieldOfInterestsWithTagsCardsSection.js +15 -24
  17. package/dist/GeneralWithTagsCardsSection.cjs +3 -12
  18. package/dist/GeneralWithTagsCardsSection.js +5 -14
  19. package/dist/GiftCardsSection.cjs +10 -3
  20. package/dist/GiftCardsSection.js +24 -17
  21. package/dist/LocationSearchSection.cjs +3 -7
  22. package/dist/LocationSearchSection.js +8 -12
  23. package/dist/MasonryGeneralCardsSection.cjs +2 -11
  24. package/dist/MasonryGeneralCardsSection.js +0 -9
  25. package/dist/OverlayGeneralCardsSection.cjs +17 -11
  26. package/dist/OverlayGeneralCardsSection.js +37 -31
  27. package/dist/ProductsWithBannerSection.cjs +5 -11
  28. package/dist/ProductsWithBannerSection.js +8 -14
  29. package/dist/SalesCampaignsSection.cjs +9 -12
  30. package/dist/SalesCampaignsSection.js +22 -25
  31. package/dist/SimpleCategoriesSection.cjs +1 -1
  32. package/dist/SimpleCategoriesSection.js +1 -1
  33. package/dist/SimpleProductsSection.cjs +1 -1
  34. package/dist/SimpleProductsSection.js +2 -2
  35. package/dist/UrgentSaleProductsSection.cjs +1 -1
  36. package/dist/UrgentSaleProductsSection.js +1 -1
  37. package/dist/{index-CEI_JOki.js → index-B2pFbNKc.js} +4 -5
  38. package/dist/{index-B30K8mkW.cjs → index-B_HNDmXL.cjs} +3 -4
  39. package/dist/{suspense-categories-card-simple-Ds6hXZKt.js → suspense-categories-card-simple-BbtBbuWb.js} +15 -17
  40. package/dist/{suspense-categories-card-simple-B5zd-nnm.cjs → suspense-categories-card-simple-CK7XDK4k.cjs} +2 -4
  41. package/dist/{suspense-product-card-detailed-DXwya4fQ.cjs → suspense-product-card-detailed-LcBMp1iw.cjs} +4 -10
  42. package/dist/{suspense-product-card-detailed-bYBpLiXc.js → suspense-product-card-detailed-PArA5O4M.js} +0 -6
  43. package/dist/{suspense-product-card-simple-Ba1UPqgy.cjs → suspense-product-card-simple-CJwnghtt.cjs} +1 -1
  44. package/dist/{suspense-product-card-simple-ib6FLerL.js → suspense-product-card-simple-Z-FddSb-.js} +1 -1
  45. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-B5zd-nnm.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
1
+ "use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-CK7XDK4k.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { memo as l, forwardRef as f, useMemo as t } from "react";
3
- import { C as u, S as n } from "./suspense-categories-card-simple-Ds6hXZKt.js";
3
+ import { C as u, S as n } from "./suspense-categories-card-simple-BbtBbuWb.js";
4
4
  import { W as c } from "./style-tw6KjI2J.js";
5
5
  const C = l(u), M = f(
6
6
  ({
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),u=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-B30K8mkW.cjs"),f=require("./suspense-product-card-simple-Ba1UPqgy.cjs"),h=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),y=u.memo(P.SimpleProductCard),M=u.forwardRef(({buttonText:o,buttonLink:t,items:i,onButtonAction:l=()=>{},onSelectCard:s=()=>{},isLoading:n=!1,limit:d=4,getImage:a=()=>{},isHighlight:p=!1},N)=>{const m=q.useDetectMobile(),b=u.useMemo(()=>{var c;return(c=i==null?void 0:i.slice(0,4))==null?void 0:c.map((e,g)=>r.jsx(y,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>s==null?void 0:s(e==null?void 0:e.uuid),image:a(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},g))},[i]);return r.jsxs(j.Wrapper,{className:p?"highlight":"",children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(f.SuspenseSimpleProductCard,{isLoading:n,limit:d,keyPrefix:"blog-section",children:b})}),r.jsx(h,{text:o,borderRadius:"curved",btnType:m?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>l(t)})]})});module.exports=M;
1
+ "use strict";const r=require("react/jsx-runtime"),u=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-B_HNDmXL.cjs"),f=require("./suspense-product-card-simple-CJwnghtt.cjs"),h=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),y=u.memo(P.SimpleProductCard),M=u.forwardRef(({buttonText:o,buttonLink:t,items:i,onButtonAction:l=()=>{},onSelectCard:s=()=>{},isLoading:n=!1,limit:d=4,getImage:a=()=>{},isHighlight:p=!1},N)=>{const m=q.useDetectMobile(),b=u.useMemo(()=>{var c;return(c=i==null?void 0:i.slice(0,4))==null?void 0:c.map((e,g)=>r.jsx(y,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>s==null?void 0:s(e==null?void 0:e.uuid),image:a(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},g))},[i]);return r.jsxs(j.Wrapper,{className:p?"highlight":"",children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(f.SuspenseSimpleProductCard,{isLoading:n,limit:d,keyPrefix:"blog-section",children:b})}),r.jsx(h,{text:o,borderRadius:"curved",btnType:m?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>l(t)})]})});module.exports=M;
@@ -1,8 +1,8 @@
1
1
  import { jsx as i, jsxs as g } from "react/jsx-runtime";
2
2
  import { memo as b, forwardRef as h, useMemo as P } from "react";
3
3
  import { u as N } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as y } from "./index-CEI_JOki.js";
5
- import { S as M } from "./suspense-product-card-simple-ib6FLerL.js";
4
+ import { S as y } from "./index-B2pFbNKc.js";
5
+ import { S as M } from "./suspense-product-card-simple-Z-FddSb-.js";
6
6
  import S from "./Button.js";
7
7
  import { W as _ } from "./style-tw6KjI2J.js";
8
8
  const w = b(y), R = h(
@@ -1,12 +1,12 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-CZynEOC_.cjs"),N=require("./style-JqDQj4jh.cjs"),T=require("./Button.cjs"),O=require("./index-BvSNRLNa.cjs"),A=w.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-CZynEOC_.cjs"),k=require("./style-JqDQj4jh.cjs"),T=require("./Button.cjs"),O=require("./index-BvSNRLNa.cjs"),A=w.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: ${y.MOBILE_SIZE_PX+"px"}) {
6
+ @media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,k=w.styled.div`
9
+ `,v=w.styled.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  width: 100%;
@@ -20,10 +20,7 @@
20
20
  min-height: 21.5625rem;
21
21
  cursor: pointer;
22
22
  &:hover {
23
- & .text-wr-title {
24
- color: var(--primary-500, #f59e0b);
25
- transition: var(--transition);
26
- }
23
+
27
24
  }
28
25
 
29
26
  & img {
@@ -47,7 +44,7 @@
47
44
  padding: 0 1rem 1rem 1rem;
48
45
  }
49
46
 
50
- @media (max-width: ${y.MOBILE_SIZE_PX+"px"}) {
47
+ @media (max-width: ${N.MOBILE_SIZE_PX+"px"}) {
51
48
  }
52
49
  `,S=w.styled.div`
53
50
  padding: 1rem 1rem 0 1rem;
@@ -108,4 +105,4 @@
108
105
  align-items: center;
109
106
  gap: 1rem;
110
107
  }
111
- `,$=u.forwardRef((i,l)=>{const{title:s,imageUrl:m,text:o,numberOfLikes:n,numberOfComments:h,timeToRead:p,publishedAt:c,tags:d,onCardClick:j,timeToReadText:f="{0} min read"}=i;return t.jsxs(k,{ref:l,className:"blog-card",onClick:j,children:[t.jsx(O.ProductImageWrapper,{src:m}),t.jsxs(S,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[r.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),p&&f?`${r.formatString(f,p)}`:"N/A"]}),t.jsxs("div",{className:"info-wr-2",children:[t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-thumbs-up--filled"}),t.jsx("span",{children:r.getRoundedNumber(n)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:r.getRoundedNumber(h)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:s}),t.jsx("div",{className:"text-wr",children:o})]}),t.jsx("div",{className:"tags-wr",children:d==null?void 0:d.map((a,b)=>t.jsx(N.BlogTag,{color:a==null?void 0:a.color,children:a==null?void 0:a.name},b))})]})}),D=u.forwardRef(({},i)=>t.jsxs(k,{className:"blog-card",children:[t.jsx("div",{className:"skeleton-img"}),t.jsxs(S,{children:[t.jsx("div",{className:"info-wr"}),t.jsx("div",{className:"skeleton-title"}),t.jsx("div",{className:"info-wr-skeleton"})]})]})),q=({limit:i=3,isLoading:l=!1,keyPrefix:s})=>t.jsx(t.Fragment,{children:Array.from({length:i},(m,o)=>t.jsx(D,{isLoading:l},`${s}-skeleton-product-card-${o}`))}),B=({children:i,fallbackComponent:l=t.jsx(t.Fragment,{}),isLoading:s=!1,limit:m,keyPrefix:o})=>t.jsx(u.Suspense,{fallbackComponent:l,children:s===!0?t.jsx(q,{isLoading:s,limit:m,keyPrefix:o}):i}),v=u.memo($),L=u.forwardRef((i,l)=>{const{icon:s,title:m,onButtonAction:o,items:n,buttonText:h,timeToReadText:p,limit:c=3,onSelectCard:d=()=>{},isLoading:j=!1,buttonLink:f,getImage:a=()=>{}}=i,b=R.useDetectMobile(),C=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?n==null?void 0:n.map((e,g)=>t.jsx(v,{title:e==null?void 0:e.title,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,tags:e==null?void 0:e.tags,onCardClick:()=>d(e==null?void 0:e.titleSlug),imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},g)):n==null?void 0:n.slice(0,c).map((e,g)=>t.jsx(v,{title:e==null?void 0:e.title,imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,tags:e==null?void 0:e.tags,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,onCardClick:()=>d(e==null?void 0:e.titleSlug)},g))}),[n,b,c,d]);return t.jsxs(N.RegulatTitleSectionWrapper,{ref:l,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[r.isDefinedNotEmptyString(s)&&t.jsx("i",{className:s}),t.jsx("span",{children:m})]}),r.isDefinedNotEmptyString(h)&&r.isDefinedNotEmptyString(f)&&t.jsx(T,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var g;(g=e==null?void 0:e.target)==null||g.blur(),o(f)},borderRadius:"curved",className:"button-link",children:h})]}),t.jsx(A,{limit:c,children:t.jsx(B,{isLoading:j,limit:c,keyPrefix:"explore-landing",children:C})})]})});module.exports=L;
108
+ `,$=u.forwardRef((i,a)=>{const{title:s,imageUrl:m,text:o,numberOfLikes:n,numberOfComments:h,timeToRead:p,publishedAt:c,tags:d,onCardClick:j,timeToReadText:f="{0} min read"}=i;return t.jsxs(v,{ref:a,className:"blog-card",onClick:j,children:[t.jsx(O.ProductImageWrapper,{src:m}),t.jsxs(S,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[r.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),p&&f?`${r.formatString(f,p)}`:"N/A"]}),t.jsxs("div",{className:"info-wr-2",children:[t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-thumbs-up--filled"}),t.jsx("span",{children:r.getRoundedNumber(n)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:r.getRoundedNumber(h)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:s}),t.jsx("div",{className:"text-wr",children:o})]}),t.jsx("div",{className:"tags-wr",children:d==null?void 0:d.map((l,b)=>t.jsx(k.BlogTag,{color:l==null?void 0:l.color,children:l==null?void 0:l.name},b))})]})}),D=u.forwardRef(({},i)=>t.jsxs(v,{className:"blog-card",children:[t.jsx("div",{className:"skeleton-img"}),t.jsxs(S,{children:[t.jsx("div",{className:"info-wr"}),t.jsx("div",{className:"skeleton-title"}),t.jsx("div",{className:"info-wr-skeleton"})]})]})),q=({limit:i=3,isLoading:a=!1,keyPrefix:s})=>t.jsx(t.Fragment,{children:Array.from({length:i},(m,o)=>t.jsx(D,{isLoading:a},`${s}-skeleton-product-card-${o}`))}),B=({children:i,fallbackComponent:a=t.jsx(t.Fragment,{}),isLoading:s=!1,limit:m,keyPrefix:o})=>t.jsx(u.Suspense,{fallbackComponent:a,children:s===!0?t.jsx(q,{isLoading:s,limit:m,keyPrefix:o}):i}),y=u.memo($),L=u.forwardRef((i,a)=>{const{icon:s,title:m,onButtonAction:o,items:n,buttonText:h,timeToReadText:p,limit:c=3,onSelectCard:d=()=>{},isLoading:j=!1,buttonLink:f,getImage:l=()=>{}}=i,b=R.useDetectMobile(),C=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?n==null?void 0:n.map((e,g)=>t.jsx(y,{title:e==null?void 0:e.title,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,tags:e==null?void 0:e.tags,onCardClick:()=>d(e==null?void 0:e.titleSlug),imageUrl:l(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},g)):n==null?void 0:n.slice(0,c).map((e,g)=>t.jsx(y,{title:e==null?void 0:e.title,imageUrl:l(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,tags:e==null?void 0:e.tags,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,onCardClick:()=>d(e==null?void 0:e.titleSlug)},g))}),[n,b,c,d]);return t.jsxs(k.RegulatTitleSectionWrapper,{ref:a,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[r.isDefinedNotEmptyString(s)&&t.jsx("i",{className:s}),t.jsx("span",{children:m})]}),r.isDefinedNotEmptyString(h)&&r.isDefinedNotEmptyString(f)&&t.jsx(T,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var g;(g=e==null?void 0:e.target)==null||g.blur(),o(f)},borderRadius:"curved",className:"button-link",children:h})]}),t.jsx(A,{limit:c,children:t.jsx(B,{isLoading:j,limit:c,keyPrefix:"explore-landing",children:C})})]})});module.exports=L;
@@ -1,9 +1,9 @@
1
- import { jsxs as t, jsx as r, Fragment as k } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as r, Fragment as v } from "react/jsx-runtime";
2
2
  import { forwardRef as N, Suspense as A, memo as B, useMemo as L } from "react";
3
3
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as T } from "./consts-BuFChS64.js";
5
5
  import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { o as v, p as P, v as z, s as M, w as C, k as w } from "./utils-BbgAIA9N.js";
6
+ import { o as k, p as P, v as z, s as M, w as C, k as w } from "./utils-BbgAIA9N.js";
7
7
  import { B as I, R as U } from "./style-08foMKSd.js";
8
8
  import W from "./Button.js";
9
9
  import { P as j } from "./index-YGcWbzeb.js";
@@ -29,10 +29,7 @@ const E = y.div`
29
29
  min-height: 21.5625rem;
30
30
  cursor: pointer;
31
31
  &:hover {
32
- & .text-wr-title {
33
- color: var(--primary-500, #f59e0b);
34
- transition: var(--transition);
35
- }
32
+
36
33
  }
37
34
 
38
35
  & img {
@@ -46,7 +43,7 @@ const E = y.div`
46
43
  width: 100%;
47
44
  max-height: 11.0625rem;
48
45
  min-height: 11.0625rem;
49
- background-color: ${v("-90deg")};
46
+ background-color: ${k("-90deg")};
50
47
  }
51
48
 
52
49
  & .tags-wr {
@@ -72,13 +69,13 @@ const E = y.div`
72
69
  }
73
70
 
74
71
  & .info-wr-skeleton {
75
- background-color: ${v("-90deg")};
72
+ background-color: ${k("-90deg")};
76
73
  height: 1rem;
77
74
  width: 100%;
78
75
  }
79
76
 
80
77
  & .skeleton-title {
81
- background-color: ${v("-90deg")};
78
+ background-color: ${k("-90deg")};
82
79
  height: 1.5rem;
83
80
  width: 70%;
84
81
  }
@@ -168,7 +165,7 @@ const E = y.div`
168
165
  /* @__PURE__ */ r("div", { className: "skeleton-title" }),
169
166
  /* @__PURE__ */ r("div", { className: "info-wr-skeleton" })
170
167
  ] })
171
- ] })), F = ({ limit: i = 3, isLoading: o = !1, keyPrefix: a }) => /* @__PURE__ */ r(k, { children: Array.from({ length: i }, (d, s) => /* @__PURE__ */ r(
168
+ ] })), F = ({ limit: i = 3, isLoading: o = !1, keyPrefix: a }) => /* @__PURE__ */ r(v, { children: Array.from({ length: i }, (d, s) => /* @__PURE__ */ r(
172
169
  G,
173
170
  {
174
171
  isLoading: o
@@ -176,7 +173,7 @@ const E = y.div`
176
173
  `${a}-skeleton-product-card-${s}`
177
174
  )) }), X = ({
178
175
  children: i,
179
- fallbackComponent: o = /* @__PURE__ */ r(k, {}),
176
+ fallbackComponent: o = /* @__PURE__ */ r(v, {}),
180
177
  isLoading: a = !1,
181
178
  limit: d,
182
179
  keyPrefix: s
@@ -202,7 +199,7 @@ const E = y.div`
202
199
  buttonLink: u,
203
200
  getImage: n = () => {
204
201
  }
205
- } = i, h = D(), $ = L(() => /* @__PURE__ */ r(k, { children: h === !0 ? l == null ? void 0 : l.map((e, g) => /* @__PURE__ */ r(
202
+ } = i, h = D(), $ = L(() => /* @__PURE__ */ r(v, { children: h === !0 ? l == null ? void 0 : l.map((e, g) => /* @__PURE__ */ r(
206
203
  S,
207
204
  {
208
205
  title: e == null ? void 0 : e.title,
@@ -1,12 +1,12 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-CZynEOC_.cjs"),x=require("./style-JqDQj4jh.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BvSNRLNa.cjs"),B=p.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-CZynEOC_.cjs"),q=require("./style-JqDQj4jh.cjs"),x=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BvSNRLNa.cjs"),B=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${t=>`repeat(${t.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
- `,S=p.styled.div`
9
+ `,b=p.styled.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  width: 100%;
@@ -21,10 +21,7 @@
21
21
  cursor: pointer;
22
22
 
23
23
  &:hover {
24
- & .text-wr-title {
25
- color: var(--primary-500, #f59e0b);
26
- transition: var(--transition);
27
- }
24
+
28
25
  }
29
26
 
30
27
  & img {
@@ -46,7 +43,7 @@
46
43
  margin-top: auto;
47
44
  }
48
45
 
49
- @media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
46
+ @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
50
47
  }
51
48
  `,y=p.styled.div`
52
49
  padding: 1rem 1rem 0 1rem;
@@ -68,4 +65,4 @@
68
65
  color: var(--gray-700, #4e555f);
69
66
  ${u.truncateTextInRows(3)}
70
67
  }
71
- `,$=c.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(S,{ref:o,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(y,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:d,children:m})]})}),I=c.forwardRef(({},t)=>r.jsxs(S,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(y,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(c.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=c.memo($),_=c.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:d=()=>{},buttonLink:m,items:n,buttonText:v,limit:g=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=c.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a)):n==null?void 0:n.slice(0,g).map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),u.isDefinedNotEmptyString(m)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),l(m)},borderRadius:"curved",className:"button-link",children:v})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:w,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
68
+ `,$=c.forwardRef((t,l)=>{const{title:i,imageUrl:n,text:o,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(b,{ref:l,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:n}),r.jsxs(y,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:o})]}),r.jsx(R,{className:"action",color:"gray",onClick:d,children:m})]})}),I=c.forwardRef(({},t)=>r.jsxs(b,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(y,{})]})),P=({limit:t=3,isLoading:l=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(n,o)=>r.jsx(I,{isLoading:l},`${i}-skeleton-product-card-${o}`))}),T=({children:t,fallbackComponent:l=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:n,keyPrefix:o})=>r.jsx(c.Suspense,{fallbackComponent:l,children:i===!0?r.jsx(P,{isLoading:i,limit:n,keyPrefix:o}):t}),j=c.memo($),_=c.forwardRef((t,l)=>{const{icon:i,title:n,onButtonAction:o=()=>{},onSelectCard:d=()=>{},buttonLink:m,items:s,buttonText:w,limit:g=3,isLoading:v=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=c.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?s==null?void 0:s.map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a)):s==null?void 0:s.slice(0,g).map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a))}),[s]);return r.jsxs(q.RegulatTitleSectionWrapper,{ref:l,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:n})]}),u.isDefinedNotEmptyString(m)&&r.jsx(x,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),o(m)},borderRadius:"curved",className:"button-link",children:w})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:v,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
@@ -1,9 +1,9 @@
1
- import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
1
+ import { jsxs as m, jsx as r, Fragment as g } from "react/jsx-runtime";
2
2
  import { forwardRef as u, Suspense as B, memo as P, useMemo as R } from "react";
3
3
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as k } from "./consts-BuFChS64.js";
4
+ import { M as v } from "./consts-BuFChS64.js";
5
5
  import { u as T } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { o as I, p as U, k as v } from "./utils-BbgAIA9N.js";
6
+ import { o as I, p as U, k as S } from "./utils-BbgAIA9N.js";
7
7
  import { R as W } from "./style-08foMKSd.js";
8
8
  import z from "./Button.js";
9
9
  import j from "./Link.js";
@@ -13,7 +13,7 @@ const E = h.div`
13
13
  grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
14
14
  gap: 1.25rem;
15
15
 
16
- @media (max-width: ${k + "px"}) {
16
+ @media (max-width: ${v + "px"}) {
17
17
  grid-template-columns: repeat(1, 1fr);
18
18
  }
19
19
  `, w = h.div`
@@ -31,10 +31,7 @@ const E = h.div`
31
31
  cursor: pointer;
32
32
 
33
33
  &:hover {
34
- & .text-wr-title {
35
- color: var(--primary-500, #f59e0b);
36
- transition: var(--transition);
37
- }
34
+
38
35
  }
39
36
 
40
37
  & img {
@@ -56,7 +53,7 @@ const E = h.div`
56
53
  margin-top: auto;
57
54
  }
58
55
 
59
- @media (max-width: ${k + "px"}) {
56
+ @media (max-width: ${v + "px"}) {
60
57
  }
61
58
  `, y = h.div`
62
59
  padding: 1rem 1rem 0 1rem;
@@ -80,9 +77,9 @@ const E = h.div`
80
77
  }
81
78
  `, L = u((t, o) => {
82
79
  const { title: i, imageUrl: n, text: l, onCardClick: c, readMoreText: s = "Read more" } = t;
83
- return /* @__PURE__ */ d(w, { ref: o, className: "blog-card", onClick: c, children: [
80
+ return /* @__PURE__ */ m(w, { ref: o, className: "blog-card", onClick: c, children: [
84
81
  /* @__PURE__ */ r(A, { src: n }),
85
- /* @__PURE__ */ d(y, { children: [
82
+ /* @__PURE__ */ m(y, { children: [
86
83
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: i }),
87
84
  /* @__PURE__ */ r("div", { className: "text-wr", children: l })
88
85
  ] }),
@@ -90,7 +87,7 @@ const E = h.div`
90
87
  ] });
91
88
  }), _ = u(({}, t) => (
92
89
  // <LandingPageClearProductCardSkeleton />
93
- /* @__PURE__ */ d(w, { className: "product-card", children: [
90
+ /* @__PURE__ */ m(w, { className: "product-card", children: [
94
91
  /* @__PURE__ */ r("div", { className: "skeleton-img" }),
95
92
  /* @__PURE__ */ r("div", { className: "card-title" }),
96
93
  /* @__PURE__ */ r(y, {})
@@ -114,7 +111,7 @@ const E = h.div`
114
111
  limit: n,
115
112
  keyPrefix: l
116
113
  }
117
- ) : t }), S = P(L), Y = u((t, o) => {
114
+ ) : t }), k = P(L), Y = u((t, o) => {
118
115
  const {
119
116
  icon: i,
120
117
  title: n,
@@ -130,8 +127,8 @@ const E = h.div`
130
127
  getImage: f = () => {
131
128
  },
132
129
  readMoreText: b = "Read more"
133
- } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, m) => /* @__PURE__ */ r(
134
- S,
130
+ } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, d) => /* @__PURE__ */ r(
131
+ k,
135
132
  {
136
133
  title: e == null ? void 0 : e.title,
137
134
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
@@ -140,9 +137,9 @@ const E = h.div`
140
137
  readMoreText: b,
141
138
  onCardClick: () => c(e == null ? void 0 : e.titleSlug)
142
139
  },
143
- m
144
- )) : a == null ? void 0 : a.slice(0, p).map((e, m) => /* @__PURE__ */ r(
145
- S,
140
+ d
141
+ )) : a == null ? void 0 : a.slice(0, p).map((e, d) => /* @__PURE__ */ r(
142
+ k,
146
143
  {
147
144
  title: e == null ? void 0 : e.title,
148
145
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
@@ -151,23 +148,23 @@ const E = h.div`
151
148
  readMoreText: b,
152
149
  onCardClick: () => c(e == null ? void 0 : e.titleSlug)
153
150
  },
154
- m
151
+ d
155
152
  )) }), [a]);
156
- return /* @__PURE__ */ d(W, { ref: o, children: [
157
- /* @__PURE__ */ d("div", { className: "regular-title", children: [
158
- /* @__PURE__ */ d("div", { className: "regular-title-text", children: [
159
- v(i) && /* @__PURE__ */ r("i", { className: i }),
153
+ return /* @__PURE__ */ m(W, { ref: o, children: [
154
+ /* @__PURE__ */ m("div", { className: "regular-title", children: [
155
+ /* @__PURE__ */ m("div", { className: "regular-title-text", children: [
156
+ S(i) && /* @__PURE__ */ r("i", { className: i }),
160
157
  /* @__PURE__ */ r("span", { children: n })
161
158
  ] }),
162
- v(s) && /* @__PURE__ */ r(
159
+ S(s) && /* @__PURE__ */ r(
163
160
  z,
164
161
  {
165
162
  type: "button",
166
163
  btnType: "tinted",
167
164
  color: "gray",
168
165
  onClick: (e) => {
169
- var m;
170
- (m = e == null ? void 0 : e.target) == null || m.blur(), l(s);
166
+ var d;
167
+ (d = e == null ? void 0 : e.target) == null || d.blur(), l(s);
171
168
  },
172
169
  borderRadius: "curved",
173
170
  className: "button-link",
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),s=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),U=require("./Button.cjs"),y=require("./utils-CZynEOC_.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./style-JqDQj4jh.cjs"),h=require("./suspense-product-card-detailed-DXwya4fQ.cjs"),T=require("./index-C1DkD2ug.cjs"),E=v.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),U=require("./Button.cjs"),y=require("./utils-CZynEOC_.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./style-JqDQj4jh.cjs"),h=require("./suspense-product-card-detailed-LcBMp1iw.cjs"),T=require("./index-C1DkD2ug.cjs"),E=v.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${r=>`repeat(${r.limit}, minmax(0, 1fr))`};
4
4
  gap: ${r=>(r==null?void 0:r.gap)||"1.25rem"};
@@ -6,7 +6,7 @@ import E from "./Button.js";
6
6
  import { k as f } from "./utils-BbgAIA9N.js";
7
7
  import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
8
8
  import { T as $ } from "./style-08foMKSd.js";
9
- import { D as L, S as O } from "./suspense-product-card-detailed-bYBpLiXc.js";
9
+ import { D as L, S as O } from "./suspense-product-card-detailed-PArA5O4M.js";
10
10
  import { S as R } from "./index-CQLF61YV.js";
11
11
  const W = F.div`
12
12
  display: grid;
@@ -55,11 +55,12 @@
55
55
  height: 11.625rem;
56
56
  border-radius: 0.75rem;
57
57
  background: ${l.linearGradientAnimation("-90deg")};
58
- `,S=m.styled.div`
58
+ `,O=m.styled.div`
59
59
  display: flex;
60
60
  flex-direction: column;
61
61
  align-items: center;
62
62
  gap: 0.75rem;
63
+ height: 100%;
63
64
 
64
65
  &:hover {
65
66
  cursor: pointer;
@@ -140,7 +141,7 @@
140
141
  white-space: nowrap;
141
142
  }
142
143
  }
143
- `,F=m.styled.div`
144
+ `,S=m.styled.div`
144
145
  width: 7.5rem;
145
146
  width: 7.5rem;
146
147
  border-radius: 999px;
@@ -150,7 +151,7 @@
150
151
  width: 7.5rem;
151
152
  height: 2.5rem;
152
153
  }
153
- `,L=s.forwardRef(({},t)=>r.jsx(F,{})),O=s.forwardRef(({text:t,isActive:o=!1,icon:n,onSelectCard:i=()=>{}},f)=>r.jsxs(S,{className:o?"active":"",onClick:i,children:[r.jsx(M,{icon:n,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),A=s.forwardRef(({image:t,imageComponent:o,title:n,description:i,className:f,onSelectCard:g=()=>{}},j)=>{const{theme:x}=R.useTheme();return r.jsxs(z,{theme:x,className:f,onClick:g,children:[l.isDefined(o)?o:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[n&&r.jsx("div",{className:"wrapper__title",children:n}),i&&r.jsx("div",{className:"wrapper__description",children:i})]})]})}),W=s.forwardRef(({},t)=>r.jsxs(C,{children:[r.jsx("div",{className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsx("div",{className:"wrapper__title"}),r.jsx("div",{className:"wrapper__description"})]})]})),T=m.styled.div`
154
+ `,F=s.forwardRef(({},t)=>r.jsx(S,{})),L=s.forwardRef(({text:t,isActive:o=!1,icon:i,onSelectCard:n=()=>{}},f)=>r.jsxs(O,{className:o?"active":"",onClick:n,children:[r.jsx(M,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),A=s.forwardRef(({image:t,imageComponent:o,title:i,description:n,className:f,onSelectCard:g=()=>{}},j)=>{const{theme:x}=R.useTheme();return r.jsxs(z,{theme:x,className:f,onClick:g,children:[l.isDefined(o)?o:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),T=s.forwardRef(({},t)=>r.jsxs(C,{children:[r.jsx("div",{className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsx("div",{className:"wrapper__title"}),r.jsx("div",{className:"wrapper__description"})]})]})),W=m.styled.div`
154
155
  display: flex;
155
156
  flex-direction: column;
156
157
  align-items: center;
@@ -182,11 +183,19 @@
182
183
  }
183
184
  }
184
185
 
186
+ & .wrapper__tags__external {
187
+ width: 100%;
188
+ }
189
+
185
190
  & .wrapper__tags {
186
191
  display: flex;
187
192
  justify-content: center;
188
193
  align-items: center;
189
194
  gap: 0.75rem;
195
+
196
+ grid-template-columns: ${t=>`repeat(${t.numberOfTags||0}, minmax(0, 7rem))`};
197
+ justify-content: center;
198
+ display: grid;
190
199
  }
191
200
 
192
201
  & .wrapper__cards {
@@ -227,4 +236,4 @@
227
236
  grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitCardsForMobile}, minmax(0, 1fr))`};
228
237
  }
229
238
  }
230
- `,B=s.forwardRef(({title:t,subtitle:o,tags:n=[],items:i=[],limitTags:f=5,limitTagsForMobile:g=5,limit:j=3,limitForMobile:x=2,selectedTag:E,onSelectTag:u=()=>{},onSelectCard:y=()=>{},className:d},I)=>{var k,$;return s.useLayoutEffect(()=>{if(!l.isDefinedNotEmptyString(d))return;const e=()=>{const p=document.querySelector(`.${d} .wrapper__cards`),c=p.querySelectorAll(".wrapper__card");c.forEach(w=>{const N=w.getBoundingClientRect().height,q=Math.ceil((N+10)/20);w.style.gridRowEnd=`span ${q}`});const v=c==null?void 0:c[c.length-1];if(v){const w=v.offsetTop+v.offsetHeight;p.style.height=`${w}px`}},_=document.querySelector(`.${d} .wrapper__cards`).querySelectorAll(".wrapper__image");let h=0;return _.length===0?e():(_.forEach(p=>{p.complete?h++:p.addEventListener("load",()=>{h++,h===_.length&&e()})}),h===_.length&&e()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[d,i]),r.jsxs(T,{ref:I,limitTags:f,limitTagsForMobile:g,limitCards:j,limitCardsForMobile:x,className:d,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__tags",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,a)=>r.jsx(O,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===E,onSelectCard:()=>u==null?void 0:u(e)},`field-of-interests-masonry-tag__${a+1}`)):(k=Array.from("12345"))==null?void 0:k.map((e,a)=>r.jsx(L,{},`field-of-interests-masonry-tag-skeleton__${a+1}`))}),r.jsx("div",{className:"wrapper__cards",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,a)=>r.jsx(A,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>y==null?void 0:y(e),className:"wrapper__card"},`field-of-interests-with-tags-card__${a+1}`)):($=Array.from("12345"))==null?void 0:$.map((e,a)=>r.jsx(W,{},`field-of-interests-with-tags-card-skeleton__${a+1}`))})]})});module.exports=B;
239
+ `,B=s.forwardRef(({title:t,subtitle:o,tags:i=[],items:n=[],limitTags:f=5,limitTagsForMobile:g=5,limit:j=3,limitForMobile:x=2,selectedTag:E,onSelectTag:u=()=>{},onSelectCard:y=()=>{},className:d},I)=>{var k,$;return s.useLayoutEffect(()=>{if(!l.isDefinedNotEmptyString(d))return;const e=()=>{const p=document.querySelector(`.${d} .wrapper__cards`),c=p.querySelectorAll(".wrapper__card");c.forEach(w=>{const N=w.getBoundingClientRect().height,q=Math.ceil((N+10)/20);w.style.gridRowEnd=`span ${q}`});const v=c==null?void 0:c[c.length-1];if(v){const w=v.offsetTop+v.offsetHeight;p.style.height=`${w}px`}},_=document.querySelector(`.${d} .wrapper__cards`).querySelectorAll(".wrapper__image");let h=0;return _.length===0?e():(_.forEach(p=>{p.complete?h++:p.addEventListener("load",()=>{h++,h===_.length&&e()})}),h===_.length&&e()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[d,n]),r.jsxs(W,{ref:I,limitTags:f,limitTagsForMobile:g,limitCards:j,limitCardsForMobile:x,className:d,numberOfTags:i==null?void 0:i.length,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__tags__external",children:r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,a)=>r.jsx(L,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===E,onSelectCard:()=>u==null?void 0:u(e)},`field-of-interests-masonry-tag__${a+1}`)):(k=Array.from("12345"))==null?void 0:k.map((e,a)=>r.jsx(F,{},`field-of-interests-masonry-tag-skeleton__${a+1}`))})}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,a)=>r.jsx(A,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>y==null?void 0:y(e),className:"wrapper__card"},`field-of-interests-with-tags-card__${a+1}`)):($=Array.from("12345"))==null?void 0:$.map((e,a)=>r.jsx(T,{},`field-of-interests-with-tags-card-skeleton__${a+1}`))})]})});module.exports=B;