@lanaco/lnc-react-ui 4.0.227 → 4.0.228

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 (243) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerNextSection.cjs +1 -1
  14. package/dist/BannerNextSection.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +1 -1
  16. package/dist/BannerSectionCarousel.js +1 -1
  17. package/dist/BannerSectionSimple.cjs +1 -1
  18. package/dist/BannerSectionSimple.js +1 -1
  19. package/dist/BannerSectionWithList.cjs +1 -1
  20. package/dist/BannerSectionWithList.js +1 -1
  21. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  22. package/dist/BlogCardsSponsoredSection.js +3 -3
  23. package/dist/BlogCategoryCardsSection.cjs +1 -1
  24. package/dist/BlogCategoryCardsSection.js +1 -1
  25. package/dist/BlogExploreSection.cjs +1 -1
  26. package/dist/BlogExploreSection.js +2 -2
  27. package/dist/BlogListSection.cjs +1 -1
  28. package/dist/BlogListSection.js +3 -3
  29. package/dist/BlogProductCardsSection.cjs +1 -1
  30. package/dist/BlogProductCardsSection.js +1 -1
  31. package/dist/BlogShopCardsSection.cjs +1 -1
  32. package/dist/BlogShopCardsSection.js +1 -1
  33. package/dist/BlogSingleSection.cjs +1 -1
  34. package/dist/BlogSingleSection.js +1 -1
  35. package/dist/BlogsSectionDetailed.cjs +1 -1
  36. package/dist/BlogsSectionDetailed.js +3 -3
  37. package/dist/BlogsSectionLarge.cjs +1 -1
  38. package/dist/BlogsSectionLarge.js +1 -1
  39. package/dist/BlogsSectionSimple.cjs +1 -1
  40. package/dist/BlogsSectionSimple.js +3 -3
  41. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  42. package/dist/BlogsSectionSimpleCentered.js +2 -2
  43. package/dist/BlogsSectionWithFilters.cjs +1 -1
  44. package/dist/BlogsSectionWithFilters.js +4 -4
  45. package/dist/BrandHitsSection.cjs +1 -1
  46. package/dist/BrandHitsSection.js +1 -1
  47. package/dist/Breadcrumbs.cjs +1 -1
  48. package/dist/Breadcrumbs.js +1 -1
  49. package/dist/Button.cjs +1 -1
  50. package/dist/Button.js +1 -1
  51. package/dist/ButtonGroup.cjs +1 -1
  52. package/dist/ButtonGroup.js +1 -1
  53. package/dist/CalorieCalculatorSection.cjs +1 -1
  54. package/dist/CalorieCalculatorSection.js +1 -1
  55. package/dist/{CategorySimpleCard-TJRJ_2Sb.js → CategorySimpleCard-BE6F0PFT.js} +1 -1
  56. package/dist/{CategorySimpleCard-lIdzBNDa.cjs → CategorySimpleCard-Dr1FxIY9.cjs} +1 -1
  57. package/dist/CheckBoxInput.cjs +1 -1
  58. package/dist/CheckBoxInput.js +1 -1
  59. package/dist/Chip.cjs +1 -1
  60. package/dist/Chip.js +1 -1
  61. package/dist/ColorInput.cjs +1 -1
  62. package/dist/ColorInput.js +1 -1
  63. package/dist/ConfirmationForm.cjs +1 -1
  64. package/dist/ConfirmationForm.js +1 -1
  65. package/dist/CustomLoanMapSection.cjs +1 -1
  66. package/dist/CustomLoanMapSection.js +1 -1
  67. package/dist/{CustomStyles-B6uutenq.js → CustomStyles-YyM49BGx.js} +1 -1
  68. package/dist/{CustomStyles-dJQPJ4s4.cjs → CustomStyles-lzAjVMnI.cjs} +1 -1
  69. package/dist/DateInput.cjs +1 -1
  70. package/dist/DateInput.js +1 -1
  71. package/dist/DecimalInput.cjs +1 -1
  72. package/dist/DecimalInput.js +1 -1
  73. package/dist/DecimalInputV2.cjs +1 -1
  74. package/dist/DecimalInputV2.js +1 -1
  75. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  76. package/dist/DetailedProductsInfinitiveSection.js +3 -3
  77. package/dist/DetailedProductsSection.cjs +1 -1
  78. package/dist/DetailedProductsSection.js +4 -4
  79. package/dist/DetailsView.cjs +1 -1
  80. package/dist/DetailsView.js +1 -1
  81. package/dist/DoubleRangeSlider.cjs +1 -1
  82. package/dist/DoubleRangeSlider.js +1 -1
  83. package/dist/DragAndDropFile.cjs +1 -1
  84. package/dist/DragAndDropFile.js +1 -1
  85. package/dist/DragDropFiles.cjs +1 -1
  86. package/dist/DragDropFiles.js +1 -1
  87. package/dist/Drawer.cjs +1 -1
  88. package/dist/Drawer.js +1 -1
  89. package/dist/Dropdown.cjs +1 -1
  90. package/dist/Dropdown.js +2 -2
  91. package/dist/DropdownItem.cjs +1 -1
  92. package/dist/DropdownItem.js +1 -1
  93. package/dist/DropdownLookup.cjs +1 -1
  94. package/dist/DropdownLookup.js +1 -1
  95. package/dist/DropdownMenu.cjs +1 -1
  96. package/dist/DropdownMenu.js +1 -1
  97. package/dist/EditableTable.cjs +1 -1
  98. package/dist/EditableTable.js +1 -1
  99. package/dist/FeedbackSection.cjs +1 -1
  100. package/dist/FeedbackSection.js +1 -1
  101. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  102. package/dist/FieldOfInterestsMasonrySection.js +1 -1
  103. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  104. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  105. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  106. package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
  107. package/dist/FileInput.cjs +1 -1
  108. package/dist/FileInput.js +1 -1
  109. package/dist/FlexGridItem.cjs +1 -1
  110. package/dist/FlexGridItem.js +1 -1
  111. package/dist/FormField.cjs +1 -1
  112. package/dist/FormField.js +1 -1
  113. package/dist/FormView.cjs +1 -1
  114. package/dist/FormView.js +1 -1
  115. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  116. package/dist/GeneralWithTagsCardsSection.js +1 -1
  117. package/dist/GiftCardsSection.cjs +1 -1
  118. package/dist/GiftCardsSection.js +2 -2
  119. package/dist/Icon.cjs +1 -1
  120. package/dist/Icon.js +1 -1
  121. package/dist/IconButton.cjs +1 -1
  122. package/dist/IconButton.js +1 -1
  123. package/dist/Kanban.cjs +1 -1
  124. package/dist/Kanban.js +1 -1
  125. package/dist/KanbanActionsToolbar.cjs +1 -1
  126. package/dist/KanbanActionsToolbar.js +1 -1
  127. package/dist/KanbanView.cjs +1 -1
  128. package/dist/KanbanView.js +1 -1
  129. package/dist/Link.cjs +1 -1
  130. package/dist/Link.js +1 -1
  131. package/dist/LoanCalculatorSection.cjs +1 -1
  132. package/dist/LoanCalculatorSection.js +1 -1
  133. package/dist/LocationFinderSection.cjs +1 -1
  134. package/dist/LocationFinderSection.js +1 -1
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  138. package/dist/MasonryGeneralCardsSection.js +1 -1
  139. package/dist/MenuItem.cjs +1 -1
  140. package/dist/MenuItem.js +1 -1
  141. package/dist/Modal.cjs +1 -1
  142. package/dist/Modal.js +1 -1
  143. package/dist/MultiSelectDropdown.cjs +1 -1
  144. package/dist/MultiSelectDropdown.js +1 -1
  145. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  146. package/dist/MultiSelectDropdownLookup.js +1 -1
  147. package/dist/NestedDropdownItem.cjs +1 -1
  148. package/dist/NestedDropdownItem.js +1 -1
  149. package/dist/NestedMenuItem.cjs +1 -1
  150. package/dist/NestedMenuItem.js +1 -1
  151. package/dist/NotificationContainer.cjs +1 -1
  152. package/dist/NotificationContainer.js +1 -1
  153. package/dist/NotificationMessage.cjs +1 -1
  154. package/dist/NotificationMessage.js +1 -1
  155. package/dist/NumberInput.cjs +1 -1
  156. package/dist/NumberInput.js +1 -1
  157. package/dist/PartnerBrandsSection.cjs +1 -1
  158. package/dist/PartnerBrandsSection.js +1 -1
  159. package/dist/PartnerCardsSection.cjs +1 -1
  160. package/dist/PartnerCardsSection.js +1 -1
  161. package/dist/PartnerStatsSection.cjs +1 -1
  162. package/dist/PartnerStatsSection.js +1 -1
  163. package/dist/PasswordInput.cjs +1 -1
  164. package/dist/PasswordInput.js +1 -1
  165. package/dist/PopoverContent.cjs +1 -1
  166. package/dist/PopoverContent.js +1 -1
  167. package/dist/ProductsWithBannerSection.cjs +1 -1
  168. package/dist/ProductsWithBannerSection.js +3 -3
  169. package/dist/ProgressBar.cjs +1 -1
  170. package/dist/ProgressBar.js +1 -1
  171. package/dist/QuattroCardsSection.cjs +1 -1
  172. package/dist/QuattroCardsSection.js +1 -1
  173. package/dist/QuizSection.cjs +1 -1
  174. package/dist/QuizSection.js +1 -1
  175. package/dist/RadioInput.cjs +1 -1
  176. package/dist/RadioInput.js +1 -1
  177. package/dist/RangeSlider.cjs +1 -1
  178. package/dist/RangeSlider.js +1 -1
  179. package/dist/ReviewsSection.cjs +1 -1
  180. package/dist/ReviewsSection.js +2 -2
  181. package/dist/SalesCampaignsSection.cjs +22 -22
  182. package/dist/SalesCampaignsSection.js +197 -205
  183. package/dist/Separator.cjs +1 -1
  184. package/dist/Separator.js +1 -1
  185. package/dist/ShopCardsSection.cjs +1 -1
  186. package/dist/ShopCardsSection.js +2 -2
  187. package/dist/Sidebar.cjs +1 -1
  188. package/dist/Sidebar.js +1 -1
  189. package/dist/SimpleCategoriesSection.cjs +1 -1
  190. package/dist/SimpleCategoriesSection.js +3 -3
  191. package/dist/SimpleProductsSection.cjs +1 -1
  192. package/dist/SimpleProductsSection.js +1 -1
  193. package/dist/Spinner.cjs +1 -1
  194. package/dist/Spinner.js +1 -1
  195. package/dist/StatsSection.cjs +1 -1
  196. package/dist/StatsSection.js +1 -1
  197. package/dist/Surface.cjs +1 -1
  198. package/dist/Surface.js +1 -1
  199. package/dist/SwipeableDrawer.cjs +1 -1
  200. package/dist/SwipeableDrawer.js +1 -1
  201. package/dist/TabItem.cjs +1 -1
  202. package/dist/TabItem.js +1 -1
  203. package/dist/Table.cjs +1 -1
  204. package/dist/Table.js +1 -1
  205. package/dist/TableView.cjs +1 -1
  206. package/dist/TableView.js +1 -1
  207. package/dist/TextAreaInput.cjs +1 -1
  208. package/dist/TextAreaInput.js +1 -1
  209. package/dist/TextInput.cjs +1 -1
  210. package/dist/TextInput.js +1 -1
  211. package/dist/ThemeProvider.cjs +1 -1
  212. package/dist/ThemeProvider.js +1 -1
  213. package/dist/TimeInput.cjs +1 -1
  214. package/dist/TimeInput.js +1 -1
  215. package/dist/Toggle.cjs +1 -1
  216. package/dist/Toggle.js +1 -1
  217. package/dist/TreeMenuSeparator.cjs +1 -1
  218. package/dist/TreeMenuSeparator.js +1 -1
  219. package/dist/UploadedFile.cjs +1 -1
  220. package/dist/UploadedFile.js +1 -1
  221. package/dist/UrgentSaleProductsSection.cjs +1 -1
  222. package/dist/UrgentSaleProductsSection.js +1 -1
  223. package/dist/{index-BkztbBWe.cjs → index-B96icAp4.cjs} +1 -1
  224. package/dist/{index-tdg_Vmed.cjs → index-BXkL0HmX.cjs} +1 -1
  225. package/dist/{index-Djo0ZcRE.js → index-CCwfh-7A.js} +1 -1
  226. package/dist/{index-jGcy-5M_.js → index-CNUuIL97.js} +2 -2
  227. package/dist/{index-DsINTjQk.cjs → index-ChHUGfjn.cjs} +1 -1
  228. package/dist/{index-DEypPQRI.js → index-D6_3Q8lN.js} +1 -1
  229. package/dist/{index-D4-_TrSn.cjs → index-DnbzopIv.cjs} +1 -1
  230. package/dist/{index-rhYVjszT.js → index-DtVJCOWc.js} +2 -2
  231. package/dist/{index-D3QZziO_.cjs → index-DueyY06i.cjs} +1 -1
  232. package/dist/{index-D4OKsSqi.cjs → index-HzW6OHFF.cjs} +1 -1
  233. package/dist/{index-3GKF_7BJ.cjs → index-RrqW9QBJ.cjs} +1 -1
  234. package/dist/{index-CM6vzQBx.js → index-eOeAkUSU.js} +1 -1
  235. package/dist/{index-Dx2hfxCG.js → index-gHaK62BZ.js} +2 -2
  236. package/dist/{index-BXT1eY2D.js → index-zIt6TVeg.js} +2 -2
  237. package/dist/index.cjs +1 -1
  238. package/dist/index.js +2 -2
  239. package/dist/{style-D54KOzZj.js → style-CP_urKvc.js} +1 -1
  240. package/dist/{style-Boz6dk5s.cjs → style-cJUZrJoG.cjs} +1 -1
  241. package/dist/{utils-CITgSxXe.cjs → utils-BK6B_Y9X.cjs} +2 -2
  242. package/dist/{utils-MoGhNMmj.js → utils-BUdHa0nB.js} +16 -23
  243. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  import { jsx as r, jsxs as s, Fragment as Te } from "react/jsx-runtime";
