@lanaco/lnc-react-ui 4.0.117 → 4.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/FaqSection.cjs +9 -9
- package/dist/FaqSection.js +132 -128
- package/dist/SalesCampaignsSection.cjs +49 -32
- package/dist/SalesCampaignsSection.js +325 -278
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),_=require("./utils-CZynEOC_.cjs"),F=require("./consts-goSZX3xP.cjs"),Q=require("./motion-B_VPZaJq.cjs"),a=require("./index-BpbMKBf_.cjs"),ee=require("./Icon.cjs"),pe=require("./Badge.cjs"),V=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),G=require("./IconButton.cjs"),re=require("./useDetectMobile-zkbzoOGV.cjs"),fe=u.styled.div`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
display: flex;
|
|
4
4
|
gap: 1rem;
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
border-radius: 20px;
|
|
7
7
|
border: 1px solid var(--gray-95008, #14161a14);
|
|
8
8
|
|
|
9
|
-
@media (max-width: ${
|
|
9
|
+
@media (max-width: ${F.MOBILE_SIZE_PX+"px"}) {
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
padding: 0;
|
|
12
12
|
gap: 0;
|
|
13
13
|
border: none;
|
|
14
14
|
border-radius: 0;
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
17
|
-
border-radius: ${e=>
|
|
16
|
+
`,xe=u.styled.div`
|
|
17
|
+
border-radius: ${e=>_.getBorderRadiusValueWithUnits(e.theme,"edged")};
|
|
18
18
|
height: 15rem;
|
|
19
19
|
width: 15rem;
|
|
20
20
|
min-width: 15rem;
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
@media (max-width: ${
|
|
40
|
+
@media (max-width: ${F.MOBILE_SIZE_PX+"px"}) {
|
|
41
41
|
width: 100%;
|
|
42
42
|
max-width: 100dvh;
|
|
43
43
|
height: 23.438rem;
|
|
44
44
|
}
|
|
45
|
-
`,
|
|
45
|
+
`,ye=u.styled.div`
|
|
46
46
|
flex: 1;
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
@@ -81,13 +81,30 @@
|
|
|
81
81
|
font-weight: 500;
|
|
82
82
|
padding-top: 0.75rem;
|
|
83
83
|
color: var(--gray-700, #4e555f);
|
|
84
|
+
|
|
85
|
+
& .listings-text {
|
|
86
|
+
color: var(--gray-700, #4e555f);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
& .duration-text {
|
|
90
|
+
color: var(--gray-700, #4e555f);
|
|
91
|
+
|
|
92
|
+
&.urgent {
|
|
93
|
+
color: var(--primary-500, #f59e0b);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& .countdown-timer {
|
|
98
|
+
color: var(--primary-500, #f59e0b);
|
|
99
|
+
font-weight: 600;
|
|
100
|
+
}
|
|
84
101
|
}
|
|
85
102
|
|
|
86
103
|
& .profile-item:hover {
|
|
87
104
|
background-color: transparent;
|
|
88
105
|
}
|
|
89
106
|
|
|
90
|
-
@media (max-width: ${
|
|
107
|
+
@media (max-width: ${F.MOBILE_SIZE_PX+"px"}) {
|
|
91
108
|
padding: 1.25rem;
|
|
92
109
|
|
|
93
110
|
& .campaign-title {
|
|
@@ -101,13 +118,13 @@
|
|
|
101
118
|
gap: 0.25rem;
|
|
102
119
|
}
|
|
103
120
|
}
|
|
104
|
-
`,
|
|
121
|
+
`,we={"#ADE3EB":"#76D0DB","#DDD6FE":"#C4B5FD","#FDE68A":"#FCD34D","#A7F3D0":"#6EE7B7","#BADFFF":"#87C6FA","#FECDD3":"#FDA4AF","#EFE2CF":"#EAD2AF","#DDDFE4":"#C4C8CF","#E7E5E4":"#D6D3D1","#FED7AA":"#FDBA74",default:"#C4C8CF"},Y=(e=!1,n=!1,o=!1)=>`
|
|
105
122
|
display: flex;
|
|
106
123
|
${n?"flex-wrap: wrap;":""}
|
|
107
124
|
${n?"":"flex-wrap: nowrap;"}
|
|
108
125
|
${e?"align-items: center;":""}
|
|
109
126
|
${o?"justify-content: center;":""}
|
|
110
|
-
`,
|
|
127
|
+
`,ve=u.styled(Q.motion.div)`
|
|
111
128
|
text-decoration: none;
|
|
112
129
|
${e=>e.hasPermission===!0&&"cursor: pointer"};
|
|
113
130
|
|
|
@@ -124,14 +141,14 @@
|
|
|
124
141
|
text-decoration: none;
|
|
125
142
|
}
|
|
126
143
|
|
|
127
|
-
${
|
|
144
|
+
${Y(!0)}
|
|
128
145
|
gap: 0.5rem;
|
|
129
146
|
padding: 0.5rem;
|
|
130
147
|
color: ${e=>e.isActive===!1?"var(--gray-900)":"var(--primary-600)"};
|
|
131
148
|
font-weight: 500;
|
|
132
149
|
font-size: 0.875rem;
|
|
133
150
|
line-height: 1.25rem;
|
|
134
|
-
border-radius: ${e=>
|
|
151
|
+
border-radius: ${e=>_.getBorderRadiusValueWithUnits(e.theme,"slight")};
|
|
135
152
|
transition: all 0.25s ease;
|
|
136
153
|
& .description {
|
|
137
154
|
font-size: 0.85rem;
|
|
@@ -140,11 +157,11 @@
|
|
|
140
157
|
font-weight: 400;
|
|
141
158
|
}
|
|
142
159
|
& .logo-wrapper {
|
|
143
|
-
${
|
|
160
|
+
${Y(!0,!1,!0)}
|
|
144
161
|
flex-shrink: 0;
|
|
145
162
|
border-radius: 999px;
|
|
146
163
|
border: 3px solid
|
|
147
|
-
${e=>e.isActive===!1?"var(--gray-300, #c4c8cf)":
|
|
164
|
+
${e=>e.isActive===!1?"var(--gray-300, #c4c8cf)":we[e.themeColor]??"var(--gray-300, #c4c8cf)"};
|
|
148
165
|
|
|
149
166
|
& img,
|
|
150
167
|
.img-placeholder {
|
|
@@ -187,14 +204,14 @@
|
|
|
187
204
|
background-color: var(--gray-95080, #14161acc);
|
|
188
205
|
color: var(--gray-600, #676e79);
|
|
189
206
|
}
|
|
190
|
-
`,
|
|
207
|
+
`,be=u.styled.div`
|
|
191
208
|
position: absolute;
|
|
192
209
|
top: 0.5rem;
|
|
193
210
|
${e=>e.alignToLeft===!0?"left: 0.5rem;":"right: 0.5rem;"}
|
|
194
211
|
display: flex;
|
|
195
212
|
gap: 0.25rem;
|
|
196
|
-
`,
|
|
197
|
-
border-radius: ${e=>
|
|
213
|
+
`,_e=u.styled.div`
|
|
214
|
+
border-radius: ${e=>_.getBorderRadiusValueWithUnits(e.theme,e.borderRadius||"slight")};
|
|
198
215
|
background-color: ${e=>e==null?void 0:e.color};
|
|
199
216
|
color: white;
|
|
200
217
|
height: 1.5rem;
|
|
@@ -209,7 +226,7 @@
|
|
|
209
226
|
& i {
|
|
210
227
|
font-size: 0.813rem;
|
|
211
228
|
}
|
|
212
|
-
`,
|
|
229
|
+
`,te=e=>{const{uuid:n,hasPermission:o=!0,isUser:l,image:p,name:h,notifications:f=0,color:i="primary",size:m="large",style:c,disabled:S,onClick:v=()=>{},isActive:T,className:j,shopCategory:$,themeData:x}=e,b={theme:V.useTheme(),color:i,size:m,style:c,disabled:S};return g.createElement(ve,{onClick:C=>{C.stopPropagation(),o===!0&&(v==null||v())},...b,key:h,className:`profile-item ${j}`,hasPermission:o,isActive:T,themeColor:(x==null?void 0:x.code)||"transparent"},t.jsx("div",{className:"logo-wrapper",children:p}),t.jsxs("div",{children:[t.jsx("div",{className:"name",children:h}),!l&&t.jsx("div",{className:"description",children:$}),f>0&&t.jsx("div",{className:"notifications-number",children:t.jsx(pe,{className:"badge",color:"danger",size:"small",children:f>99?"99+":f})})]}))};te.propTypes={id:a.PropTypes.any,isUserProfile:a.PropTypes.bool,themeColor:a.PropTypes.string,image:a.PropTypes.any,name:a.PropTypes.string,notifications:a.PropTypes.number,style:a.PropTypes.object,className:a.PropTypes.string,color:a.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral"]),size:a.PropTypes.oneOf(["large"]),onSelect:a.PropTypes.func,hasPermission:a.PropTypes.bool};const H=(e,n)=>{if(!e||!n)return null;let o=Math.floor((e==null?void 0:e.getTime())-(n==null?void 0:n.getTime())),l=1e3*60*60*24;return Math.floor(o/l)},J=e=>{if(e!==void 0){const n=new Date(e),o=n.getFullYear(),l=n.getMonth()+1;return`${String(n.getDate()).padStart(2)}. ${l}. ${o}.`}},ne=g.forwardRef((e,n)=>{var Z;const o=V.useTheme(),{shopUuid:l,title:p="",coverPhoto:h,onSelect:f,startDate:i,endDate:m,salesPackages:c,shopName:S,shopCategory:v,shopImage:T,className:j,onSelectCard:$=()=>{},onSelectShop:x=()=>{},upcoming:P=!1,upcomingCampaignText:b,campaignSingleText:C,salesCampaignTypes:y=[],startsInPrefixTextPlural:N,startsinSuffixTextPlural:B,startsInPrefixTextSingular:M,startsinSuffixTextSingular:R,endsInPrefixTextPlural:s,endsinSuffixTextPlural:d,endsInPrefixTextSingular:z,endsinSuffixTextSingular:r,themeData:q,numberOfListings:W,numberOfListingsTextSingular:ae,numberOfListingsTextPlural:oe,...ie}=e,le=i?new Date(i)<=new Date:!1,ce=H(i?new Date(i):null,new Date),I=H(m?new Date(m):null,new Date),de=I!==null&&I<=3&&I>0,O=I!==null&&I<=1&&I>=0,X=(D,L,w,k,E)=>w===1?`${D} ${w} ${k}`:`${L} ${w} ${E}`,ge=()=>{if(!m)return null;const D=ue,w=new Date(m).getTime()-D.getTime();if(w<=0)return null;const k=Math.floor(w/(1e3*60*60)),E=Math.floor(w%(1e3*60*60)/(1e3*60)),me=Math.floor(w%(1e3*60)/1e3);return{hours:k,minutes:E,seconds:me}},[ue,he]=g.useState(new Date);g.useEffect(()=>{if(!O)return;const D=setInterval(()=>{he(new Date)},1e3);return()=>clearInterval(D)},[O]);const A=O?ge():null;return t.jsxs(fe,{ref:n,theme:o,className:j,onClick:$,...ie,children:[t.jsxs(xe,{theme:o,onClick:()=>f==null?void 0:f(),children:[t.jsx("img",{src:h}),t.jsx(be,{children:c==null?void 0:c.map((D,L)=>{var w,k;return t.jsx(_e,{color:(w=y==null?void 0:y.find(E=>E.value===D))==null?void 0:w.color,theme:o,children:t.jsx(ee,{icon:(k=y==null?void 0:y.find(E=>E.value===D))==null?void 0:k.icon})},`package__${L}`)})})]}),t.jsxs(ye,{theme:o,children:[t.jsx("div",{className:"text-block-wrapper",children:t.jsxs("div",{className:"title-block-wrapper",children:[t.jsx("div",{className:"campaign-title",children:(Z=P?b:C)==null?void 0:Z.toUpperCase()}),t.jsx("div",{className:"campaign-title-text",children:p}),m&&i&&t.jsxs("div",{children:[J(i)," - ",J(m)]}),t.jsxs("div",{className:"timestamp-text",children:[W>0&&t.jsxs("span",{className:"listings-text",children:[W," ",W===1?ae:oe," ","∙"," "]}),t.jsx("span",{className:`duration-text ${de?"urgent":""}`,children:O&&A?t.jsxs("div",{className:"countdown-timer",children:[z," ",A.hours.toString().padStart(2,"0"),":",A.minutes.toString().padStart(2,"0"),":",A.seconds.toString().padStart(2,"0")]}):le?X(z,s,I,r,d):X(M,N,ce,R,B)})]})]})}),t.jsx(te,{hasPermission:!0,image:t.jsx("img",{src:T,className:`${T?"":"no-image"}`}),themeData:q,isActive:!0,isUser:!1,name:S,shopCategory:v,onClick:()=>x(l)})]})]})});ne.propTypes={title:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.element]),numberOfListings:a.PropTypes.number,dropdown:a.PropTypes.any,color:a.PropTypes.string};u.styled.div`
|
|
213
230
|
display: flex;
|
|
214
231
|
flex-direction: column;
|
|
215
232
|
gap: 1.5rem;
|
|
@@ -240,26 +257,26 @@
|
|
|
240
257
|
}
|
|
241
258
|
}
|
|
242
259
|
|
|
243
|
-
@media (max-width: ${
|
|
260
|
+
@media (max-width: ${F.MOBILE_SIZE_PX+"px"}) {
|
|
244
261
|
& .campaign-item {
|
|
245
262
|
min-width: 100%;
|
|
246
263
|
width: 100%;
|
|
247
264
|
margin-right: 0;
|
|
248
265
|
}
|
|
249
266
|
}
|
|
250
|
-
`;const
|
|
267
|
+
`;const U=u.styled.div`
|
|
251
268
|
width: ${e=>e.width||"100%"};
|
|
252
269
|
height: ${e=>(e.heightCoeff||1)*1.125}rem;
|
|
253
270
|
background-color: var(--gray-200, #dddfe4);
|
|
254
271
|
|
|
255
|
-
${
|
|
256
|
-
`,
|
|
272
|
+
${_.linearGradientAnimation("-90deg")}
|
|
273
|
+
`,Te=u.styled.div`
|
|
257
274
|
display: flex;
|
|
258
275
|
flex-direction: ${e=>e!=null&&e.row?"row":"column"};
|
|
259
276
|
gap: ${e=>(e==null?void 0:e.gap)??"0.5rem"};
|
|
260
277
|
width: ${e=>(e==null?void 0:e.width)??"100%"};
|
|
261
|
-
`,
|
|
262
|
-
border-radius: ${e=>
|
|
278
|
+
`,K=u.styled.div`
|
|
279
|
+
border-radius: ${e=>_.getBorderRadiusValueWithUnits(e.theme,(e==null?void 0:e.borderRadius)??"regular")};
|
|
263
280
|
background: var(--gray-200, #dddfe4);
|
|
264
281
|
position: relative;
|
|
265
282
|
max-height: ${e=>(e==null?void 0:e.height)??"5rem"};
|
|
@@ -268,10 +285,10 @@
|
|
|
268
285
|
width: ${e=>(e==null?void 0:e.width)??"5rem"};
|
|
269
286
|
flex-shrink: 0;
|
|
270
287
|
|
|
271
|
-
${
|
|
272
|
-
`,
|
|
288
|
+
${_.linearGradientAnimation()}
|
|
289
|
+
`,je=u.styled.div`
|
|
273
290
|
background: var(--white, #fff);
|
|
274
|
-
border-radius: ${e=>
|
|
291
|
+
border-radius: ${e=>_.getBorderRadiusValueWithUnits(e.theme,"edged")};
|
|
275
292
|
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
|
|
276
293
|
border: 1px solid var(--gray-95012, #14161a1f);
|
|
277
294
|
|
|
@@ -298,17 +315,17 @@
|
|
|
298
315
|
gap: 0.5rem;
|
|
299
316
|
}
|
|
300
317
|
|
|
301
|
-
@media (max-width: ${
|
|
318
|
+
@media (max-width: ${F.MOBILE_SIZE_PX+"px"}) {
|
|
302
319
|
flex-direction: column;
|
|
303
320
|
|
|
304
321
|
& .campaign__user {
|
|
305
322
|
margin-top: 1rem;
|
|
306
323
|
}
|
|
307
324
|
}
|
|
308
|
-
|
|
325
|
+
`,$e=u.styled.div`
|
|
309
326
|
display: flex;
|
|
310
327
|
gap: 1.5rem;
|
|
311
|
-
|
|
328
|
+
`,De=g.forwardRef(({},e)=>{const n=V.useTheme();return t.jsxs(je,{ref:e,theme:n,children:[t.jsx("div",{className:"campaign__left-section",children:t.jsx(K,{theme:n,width:"15rem",height:"15rem",borderRadius:"edged"})}),t.jsxs("div",{className:"campaign__right-section",children:[t.jsxs(Te,{theme:n,children:[t.jsx(U,{heightCoeff:.75,theme:n,width:"35%"}),t.jsx(U,{heightCoeff:1.25,theme:n}),t.jsx(U,{heightCoeff:3,theme:n})]}),t.jsxs("div",{className:"campaign__user",children:[t.jsx(K,{theme:n,width:"2.5rem",height:"2.5rem",borderRadius:"curved"}),t.jsx(U,{theme:n,width:"75%"})]})]})]})}),Se=({itemsCount:e=5,keyPrefix:n})=>t.jsx($e,{children:Array.from({length:e},(o,l)=>t.jsx(De,{},`${n}-skeleton-campaign-card-${l}`))}),Pe=({children:e,fallbackComponent:n=t.jsx(t.Fragment,{}),isLoading:o=!1,itemsCount:l=5,keyPrefix:p})=>t.jsx(g.Suspense,{fallback:n,children:o===!0?t.jsx(Se,{itemsCount:l,keyPrefix:p}):e}),Ce=u.styled.div`
|
|
312
329
|
margin: 0 auto;
|
|
313
330
|
display: flex;
|
|
314
331
|
flex-direction: column;
|
|
@@ -349,12 +366,12 @@
|
|
|
349
366
|
top: 0;
|
|
350
367
|
right: 0;
|
|
351
368
|
}
|
|
352
|
-
`,
|
|
369
|
+
`,Ie=u.styled(Q.motion.div)`
|
|
353
370
|
display: grid;
|
|
354
371
|
grid-template-columns: repeat(${e=>e==null?void 0:e.numOfColumns}, 1fr);
|
|
355
372
|
gap: 1.5rem;
|
|
356
373
|
|
|
357
|
-
@media (max-width: ${
|
|
374
|
+
@media (max-width: ${F.MOBILE_SIZE_PX+"px"}) {
|
|
358
375
|
grid-template-columns: repeat(${e=>e==null?void 0:e.numOfColumnsForMobile}, 1fr);
|
|
359
376
|
}
|
|
360
|
-
`,
|
|
377
|
+
`,se=g.forwardRef(({icon:e,title:n,numOfSlides:o=2,numOfSlidesForMobile:l=1,showNavigation:p=!0,children:h},f)=>{const[i,m]=g.useState(0),[c,S]=g.useState(1),[v,T]=g.useState(null),[j,$]=g.useState(null),x=re.useDetectMobile(),P=50,b=(h==null?void 0:h.length)??1;g.useEffect(()=>{const s=()=>{S(x?l:o)};return window.addEventListener("resize",s),s(),()=>window.removeEventListener("resize",s)},[]);const C=h==null?void 0:h.slice(i,i+c),y=s=>{var d;(d=s==null?void 0:s.target)==null||d.blur(),i+c<b&&m(i+c)},N=s=>{var d;(d=s==null?void 0:s.target)==null||d.blur(),i-c>=0&&m(i-c)},B=s=>{var d;$(null),T((d=s==null?void 0:s.targetTouches["0"])==null?void 0:d.clientX)},M=s=>{var d;$((d=s==null?void 0:s.targetTouches["0"])==null?void 0:d.clientX)},R=()=>{if(!v||!j)return;const s=v-j;s>P&&y(),s<-P&&N()};return t.jsxs(Ce,{ref:f,...x?{onTouchStart:B,onTouchMove:M,onTouchEnd:R}:{},children:[t.jsx("div",{className:"scrollable-section__header",children:t.jsxs("div",{className:"scrollable-section__title",children:[_.isDefinedNotEmptyString(e)&&t.jsx(ee,{icon:e,color:"primary",sizeInUnits:"1.5rem",className:"title__icon"}),_.isDefinedNotEmptyString(n)&&t.jsx("div",{className:"title__text",children:n})]})}),t.jsx(Ie,{numOfColumns:o,numOfColumnsForMobile:l,animate:{x:0,opacity:1},initial:{x:10,opacity:0},children:C},`scrollable-section__content-${i}`),p&&b>c&&!x&&t.jsxs("div",{className:"scrollable-section__navigation",children:[t.jsx(G,{icon:"angle-left",borderRadius:"curved",btnType:"tinted",color:"neutral",className:"navigation__arrow",disabled:i===0,onClick:N}),t.jsx(G,{icon:"angle-right",borderRadius:"curved",btnType:"tinted",color:"neutral",className:"navigation__arrow",disabled:i+c>=b,onClick:y})]})]})});se.propTypes={icon:a.PropTypes.string,title:a.PropTypes.string,numOfSlides:a.PropTypes.number,numOfSlidesForMobile:a.PropTypes.number,showNavigation:a.PropTypes.bool};const Ee=g.memo(ne),Ne=g.forwardRef(({sellerType:e="Shop",items:n=[],title:o,icon:l,isLoading:p,onSelectCard:h=()=>{},onSelectShop:f=()=>{},getImage:i=()=>{},campaignSingleText:m,upcomingCampaignText:c,salesCampaignTypes:S=[],startsInPrefixTextPlural:v,startsinSuffixTextPlural:T,startsInPrefixTextSingular:j,startsinSuffixTextSingular:$,endsInPrefixTextPlural:x,endsinSuffixTextPlural:P,endsInPrefixTextSingular:b,endsinSuffixTextSingular:C,numOfSlides:y=2,numOfSlidesForMobile:N=1,showNavigation:B=!0,numberOfListingsTextSingular:M,numberOfListingsTextPlural:R},s)=>{const d=re.useDetectMobile(),z=g.useMemo(()=>n==null?void 0:n.map((r,q)=>t.jsx(Ee,{className:"campaign-item",coverPhoto:i(r==null?void 0:r.coverPhoto,(r==null?void 0:r.uuid)||(r==null?void 0:r.campaignUuid)),description:r==null?void 0:r.description,endDate:r==null?void 0:r.endDate,salesPackages:r==null?void 0:r.salesPackages,sellerType:e,shopImage:r==null?void 0:r.profileImage,shopName:r==null?void 0:r.shopName,shopUuid:r==null?void 0:r.shopUuid,shopCategory:r==null?void 0:r.shopCategory,startDate:r==null?void 0:r.startDate,title:r==null?void 0:r.name,uuid:r==null?void 0:r.campaignUuid,onSelectCard:()=>h(r==null?void 0:r.campaignUuid,r==null?void 0:r.shopUuid),onSelectShop:()=>f(r==null?void 0:r.shopUuid),campaignSingleText:m,upcomingCampaignText:c,upcoming:r==null?void 0:r.upcoming,salesCampaignTypes:S,startsInPrefixTextPlural:v,startsinSuffixTextPlural:T,startsInPrefixTextSingular:j,startsinSuffixTextSingular:$,endsInPrefixTextPlural:x,endsinSuffixTextPlural:P,endsInPrefixTextSingular:b,endsinSuffixTextSingular:C,themeData:r==null?void 0:r.themeData,numberOfListings:r==null?void 0:r.numberOfListings,numberOfListingsTextSingular:M,numberOfListingsTextPlural:R},`campaign__item__${q}__${r==null?void 0:r.startDate}___${r==null?void 0:r.endDate}`)),[n]);return t.jsx(Pe,{isLoading:p,itemsCount:d?1:2,keyPrefix:"sales-camp",children:t.jsx(se,{icon:l,title:o,numOfSlides:y,numOfSlidesForMobile:N,showNavigation:B,children:z})})});module.exports=Ne;
|