2
- import { forwardRef as M, useRef as ve, useEffect as te, Fragment as Pe, createElement as Le, useState as re, Suspense as Ue, memo as Ee, useMemo as Me } from "react";
2
+ import { forwardRef as M, useRef as be, useEffect as ne, Fragment as Pe, createElement as Le, useState as X, Suspense as Ue, memo as Ee, useMemo as Me } from "react";
3
3
  import { s as w } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { b as oe, l as ae, m as Re, z as je, A as Oe, B as Be, C as pe } from "./utils-MoGhNMmj.js";
5
- import { d as T, o as Ve } from "./breakpoints-BubDitvo.js";
6
- import we from "./Icon.js";
7
- import { D as fe } from "./ShopAvatar-4-fCYGEc.js";
8
- import We from "./Badge.js";
9
- import { u as ye } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
- import he from "./IconButton.js";
4
+ import { b as re, l as ee, m as je, z as Oe, A as Re, B as me } from "./utils-BUdHa0nB.js";
5
+ import { d as T, o as Be } from "./breakpoints-BubDitvo.js";
6
+ import ve from "./Icon.js";
7
+ import { D as pe } from "./ShopAvatar-4-fCYGEc.js";
8
+ import Ve from "./Badge.js";
9
+ import { u as we } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
+ import fe from "./IconButton.js";
11
11
  import { u as Se } from "./useDetectMobile-B0Jog4jQ.js";
12
- import { I as Ae } from "./index-DMmw5Ad5.js";
13
- import { m as Fe } from "./motion-Ckekul_K.js";
14
- import { S as He, c as ue, d as qe, e as Ye, a as E, f as Ze } from "./style-BFPpppS9.js";
15
- const Ge = w.a`
12
+ import { I as We } from "./index-DMmw5Ad5.js";
13
+ import { m as Ae } from "./motion-Ckekul_K.js";
14
+ import { S as Fe, c as he, d as He, e as qe, a as E, f as Ye } from "./style-BFPpppS9.js";
15
+ const Ze = w.a`
16
16
  text-decoration: none;
17
17
  color: var(--gray-950);
18
18
  cursor: pointer;
@@ -55,8 +55,8 @@ const Ge = w.a`
55
55
  }
56
56
  }
57
57
  }
58
- `, Je = w.div`
59
- border-radius: ${(n) => oe(n.theme, "edged")};
58
+ `, Ge = w.div`
59
+ border-radius: ${(n) => re(n.theme, "edged")};
60
60
  cursor: pointer;
61
61
 
62
62
  position: relative;
@@ -79,7 +79,7 @@ const Ge = w.a`
79
79
  @media ${T("S")} {
80
80
  width: 14.5rem;
81
81
  }
82
- `, Ke = w.div`
82
+ `, Je = w.div`
83
83
  flex: 1;
84
84
  display: flex;
85
85
  flex-direction: column;
@@ -187,13 +187,13 @@ const Ge = w.a`
187
187
  gap: 0.25rem;
188
188
  }
189
189
  }
190
- `, xe = (n = !1, a = !1, o = !1) => `
190
+ `, ue = (n = !1, t = !1, o = !1) => `
191
191
  display: flex;
192
- ${a ? "flex-wrap: wrap;" : ""}
193
- ${a ? "" : "flex-wrap: nowrap;"}
192
+ ${t ? "flex-wrap: wrap;" : ""}
193
+ ${t ? "" : "flex-wrap: nowrap;"}
194
194
  ${n ? "align-items: center;" : ""}
195
195
  ${o ? "justify-content: center;" : ""}
196
- `, Qe = w.a`
196
+ `, Ke = w.a`
197
197
  text-decoration: none;
198
198
  color: var(--gray-950);
199
199
  ${(n) => n.hasPermission === !0 && "cursor: pointer"};
@@ -211,13 +211,13 @@ const Ge = w.a`
211
211
  text-decoration: none;
212
212
  }
213
213
 
214
- ${xe(!0)}
214
+ ${ue(!0)}
215
215
  gap: 0.5rem;
216
216
  color: var(--gray-950, #14161a);
217
217
  font-weight: 500;
218
218
  font-size: 1rem;
219
219
  line-height: 1.5rem;
220
- border-radius: ${(n) => oe(n.theme, "slight")};
220
+ border-radius: ${(n) => re(n.theme, "slight")};
221
221
  transition: all 0.25s ease;
222
222
  & .description {
223
223
  font-size: 0.85rem;
@@ -226,7 +226,7 @@ const Ge = w.a`
226
226
  font-weight: 400;
227
227
  }
228
228
  & .logo-wrapper {
229
- ${xe(!0, !1, !0)}
229
+ ${ue(!0, !1, !0)}
230
230
  flex-shrink: 0;
231
231
  border-radius: 999px;
232
232
 
@@ -269,14 +269,14 @@ const Ge = w.a`
269
269
  padding: 0;
270
270
  font-size: 0.875rem;
271
271
  }
272
- `, Xe = w.div`
272
+ `, Qe = w.div`
273
273
  position: absolute;
274
274
  top: 0.5rem;
275
275
  ${(n) => n.alignToLeft === !0 ? "left: 0.5rem;" : "right: 0.5rem;"}
276
276
  display: flex;
277
277
  gap: 0.25rem;
278
- `, en = w.div`
279
- border-radius: ${(n) => oe(n.theme, n.borderRadius || "slight")};
278
+ `, Xe = w.div`
279
+ border-radius: ${(n) => re(n.theme, n.borderRadius || "slight")};
280
280
  background-color: ${(n) => n == null ? void 0 : n.color};
281
281
  color: white;
282
282
  height: 1.5rem;
@@ -291,48 +291,48 @@ const Ge = w.a`
291
291
  & i {
292
292
  font-size: 0.813rem;
293
293
  }
294
- `, nn = M(({ src: n, ...a }, o) => {
295
- const t = ve();
296
- return te(() => {
294
+ `, en = M(({ src: n, ...t }, o) => {
295
+ const a = be();
296
+ return ne(() => {
297
297
  var p;
298
298
  const i = (f) => {
299
- f.target.src = fe, f.onerror = null;
299
+ f.target.src = pe, f.onerror = null;
300
300
  };
301
- return (p = t == null ? void 0 : t.current) == null || p.addEventListener("error", i), () => {
301
+ return (p = a == null ? void 0 : a.current) == null || p.addEventListener("error", i), () => {
302
302
  var f;
303
- (f = t == null ? void 0 : t.current) == null || f.removeEventListener("error", i);
303
+ (f = a == null ? void 0 : a.current) == null || f.removeEventListener("error", i);
304
304
  };
305
- }, []), /* @__PURE__ */ r(Pe, { ref: o, children: ae(n) ? /* @__PURE__ */ r("img", { ref: t, src: n, ...a }) : /* @__PURE__ */ r("img", { src: fe, ...a }) });
306
- }), rn = (n) => {
305
+ }, []), /* @__PURE__ */ r(Pe, { ref: o, children: ee(n) ? /* @__PURE__ */ r("img", { ref: a, src: n, ...t }) : /* @__PURE__ */ r("img", { src: pe, ...t }) });
306
+ }), nn = (n) => {
307
307
  const {
308
- uuid: a,
308
+ uuid: t,
309
309
  hasPermission: o = !0,
310
- isUser: t,
310
+ isUser: a,
311
311
  image: i,
312
312
  imageComponent: p,
313
313
  name: f,
314
- notifications: y = 0,
314
+ notifications: S = 0,
315
315
  color: l = "primary",
316
316
  size: h = "large",
317
317
  style: c,
318
318
  disabled: _,
319
319
  onClick: m = () => {
320
320
  },
321
- isActive: I,
321
+ isActive: N,
322
322
  className: b,
323
323
  shopCategory: v,
324
324
  // new
325
- themeData: S,
325
+ themeData: y,
326
326
  LinkComponent: C
327
- } = n, N = C || "a", u = {
328
- theme: ye(),
327
+ } = n, I = C || "a", u = {
328
+ theme: we(),
329
329
  color: l,
330
330
  size: h,
331
331
  style: c,
332
332
  disabled: _
333
333
  };
334
334
  return /* @__PURE__ */ Le(
335
- Qe,
335
+ Ke,
336
336
  {
337
337
  onClick: (g) => {
338
338
  g == null || g.preventDefault(), g.stopPropagation(), o === !0 && (m == null || m());
@@ -341,170 +341,162 @@ const Ge = w.a`
341
341
  key: f,
342
342
  className: `profile-item ${b}`,
343
343
  hasPermission: o,
344
- isActive: I,
345
- themeColor: (S == null ? void 0 : S.code) || "transparent",
346
- as: N,
347
- ...C ? { to: `/${t ? "user" : "shop"}/${a}` } : { href: `/${t ? "user" : "shop"}/${a}` }
344
+ isActive: N,
345
+ themeColor: (y == null ? void 0 : y.code) || "transparent",
346
+ as: I,
347
+ ...C ? { to: `/${a ? "user" : "shop"}/${t}` } : { href: `/${a ? "user" : "shop"}/${t}` }
348
348
  },
349
- /* @__PURE__ */ r("div", { className: "logo-wrapper", children: Re(p) ? p : i }),
349
+ /* @__PURE__ */ r("div", { className: "logo-wrapper", children: je(p) ? p : i }),
350
350
  /* @__PURE__ */ s("div", { children: [
351
351
  /* @__PURE__ */ r("div", { className: "name", children: f }),
352
- !t && /* @__PURE__ */ r("div", { className: "description", children: v }),
353
- y > 0 && /* @__PURE__ */ r("div", { className: "notifications-number", children: /* @__PURE__ */ r(We, { className: "badge", color: "danger", size: "small", children: y > 99 ? "99+" : y }) })
352
+ !a && /* @__PURE__ */ r("div", { className: "description", children: v }),
353
+ S > 0 && /* @__PURE__ */ r("div", { className: "notifications-number", children: /* @__PURE__ */ r(Ve, { className: "badge", color: "danger", size: "small", children: S > 99 ? "99+" : S }) })
354
354
  ] })
355
355
  );
356
- }, be = (n) => {
356
+ }, xe = (n) => {
357
357
  if (n !== void 0) {
358
- const a = new Date(n), o = a.getFullYear(), t = a.getMonth() + 1;
359
- return `${String(a.getDate()).padStart(2)}. ${t}. ${o}.`;
358
+ const t = new Date(n), o = t.getFullYear(), a = t.getMonth() + 1;
359
+ return `${String(t.getDate()).padStart(2)}. ${a}. ${o}.`;
360
360
  }
361
- }, an = M((n, a) => {
362
- var me;
363
- const o = ye(), {
364
- uuid: t,
361
+ }, rn = M((n, t) => {
362
+ var ge;
363
+ const o = we(), {
364
+ uuid: a,
365
365
  shopUuid: i,
366
366
  title: p = "",
367
367
  // description,
368
368
  // badges,
369
369
  coverPhoto: f,
370
- onSelect: y,
370
+ onSelect: S,
371
371
  // status,
372
372
  startDate: l,
373
373
  endDate: h,
374
374
  salesPackages: c,
375
375
  shopName: _,
376
376
  shopCategory: m,
377
- shopImage: I,
377
+ shopImage: N,
378
378
  shopImageComponent: b,
379
379
  className: v,
380
- onSelectCard: S = () => {
380
+ onSelectCard: y = () => {
381
381
  },
382
382
  onSelectShop: C = () => {
383
383
  },
384
- upcoming: N = !1,
384
+ upcoming: I = !1,
385
385
  upcomingCampaignText: d,
386
386
  campaignSingleText: u,
387
387
  salesCampaignTypes: g = [],
388
- startsInPrefixTextPlural: W,
389
- startsinSuffixTextPlural: A,
390
- startsInPrefixTextSingular: F,
391
- startsinSuffixTextSingular: H,
392
- endsInPrefixTextPlural: q,
393
- endsinSuffixTextPlural: Y,
394
- endsInPrefixTextSingular: R,
395
- endsinSuffixTextSingular: Z,
396
- endedText: G,
388
+ startsInPrefixTextPlural: A,
389
+ startsinSuffixTextPlural: F,
390
+ startsInPrefixTextSingular: H,
391
+ startsinSuffixTextSingular: q,
392
+ endsInPrefixTextPlural: te,
393
+ endsinSuffixTextPlural: ae,
394
+ endsInPrefixTextSingular: Y,
395
+ endsinSuffixTextSingular: oe,
396
+ endedText: Z,
397
397
  themeData: se,
398
- numberOfListings: D,
399
- numberOfListingsTextSingular: J,
398
+ numberOfListings: z,
399
+ numberOfListingsTextSingular: G,
400
400
  numberOfListingsTextPlural: j,
401
401
  metadata: e,
402
402
  LinkComponent: O,
403
403
  sponsored: ie,
404
- ...K
405
- } = n, $e = O || "a", le = ve(), U = je(l, h), Q = U !== -1 && (U == null ? void 0 : U.isEnded) === !0, X = U !== -1 && !Q, ee = Oe(l), P = Be(h), _e = P !== null && P <= 2 && P > 0, ce = pe(h), de = ce ? new Date(ce) : null, Ce = /* @__PURE__ */ new Date(), ne = de ? de.getTime() - Ce.getTime() : null, B = ne !== null && ne > 0 && ne < 24 * 60 * 60 * 1e3, ge = (x, L, k, $, z) => k === 1 ? `${x} ${k} ${$}` : `${L} ${k} ${z}`, ke = () => {
404
+ ...J
405
+ } = n, ye = O || "a", le = be(), L = Oe(l, h), R = L !== -1 && (L == null ? void 0 : L.isEnded) === !0, B = L !== -1 && !R, U = Re(l), ce = me(h), de = ce ? new Date(ce) : null, $e = /* @__PURE__ */ new Date(), K = de ? de.getTime() - $e.getTime() : null, V = K !== null && K > 0 && K < 24 * 60 * 60 * 1e3, _e = (x, P, k, $, D) => k === 1 ? `${x} ${k} ${$}` : `${P} ${k} ${D}`, Ce = () => {
406
406
  if (!h) return null;
407
- const x = pe(h), L = x ? new Date(x) : null;
408
- if (!L) return null;
409
- const k = Ie, $ = L.getTime() - k.getTime();
407
+ const x = me(h), P = x ? new Date(x) : null;
408
+ if (!P) return null;
409
+ const k = ke, $ = P.getTime() - k.getTime();
410
410
  if ($ <= 0) return null;
411
- const z = Math.floor($ / (1e3 * 60 * 60)), De = Math.floor($ % (1e3 * 60 * 60) / (1e3 * 60)), ze = Math.floor($ % (1e3 * 60) / 1e3);
412
- return { hours: z, minutes: De, seconds: ze };
413
- }, [Ie, Ne] = re(/* @__PURE__ */ new Date());
414
- te(() => {
415
- if (!B) return;
411
+ const D = Math.floor($ / (1e3 * 60 * 60)), ze = Math.floor($ % (1e3 * 60 * 60) / (1e3 * 60)), De = Math.floor($ % (1e3 * 60) / 1e3);
412
+ return { hours: D, minutes: ze, seconds: De };
413
+ }, [ke, Ne] = X(/* @__PURE__ */ new Date());
414
+ ne(() => {
415
+ if (!V) return;
416
416
  const x = setInterval(() => {
417
417
  Ne(/* @__PURE__ */ new Date());
418
418
  }, 1e3);
419
419
  return () => clearInterval(x);
420
- }, [B]);
421
- const V = B ? ke() : null;
420
+ }, [V]);
421
+ const W = V ? Ce() : null, Q = !!(B && !R && V && W), Ie = Q || R || !B && U !== null && U > 0;
422
422
  return /* @__PURE__ */ s(
423
- Ge,
423
+ Ze,
424
424
  {
425
425
  ref: le,
426
426
  theme: o,
427
427
  className: v,
428
428
  name: e == null ? void 0 : e.name,
429
429
  "data-accessor": e == null ? void 0 : e.accessor,
430
- onClick: (x) => S(x, le),
431
- as: $e,
432
- ...O ? { to: `/shop/${i}/campaign/${t}` } : { href: `/shop/${i}/campaign/${t}` },
430
+ onClick: (x) => y(x, le),
431
+ as: ye,
432
+ ...O ? { to: `/shop/${i}/campaign/${a}` } : { href: `/shop/${i}/campaign/${a}` },
433
433
  sponsored: ie,
434
- ...K,
434
+ ...J,
435
435
  children: [
436
- /* @__PURE__ */ s(Je, { theme: o, children: [
436
+ /* @__PURE__ */ s(Ge, { theme: o, children: [
437
437
  /* @__PURE__ */ r("img", { src: f }),
438
- /* @__PURE__ */ r(Xe, { children: c == null ? void 0 : c.map((x, L) => {
438
+ /* @__PURE__ */ r(Qe, { children: c == null ? void 0 : c.map((x, P) => {
439
439
  var k, $;
440
440
  return /* @__PURE__ */ r(
441
- en,
441
+ Xe,
442
442
  {
443
- color: (k = g == null ? void 0 : g.find((z) => z.value === x)) == null ? void 0 : k.color,
443
+ color: (k = g == null ? void 0 : g.find((D) => D.value === x)) == null ? void 0 : k.color,
444
444
  theme: o,
445
445
  children: /* @__PURE__ */ r(
446
- we,
446
+ ve,
447
447
  {
448
- icon: ($ = g == null ? void 0 : g.find((z) => z.value === x)) == null ? void 0 : $.icon
448
+ icon: ($ = g == null ? void 0 : g.find((D) => D.value === x)) == null ? void 0 : $.icon
449
449
  }
450
450
  )
451
451
  },
452
- `package__${L}`
452
+ `package__${P}`
453
453
  );
454
454
  }) })
455
455
  ] }),
456
- /* @__PURE__ */ s(Ke, { theme: o, children: [
456
+ /* @__PURE__ */ s(Je, { theme: o, children: [
457
457
  /* @__PURE__ */ r("div", { className: "text-block-wrapper", children: /* @__PURE__ */ s("div", { className: "title-block-wrapper", children: [
458
- /* @__PURE__ */ r("div", { className: "campaign-title", children: (me = N ? d : u) == null ? void 0 : me.toUpperCase() }),
458
+ /* @__PURE__ */ r("div", { className: "campaign-title", children: (ge = I ? d : u) == null ? void 0 : ge.toUpperCase() }),
459
459
  /* @__PURE__ */ r("div", { className: "campaign-title-text", children: p }),
460
460
  h && l && /* @__PURE__ */ s("div", { className: "campaign-date", children: [
461
- be(l),
461
+ xe(l),
462
462
  " - ",
463
- be(h)
463
+ xe(h)
464
464
  ] }),
465
465
  /* @__PURE__ */ s("div", { className: "timestamp-text", children: [
466
- D > 0 && /* @__PURE__ */ s("span", { className: "listings-text", children: [
467
- D,
466
+ z > 0 && /* @__PURE__ */ s("span", { className: "listings-text", children: [
467
+ z,
468
468
  " ",
469
- D === 1 ? J : j,
470
- " ",
471
- "∙",
472
- " "
469
+ z === 1 ? G : j,
470
+ Ie ? " " : ""
473
471
  ] }),
474
472
  /* @__PURE__ */ r(
475
473
  "span",
476
474
  {
477
- className: `duration-text ${_e ? "urgent" : ""} ${X ? "" : "starts-in"}`,
478
- children: B && V ? /* @__PURE__ */ s("div", { className: "countdown-timer", children: [
479
- R,
475
+ className: `duration-text ${Q ? "urgent" : ""} ${B ? "" : "starts-in"}`,
476
+ children: Q ? /* @__PURE__ */ s("div", { className: "countdown-timer", children: [
477
+ Y,
480
478
  " ",
481
- V.hours.toString().padStart(2, "0"),
479
+ W.hours.toString().padStart(2, "0"),
482
480
  ":",
483
- V.minutes.toString().padStart(2, "0"),
481
+ W.minutes.toString().padStart(2, "0"),
484
482
  ":",
485
- V.seconds.toString().padStart(2, "0")
486
- ] }) : X && !Q && P !== null && P > 0 ? ge(
487
- R,
488
- q,
489
- P,
490
- Z,
491
- Y
492
- ) : Q ? G || "Završena" : !X && ee !== null && ee > 0 ? ge(
493
- F,
494
- W,
495
- ee,
483
+ W.seconds.toString().padStart(2, "0")
484
+ ] }) : R ? Z || "Završena" : !B && U !== null && U > 0 ? _e(
496
485
  H,
497
- A
486
+ A,
487
+ U,
488
+ q,
489
+ F
498
490
  ) : null
499
491
  }
500
492
  )
501
493
  ] })
502
494
  ] }) }),
503
495
  /* @__PURE__ */ r(
504
- rn,
496
+ nn,
505
497
  {
506
498
  hasPermission: !0,
507
- image: /* @__PURE__ */ r(nn, { src: I }),
499
+ image: /* @__PURE__ */ r(en, { src: N }),
508
500
  imageComponent: b,
509
501
  themeData: se,
510
502
  isActive: !0,
@@ -582,13 +574,13 @@ const Ge = w.a`
582
574
  }
583
575
  }
584
576
  }
585
- `, on = w(Fe.div)`
577
+ `, an = w(Ae.div)`
586
578
  display: grid;
587
579
  grid-template-columns: repeat(${(n) => n == null ? void 0 : n.numOfColumns}, 1fr);
588
580
  gap: 1.5rem;
589
581
  width: 100%;
590
582
 
591
- @media ${Ve("M")} {
583
+ @media ${Be("M")} {
592
584
  grid-template-columns: repeat(${(n) => (n == null ? void 0 : n.tabletNumOfColumns) ?? 2}, 1fr);
593
585
  }
594
586
 
@@ -614,39 +606,39 @@ const Ge = w.a`
614
606
  /* Safari and Chrome */
615
607
  }
616
608
  }
617
- `, sn = M(
609
+ `, on = M(
618
610
  ({
619
611
  icon: n,
620
- title: a,
612
+ title: t,
621
613
  numOfSlides: o = 4,
622
- tabletNumOfSlides: t,
614
+ tabletNumOfSlides: a,
623
615
  showNavigation: i = !0,
624
616
  hasNextPage: p = !1,
625
617
  className: f = "",
626
- handleFetchNextPage: y = () => {
618
+ handleFetchNextPage: S = () => {
627
619
  },
628
620
  children: l
629
621
  }, h) => {
630
- const [c, _] = re(0), [m, I] = re(1), b = Se(), v = (l == null ? void 0 : l.length) ?? 1;
631
- te(() => {
622
+ const [c, _] = X(0), [m, N] = X(1), b = Se(), v = (l == null ? void 0 : l.length) ?? 1;
623
+ ne(() => {
632
624
  const d = () => {
633
- I(o);
625
+ N(o);
634
626
  };
635
627
  return window.addEventListener("resize", d), d(), () => window.removeEventListener("resize", d);
636
628
  }, []);
637
- const S = b ? l : l == null ? void 0 : l.slice(c, c + m), C = (d) => {
629
+ const y = b ? l : l == null ? void 0 : l.slice(c, c + m), C = (d) => {
638
630
  var g;
639
631
  (g = d == null ? void 0 : d.target) == null || g.blur();
640
632
  const u = c + m;
641
- u < v && _(u), u + m >= v && p && y();
642
- }, N = (d) => {
633
+ u < v && _(u), u + m >= v && p && S();
634
+ }, I = (d) => {
643
635
  var u;
644
636
  (u = d == null ? void 0 : d.target) == null || u.blur(), c - m >= 0 && _(c - m);
645
637
  };
646
638
  return /* @__PURE__ */ s(tn, { ref: h, className: f, children: [
647
639
  /* @__PURE__ */ r("div", { className: "scrollable-section__header", children: /* @__PURE__ */ s("div", { className: "scrollable-section__title", children: [
648
- ae(n) && /* @__PURE__ */ r(
649
- we,
640
+ ee(n) && /* @__PURE__ */ r(
641
+ ve,
650
642
  {
651
643
  icon: n,
652
644
  color: "primary",
@@ -654,16 +646,16 @@ const Ge = w.a`
654
646
  className: "title__icon"
655
647
  }
656
648
  ),
657
- ae(a) && /* @__PURE__ */ s("div", { className: "title__text", children: [
649
+ ee(t) && /* @__PURE__ */ s("div", { className: "title__text", children: [
658
650
  " ",
659
- a
651
+ t
660
652
  ] })
661
653
  ] }) }),
662
654
  /* @__PURE__ */ s(
663
- on,
655
+ an,
664
656
  {
665
657
  numOfColumns: o,
666
- tabletNumOfColumns: t,
658
+ tabletNumOfColumns: a,
667
659
  ...!b && {
668
660
  animate: {
669
661
  x: 0,
@@ -676,15 +668,15 @@ const Ge = w.a`
676
668
  },
677
669
  className: "scrollable-section__content",
678
670
  children: [
679
- S,
680
- b && p && /* @__PURE__ */ r(Ae, { onIsVisible: y })
671
+ y,
672
+ b && p && /* @__PURE__ */ r(We, { onIsVisible: S })
681
673
  ]
682
674
  },
683
675
  `scrollable-section__content-${c}`
684
676
  ),
685
677
  i && v > m && !b && /* @__PURE__ */ s("div", { className: "scrollable-section__navigation", children: [
686
678
  /* @__PURE__ */ r(
687
- he,
679
+ fe,
688
680
  {
689
681
  icon: "angle-left",
690
682
  borderRadius: "curved",
@@ -692,11 +684,11 @@ const Ge = w.a`
692
684
  color: "neutral",
693
685
  className: "navigation__arrow",
694
686
  disabled: c === 0,
695
- onClick: N
687
+ onClick: I
696
688
  }
697
689
  ),
698
690
  /* @__PURE__ */ r(
699
- he,
691
+ fe,
700
692
  {
701
693
  icon: "angle-right",
702
694
  borderRadius: "curved",
@@ -710,7 +702,7 @@ const Ge = w.a`
710
702
  ] })
711
703
  ] });
712
704
  }
713
- ), ln = w.div`
705
+ ), sn = w.div`
714
706
  display: flex;
715
707
  flex: 1;
716
708
  width: 100%;
@@ -727,25 +719,25 @@ const Ge = w.a`
727
719
  border-radius: 1.25rem;
728
720
  object-fit: cover;
729
721
  }
730
- `, cn = M(
722
+ `, ln = M(
731
723
  ({
732
724
  sectionName: n,
733
- imageUrl: a,
725
+ imageUrl: t,
734
726
  maxHeight: o = "16.25rem",
735
- className: t = "",
727
+ className: a = "",
736
728
  handleClick: i = () => {
737
729
  }
738
730
  }, p) => /* @__PURE__ */ r(
739
- ln,
731
+ sn,
740
732
  {
741
733
  ref: p,
742
734
  maxHeight: o,
743
735
  onClick: i,
744
- className: `itemless-banner ${t}`,
745
- children: /* @__PURE__ */ r("img", { src: a, alt: `itemless-banner__${n}` })
736
+ className: `itemless-banner ${a}`,
737
+ children: /* @__PURE__ */ r("img", { src: t, alt: `itemless-banner__${n}` })
746
738
  }
747
739
  )
748
- ), dn = w(He)`
740
+ ), cn = w(Fe)`
749
741
  @media ${T("S")} {
750
742
  flex-direction: column;
751
743
 
@@ -760,68 +752,68 @@ const Ge = w.a`
760
752
  }
761
753
  }
762
754
  }
763
- `, gn = ({ keyPrefix: n }) => /* @__PURE__ */ r(dn, { children: [1, 2].map((a) => /* @__PURE__ */ s(ue, { children: [
764
- /* @__PURE__ */ r(qe, { size: "13.75rem", className: "skeleton__image" }),
765
- /* @__PURE__ */ s(Ye, { children: [
755
+ `, dn = ({ keyPrefix: n }) => /* @__PURE__ */ r(cn, { children: [1, 2].map((t) => /* @__PURE__ */ s(he, { children: [
756
+ /* @__PURE__ */ r(He, { size: "13.75rem", className: "skeleton__image" }),
757
+ /* @__PURE__ */ s(qe, { children: [
766
758
  /* @__PURE__ */ r(E, { width: "100%", height: "1rem" }),
767
759
  /* @__PURE__ */ r(E, { width: "100%", height: "1.75rem" }),
768
760
  /* @__PURE__ */ r(E, { width: "100%", height: "1.25rem" }),
769
761
  /* @__PURE__ */ r(E, { width: "100%", height: "2rem" }),
770
- /* @__PURE__ */ s(ue, { alignItems: "center", children: [
771
- /* @__PURE__ */ r(Ze, { size: "2.5rem" }),
762
+ /* @__PURE__ */ s(he, { alignItems: "center", children: [
763
+ /* @__PURE__ */ r(Ye, { size: "2.5rem" }),
772
764
  /* @__PURE__ */ r(E, { width: "5rem", height: "1.25rem" })
773
765
  ] })
774
766
  ] })
775
- ] }, `${n}-${a}`)) }), mn = ({
767
+ ] }, `${n}-${t}`)) }), gn = ({
776
768
  keyPrefix: n,
777
- isLoading: a = !1,
769
+ isLoading: t = !1,
778
770
  fallbackComponent: o = /* @__PURE__ */ r(Te, {}),
779
- children: t
780
- }) => /* @__PURE__ */ r(Ue, { fallbackComponent: o, children: a === !0 ? /* @__PURE__ */ r(gn, { keyPrefix: n }) : t }), pn = Ee(an), Nn = M(
771
+ children: a
772
+ }) => /* @__PURE__ */ r(Ue, { fallbackComponent: o, children: t === !0 ? /* @__PURE__ */ r(dn, { keyPrefix: n }) : a }), mn = Ee(rn), Nn = M(
781
773
  ({
782
774
  sellerType: n = "Shop",
783
- items: a = [],
775
+ items: t = [],
784
776
  title: o,
785
- icon: t,
777
+ icon: a,
786
778
  isLoading: i,
787
779
  onSelectCard: p = () => {
788
780
  },
789
781
  onSelectShop: f = () => {
790
782
  },
791
- getImage: y = () => {
783
+ getImage: S = () => {
792
784
  },
793
785
  campaignSingleText: l,
794
786
  upcomingCampaignText: h,
795
787
  salesCampaignTypes: c = [],
796
788
  startsInPrefixTextPlural: _,
797
789
  startsinSuffixTextPlural: m,
798
- startsInPrefixTextSingular: I,
790
+ startsInPrefixTextSingular: N,
799
791
  startsinSuffixTextSingular: b,
800
792
  endsInPrefixTextPlural: v,
801
- endsinSuffixTextPlural: S,
793
+ endsinSuffixTextPlural: y,
802
794
  endsInPrefixTextSingular: C,
803
- endsinSuffixTextSingular: N,
795
+ endsinSuffixTextSingular: I,
804
796
  endedText: d,
805
797
  numOfSlides: u = 4,
806
798
  showNavigation: g = !0,
807
- numberOfListingsTextSingular: W,
808
- numberOfListingsTextPlural: A,
809
- itemlessImageUrl: F,
810
- itemlessMaxHeight: H,
811
- handleItemlessLink: q = () => {
799
+ numberOfListingsTextSingular: A,
800
+ numberOfListingsTextPlural: F,
801
+ itemlessImageUrl: H,
802
+ itemlessMaxHeight: q,
803
+ handleItemlessLink: te = () => {
812
804
  },
813
- componentName: Y,
814
- hasNextPage: R = !1,
815
- handleFetchNextPage: Z = () => {
805
+ componentName: ae,
806
+ hasNextPage: Y = !1,
807
+ handleFetchNextPage: oe = () => {
816
808
  },
817
- LinkComponent: G
809
+ LinkComponent: Z
818
810
  }, se) => {
819
- const D = Se(), J = Me(() => {
820
- let j = a == null ? void 0 : a.map((e, O) => /* @__PURE__ */ r(
821
- pn,
811
+ const z = Se(), G = Me(() => {
812
+ let j = t == null ? void 0 : t.map((e, O) => /* @__PURE__ */ r(
813
+ mn,
822
814
  {
823
- className: `campaign-item ${(a == null ? void 0 : a.length) === 1 ? "horizontal-campaign-item" : ""}`,
824
- coverPhoto: y(
815
+ className: `campaign-item ${(t == null ? void 0 : t.length) === 1 ? "horizontal-campaign-item" : ""}`,
816
+ coverPhoto: S(
825
817
  e == null ? void 0 : e.coverPhoto,
826
818
  (e == null ? void 0 : e.uuid) || (e == null ? void 0 : e.campaignUuid)
827
819
  ),
@@ -837,7 +829,7 @@ const Ge = w.a`
837
829
  startDate: e == null ? void 0 : e.startDate,
838
830
  title: e == null ? void 0 : e.name,
839
831
  uuid: e == null ? void 0 : e.campaignUuid,
840
- onSelectCard: (ie, K) => p(e == null ? void 0 : e.campaignUuid, e == null ? void 0 : e.shopUuid, K),
832
+ onSelectCard: (ie, J) => p(e == null ? void 0 : e.campaignUuid, e == null ? void 0 : e.shopUuid, J),
841
833
  onSelectShop: () => f(e == null ? void 0 : e.shopUuid),
842
834
  campaignSingleText: l,
843
835
  upcomingCampaignText: h,
@@ -845,56 +837,56 @@ const Ge = w.a`
845
837
  salesCampaignTypes: c,
846
838
  startsInPrefixTextPlural: _,
847
839
  startsinSuffixTextPlural: m,
848
- startsInPrefixTextSingular: I,
840
+ startsInPrefixTextSingular: N,
849
841
  startsinSuffixTextSingular: b,
850
842
  endsInPrefixTextPlural: v,
851
- endsinSuffixTextPlural: S,
843
+ endsinSuffixTextPlural: y,
852
844
  endsInPrefixTextSingular: C,
853
- endsinSuffixTextSingular: N,
845
+ endsinSuffixTextSingular: I,
854
846
  endedText: d,
855
847
  themeData: e == null ? void 0 : e.themeData,
856
848
  numberOfListings: e == null ? void 0 : e.numberOfListings,
857
- numberOfListingsTextSingular: W,
858
- numberOfListingsTextPlural: A,
859
- metadata: { name: Y, accessor: e == null ? void 0 : e.accessor },
860
- LinkComponent: G,
849
+ numberOfListingsTextSingular: A,
850
+ numberOfListingsTextPlural: F,
851
+ metadata: { name: ae, accessor: e == null ? void 0 : e.accessor },
852
+ LinkComponent: Z,
861
853
  sponsored: e == null ? void 0 : e.sponsored
862
854
  },
863
855
  `campaign__item__${O}__${e == null ? void 0 : e.startDate}___${e == null ? void 0 : e.endDate}`
864
856
  ));
865
- return (a == null ? void 0 : a.length) < 4 && !D ? [
857
+ return (t == null ? void 0 : t.length) < 4 && !z ? [
866
858
  ...j,
867
859
  /* @__PURE__ */ r(
868
- cn,
860
+ ln,
869
861
  {
870
- imageUrl: F,
862
+ imageUrl: H,
871
863
  className: "campaign-item",
872
- maxHeight: H,
873
- handleClick: q
864
+ maxHeight: q,
865
+ handleClick: te
874
866
  },
875
867
  "itemless-campaign-section-banner"
876
868
  )
877
869
  ] : j;
878
- }, [a]);
870
+ }, [t]);
879
871
  return /* @__PURE__ */ r(
880
- mn,
872
+ gn,
881
873
  {
882
874
  isLoading: i,
883
875
  keyPrefix: "sales-campaign-skeleton",
884
876
  children: /* @__PURE__ */ r(
885
- sn,
877
+ on,
886
878
  {
887
- icon: t,
879
+ icon: a,
888
880
  title: o,
889
881
  numOfSlides: u,
890
882
  tabletNumOfSlides: 2,
891
883
  showNavigation: g,
892
- hasNextPage: R,
893
- handleFetchNextPage: Z,
894
- className: (a == null ? void 0 : a.length) < 4 && !D ? "itemless" : "",
895
- children: J
884
+ hasNextPage: Y,
885
+ handleFetchNextPage: oe,
886
+ className: (t == null ? void 0 : t.length) < 4 && !z ? "itemless" : "",
887
+ children: G
896
888
  },
897
- `sales-campaign-section__${D}`
889
+ `sales-campaign-section__${z}`
898
890
  )
899
891
  }
900
892
  );