@blaze-cms/react-page-builder 0.144.0-core-styles.0 → 0.144.0

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 (994) hide show
  1. package/CHANGELOG.md +40 -3
  2. package/lib/BannerContext/helpers/index.js.map +1 -1
  3. package/lib/BannerContext/helpers/set-initial-banner-counters.js +1 -1
  4. package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  5. package/lib/BannerContext/index.js +2 -2
  6. package/lib/BannerContext/index.js.map +1 -1
  7. package/lib/HOC/index.js.map +1 -1
  8. package/lib/HOC/recreateOnNavigation.js +1 -1
  9. package/lib/HOC/recreateOnNavigation.js.map +1 -1
  10. package/lib/HOC/withInfiniteScroll.js +2 -2
  11. package/lib/HOC/withInfiniteScroll.js.map +1 -1
  12. package/lib/HOC/withTitle.js +2 -2
  13. package/lib/HOC/withTitle.js.map +1 -1
  14. package/lib/PBContext/index.js.map +1 -1
  15. package/lib/application/query/index.js +1 -1
  16. package/lib/application/query/index.js.map +1 -1
  17. package/lib/components/BackToTop/BackToTop.js +2 -2
  18. package/lib/components/BackToTop/BackToTop.js.map +1 -1
  19. package/lib/components/BackToTop/index.js.map +1 -1
  20. package/lib/components/Banner/AdSlotRender.js +4 -4
  21. package/lib/components/Banner/AdSlotRender.js.map +1 -1
  22. package/lib/components/Banner/Banner.js +3 -3
  23. package/lib/components/Banner/Banner.js.map +1 -1
  24. package/lib/components/Banner/BannerRender.js +4 -4
  25. package/lib/components/Banner/BannerRender.js.map +1 -1
  26. package/lib/components/Banner/helpers.js +16 -16
  27. package/lib/components/Banner/helpers.js.map +1 -1
  28. package/lib/components/Banner/index.js +3 -3
  29. package/lib/components/Banner/index.js.map +1 -1
  30. package/lib/components/BlazeLink.js +6 -6
  31. package/lib/components/BlazeLink.js.map +1 -1
  32. package/lib/components/Breadcrumb/Breadcrumb.js +3 -3
  33. package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
  34. package/lib/components/Breadcrumb/index.js.map +1 -1
  35. package/lib/components/Button.js +6 -6
  36. package/lib/components/Button.js.map +1 -1
  37. package/lib/components/Card/Card.js +4 -4
  38. package/lib/components/Card/Card.js.map +1 -1
  39. package/lib/components/Card/CardsContainer.js +8 -8
  40. package/lib/components/Card/CardsContainer.js.map +1 -1
  41. package/lib/components/Card/CardsFactory.js.map +1 -1
  42. package/lib/components/Card/CardsRender.js +13 -13
  43. package/lib/components/Card/CardsRender.js.map +1 -1
  44. package/lib/components/Card/constants.js.map +1 -1
  45. package/lib/components/Card/helpers/filter-query-setup.js +5 -5
  46. package/lib/components/Card/helpers/filter-query-setup.js.map +1 -1
  47. package/lib/components/Card/helpers/filters-setup.js.map +1 -1
  48. package/lib/components/Card/helpers/get-dynamic-grid-classes.js +3 -3
  49. package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  50. package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
  51. package/lib/components/Card/helpers/get-updated-items-to-display.js +3 -3
  52. package/lib/components/Card/helpers/get-updated-items-to-display.js.map +1 -1
  53. package/lib/components/Card/helpers/get-updated-sort-properties.js +2 -2
  54. package/lib/components/Card/helpers/get-updated-sort-properties.js.map +1 -1
  55. package/lib/components/Card/helpers/index.js.map +1 -1
  56. package/lib/components/Card/helpers/should-return.js.map +1 -1
  57. package/lib/components/Card/helpers/should-skip-single-query.js.map +1 -1
  58. package/lib/components/Card/helpers/use-dynamic-size-key.js +3 -3
  59. package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  60. package/lib/components/Card/index.js.map +1 -1
  61. package/lib/components/Carousel/Carousel.js.map +1 -1
  62. package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  63. package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
  64. package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  65. package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
  66. package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  67. package/lib/components/Carousel/index.js.map +1 -1
  68. package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  69. package/lib/components/CarouselWrapper/DefaultCarousel.js +25 -9
  70. package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  71. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  72. package/lib/components/CarouselWrapper/index.js.map +1 -1
  73. package/lib/components/ClickWrapper.js +6 -6
  74. package/lib/components/ClickWrapper.js.map +1 -1
  75. package/lib/components/Code/Code.js +6 -6
  76. package/lib/components/Code/Code.js.map +1 -1
  77. package/lib/components/Code/ScriptTag.js +3 -3
  78. package/lib/components/Code/ScriptTag.js.map +1 -1
  79. package/lib/components/Code/helpers/index.js.map +1 -1
  80. package/lib/components/Code/helpers/wrap-script-tags.js +1 -1
  81. package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
  82. package/lib/components/Code/index.js.map +1 -1
  83. package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
  84. package/lib/components/ContentGroup/ContentGroupTabs.js +3 -3
  85. package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  86. package/lib/components/ContentGroup/constants.js.map +1 -1
  87. package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -1
  88. package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  89. package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  90. package/lib/components/ContentGroup/helpers/index.js.map +1 -1
  91. package/lib/components/ContentGroup/index.js.map +1 -1
  92. package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  93. package/lib/components/ContentGroupSection/index.js.map +1 -1
  94. package/lib/components/DataSummary/DataSummaryFactory.js +19 -10
  95. package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
  96. package/lib/components/DataSummary/DataSummaryRender.js +30 -5
  97. package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
  98. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  99. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +3 -3
  100. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  101. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  102. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  103. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +3 -3
  104. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  105. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  106. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  107. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +3 -3
  108. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  109. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  110. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  111. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +3 -3
  112. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  113. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  114. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  115. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +3 -3
  116. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  117. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  118. package/lib/components/DataSummary/DataSummaryTypes/index.js +3 -3
  119. package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  120. package/lib/components/DataSummary/helpers/build-loop-props-content.js +7 -5
  121. package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  122. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +2 -2
  123. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  124. package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  125. package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  126. package/lib/components/DataSummary/helpers/get-link-props.js +2 -2
  127. package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
  128. package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  129. package/lib/components/DataSummary/helpers/get-loop-props-limit.js +2 -2
  130. package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  131. package/lib/components/DataSummary/helpers/get-prop-value.js +3 -3
  132. package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  133. package/lib/components/DataSummary/helpers/get-value-from-array.js +2 -2
  134. package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  135. package/lib/components/DataSummary/helpers/index.js.map +1 -1
  136. package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  137. package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  138. package/lib/components/DataSummary/index.js.map +1 -1
  139. package/lib/components/DateTime/DateTime.js +4 -4
  140. package/lib/components/DateTime/DateTime.js.map +1 -1
  141. package/lib/components/DateTime/index.js.map +1 -1
  142. package/lib/components/EmailConfirm/EmailConfirm.js +2 -2
  143. package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
  144. package/lib/components/EmailConfirm/index.js.map +1 -1
  145. package/lib/components/EmailConfirm/mutation.js.map +1 -1
  146. package/lib/components/Iframe/Iframe.js.map +1 -1
  147. package/lib/components/Iframe/constants.js.map +1 -1
  148. package/lib/components/Iframe/index.js.map +1 -1
  149. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +3 -3
  150. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  151. package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  152. package/lib/components/Image/GlobalLightbox/index.js +3 -3
  153. package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
  154. package/lib/components/Image/Image.js +7 -7
  155. package/lib/components/Image/Image.js.map +1 -1
  156. package/lib/components/Image/ImageDetails.js.map +1 -1
  157. package/lib/components/Image/ImageFactory.js +2 -2
  158. package/lib/components/Image/ImageFactory.js.map +1 -1
  159. package/lib/components/Image/ImageRender.js.map +1 -1
  160. package/lib/components/Image/Lightbox/Lightbox.js +2 -2
  161. package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
  162. package/lib/components/Image/Lightbox/index.js.map +1 -1
  163. package/lib/components/Image/index.js.map +1 -1
  164. package/lib/components/ItemList/ItemListButton/ItemListButton.js +4 -4
  165. package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  166. package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
  167. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  168. package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
  169. package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  170. package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
  171. package/lib/components/ItemList/constants.js.map +1 -1
  172. package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  173. package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  174. package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  175. package/lib/components/ItemList/helpers/index.js.map +1 -1
  176. package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  177. package/lib/components/ItemList/helpers/set-param-and-redirect.js +4 -4
  178. package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  179. package/lib/components/ItemList/hooks/index.js.map +1 -1
  180. package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  181. package/lib/components/Layout/Layout.js +5 -5
  182. package/lib/components/Layout/Layout.js.map +1 -1
  183. package/lib/components/Layout/LayoutFactory.js +3 -3
  184. package/lib/components/Layout/LayoutFactory.js.map +1 -1
  185. package/lib/components/Layout/LayoutWithStickyTimer.js +2 -2
  186. package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  187. package/lib/components/Layout/constants.js.map +1 -1
  188. package/lib/components/Layout/helpers/check-if-row-has-columns.js +1 -1
  189. package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  190. package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  191. package/lib/components/Layout/helpers/index.js.map +1 -1
  192. package/lib/components/Layout/index.js.map +1 -1
  193. package/lib/components/LazyImage/LazyImage.js.map +1 -1
  194. package/lib/components/LazyImage/index.js +3 -3
  195. package/lib/components/LazyImage/index.js.map +1 -1
  196. package/lib/components/List/ListBuilder.js +5 -5
  197. package/lib/components/List/ListBuilder.js.map +1 -1
  198. package/lib/components/List/ListFactory.js +10 -10
  199. package/lib/components/List/ListFactory.js.map +1 -1
  200. package/lib/components/List/ListRender.js +5 -7
  201. package/lib/components/List/ListRender.js.map +1 -1
  202. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  203. package/lib/components/List/components/Cards/CardsRender.js +7 -7
  204. package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
  205. package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  206. package/lib/components/List/components/Cards/CardsRenderWrapper.js +2 -2
  207. package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  208. package/lib/components/List/components/Cards/index.js.map +1 -1
  209. package/lib/components/List/components/Full/FullRender.js +6 -6
  210. package/lib/components/List/components/Full/FullRender.js.map +1 -1
  211. package/lib/components/List/components/Full/FullRenderItem.js +6 -6
  212. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  213. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  214. package/lib/components/List/components/Full/index.js.map +1 -1
  215. package/lib/components/List/components/Header/ListHeader.js +1 -1
  216. package/lib/components/List/components/Header/ListHeader.js.map +1 -1
  217. package/lib/components/List/components/Header/index.js.map +1 -1
  218. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  219. package/lib/components/List/components/Pagination/ListPagination.js +6 -6
  220. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  221. package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
  222. package/lib/components/List/components/Pagination/index.js.map +1 -1
  223. package/lib/components/List/components/helpers/check-if-should-render-banner.js +2 -2
  224. package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  225. package/lib/components/List/components/helpers/check-if-should-render-gtm.js +2 -2
  226. package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  227. package/lib/components/List/components/helpers/index.js.map +1 -1
  228. package/lib/components/List/components/index.js.map +1 -1
  229. package/lib/components/List/constants.js.map +1 -1
  230. package/lib/components/List/helpers/build-az-aggregations.js +3 -3
  231. package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
  232. package/lib/components/List/helpers/build-az-url.js +5 -5
  233. package/lib/components/List/helpers/build-az-url.js.map +1 -1
  234. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  235. package/lib/components/List/helpers/build-pagination-url.js +5 -5
  236. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  237. package/lib/components/List/helpers/build-query-booster.js +6 -6
  238. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  239. package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
  240. package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  241. package/lib/components/List/helpers/get-list-component.js.map +1 -1
  242. package/lib/components/List/helpers/get-list-query.js +3 -3
  243. package/lib/components/List/helpers/get-list-query.js.map +1 -1
  244. package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  245. package/lib/components/List/helpers/get-sort-props.js +3 -3
  246. package/lib/components/List/helpers/get-sort-props.js.map +1 -1
  247. package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
  248. package/lib/components/List/helpers/index.js.map +1 -1
  249. package/lib/components/List/helpers/sort-aggs.js.map +1 -1
  250. package/lib/components/List/helpers/strip-query-key.js.map +1 -1
  251. package/lib/components/List/index.js.map +1 -1
  252. package/lib/components/Menu/Menu.js +2 -2
  253. package/lib/components/Menu/Menu.js.map +1 -1
  254. package/lib/components/Menu/MenuContext.js.map +1 -1
  255. package/lib/components/Menu/index.js.map +1 -1
  256. package/lib/components/MenuItem/MenuItem.js +2 -2
  257. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  258. package/lib/components/MenuItem/index.js.map +1 -1
  259. package/lib/components/Modal/Modal.js.map +1 -1
  260. package/lib/components/Modal/index.js.map +1 -1
  261. package/lib/components/SearchContent/SearchContent.js +3 -3
  262. package/lib/components/SearchContent/SearchContent.js.map +1 -1
  263. package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
  264. package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
  265. package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  266. package/lib/components/SearchContent/constants.js.map +1 -1
  267. package/lib/components/SearchContent/index.js.map +1 -1
  268. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  269. package/lib/components/SearchFilter/SearchFilter/FiltersList.js +3 -3
  270. package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  271. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  272. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  273. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +4 -4
  274. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  275. package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
  276. package/lib/components/SearchFilter/SearchFilterContainer.js +7 -7
  277. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  278. package/lib/components/SearchFilter/components/Checkbox.js +7 -7
  279. package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
  280. package/lib/components/SearchFilter/components/Range.js +4 -4
  281. package/lib/components/SearchFilter/components/Range.js.map +1 -1
  282. package/lib/components/SearchFilter/components/Select.js +3 -3
  283. package/lib/components/SearchFilter/components/Select.js.map +1 -1
  284. package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
  285. package/lib/components/SearchFilter/components/index.js.map +1 -1
  286. package/lib/components/SearchFilter/constants.js.map +1 -1
  287. package/lib/components/SearchFilter/helpers/build-filters-query.js +6 -6
  288. package/lib/components/SearchFilter/helpers/build-filters-query.js.map +1 -1
  289. package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  290. package/lib/components/SearchFilter/helpers/build-raw-query-stringified.js +1 -1
  291. package/lib/components/SearchFilter/helpers/build-raw-query-stringified.js.map +1 -1
  292. package/lib/components/SearchFilter/helpers/build-url-query.js +3 -3
  293. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  294. package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  295. package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  296. package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  297. package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  298. package/lib/components/SearchFilter/helpers/get-display-value.js +1 -1
  299. package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  300. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +2 -2
  301. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  302. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  303. package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  304. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  305. package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  306. package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  307. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  308. package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  309. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +2 -2
  310. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  311. package/lib/components/SearchFilter/helpers/index.js.map +1 -1
  312. package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  313. package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  314. package/lib/components/SearchFilter/index.js.map +1 -1
  315. package/lib/components/SearchFilter/searchFilterReducer.js +5 -5
  316. package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
  317. package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  318. package/lib/components/SearchFilterSort/constants.js.map +1 -1
  319. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +2 -2
  320. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  321. package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
  322. package/lib/components/SearchFilterSort/helpers/update-sort.js +5 -5
  323. package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  324. package/lib/components/SearchFilterSort/index.js.map +1 -1
  325. package/lib/components/SocialFollow/SFItem.js.map +1 -1
  326. package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
  327. package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
  328. package/lib/components/SocialFollow/index.js.map +1 -1
  329. package/lib/components/SocialFollow/sf.config.js.map +1 -1
  330. package/lib/components/SubMenu/SubMenu.js.map +1 -1
  331. package/lib/components/SubMenu/index.js.map +1 -1
  332. package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
  333. package/lib/components/TextBlock/index.js +5 -5
  334. package/lib/components/TextBlock/index.js.map +1 -1
  335. package/lib/components/Video/Video.js +5 -5
  336. package/lib/components/Video/Video.js.map +1 -1
  337. package/lib/components/Video/VideoModal.js +2 -2
  338. package/lib/components/Video/VideoModal.js.map +1 -1
  339. package/lib/components/Video/VideoRender.js.map +1 -1
  340. package/lib/components/Video/index.js.map +1 -1
  341. package/lib/components/Video/providers/Default.js.map +1 -1
  342. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  343. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +5 -5
  344. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  345. package/lib/components/Video/providers/Vimeo/VimeoProvider.js +2 -2
  346. package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  347. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +6 -6
  348. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  349. package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  350. package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  351. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +2 -2
  352. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  353. package/lib/components/Video/providers/YouTube/helpers/index.js +1 -1
  354. package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  355. package/lib/components/Video/providers/get-provider.js +3 -3
  356. package/lib/components/Video/providers/get-provider.js.map +1 -1
  357. package/lib/components/Video/providers/index.js.map +1 -1
  358. package/lib/components/Wrapper.js.map +1 -1
  359. package/lib/components/index.js +3 -3
  360. package/lib/components/index.js.map +1 -1
  361. package/lib/constants/componentsDefaultValues.js.map +1 -1
  362. package/lib/constants/index.js.map +1 -1
  363. package/lib/helpers/append-images.js +5 -5
  364. package/lib/helpers/append-images.js.map +1 -1
  365. package/lib/helpers/build-az-filter.js.map +1 -1
  366. package/lib/helpers/build-checkbox-filters.js.map +1 -1
  367. package/lib/helpers/build-image-properties.js.map +1 -1
  368. package/lib/helpers/build-inherited-filters.js +4 -4
  369. package/lib/helpers/build-inherited-filters.js.map +1 -1
  370. package/lib/helpers/build-link-extra-props.js.map +1 -1
  371. package/lib/helpers/build-props-query.js +9 -9
  372. package/lib/helpers/build-props-query.js.map +1 -1
  373. package/lib/helpers/build-query-fields.js +1 -1
  374. package/lib/helpers/build-query-fields.js.map +1 -1
  375. package/lib/helpers/build-query-key.js.map +1 -1
  376. package/lib/helpers/build-raw-query-base.js +9 -9
  377. package/lib/helpers/build-raw-query-base.js.map +1 -1
  378. package/lib/helpers/build-raw-query.js +7 -7
  379. package/lib/helpers/build-raw-query.js.map +1 -1
  380. package/lib/helpers/build-search-values-checkbox-select.js +7 -7
  381. package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
  382. package/lib/helpers/build-search-values-text.js.map +1 -1
  383. package/lib/helpers/build-set-filters.js +3 -3
  384. package/lib/helpers/build-set-filters.js.map +1 -1
  385. package/lib/helpers/build-sort-values.js +6 -6
  386. package/lib/helpers/build-sort-values.js.map +1 -1
  387. package/lib/helpers/check-for-error.js.map +1 -1
  388. package/lib/helpers/check-props-to-use.js.map +1 -1
  389. package/lib/helpers/entities/constants.js.map +1 -1
  390. package/lib/helpers/get-banner-data.js +5 -5
  391. package/lib/helpers/get-banner-data.js.map +1 -1
  392. package/lib/helpers/get-checkbox-filters.js.map +1 -1
  393. package/lib/helpers/get-click-wrapper-options.js +6 -6
  394. package/lib/helpers/get-click-wrapper-options.js.map +1 -1
  395. package/lib/helpers/get-current-offset.js.map +1 -1
  396. package/lib/helpers/get-dictionary-match.js.map +1 -1
  397. package/lib/helpers/get-display-count-data.js.map +1 -1
  398. package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
  399. package/lib/helpers/get-entities-with-banner.js +5 -5
  400. package/lib/helpers/get-entities-with-banner.js.map +1 -1
  401. package/lib/helpers/get-entity-data.js.map +1 -1
  402. package/lib/helpers/get-entity-render-props.js.map +1 -1
  403. package/lib/helpers/get-extra-az-bits.js.map +1 -1
  404. package/lib/helpers/get-filter-props.js.map +1 -1
  405. package/lib/helpers/get-filter-relation-keys.js +1 -1
  406. package/lib/helpers/get-filter-relation-keys.js.map +1 -1
  407. package/lib/helpers/get-generic-props.js +5 -5
  408. package/lib/helpers/get-generic-props.js.map +1 -1
  409. package/lib/helpers/get-generic-render-variables.js +6 -6
  410. package/lib/helpers/get-generic-render-variables.js.map +1 -1
  411. package/lib/helpers/get-image-ids.js +2 -2
  412. package/lib/helpers/get-image-ids.js.map +1 -1
  413. package/lib/helpers/get-inherited-filters.js +2 -2
  414. package/lib/helpers/get-inherited-filters.js.map +1 -1
  415. package/lib/helpers/get-items-to-display-ids.js +2 -2
  416. package/lib/helpers/get-items-to-display-ids.js.map +1 -1
  417. package/lib/helpers/get-modifiers.js +3 -3
  418. package/lib/helpers/get-modifiers.js.map +1 -1
  419. package/lib/helpers/get-not-equal-query.js.map +1 -1
  420. package/lib/helpers/get-pagination-index.js.map +1 -1
  421. package/lib/helpers/get-parsed-prop-values.js +3 -3
  422. package/lib/helpers/get-parsed-prop-values.js.map +1 -1
  423. package/lib/helpers/get-parsed-summary-value.js.map +1 -1
  424. package/lib/helpers/get-prop-values.js +2 -2
  425. package/lib/helpers/get-prop-values.js.map +1 -1
  426. package/lib/helpers/get-query-filters.js.map +1 -1
  427. package/lib/helpers/get-query-props.js +3 -3
  428. package/lib/helpers/get-query-props.js.map +1 -1
  429. package/lib/helpers/get-required-schemas.js +3 -3
  430. package/lib/helpers/get-required-schemas.js.map +1 -1
  431. package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
  432. package/lib/helpers/get-search-filter-type.js.map +1 -1
  433. package/lib/helpers/get-sort-by-field-name.js +4 -4
  434. package/lib/helpers/get-sort-by-field-name.js.map +1 -1
  435. package/lib/helpers/get-unpublished-entity-name.js +1 -1
  436. package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
  437. package/lib/helpers/get-updated-filter-by.js.map +1 -1
  438. package/lib/helpers/get-wrapped-value-with-link.js +1 -1
  439. package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
  440. package/lib/helpers/group-entities.js +1 -1
  441. package/lib/helpers/group-entities.js.map +1 -1
  442. package/lib/helpers/has-children.js.map +1 -1
  443. package/lib/helpers/index.js.map +1 -1
  444. package/lib/helpers/inject-banner.js.map +1 -1
  445. package/lib/helpers/inject-banners-to-entities.js.map +1 -1
  446. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  447. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  448. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +6 -6
  449. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  450. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +3 -3
  451. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  452. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  453. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  454. package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
  455. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  456. package/lib/helpers/is-browser.js.map +1 -1
  457. package/lib/helpers/is-filter-entitys-id.js +1 -1
  458. package/lib/helpers/is-filter-entitys-id.js.map +1 -1
  459. package/lib/helpers/is-object.js.map +1 -1
  460. package/lib/helpers/is-using-relation-image.js.map +1 -1
  461. package/lib/helpers/parse-TextBlock.js +2 -2
  462. package/lib/helpers/parse-TextBlock.js.map +1 -1
  463. package/lib/helpers/parse-interval.js.map +1 -1
  464. package/lib/helpers/parse-props-to-display.js +4 -4
  465. package/lib/helpers/parse-props-to-display.js.map +1 -1
  466. package/lib/helpers/process-data-summary-value.js +8 -8
  467. package/lib/helpers/process-data-summary-value.js.map +1 -1
  468. package/lib/helpers/remove-extra-items.js.map +1 -1
  469. package/lib/helpers/remove-unwanted-characters.js +6 -6
  470. package/lib/helpers/remove-unwanted-characters.js.map +1 -1
  471. package/lib/helpers/render-children.js +5 -5
  472. package/lib/helpers/render-children.js.map +1 -1
  473. package/lib/helpers/should-render-waypoint.js.map +1 -1
  474. package/lib/helpers/should-show-property.js.map +1 -1
  475. package/lib/helpers/sort-response-data.js +2 -2
  476. package/lib/helpers/sort-response-data.js.map +1 -1
  477. package/lib/helpers/split-children.js +5 -5
  478. package/lib/helpers/split-children.js.map +1 -1
  479. package/lib/helpers/update-childrens-parent.js +3 -3
  480. package/lib/helpers/update-childrens-parent.js.map +1 -1
  481. package/lib/hooks/helpers/RenderComponent.js +1 -1
  482. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  483. package/lib/hooks/helpers/StoreImages.js +4 -4
  484. package/lib/hooks/helpers/StoreImages.js.map +1 -1
  485. package/lib/hooks/helpers/append-gtm-classname.js +7 -7
  486. package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
  487. package/lib/hooks/helpers/buildPBComponents.js +7 -7
  488. package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
  489. package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  490. package/lib/hooks/helpers/check-collisions.js +3 -3
  491. package/lib/hooks/helpers/check-collisions.js.map +1 -1
  492. package/lib/hooks/helpers/constants.js.map +1 -1
  493. package/lib/hooks/helpers/get-banner-index.js.map +1 -1
  494. package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  495. package/lib/hooks/helpers/get-lightbox-images.js +8 -8
  496. package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
  497. package/lib/hooks/helpers/getComponent.js.map +1 -1
  498. package/lib/hooks/helpers/getVariant.js.map +1 -1
  499. package/lib/hooks/helpers/index.js.map +1 -1
  500. package/lib/hooks/helpers/inject-element-components.js +4 -4
  501. package/lib/hooks/helpers/inject-element-components.js.map +1 -1
  502. package/lib/hooks/helpers/inject-textblock-banners.js +7 -7
  503. package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
  504. package/lib/hooks/helpers/insert-banners.js +9 -9
  505. package/lib/hooks/helpers/insert-banners.js.map +1 -1
  506. package/lib/hooks/helpers/update-targetings.js.map +1 -1
  507. package/lib/hooks/index.js.map +1 -1
  508. package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
  509. package/lib/hooks/use-banner-insertion.js +1 -1
  510. package/lib/hooks/use-banner-insertion.js.map +1 -1
  511. package/lib/hooks/use-check-mobile-screen.js.map +1 -1
  512. package/lib/hooks/use-get-entity-schema.js.map +1 -1
  513. package/lib/hooks/use-get-entity-schemas-as-obj.js +1 -1
  514. package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  515. package/lib/hooks/use-get-image-id-from-relation.js +1 -1
  516. package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
  517. package/lib/hooks/use-get-images.js.map +1 -1
  518. package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
  519. package/lib/hooks/use-page-builder.js.map +1 -1
  520. package/lib/index.js.map +1 -1
  521. package/lib/utils/component-map.js +1 -1
  522. package/lib/utils/component-map.js.map +1 -1
  523. package/lib/utils/get-class-modifiers.js +7 -7
  524. package/lib/utils/get-class-modifiers.js.map +1 -1
  525. package/lib/utils/get-image-data.js.map +1 -1
  526. package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
  527. package/lib/utils/index.js.map +1 -1
  528. package/lib/utils/is-object-empty.js.map +1 -1
  529. package/lib/utils/variant-handler.js +1 -1
  530. package/lib/utils/variant-handler.js.map +1 -1
  531. package/lib/variants/HeroImage/index.js +5 -5
  532. package/lib/variants/HeroImage/index.js.map +1 -1
  533. package/lib/variants/Infographic/Infographic.js.map +1 -1
  534. package/lib/variants/Infographic/index.js +5 -5
  535. package/lib/variants/Infographic/index.js.map +1 -1
  536. package/lib/variants/Infographic/useInfographic.js +5 -5
  537. package/lib/variants/Infographic/useInfographic.js.map +1 -1
  538. package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
  539. package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  540. package/lib/variants/LongformGallery/constants.js.map +1 -1
  541. package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
  542. package/lib/variants/LongformGallery/helpers/parseImageData.js +3 -3
  543. package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  544. package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  545. package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  546. package/lib/variants/LongformGallery/index.js +6 -6
  547. package/lib/variants/LongformGallery/index.js.map +1 -1
  548. package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
  549. package/lib/variants/LongformRow/index.js +5 -5
  550. package/lib/variants/LongformRow/index.js.map +1 -1
  551. package/lib/variants/ParallaxImageTextRight/index.js +5 -5
  552. package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
  553. package/lib/variants/SlideSummary/SlideSummary.js +29 -0
  554. package/lib/variants/SlideSummary/SlideSummary.js.map +1 -0
  555. package/lib/variants/SlideSummary/index.js +41 -0
  556. package/lib/variants/SlideSummary/index.js.map +1 -0
  557. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  558. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  559. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  560. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  561. package/lib/variants/ThumbnailCarousel/index.js +5 -5
  562. package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
  563. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +5 -5
  564. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  565. package/lib/variants/index.js +3 -1
  566. package/lib/variants/index.js.map +1 -1
  567. package/lib-es/BannerContext/helpers/index.js.map +1 -1
  568. package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  569. package/lib-es/BannerContext/index.js.map +1 -1
  570. package/lib-es/HOC/index.js.map +1 -1
  571. package/lib-es/HOC/recreateOnNavigation.js.map +1 -1
  572. package/lib-es/HOC/withInfiniteScroll.js.map +1 -1
  573. package/lib-es/HOC/withTitle.js.map +1 -1
  574. package/lib-es/PBContext/index.js.map +1 -1
  575. package/lib-es/application/query/index.js.map +1 -1
  576. package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
  577. package/lib-es/components/BackToTop/index.js.map +1 -1
  578. package/lib-es/components/Banner/AdSlotRender.js.map +1 -1
  579. package/lib-es/components/Banner/Banner.js.map +1 -1
  580. package/lib-es/components/Banner/BannerRender.js.map +1 -1
  581. package/lib-es/components/Banner/helpers.js.map +1 -1
  582. package/lib-es/components/Banner/index.js.map +1 -1
  583. package/lib-es/components/BlazeLink.js.map +1 -1
  584. package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
  585. package/lib-es/components/Breadcrumb/index.js.map +1 -1
  586. package/lib-es/components/Button.js.map +1 -1
  587. package/lib-es/components/Card/Card.js.map +1 -1
  588. package/lib-es/components/Card/CardsContainer.js.map +1 -1
  589. package/lib-es/components/Card/CardsFactory.js.map +1 -1
  590. package/lib-es/components/Card/CardsRender.js +1 -1
  591. package/lib-es/components/Card/CardsRender.js.map +1 -1
  592. package/lib-es/components/Card/constants.js.map +1 -1
  593. package/lib-es/components/Card/helpers/filter-query-setup.js.map +1 -1
  594. package/lib-es/components/Card/helpers/filters-setup.js.map +1 -1
  595. package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  596. package/lib-es/components/Card/helpers/get-published-listing-url.js.map +1 -1
  597. package/lib-es/components/Card/helpers/get-updated-items-to-display.js.map +1 -1
  598. package/lib-es/components/Card/helpers/get-updated-sort-properties.js.map +1 -1
  599. package/lib-es/components/Card/helpers/index.js.map +1 -1
  600. package/lib-es/components/Card/helpers/should-return.js.map +1 -1
  601. package/lib-es/components/Card/helpers/should-skip-single-query.js.map +1 -1
  602. package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  603. package/lib-es/components/Card/index.js.map +1 -1
  604. package/lib-es/components/Carousel/Carousel.js.map +1 -1
  605. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  606. package/lib-es/components/Carousel/CarouselImage/index.js.map +1 -1
  607. package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  608. package/lib-es/components/Carousel/CarouselRender/index.js.map +1 -1
  609. package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  610. package/lib-es/components/Carousel/index.js.map +1 -1
  611. package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  612. package/lib-es/components/CarouselWrapper/DefaultCarousel.js +22 -7
  613. package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  614. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  615. package/lib-es/components/CarouselWrapper/index.js.map +1 -1
  616. package/lib-es/components/ClickWrapper.js.map +1 -1
  617. package/lib-es/components/Code/Code.js.map +1 -1
  618. package/lib-es/components/Code/ScriptTag.js.map +1 -1
  619. package/lib-es/components/Code/helpers/index.js.map +1 -1
  620. package/lib-es/components/Code/helpers/wrap-script-tags.js.map +1 -1
  621. package/lib-es/components/Code/index.js.map +1 -1
  622. package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
  623. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  624. package/lib-es/components/ContentGroup/constants.js.map +1 -1
  625. package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  626. package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  627. package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
  628. package/lib-es/components/ContentGroup/index.js.map +1 -1
  629. package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  630. package/lib-es/components/ContentGroupSection/index.js.map +1 -1
  631. package/lib-es/components/DataSummary/DataSummaryFactory.js +29 -21
  632. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
  633. package/lib-es/components/DataSummary/DataSummaryRender.js +28 -6
  634. package/lib-es/components/DataSummary/DataSummaryRender.js.map +1 -1
  635. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  636. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  637. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  638. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  639. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  640. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  641. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  642. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  643. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  644. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  645. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  646. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  647. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  648. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  649. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  650. package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  651. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js +2 -1
  652. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  653. package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  654. package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  655. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  656. package/lib-es/components/DataSummary/helpers/get-link-props.js.map +1 -1
  657. package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  658. package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  659. package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  660. package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  661. package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
  662. package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  663. package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  664. package/lib-es/components/DataSummary/index.js.map +1 -1
  665. package/lib-es/components/DateTime/DateTime.js +4 -4
  666. package/lib-es/components/DateTime/DateTime.js.map +1 -1
  667. package/lib-es/components/DateTime/index.js.map +1 -1
  668. package/lib-es/components/EmailConfirm/EmailConfirm.js.map +1 -1
  669. package/lib-es/components/EmailConfirm/index.js.map +1 -1
  670. package/lib-es/components/EmailConfirm/mutation.js.map +1 -1
  671. package/lib-es/components/Iframe/Iframe.js.map +1 -1
  672. package/lib-es/components/Iframe/constants.js.map +1 -1
  673. package/lib-es/components/Iframe/index.js.map +1 -1
  674. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  675. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  676. package/lib-es/components/Image/GlobalLightbox/index.js.map +1 -1
  677. package/lib-es/components/Image/Image.js.map +1 -1
  678. package/lib-es/components/Image/ImageDetails.js.map +1 -1
  679. package/lib-es/components/Image/ImageFactory.js.map +1 -1
  680. package/lib-es/components/Image/ImageRender.js.map +1 -1
  681. package/lib-es/components/Image/Lightbox/Lightbox.js.map +1 -1
  682. package/lib-es/components/Image/Lightbox/index.js.map +1 -1
  683. package/lib-es/components/Image/index.js.map +1 -1
  684. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  685. package/lib-es/components/ItemList/ItemListButton/index.js.map +1 -1
  686. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  687. package/lib-es/components/ItemList/ItemListCounter/index.js.map +1 -1
  688. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  689. package/lib-es/components/ItemList/ItemListNew/index.js.map +1 -1
  690. package/lib-es/components/ItemList/constants.js.map +1 -1
  691. package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  692. package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  693. package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  694. package/lib-es/components/ItemList/helpers/index.js.map +1 -1
  695. package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  696. package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  697. package/lib-es/components/ItemList/hooks/index.js.map +1 -1
  698. package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  699. package/lib-es/components/Layout/Layout.js.map +1 -1
  700. package/lib-es/components/Layout/LayoutFactory.js.map +1 -1
  701. package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  702. package/lib-es/components/Layout/constants.js.map +1 -1
  703. package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  704. package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  705. package/lib-es/components/Layout/helpers/index.js.map +1 -1
  706. package/lib-es/components/Layout/index.js.map +1 -1
  707. package/lib-es/components/LazyImage/LazyImage.js.map +1 -1
  708. package/lib-es/components/LazyImage/index.js.map +1 -1
  709. package/lib-es/components/List/ListBuilder.js.map +1 -1
  710. package/lib-es/components/List/ListFactory.js.map +1 -1
  711. package/lib-es/components/List/ListRender.js +3 -5
  712. package/lib-es/components/List/ListRender.js.map +1 -1
  713. package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  714. package/lib-es/components/List/components/Cards/CardsRender.js.map +1 -1
  715. package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  716. package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  717. package/lib-es/components/List/components/Cards/index.js.map +1 -1
  718. package/lib-es/components/List/components/Full/FullRender.js.map +1 -1
  719. package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
  720. package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  721. package/lib-es/components/List/components/Full/index.js.map +1 -1
  722. package/lib-es/components/List/components/Header/ListHeader.js.map +1 -1
  723. package/lib-es/components/List/components/Header/index.js.map +1 -1
  724. package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
  725. package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
  726. package/lib-es/components/List/components/Pagination/LoadMore.js.map +1 -1
  727. package/lib-es/components/List/components/Pagination/index.js.map +1 -1
  728. package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  729. package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  730. package/lib-es/components/List/components/helpers/index.js.map +1 -1
  731. package/lib-es/components/List/components/index.js.map +1 -1
  732. package/lib-es/components/List/constants.js.map +1 -1
  733. package/lib-es/components/List/helpers/build-az-aggregations.js.map +1 -1
  734. package/lib-es/components/List/helpers/build-az-url.js.map +1 -1
  735. package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
  736. package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
  737. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  738. package/lib-es/components/List/helpers/get-az-query-filter.js.map +1 -1
  739. package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  740. package/lib-es/components/List/helpers/get-list-component.js.map +1 -1
  741. package/lib-es/components/List/helpers/get-list-query.js.map +1 -1
  742. package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  743. package/lib-es/components/List/helpers/get-sort-props.js +1 -1
  744. package/lib-es/components/List/helpers/get-sort-props.js.map +1 -1
  745. package/lib-es/components/List/helpers/has-required-item-list-details.js.map +1 -1
  746. package/lib-es/components/List/helpers/index.js.map +1 -1
  747. package/lib-es/components/List/helpers/sort-aggs.js.map +1 -1
  748. package/lib-es/components/List/helpers/strip-query-key.js.map +1 -1
  749. package/lib-es/components/List/index.js.map +1 -1
  750. package/lib-es/components/Menu/Menu.js.map +1 -1
  751. package/lib-es/components/Menu/MenuContext.js.map +1 -1
  752. package/lib-es/components/Menu/index.js.map +1 -1
  753. package/lib-es/components/MenuItem/MenuItem.js.map +1 -1
  754. package/lib-es/components/MenuItem/index.js.map +1 -1
  755. package/lib-es/components/Modal/Modal.js.map +1 -1
  756. package/lib-es/components/Modal/index.js.map +1 -1
  757. package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
  758. package/lib-es/components/SearchContent/SearchContentItems.js.map +1 -1
  759. package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
  760. package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  761. package/lib-es/components/SearchContent/constants.js.map +1 -1
  762. package/lib-es/components/SearchContent/index.js.map +1 -1
  763. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  764. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  765. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  766. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  767. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js +1 -1
  768. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  769. package/lib-es/components/SearchFilter/SearchFilter/index.js.map +1 -1
  770. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  771. package/lib-es/components/SearchFilter/components/Checkbox.js.map +1 -1
  772. package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
  773. package/lib-es/components/SearchFilter/components/Select.js.map +1 -1
  774. package/lib-es/components/SearchFilter/components/TextSearch.js.map +1 -1
  775. package/lib-es/components/SearchFilter/components/index.js.map +1 -1
  776. package/lib-es/components/SearchFilter/constants.js.map +1 -1
  777. package/lib-es/components/SearchFilter/helpers/build-filters-query.js.map +1 -1
  778. package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  779. package/lib-es/components/SearchFilter/helpers/build-raw-query-stringified.js.map +1 -1
  780. package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  781. package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  782. package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  783. package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  784. package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  785. package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  786. package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  787. package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  788. package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  789. package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  790. package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  791. package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  792. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  793. package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  794. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  795. package/lib-es/components/SearchFilter/helpers/index.js.map +1 -1
  796. package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  797. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  798. package/lib-es/components/SearchFilter/index.js.map +1 -1
  799. package/lib-es/components/SearchFilter/searchFilterReducer.js.map +1 -1
  800. package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  801. package/lib-es/components/SearchFilterSort/constants.js.map +1 -1
  802. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  803. package/lib-es/components/SearchFilterSort/helpers/index.js.map +1 -1
  804. package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  805. package/lib-es/components/SearchFilterSort/index.js.map +1 -1
  806. package/lib-es/components/SocialFollow/SFItem.js.map +1 -1
  807. package/lib-es/components/SocialFollow/SocialFollow.js.map +1 -1
  808. package/lib-es/components/SocialFollow/SocialFollowRender.js.map +1 -1
  809. package/lib-es/components/SocialFollow/index.js.map +1 -1
  810. package/lib-es/components/SocialFollow/sf.config.js.map +1 -1
  811. package/lib-es/components/SubMenu/SubMenu.js.map +1 -1
  812. package/lib-es/components/SubMenu/index.js.map +1 -1
  813. package/lib-es/components/TextBlock/TextBlockRender.js.map +1 -1
  814. package/lib-es/components/TextBlock/index.js.map +1 -1
  815. package/lib-es/components/Video/Video.js.map +1 -1
  816. package/lib-es/components/Video/VideoModal.js.map +1 -1
  817. package/lib-es/components/Video/VideoRender.js.map +1 -1
  818. package/lib-es/components/Video/index.js.map +1 -1
  819. package/lib-es/components/Video/providers/Default.js.map +1 -1
  820. package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  821. package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  822. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  823. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  824. package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  825. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  826. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  827. package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  828. package/lib-es/components/Video/providers/get-provider.js.map +1 -1
  829. package/lib-es/components/Video/providers/index.js.map +1 -1
  830. package/lib-es/components/Wrapper.js.map +1 -1
  831. package/lib-es/components/index.js.map +1 -1
  832. package/lib-es/constants/componentsDefaultValues.js.map +1 -1
  833. package/lib-es/constants/index.js.map +1 -1
  834. package/lib-es/helpers/append-images.js.map +1 -1
  835. package/lib-es/helpers/build-az-filter.js.map +1 -1
  836. package/lib-es/helpers/build-checkbox-filters.js.map +1 -1
  837. package/lib-es/helpers/build-image-properties.js.map +1 -1
  838. package/lib-es/helpers/build-inherited-filters.js.map +1 -1
  839. package/lib-es/helpers/build-link-extra-props.js.map +1 -1
  840. package/lib-es/helpers/build-props-query.js.map +1 -1
  841. package/lib-es/helpers/build-query-fields.js.map +1 -1
  842. package/lib-es/helpers/build-query-key.js.map +1 -1
  843. package/lib-es/helpers/build-raw-query-base.js.map +1 -1
  844. package/lib-es/helpers/build-raw-query.js +2 -2
  845. package/lib-es/helpers/build-raw-query.js.map +1 -1
  846. package/lib-es/helpers/build-search-values-checkbox-select.js.map +1 -1
  847. package/lib-es/helpers/build-search-values-text.js.map +1 -1
  848. package/lib-es/helpers/build-set-filters.js.map +1 -1
  849. package/lib-es/helpers/build-sort-values.js.map +1 -1
  850. package/lib-es/helpers/check-for-error.js.map +1 -1
  851. package/lib-es/helpers/check-props-to-use.js.map +1 -1
  852. package/lib-es/helpers/entities/constants.js.map +1 -1
  853. package/lib-es/helpers/get-banner-data.js.map +1 -1
  854. package/lib-es/helpers/get-checkbox-filters.js.map +1 -1
  855. package/lib-es/helpers/get-click-wrapper-options.js.map +1 -1
  856. package/lib-es/helpers/get-current-offset.js.map +1 -1
  857. package/lib-es/helpers/get-dictionary-match.js.map +1 -1
  858. package/lib-es/helpers/get-display-count-data.js.map +1 -1
  859. package/lib-es/helpers/get-elasticsearch-operator.js.map +1 -1
  860. package/lib-es/helpers/get-entities-with-banner.js.map +1 -1
  861. package/lib-es/helpers/get-entity-data.js.map +1 -1
  862. package/lib-es/helpers/get-entity-render-props.js.map +1 -1
  863. package/lib-es/helpers/get-extra-az-bits.js.map +1 -1
  864. package/lib-es/helpers/get-filter-props.js.map +1 -1
  865. package/lib-es/helpers/get-filter-relation-keys.js.map +1 -1
  866. package/lib-es/helpers/get-generic-props.js.map +1 -1
  867. package/lib-es/helpers/get-generic-render-variables.js.map +1 -1
  868. package/lib-es/helpers/get-image-ids.js.map +1 -1
  869. package/lib-es/helpers/get-inherited-filters.js.map +1 -1
  870. package/lib-es/helpers/get-items-to-display-ids.js.map +1 -1
  871. package/lib-es/helpers/get-modifiers.js.map +1 -1
  872. package/lib-es/helpers/get-not-equal-query.js.map +1 -1
  873. package/lib-es/helpers/get-pagination-index.js.map +1 -1
  874. package/lib-es/helpers/get-parsed-prop-values.js.map +1 -1
  875. package/lib-es/helpers/get-parsed-summary-value.js.map +1 -1
  876. package/lib-es/helpers/get-prop-values.js.map +1 -1
  877. package/lib-es/helpers/get-query-filters.js.map +1 -1
  878. package/lib-es/helpers/get-query-props.js.map +1 -1
  879. package/lib-es/helpers/get-required-schemas.js.map +1 -1
  880. package/lib-es/helpers/get-sanitized-prop-values.js.map +1 -1
  881. package/lib-es/helpers/get-search-filter-type.js.map +1 -1
  882. package/lib-es/helpers/get-sort-by-field-name.js.map +1 -1
  883. package/lib-es/helpers/get-unpublished-entity-name.js.map +1 -1
  884. package/lib-es/helpers/get-updated-filter-by.js.map +1 -1
  885. package/lib-es/helpers/get-wrapped-value-with-link.js.map +1 -1
  886. package/lib-es/helpers/group-entities.js.map +1 -1
  887. package/lib-es/helpers/has-children.js.map +1 -1
  888. package/lib-es/helpers/index.js.map +1 -1
  889. package/lib-es/helpers/inject-banner.js.map +1 -1
  890. package/lib-es/helpers/inject-banners-to-entities.js.map +1 -1
  891. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  892. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  893. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  894. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  895. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  896. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  897. package/lib-es/helpers/inject-multiple-banners/index.js.map +1 -1
  898. package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  899. package/lib-es/helpers/is-browser.js.map +1 -1
  900. package/lib-es/helpers/is-filter-entitys-id.js.map +1 -1
  901. package/lib-es/helpers/is-object.js.map +1 -1
  902. package/lib-es/helpers/is-using-relation-image.js.map +1 -1
  903. package/lib-es/helpers/parse-TextBlock.js.map +1 -1
  904. package/lib-es/helpers/parse-interval.js.map +1 -1
  905. package/lib-es/helpers/parse-props-to-display.js.map +1 -1
  906. package/lib-es/helpers/process-data-summary-value.js.map +1 -1
  907. package/lib-es/helpers/remove-extra-items.js.map +1 -1
  908. package/lib-es/helpers/remove-unwanted-characters.js.map +1 -1
  909. package/lib-es/helpers/render-children.js.map +1 -1
  910. package/lib-es/helpers/should-render-waypoint.js.map +1 -1
  911. package/lib-es/helpers/should-show-property.js.map +1 -1
  912. package/lib-es/helpers/sort-response-data.js.map +1 -1
  913. package/lib-es/helpers/split-children.js.map +1 -1
  914. package/lib-es/helpers/update-childrens-parent.js.map +1 -1
  915. package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
  916. package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
  917. package/lib-es/hooks/helpers/append-gtm-classname.js.map +1 -1
  918. package/lib-es/hooks/helpers/buildPBComponents.js.map +1 -1
  919. package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  920. package/lib-es/hooks/helpers/check-collisions.js.map +1 -1
  921. package/lib-es/hooks/helpers/constants.js.map +1 -1
  922. package/lib-es/hooks/helpers/get-banner-index.js.map +1 -1
  923. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  924. package/lib-es/hooks/helpers/get-lightbox-images.js.map +1 -1
  925. package/lib-es/hooks/helpers/getComponent.js.map +1 -1
  926. package/lib-es/hooks/helpers/getVariant.js.map +1 -1
  927. package/lib-es/hooks/helpers/index.js.map +1 -1
  928. package/lib-es/hooks/helpers/inject-element-components.js.map +1 -1
  929. package/lib-es/hooks/helpers/inject-textblock-banners.js.map +1 -1
  930. package/lib-es/hooks/helpers/insert-banners.js.map +1 -1
  931. package/lib-es/hooks/helpers/update-targetings.js.map +1 -1
  932. package/lib-es/hooks/index.js.map +1 -1
  933. package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
  934. package/lib-es/hooks/use-banner-insertion.js.map +1 -1
  935. package/lib-es/hooks/use-check-mobile-screen.js.map +1 -1
  936. package/lib-es/hooks/use-get-entity-schema.js.map +1 -1
  937. package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  938. package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
  939. package/lib-es/hooks/use-get-images.js.map +1 -1
  940. package/lib-es/hooks/use-get-single-entity-schema.js.map +1 -1
  941. package/lib-es/hooks/use-page-builder.js.map +1 -1
  942. package/lib-es/index.js.map +1 -1
  943. package/lib-es/utils/component-map.js.map +1 -1
  944. package/lib-es/utils/get-class-modifiers.js.map +1 -1
  945. package/lib-es/utils/get-image-data.js.map +1 -1
  946. package/lib-es/utils/get-props-to-display-modifiers.js.map +1 -1
  947. package/lib-es/utils/index.js.map +1 -1
  948. package/lib-es/utils/is-object-empty.js.map +1 -1
  949. package/lib-es/utils/variant-handler.js.map +1 -1
  950. package/lib-es/variants/HeroImage/index.js.map +1 -1
  951. package/lib-es/variants/Infographic/Infographic.js.map +1 -1
  952. package/lib-es/variants/Infographic/index.js.map +1 -1
  953. package/lib-es/variants/Infographic/useInfographic.js.map +1 -1
  954. package/lib-es/variants/LongformGallery/LongformGallery.js.map +1 -1
  955. package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  956. package/lib-es/variants/LongformGallery/constants.js.map +1 -1
  957. package/lib-es/variants/LongformGallery/helpers/index.js.map +1 -1
  958. package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  959. package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  960. package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  961. package/lib-es/variants/LongformGallery/index.js.map +1 -1
  962. package/lib-es/variants/LongformGallery/useLongformGallery.js.map +1 -1
  963. package/lib-es/variants/LongformRow/index.js.map +1 -1
  964. package/lib-es/variants/ParallaxImageTextRight/index.js.map +1 -1
  965. package/lib-es/variants/SlideSummary/SlideSummary.js +23 -0
  966. package/lib-es/variants/SlideSummary/SlideSummary.js.map +1 -0
  967. package/lib-es/variants/SlideSummary/index.js +10 -0
  968. package/lib-es/variants/SlideSummary/index.js.map +1 -0
  969. package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  970. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  971. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  972. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  973. package/lib-es/variants/ThumbnailCarousel/index.js.map +1 -1
  974. package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  975. package/lib-es/variants/index.js +3 -1
  976. package/lib-es/variants/index.js.map +1 -1
  977. package/package.json +10 -10
  978. package/src/components/Card/CardsRender.js +4 -3
  979. package/src/components/CarouselWrapper/DefaultCarousel.js +22 -4
  980. package/src/components/DataSummary/DataSummaryFactory.js +17 -5
  981. package/src/components/DataSummary/DataSummaryRender.js +32 -4
  982. package/src/components/DataSummary/helpers/build-loop-props-content.js +8 -3
  983. package/src/components/DateTime/DateTime.js +4 -4
  984. package/src/components/List/ListRender.js +4 -5
  985. package/src/components/List/helpers/get-sort-props.js +1 -1
  986. package/src/components/SearchFilter/SearchFilter/SearchFilter.js +0 -2
  987. package/src/helpers/build-raw-query.js +15 -13
  988. package/src/hooks/helpers/getVariant.js +1 -0
  989. package/src/variants/SlideSummary/SlideSummary.js +20 -0
  990. package/src/variants/SlideSummary/index.js +11 -0
  991. package/src/variants/index.js +3 -1
  992. package/tests/helpers/mocks.js +19 -16
  993. package/tests/unit/src/components/List/helpers/get-sort-props.test.js +10 -0
  994. package/tests/unit/src/components/SearchFilter/SearchFilter/__snapshots__/SearchFilter.test.js.snap +1 -8
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.keys.js");
3
4
  require("core-js/modules/es.symbol.js");
4
5
  require("core-js/modules/es.array.filter.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
5
8
  require("core-js/modules/es.array.for-each.js");
9
+ require("core-js/modules/web.dom-collections.for-each.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
11
  require("core-js/modules/es.object.define-properties.js");
7
12
  require("core-js/modules/es.object.define-property.js");
8
- require("core-js/modules/es.object.get-own-property-descriptor.js");
9
- require("core-js/modules/es.object.get-own-property-descriptors.js");
10
- require("core-js/modules/es.object.keys.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/web.dom-collections.for-each.js");
13
13
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
14
  Object.defineProperty(exports, "__esModule", {
15
15
  value: true
@@ -129,7 +129,7 @@ var buildRawQuery = function buildRawQuery(_ref) {
129
129
  if (shouldApplySort) {
130
130
  return _objectSpread({
131
131
  query: query,
132
- sort: {
132
+ sort: [{
133
133
  _script: {
134
134
  type: 'number',
135
135
  script: {
@@ -141,7 +141,7 @@ var buildRawQuery = function buildRawQuery(_ref) {
141
141
  },
142
142
  order: 'asc'
143
143
  }
144
- }
144
+ }]
145
145
  }, azQueryBits);
146
146
  }
147
147
  }
@@ -1 +1 @@
1
- {"version":3,"file":"build-raw-query.js","names":["_buildRawQueryBase2","_interopRequireDefault","require","_getItemsToDisplayIds","_getExtraAzBits","_buildAzFilter","_constants","_excluded","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","buildRawQuery","_ref","docType","operator","_ref$searchValues","searchValues","filterData","id","itemsToDisplay","shouldApplySort","azOptions","_searchValues$searchV","searchValuesText","_searchValues$searchV2","_searchValues$searchV3","must","_searchValues$searchV4","should","shouldValuesText","_searchValues$searchV5","searchValuesCheckboxSelectRange","_searchValues$searchV6","searchValuesCheckboxOr","filterValues","filterOperator","relations","stringProps","azFilter","_ref2","isAZ","_ref2$sortProperties","sortProperties","sortPropertyToUse","isScore","_ref3","propsToDisplay","_ref3$propsToDisplay","_ref3$propsToDisplay2","_ref3$propsToDisplay3","_slicedToArray2","azSortProp","azSortProperty","AZ_DEFAULT_PROP","searchValuesTextCheckboxSelectJoined","AND_OPERATOR","concat","_toConsumableArray2","searchValuesTextCheckboxOr","finalValue","finalValueWithCheckboxOrValues","bool","finalValueIfNoCheckboxOrValues","mustValues","buildAzFilter","_buildRawQueryBase","buildRawQueryBase","_buildRawQueryBase$sh","baseShould","baseQuery","_objectWithoutProperties2","shouldValue","query","undefined","azQueryBits","getExtraAzBits","itemsToDisplayIds","getItemsToDisplayIds","ids","values","sort","_script","type","script","lang","source","params","sortOrder","order","_default","exports"],"sources":["../../src/helpers/build-raw-query.js"],"sourcesContent":["import buildRawQueryBase from './build-raw-query-base';\nimport getItemsToDisplayIds from './get-items-to-display-ids';\nimport getExtraAzBits from './get-extra-az-bits';\nimport buildAzFilter from './build-az-filter';\nimport { AND_OPERATOR, AZ_DEFAULT_PROP } from '../constants';\n\nconst buildRawQuery = ({\n docType,\n operator,\n searchValues = {},\n filterData,\n id,\n itemsToDisplay,\n shouldApplySort,\n azOptions\n}) => {\n const {\n searchValuesText: { must: searchValuesText = [], should: shouldValuesText = [] } = {},\n searchValuesCheckboxSelectRange = [],\n searchValuesCheckboxOr = []\n } = searchValues;\n const { filterValues, filterOperator, relations, stringProps, azFilter } = filterData;\n\n const { isAZ, sortProperties = [] } = azOptions || {};\n const sortPropertyToUse = isAZ && sortProperties[0] && sortProperties[0].isScore ? 1 : 0;\n const { propsToDisplay: [azSortProp] = [] } = sortProperties[sortPropertyToUse] || {\n propsToDisplay: []\n };\n const azSortProperty = azSortProp || AZ_DEFAULT_PROP;\n\n const searchValuesTextCheckboxSelectJoined =\n operator === AND_OPERATOR ? [...searchValuesText, ...searchValuesCheckboxSelectRange] : [];\n let searchValuesTextCheckboxOr = searchValuesText;\n if (searchValuesCheckboxOr.length) {\n searchValuesTextCheckboxOr = [...searchValuesText, ...searchValuesCheckboxOr];\n }\n\n let finalValue;\n\n if (searchValuesTextCheckboxSelectJoined.length) {\n const finalValueWithCheckboxOrValues = {\n must: [...searchValuesTextCheckboxSelectJoined, { bool: { should: searchValuesCheckboxOr } }]\n };\n const finalValueIfNoCheckboxOrValues = { must: searchValuesTextCheckboxSelectJoined };\n finalValue = searchValuesCheckboxOr.length\n ? finalValueWithCheckboxOrValues\n : finalValueIfNoCheckboxOrValues;\n } else {\n finalValue = {\n must: [\n ...searchValuesCheckboxSelectRange,\n { bool: { should: [...searchValuesTextCheckboxOr, ...shouldValuesText] } }\n ]\n };\n }\n const mustValues = [\n {\n bool: finalValue\n }\n ];\n\n buildAzFilter(azFilter, mustValues, azSortProperty);\n\n const { should: baseShould = [], ...baseQuery } = buildRawQueryBase({\n docType,\n id,\n filterValues,\n filterOperator,\n relations,\n stringProps\n });\n const shouldValue = [...baseShould, ...shouldValuesText];\n const query = {\n bool: {\n must: mustValues,\n should: shouldValue.length ? shouldValue : undefined,\n ...baseQuery\n }\n };\n const azQueryBits = getExtraAzBits({ ...azOptions, azSortProperty, azFilter });\n\n if (itemsToDisplay && itemsToDisplay.length) {\n const itemsToDisplayIds = getItemsToDisplayIds(itemsToDisplay);\n\n query.bool.must.push({ ids: { values: itemsToDisplayIds } });\n if (shouldApplySort) {\n return {\n query,\n sort: {\n _script: {\n type: 'number',\n script: {\n lang: 'painless',\n source:\n \"!doc['id.keyword'].empty ? params.sortOrder.indexOf(doc['id.keyword'].value) : 0\",\n params: {\n sortOrder: itemsToDisplayIds\n }\n },\n order: 'asc'\n }\n },\n ...azQueryBits\n };\n }\n }\n\n return isAZ\n ? {\n query,\n ...azQueryBits\n }\n : query;\n};\n\nexport default buildRawQuery;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,cAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAA6D,IAAAK,SAAA;AAAA,SAAAC,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAA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-raw-query.js","names":["_buildRawQueryBase2","_interopRequireDefault","require","_getItemsToDisplayIds","_getExtraAzBits","_buildAzFilter","_constants","_excluded","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","buildRawQuery","_ref","docType","operator","_ref$searchValues","searchValues","filterData","id","itemsToDisplay","shouldApplySort","azOptions","_searchValues$searchV","searchValuesText","_searchValues$searchV2","_searchValues$searchV3","must","_searchValues$searchV4","should","shouldValuesText","_searchValues$searchV5","searchValuesCheckboxSelectRange","_searchValues$searchV6","searchValuesCheckboxOr","filterValues","filterOperator","relations","stringProps","azFilter","_ref2","isAZ","_ref2$sortProperties","sortProperties","sortPropertyToUse","isScore","_ref3","propsToDisplay","_ref3$propsToDisplay","_ref3$propsToDisplay2","_ref3$propsToDisplay3","_slicedToArray2","azSortProp","azSortProperty","AZ_DEFAULT_PROP","searchValuesTextCheckboxSelectJoined","AND_OPERATOR","concat","_toConsumableArray2","searchValuesTextCheckboxOr","finalValue","finalValueWithCheckboxOrValues","bool","finalValueIfNoCheckboxOrValues","mustValues","buildAzFilter","_buildRawQueryBase","buildRawQueryBase","_buildRawQueryBase$sh","baseShould","baseQuery","_objectWithoutProperties2","shouldValue","query","undefined","azQueryBits","getExtraAzBits","itemsToDisplayIds","getItemsToDisplayIds","ids","values","sort","_script","type","script","lang","source","params","sortOrder","order","_default","exports"],"sources":["../../src/helpers/build-raw-query.js"],"sourcesContent":["import buildRawQueryBase from './build-raw-query-base';\nimport getItemsToDisplayIds from './get-items-to-display-ids';\nimport getExtraAzBits from './get-extra-az-bits';\nimport buildAzFilter from './build-az-filter';\nimport { AND_OPERATOR, AZ_DEFAULT_PROP } from '../constants';\n\nconst buildRawQuery = ({\n docType,\n operator,\n searchValues = {},\n filterData,\n id,\n itemsToDisplay,\n shouldApplySort,\n azOptions\n}) => {\n const {\n searchValuesText: { must: searchValuesText = [], should: shouldValuesText = [] } = {},\n searchValuesCheckboxSelectRange = [],\n searchValuesCheckboxOr = []\n } = searchValues;\n const { filterValues, filterOperator, relations, stringProps, azFilter } = filterData;\n\n const { isAZ, sortProperties = [] } = azOptions || {};\n const sortPropertyToUse = isAZ && sortProperties[0] && sortProperties[0].isScore ? 1 : 0;\n const { propsToDisplay: [azSortProp] = [] } = sortProperties[sortPropertyToUse] || {\n propsToDisplay: []\n };\n const azSortProperty = azSortProp || AZ_DEFAULT_PROP;\n\n const searchValuesTextCheckboxSelectJoined =\n operator === AND_OPERATOR ? [...searchValuesText, ...searchValuesCheckboxSelectRange] : [];\n let searchValuesTextCheckboxOr = searchValuesText;\n if (searchValuesCheckboxOr.length) {\n searchValuesTextCheckboxOr = [...searchValuesText, ...searchValuesCheckboxOr];\n }\n\n let finalValue;\n\n if (searchValuesTextCheckboxSelectJoined.length) {\n const finalValueWithCheckboxOrValues = {\n must: [...searchValuesTextCheckboxSelectJoined, { bool: { should: searchValuesCheckboxOr } }]\n };\n const finalValueIfNoCheckboxOrValues = { must: searchValuesTextCheckboxSelectJoined };\n finalValue = searchValuesCheckboxOr.length\n ? finalValueWithCheckboxOrValues\n : finalValueIfNoCheckboxOrValues;\n } else {\n finalValue = {\n must: [\n ...searchValuesCheckboxSelectRange,\n { bool: { should: [...searchValuesTextCheckboxOr, ...shouldValuesText] } }\n ]\n };\n }\n const mustValues = [\n {\n bool: finalValue\n }\n ];\n\n buildAzFilter(azFilter, mustValues, azSortProperty);\n\n const { should: baseShould = [], ...baseQuery } = buildRawQueryBase({\n docType,\n id,\n filterValues,\n filterOperator,\n relations,\n stringProps\n });\n const shouldValue = [...baseShould, ...shouldValuesText];\n const query = {\n bool: {\n must: mustValues,\n should: shouldValue.length ? shouldValue : undefined,\n ...baseQuery\n }\n };\n const azQueryBits = getExtraAzBits({ ...azOptions, azSortProperty, azFilter });\n\n if (itemsToDisplay && itemsToDisplay.length) {\n const itemsToDisplayIds = getItemsToDisplayIds(itemsToDisplay);\n\n query.bool.must.push({ ids: { values: itemsToDisplayIds } });\n if (shouldApplySort) {\n return {\n query,\n sort: [\n {\n _script: {\n type: 'number',\n script: {\n lang: 'painless',\n source:\n \"!doc['id.keyword'].empty ? params.sortOrder.indexOf(doc['id.keyword'].value) : 0\",\n params: {\n sortOrder: itemsToDisplayIds\n }\n },\n order: 'asc'\n }\n }\n ],\n ...azQueryBits\n };\n }\n }\n\n return isAZ\n ? {\n query,\n ...azQueryBits\n }\n : query;\n};\n\nexport default buildRawQuery;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,cAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAA6D,IAAAK,SAAA;AAAA,SAAAC,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,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mBAAA,aAAOW,UAAU,OAAAX,mBAAA,aAAK5B,gBAAgB,EAAC;EACxD,IAAM2C,KAAK,GAAG;IACZX,IAAI,EAAA1D,aAAA;MACFuB,IAAI,EAAEqC,UAAU;MAChBnC,MAAM,EAAE2C,WAAW,CAAClE,MAAM,GAAGkE,WAAW,GAAGE;IAAS,GACjDJ,SAAS;EAEhB,CAAC;EACD,IAAMK,WAAW,GAAG,IAAAC,0BAAc,EAAAxE,aAAA,CAAAA,aAAA,KAAMkB,SAAS;IAAE+B,cAAc,EAAdA,cAAc;IAAEd,QAAQ,EAARA;EAAQ,EAAE,CAAC;EAE9E,IAAInB,cAAc,IAAIA,cAAc,CAACd,MAAM,EAAE;IAC3C,IAAMuE,iBAAiB,GAAG,IAAAC,gCAAoB,EAAC1D,cAAc,CAAC;IAE9DqD,KAAK,CAACX,IAAI,CAACnC,IAAI,CAACzB,IAAI,CAAC;MAAE6E,GAAG,EAAE;QAAEC,MAAM,EAAEH;MAAkB;IAAE,CAAC,CAAC;IAC5D,IAAIxD,eAAe,EAAE;MACnB,OAAAjB,aAAA;QACEqE,KAAK,EAALA,KAAK;QACLQ,IAAI,EAAE,CACJ;UACEC,OAAO,EAAE;YACPC,IAAI,EAAE,QAAQ;YACdC,MAAM,EAAE;cACNC,IAAI,EAAE,UAAU;cAChBC,MAAM,EACJ,kFAAkF;cACpFC,MAAM,EAAE;gBACNC,SAAS,EAAEX;cACb;YACF,CAAC;YACDY,KAAK,EAAE;UACT;QACF,CAAC;MACF,GACEd,WAAW;IAElB;EACF;EAEA,OAAOlC,IAAI,GAAArC,aAAA;IAELqE,KAAK,EAALA;EAAK,GACFE,WAAW,IAEhBF,KAAK;AACX,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,cAEa/E,aAAa"}
@@ -9,18 +9,18 @@ exports["default"] = void 0;
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  require("core-js/modules/es.array.concat.js");
12
+ require("core-js/modules/es.array.map.js");
12
13
  require("core-js/modules/es.array.filter.js");
13
- require("core-js/modules/es.array.for-each.js");
14
+ require("core-js/modules/es.object.to-string.js");
15
+ require("core-js/modules/es.object.keys.js");
16
+ require("core-js/modules/es.array.reduce.js");
14
17
  require("core-js/modules/es.array.includes.js");
18
+ require("core-js/modules/es.string.includes.js");
15
19
  require("core-js/modules/es.array.iterator.js");
16
- require("core-js/modules/es.array.map.js");
17
- require("core-js/modules/es.array.reduce.js");
20
+ require("core-js/modules/web.dom-collections.iterator.js");
18
21
  require("core-js/modules/es.number.constructor.js");
19
- require("core-js/modules/es.object.keys.js");
20
- require("core-js/modules/es.object.to-string.js");
21
- require("core-js/modules/es.string.includes.js");
22
+ require("core-js/modules/es.array.for-each.js");
22
23
  require("core-js/modules/web.dom-collections.for-each.js");
23
- require("core-js/modules/web.dom-collections.iterator.js");
24
24
  var _lodash = _interopRequireDefault(require("lodash.flatten"));
25
25
  var _constants = require("../constants");
26
26
  var buildFieldName = function buildFieldName(fieldName) {
@@ -1 +1 @@
1
- {"version":3,"file":"build-search-values-checkbox-select.js","names":["_lodash","_interopRequireDefault","require","_constants","buildFieldName","fieldName","concat","KEYWORD","getFiltersProps","filters","flatten","map","_ref","propsToDisplay","buildSearchValuesCheckboxSelect","query","rangeFilters","checkboxFilters","selectFilters","queryParams","Object","keys","filter","param","SEARCH_TERM","rangeFilterProps","checkboxFilterProps","selectFilterProps","_queryParams$reduce","reduce","acc","queryParam","isQueryParamString","includes","_query$queryParam$spl","split","_query$queryParam$spl2","_slicedToArray2","min","max","values","push","range","_defineProperty2","gte","Number","lte","match","checkboxFilter","_ref2","_ref2$propsToDisplay","firstPropToDisplay","length","shouldBuildCheckboxOrValues","_ref3","operator","AND","fieldToPush","valuesOr","forEach","value","_default","exports"],"sources":["../../src/helpers/build-search-values-checkbox-select.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport { SEARCH_TERM, AND, KEYWORD } from '../constants';\n\nconst buildFieldName = fieldName => `${fieldName}.${KEYWORD}`;\n\nconst getFiltersProps = filters => flatten(filters.map(({ propsToDisplay }) => propsToDisplay));\n\nconst buildSearchValuesCheckboxSelect = (query, rangeFilters, checkboxFilters, selectFilters) => {\n const queryParams = Object.keys(query).filter(param => param !== SEARCH_TERM);\n\n const rangeFilterProps = getFiltersProps(rangeFilters);\n const checkboxFilterProps = getFiltersProps(checkboxFilters);\n const selectFilterProps = getFiltersProps(selectFilters);\n\n const { values, valuesOr } = queryParams.reduce(\n (acc, queryParam) => {\n const isQueryParamString = typeof query[queryParam] === 'string';\n if (isQueryParamString) {\n if (rangeFilterProps.includes(queryParam)) {\n const [min, max] = query[queryParam].split('-');\n acc.values.push({\n range: {\n [queryParam]: {\n gte: Number(min),\n lte: Number(max)\n }\n }\n });\n } else if (\n checkboxFilterProps.includes(queryParam) ||\n selectFilterProps.includes(queryParam)\n ) {\n acc.values.push({\n match: { [buildFieldName(queryParam)]: query[queryParam] }\n });\n }\n } else {\n const checkboxFilter = checkboxFilters.filter(\n ({ propsToDisplay: [firstPropToDisplay] }) => firstPropToDisplay === queryParam\n );\n\n if (!checkboxFilter.length) return acc;\n\n const shouldBuildCheckboxOrValues = checkboxFilter.filter(\n ({ operator }) => operator !== AND\n ).length;\n\n const fieldToPush = shouldBuildCheckboxOrValues ? acc.valuesOr : acc.values;\n\n query[queryParam].forEach(value => {\n fieldToPush.push({ match: { [buildFieldName(queryParam)]: value } });\n });\n }\n\n return acc;\n },\n {\n values: [],\n valuesOr: []\n }\n );\n\n return { values, valuesOr };\n};\n\nexport default buildSearchValuesCheckboxSelect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAME,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,SAAS;EAAA,UAAAC,MAAA,C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AE;IACZ,CACF,CAAC;IA9COlB,MAAM,GAAAZ,mBAAA,CAANY,MAAM;IAAEkB,QAAQ,GAAA9B,mBAAA,CAAR8B,QAAQ;EAgDxB,OAAO;IAAElB,MAAM,EAANA,MAAM;IAAEkB,QAAQ,EAARA;EAAS,CAAC;AAC7B,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAEahD,+BAA+B","ignoreList":[]}
1
+ {"version":3,"file":"build-search-values-checkbox-select.js","names":["_lodash","_interopRequireDefault","require","_constants","buildFieldName","fieldName","concat","KEYWORD","getFiltersProps","filters","flatten","map","_ref","propsToDisplay","buildSearchValuesCheckboxSelect","query","rangeFilters","checkboxFilters","selectFilters","queryParams","Object","keys","filter","param","SEARCH_TERM","rangeFilterProps","checkboxFilterProps","selectFilterProps","_queryParams$reduce","reduce","acc","queryParam","isQueryParamString","includes","_query$queryParam$spl","split","_query$queryParam$spl2","_slicedToArray2","min","max","values","push","range","_defineProperty2","gte","Number","lte","match","checkboxFilter","_ref2","_ref2$propsToDisplay","firstPropToDisplay","length","shouldBuildCheckboxOrValues","_ref3","operator","AND","fieldToPush","valuesOr","forEach","value","_default","exports"],"sources":["../../src/helpers/build-search-values-checkbox-select.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport { SEARCH_TERM, AND, KEYWORD } from '../constants';\n\nconst buildFieldName = fieldName => `${fieldName}.${KEYWORD}`;\n\nconst getFiltersProps = filters => flatten(filters.map(({ propsToDisplay }) => propsToDisplay));\n\nconst buildSearchValuesCheckboxSelect = (query, rangeFilters, checkboxFilters, selectFilters) => {\n const queryParams = Object.keys(query).filter(param => param !== SEARCH_TERM);\n\n const rangeFilterProps = getFiltersProps(rangeFilters);\n const checkboxFilterProps = getFiltersProps(checkboxFilters);\n const selectFilterProps = getFiltersProps(selectFilters);\n\n const { values, valuesOr } = queryParams.reduce(\n (acc, queryParam) => {\n const isQueryParamString = typeof query[queryParam] === 'string';\n if (isQueryParamString) {\n if (rangeFilterProps.includes(queryParam)) {\n const [min, max] = query[queryParam].split('-');\n acc.values.push({\n range: {\n [queryParam]: {\n gte: Number(min),\n lte: Number(max)\n }\n }\n });\n } else if (\n checkboxFilterProps.includes(queryParam) ||\n selectFilterProps.includes(queryParam)\n ) {\n acc.values.push({\n match: { [buildFieldName(queryParam)]: query[queryParam] }\n });\n }\n } else {\n const checkboxFilter = checkboxFilters.filter(\n ({ propsToDisplay: [firstPropToDisplay] }) => firstPropToDisplay === queryParam\n );\n\n if (!checkboxFilter.length) return acc;\n\n const shouldBuildCheckboxOrValues = checkboxFilter.filter(\n ({ operator }) => operator !== AND\n ).length;\n\n const fieldToPush = shouldBuildCheckboxOrValues ? acc.valuesOr : acc.values;\n\n query[queryParam].forEach(value => {\n fieldToPush.push({ match: { [buildFieldName(queryParam)]: value } });\n });\n }\n\n return acc;\n },\n {\n values: [],\n valuesOr: []\n }\n );\n\n return { values, valuesOr };\n};\n\nexport default buildSearchValuesCheckboxSelect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAME,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,SAAS;EAAA,UAAAC,MAAA,CAAOD,SAAS,OAAAC,MAAA,CAAIC,kBAAO;AAAA,CAAE;AAE7D,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAGC,OAAO;EAAA,OAAI,IAAAC,kBAAO,EAACD,OAAO,CAACE,GAAG,CAAC,UAAAC,IAAA;IAAA,IAAGC,cAAc,GAAAD,IAAA,CAAdC,cAAc;IAAA,OAAOA,cAAc;EAAA,EAAC,CAAC;AAAA;AAE/F,IAAMC,+BAA+B,GAAG,SAAlCA,+BAA+BA,CAAIC,KAAK,EAAEC,YAAY,EAAEC,eAAe,EAAEC,aAAa,EAAK;EAC/F,IAAMC,WAAW,GAAGC,MAAM,CAACC,IAAI,CAACN,KAAK,CAAC,CAACO,MAAM,C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AA,IAAAC,oBAAA,OAAAb,eAAA,aAAAY,KAAA,CAAGpC,cAAc;YAAGsC,kBAAkB,GAAAD,oBAAA;UAAA,OAAQC,kBAAkB,KAAKpB,UAAU;QAAA,CACjF,CAAC;QAED,IAAI,CAACiB,cAAc,CAACI,MAAM,EAAE,OAAOtB,GAAG;QAEtC,IAAMuB,2BAA2B,GAAGL,cAAc,CAAC1B,MAAM,CACvD,UAAAgC,KAAA;UAAA,IAAGC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;UAAA,OAAOA,QAAQ,KAAKC,cAAG;QAAA,CACpC,CAAC,CAACJ,MAAM;QAER,IAAMK,WAAW,GAAGJ,2BAA2B,GAAGvB,GAAG,CAAC4B,QAAQ,GAAG5B,GAAG,CAACU,MAAM;QAE3EzB,KAAK,CAACgB,UAAU,CAAC,CAAC4B,OAAO,CAAC,UAAAC,KAAK,EAAI;UACjCH,WAAW,CAAChB,IAAI,CAAC;YAAEM,KAAK,MAAAJ,gBAAA,iBAAKvC,cAAc,CAAC2B,UAAU,CAAC,EAAG6B,KAAK;UAAG,CAAC,CAAC;QACtE,CAAC,CAAC;MACJ;MAEA,OAAO9B,GAAG;IACZ,CAAC,EACD;MACEU,MAAM,EAAE,EAAE;MACVkB,QAAQ,EAAE;IACZ,CACF,CAAC;IA9COlB,MAAM,GAAAZ,mBAAA,CAANY,MAAM;IAAEkB,QAAQ,GAAA9B,mBAAA,CAAR8B,QAAQ;EAgDxB,OAAO;IAAElB,MAAM,EAANA,MAAM;IAAEkB,QAAQ,EAARA;EAAS,CAAC;AAC7B,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAEahD,+BAA+B"}
@@ -1 +1 @@
1
- {"version":3,"file":"build-search-values-text.js","names":["buildSearchValuesText","_ref","arguments","length","undefined","_ref$propsToDisplay","propsToDisplay","_ref2","searchTerm","search_term","reduce","acc","field","index","should","push","match","pageBuilderIndexed","query","fuzziness","prefix_length","must","_defineProperty2","_default","exports"],"sources":["../../src/helpers/build-search-values-text.js"],"sourcesContent":["const buildSearchValuesText = ({ propsToDisplay = [] } = {}, { search_term: searchTerm } = {}) =>\n propsToDisplay.reduce(\n (acc, field, index) => {\n if (field && searchTerm) {\n if (index === 0) {\n acc.should.push({\n match: {\n pageBuilderIndexed: {\n query: searchTerm,\n fuzziness: 'AUTO',\n prefix_length: 3\n }\n }\n });\n }\n acc.must.push({\n match: {\n [field]: {\n query: searchTerm,\n fuzziness: 'AUTO',\n prefix_length: 3\n }\n }\n });\n }\n return acc;\n },\n { should: [], must: [] }\n );\n\nexport default buildSearchValuesText;\n"],"mappings":";;;;;;;;;;;AAAA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAA;EAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAA8B,CAAC,CAAC;IAAAG,mBAAA,GAAAJ,IAAA,CAA1BK,cAAc;IAAdA,cAAc,GAAAD,mBAAA,cAAG,EAAE,GAAAA,mBAAA;EAAA,IAAAE,KAAA,GAAAL,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAuC,CAAC,CAAC;IAAjBM,UAAU,GAAAD,KAAA,CAAvBE,WAAW;EAAA,OACxEH,cAAc,CAACI,MAAM,CACnB,UAACC,GAAG,EAAEC,KAAK,EAAEC,KAAK,EAAK;IACrB,IAAID,KAAK,IAAIJ,UAAU,EAAE;MACvB,IAAIK,KAAK,KAAK,CAAC,EAAE;QACfF,GAAG,CAACG,MAAM,CAACC,IAAI,CAAC;UACdC,KAAK,EAAE;YACLC,kBAAkB,EAAE;cAClBC,KAAK,EAAEV,UAAU;cACjBW,SAAS,EAAE,MAAM;cACjBC,aAAa,EAAE;YACjB;UACF;QACF,CAAC,CAAC;MACJ;MACAT,GAAG,CAACU,IAAI,CAACN,IAAI,CAAC;QACZC,KAAK,MAAAM,gBAAA,iBACFV,KAAK,EAAG;UACPM,KAAK,EAAEV,UAAU;UACjBW,SAAS,EAAE,MAAM;UACjBC,aAAa,EAAE;QACjB,CAAC;MAEL,CAAC,CAAC;IACJ;IACA,OAAOT,GAAG;EACZ,CAAC,EACD;IAAEG,MAAM,EAAE,EAAE;IAAEO,IAAI,EAAE;EAAG,CACzB,CAAC;AAAA;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEWxB,qBAAqB","ignoreList":[]}
1
+ {"version":3,"file":"build-search-values-text.js","names":["buildSearchValuesText","_ref","arguments","length","undefined","_ref$propsToDisplay","propsToDisplay","_ref2","searchTerm","search_term","reduce","acc","field","index","should","push","match","pageBuilderIndexed","query","fuzziness","prefix_length","must","_defineProperty2","_default","exports"],"sources":["../../src/helpers/build-search-values-text.js"],"sourcesContent":["const buildSearchValuesText = ({ propsToDisplay = [] } = {}, { search_term: searchTerm } = {}) =>\n propsToDisplay.reduce(\n (acc, field, index) => {\n if (field && searchTerm) {\n if (index === 0) {\n acc.should.push({\n match: {\n pageBuilderIndexed: {\n query: searchTerm,\n fuzziness: 'AUTO',\n prefix_length: 3\n }\n }\n });\n }\n acc.must.push({\n match: {\n [field]: {\n query: searchTerm,\n fuzziness: 'AUTO',\n prefix_length: 3\n }\n }\n });\n }\n return acc;\n },\n { should: [], must: [] }\n );\n\nexport default buildSearchValuesText;\n"],"mappings":";;;;;;;;;;;AAAA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAA;EAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAA8B,CAAC,CAAC;IAAAG,mBAAA,GAAAJ,IAAA,CAA1BK,cAAc;IAAdA,cAAc,GAAAD,mBAAA,cAAG,EAAE,GAAAA,mBAAA;EAAA,IAAAE,KAAA,GAAAL,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAuC,CAAC,CAAC;IAAjBM,UAAU,GAAAD,KAAA,CAAvBE,WAAW;EAAA,OACxEH,cAAc,CAACI,MAAM,CACnB,UAACC,GAAG,EAAEC,KAAK,EAAEC,KAAK,EAAK;IACrB,IAAID,KAAK,IAAIJ,UAAU,EAAE;MACvB,IAAIK,KAAK,KAAK,CAAC,EAAE;QACfF,GAAG,CAACG,MAAM,CAACC,IAAI,CAAC;UACdC,KAAK,EAAE;YACLC,kBAAkB,EAAE;cAClBC,KAAK,EAAEV,UAAU;cACjBW,SAAS,EAAE,MAAM;cACjBC,aAAa,EAAE;YACjB;UACF;QACF,CAAC,CAAC;MACJ;MACAT,GAAG,CAACU,IAAI,CAACN,IAAI,CAAC;QACZC,KAAK,MAAAM,gBAAA,iBACFV,KAAK,EAAG;UACPM,KAAK,EAAEV,UAAU;UACjBW,SAAS,EAAE,MAAM;UACjBC,aAAa,EAAE;QACjB,CAAC;MAEL,CAAC,CAAC;IACJ;IACA,OAAOT,GAAG;EACZ,CAAC,EACD;IAAEG,MAAM,EAAE,EAAE;IAAEO,IAAI,EAAE;EAAG,CACzB,CAAC;AAAA;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEWxB,qBAAqB"}
@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  var _toArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toArray"));
11
- require("core-js/modules/es.array.concat.js");
12
- require("core-js/modules/es.array.join.js");
13
11
  require("core-js/modules/es.array.reduce.js");
14
- require("core-js/modules/es.array.slice.js");
15
12
  require("core-js/modules/es.object.to-string.js");
13
+ require("core-js/modules/es.array.slice.js");
14
+ require("core-js/modules/es.array.join.js");
15
+ require("core-js/modules/es.array.concat.js");
16
16
  var _constants = require("../constants");
17
17
  var _getCheckboxFilters = _interopRequireDefault(require("./get-checkbox-filters"));
18
18
  var getFilterValues = function getFilterValues(filterBy) {
@@ -1 +1 @@
1
- {"version":3,"file":"build-set-filters.js","names":["_constants","require","_getCheckboxFilters","_interopRequireDefault","getFilterValues","filterBy","reduce","acc","filter","_filter$split","split","_filter$split2","_toArray2","fieldName","values","slice","value","join","previousValue","finalValue","concat","_toConsumableArray2","buildSetFilters","_ref","_ref$filterBy","_ref$filterByProperty","filterByProperty","filterByFeatured","filterBySponsored","checkboxFilters","getCheckboxFilters","FEATURED","SPONSORED","shouldApplyFilterValues","length","listFilterValues","_default","exports"],"sources":["../../src/helpers/build-set-filters.js"],"sourcesContent":["import { FEATURED, SPONSORED } from '../constants';\nimport getCheckboxFilters from './get-checkbox-filters';\n\nconst getFilterValues = filterBy =>\n filterBy.reduce((acc, filter) => {\n const [fieldName, ...values] = filter.split('/');\n const value = values.join('/');\n const previousValue = acc[fieldName];\n const finalValue = previousValue ? [...previousValue, value] : [value];\n\n acc[fieldName] = finalValue;\n return acc;\n }, {});\n\nconst buildSetFilters = ({\n filterBy = [],\n filterByProperty = [],\n filterByFeatured,\n filterBySponsored\n}) => {\n const checkboxFilters = [];\n getCheckboxFilters(checkboxFilters, FEATURED, filterByFeatured);\n getCheckboxFilters(checkboxFilters, SPONSORED, filterBySponsored);\n\n const shouldApplyFilterValues = filterBy.length && filterByProperty.length;\n if (!shouldApplyFilterValues) return { checkboxFilters, listFilterValues: {} };\n\n const listFilterValues = getFilterValues(filterBy);\n return { checkboxFilters, listFilterValues };\n};\n\nexport default buildSetFilters;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAMG,eAAe,GAAG,SAAlBA,eAAeA,CAAGC,QAAQ;EAAA,OAC9BA,QAAQ,CAACC,MAAM,CAAC,UAACC,GAAG,EAAEC,MAAM,EAAK;IAC/B,IAAAC,aAAA,GAA+BD,MAAM,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAC,cAAA,OAAAC,SAAA,aAAAH,aAAA;MAAzCI,SAAS,GAAAF,cAAA;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C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEaf,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"build-set-filters.js","names":["_constants","require","_getCheckboxFilters","_interopRequireDefault","getFilterValues","filterBy","reduce","acc","filter","_filter$split","split","_filter$split2","_toArray2","fieldName","values","slice","value","join","previousValue","finalValue","concat","_toConsumableArray2","buildSetFilters","_ref","_ref$filterBy","_ref$filterByProperty","filterByProperty","filterByFeatured","filterBySponsored","checkboxFilters","getCheckboxFilters","FEATURED","SPONSORED","shouldApplyFilterValues","length","listFilterValues","_default","exports"],"sources":["../../src/helpers/build-set-filters.js"],"sourcesContent":["import { FEATURED, SPONSORED } from '../constants';\nimport getCheckboxFilters from './get-checkbox-filters';\n\nconst getFilterValues = filterBy =>\n filterBy.reduce((acc, filter) => {\n const [fieldName, ...values] = filter.split('/');\n const value = values.join('/');\n const previousValue = acc[fieldName];\n const finalValue = previousValue ? [...previousValue, value] : [value];\n\n acc[fieldName] = finalValue;\n return acc;\n }, {});\n\nconst buildSetFilters = ({\n filterBy = [],\n filterByProperty = [],\n filterByFeatured,\n filterBySponsored\n}) => {\n const checkboxFilters = [];\n getCheckboxFilters(checkboxFilters, FEATURED, filterByFeatured);\n getCheckboxFilters(checkboxFilters, SPONSORED, filterBySponsored);\n\n const shouldApplyFilterValues = filterBy.length && filterByProperty.length;\n if (!shouldApplyFilterValues) return { checkboxFilters, listFilterValues: {} };\n\n const listFilterValues = getFilterValues(filterBy);\n return { checkboxFilters, listFilterValues };\n};\n\nexport default buildSetFilters;\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAMG,eAAe,GAAG,SAAlBA,eAAeA,CAAGC,QAAQ;EAAA,OAC9BA,QAAQ,CAACC,MAAM,CAAC,UAACC,GAAG,EAAEC,MAAM,EAAK;IAC/B,IAAAC,aAAA,GAA+BD,MAAM,CAAC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AAQ,CAAC;EAClD,OAAO;IAAEwB,eAAe,EAAfA,eAAe;IAAEM,gBAAgB,EAAhBA;EAAiB,CAAC;AAC9C,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEaf,eAAe"}
@@ -6,15 +6,15 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports["default"] = void 0;
9
- require("core-js/modules/es.array.concat.js");
10
- require("core-js/modules/es.array.filter.js");
11
9
  require("core-js/modules/es.array.for-each.js");
12
- require("core-js/modules/es.array.index-of.js");
13
- require("core-js/modules/es.array.join.js");
14
- require("core-js/modules/es.array.map.js");
15
- require("core-js/modules/es.array.sort.js");
16
10
  require("core-js/modules/es.object.to-string.js");
17
11
  require("core-js/modules/web.dom-collections.for-each.js");
12
+ require("core-js/modules/es.array.sort.js");
13
+ require("core-js/modules/es.array.join.js");
14
+ require("core-js/modules/es.array.filter.js");
15
+ require("core-js/modules/es.array.map.js");
16
+ require("core-js/modules/es.array.concat.js");
17
+ require("core-js/modules/es.array.index-of.js");
18
18
  var _getSortByFieldName = _interopRequireDefault(require("./get-sort-by-field-name"));
19
19
  var buildAzSort = function buildAzSort(sortFilters, relations, stringProps) {
20
20
  var sortValues = {};
@@ -1 +1 @@
1
- {"version":3,"file":"build-sort-values.js","names":["_getSortByFieldName","_interopRequireDefault","require","buildAzSort","sortFilters","relations","stringProps","sortValues","forEach","_ref","sort","propsToDisplay","sortFieldName","getSortbyFieldName","toLowerCase","buildSortValues","useSortObject","length","map","_ref2","isScore","concat","filter","item","index","arr","indexOf","join","_default","exports"],"sources":["../../src/helpers/build-sort-values.js"],"sourcesContent":["import getSortbyFieldName from './get-sort-by-field-name';\n\nconst buildAzSort = (sortFilters, relations, stringProps) => {\n const sortValues = {};\n sortFilters.forEach(({ sort, propsToDisplay }) => {\n if (!sort) return;\n const sortFieldName = getSortbyFieldName(relations, propsToDisplay, stringProps);\n if (sortFieldName) sortValues[sortFieldName] = sort.toLowerCase();\n });\n\n return sortValues;\n};\n\nconst buildSortValues = (sortFilters, relations, stringProps, useSortObject) => {\n if (!sortFilters || !sortFilters.length) return useSortObject ? null : { sort: [] };\n if (useSortObject) return buildAzSort(sortFilters, relations, stringProps);\n\n const sortValues = sortFilters\n .map(({ sort, propsToDisplay, isScore }) => {\n if (isScore) return '_score';\n if (!sort) return null;\n\n const sortFieldName = getSortbyFieldName(relations, propsToDisplay, stringProps);\n return sortFieldName ? `${sortFieldName}:${sort.toLowerCase()}` : null;\n })\n .filter((item, index, arr) => (!item ? false : arr.indexOf(item) === index))\n .join(',');\n\n return { sort: sortValues };\n};\n\nexport default buildSortValues;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,WAAW,EAAEC,SAAS,EAAEC,WAAW,EAAK;EAC3D,IAAMC,UAAU,GAAG,CAAC,CAAC;EACrBH,WAAW,CAACI,OAAO,CAAC,UAAAC,IAAA,EAA8B;IAAA,IAA3BC,IAAI,GAAAD,IAAA,CAAJC,IAAI;MAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IACzC,IAAI,CAACD,IAAI,EAAE;IACX,IAAME,aAAa,GAAG,IAAAC,8BAAkB,EAACR,SAAS,EAAEM,cAAc,EAAEL,WAAW,CAAC;IAChF,IAAIM,aAAa,EAAEL,UAAU,CAACK,aAAa,CAAC,GAAGF,IAAI,CAACI,WAAW,CAAC,CAAC;EACnE,CAAC,CAAC;EAEF,OAAOP,UAAU;AACnB,CAAC;AAED,IAAMQ,eAAe,GAAG,SAAlBA,eAAeA,CAAIX,WAAW,EAAEC,SAAS,EAAEC,WAAW,EAAEU,aAAa,EAAK;EAC9E,IAAI,CAACZ,WAAW,IAAI,CAACA,WAAW,CAACa,MAAM,EAAE,OAAOD,aAAa,GAAG,IAAI,GAAG;IAAEN,IAAI,EAAE;EAAG,CAAC;EACnF,IAAIM,aAAa,EAAE,OAAOb,WAAW,CAACC,WAAW,EAAEC,SAAS,EAAEC,WAAW,CAAC;EAE1E,IAAMC,UAAU,GAAGH,WAAW,CAC3Bc,GAAG,CAAC,UAAAC,KAAA,EAAuC;IAAA,IAApCT,IAAI,GAAAS,KAAA,CAAJT,IAAI;MAAEC,cAAc,GAAAQ,KAAA,CAAdR,cAAc;MAAES,OAAO,GAAAD,KAAA,CAAPC,OAAO;IACnC,IAAIA,OAAO,EAAE,OAAO,QAAQ;IAC5B,IAAI,CAACV,IAAI,EAAE,OAAO,IAAI;IAEtB,IAAME,aAAa,GAAG,IAAAC,8BAAkB,EAACR,SAAS,EAAEM,cAAc,EAAEL,WAAW,CAAC;IAChF,OAAOM,aAAa,MAAAS,MAAA,CAAMT,aAAa,OAAAS,MAAA,CAAIX,IAAI,CAACI,WAAW,CAAC,CAAC,IAAK,IAAI;EACxE,CAAC,CAAC,CACDQ,MAAM,CAAC,UAACC,IAAI,EAAEC,KAAK,EAAEC,GAAG;IAAA,OAAM,CAACF,IAAI,GAAG,KAAK,GAAGE,GAAG,CAACC,OAAO,CAACH,IAAI,CAAC,KAAKC,KAAK;EAAA,CAAC,CAAC,CAC3EG,IAAI,CAAC,GAAG,CAAC;EAEZ,OAAO;IAAEjB,IAAI,EAAEH;EAAW,CAAC;AAC7B,CAAC;AAAC,IAAAqB,QAAA,GAAAC,OAAA,cAEad,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"build-sort-values.js","names":["_getSortByFieldName","_interopRequireDefault","require","buildAzSort","sortFilters","relations","stringProps","sortValues","forEach","_ref","sort","propsToDisplay","sortFieldName","getSortbyFieldName","toLowerCase","buildSortValues","useSortObject","length","map","_ref2","isScore","concat","filter","item","index","arr","indexOf","join","_default","exports"],"sources":["../../src/helpers/build-sort-values.js"],"sourcesContent":["import getSortbyFieldName from './get-sort-by-field-name';\n\nconst buildAzSort = (sortFilters, relations, stringProps) => {\n const sortValues = {};\n sortFilters.forEach(({ sort, propsToDisplay }) => {\n if (!sort) return;\n const sortFieldName = getSortbyFieldName(relations, propsToDisplay, stringProps);\n if (sortFieldName) sortValues[sortFieldName] = sort.toLowerCase();\n });\n\n return sortValues;\n};\n\nconst buildSortValues = (sortFilters, relations, stringProps, useSortObject) => {\n if (!sortFilters || !sortFilters.length) return useSortObject ? null : { sort: [] };\n if (useSortObject) return buildAzSort(sortFilters, relations, stringProps);\n\n const sortValues = sortFilters\n .map(({ sort, propsToDisplay, isScore }) => {\n if (isScore) return '_score';\n if (!sort) return null;\n\n const sortFieldName = getSortbyFieldName(relations, propsToDisplay, stringProps);\n return sortFieldName ? `${sortFieldName}:${sort.toLowerCase()}` : null;\n })\n .filter((item, index, arr) => (!item ? false : arr.indexOf(item) === index))\n .join(',');\n\n return { sort: sortValues };\n};\n\nexport default buildSortValues;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,WAAW,EAAEC,SAAS,EAAEC,WAAW,EAAK;EAC3D,IAAMC,UAAU,GAAG,CAAC,CAAC;EACrBH,WAAW,CAACI,OAAO,CAAC,UAAAC,IAAA,EAA8B;IAAA,IAA3BC,IAAI,GAAAD,IAAA,CAAJC,IAAI;MAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IACzC,IAAI,CAACD,IAAI,EAAE;IACX,IAAME,aAAa,GAAG,IAAAC,8BAAkB,EAACR,SAAS,EAAEM,cAAc,EAAEL,WAAW,CAAC;IAChF,IAAIM,aAAa,EAAEL,UAAU,CAACK,aAAa,CAAC,GAAGF,IAAI,CAACI,WAAW,CAAC,CAAC;EACnE,CAAC,CAAC;EAEF,OAAOP,UAAU;AACnB,CAAC;AAED,IAAMQ,eAAe,GAAG,SAAlBA,eAAeA,CAAIX,WAAW,EAAEC,SAAS,EAAEC,WAAW,EAAEU,aAAa,EAAK;EAC9E,IAAI,CAACZ,WAAW,IAAI,CAACA,WAAW,CAACa,MAAM,EAAE,OAAOD,aAAa,GAAG,IAAI,GAAG;IAAEN,IAAI,EAAE;EAAG,CAAC;EACnF,IAAIM,aAAa,EAAE,OAAOb,WAAW,CAACC,WAAW,EAAEC,SAAS,EAAEC,WAAW,CAAC;EAE1E,IAAMC,UAAU,GAAGH,WAAW,CAC3Bc,GAAG,CAAC,UAAAC,KAAA,EAAuC;IAAA,IAApCT,IAAI,GAAAS,KAAA,CAAJT,IAAI;MAAEC,cAAc,GAAAQ,KAAA,CAAdR,cAAc;MAAES,OAAO,GAAAD,KAAA,CAAPC,OAAO;IACnC,IAAIA,OAAO,EAAE,OAAO,QAAQ;IAC5B,IAAI,CAACV,IAAI,EAAE,OAAO,IAAI;IAEtB,IAAME,aAAa,GAAG,IAAAC,8BAAkB,EAACR,SAAS,EAAEM,cAAc,EAAEL,WAAW,CAAC;IAChF,OAAOM,aAAa,MAAAS,MAAA,CAAMT,aAAa,OAAAS,MAAA,CAAIX,IAAI,CAACI,WAAW,CAAC,CAAC,IAAK,IAAI;EACxE,CAAC,CAAC,CACDQ,MAAM,CAAC,UAACC,IAAI,EAAEC,KAAK,EAAEC,GAAG;IAAA,OAAM,CAACF,IAAI,GAAG,KAAK,GAAGE,GAAG,CAACC,OAAO,CAACH,IAAI,CAAC,KAAKC,KAAK;EAAA,CAAC,CAAC,CAC3EG,IAAI,CAAC,GAAG,CAAC;EAEZ,OAAO;IAAEjB,IAAI,EAAEH;EAAW,CAAC;AAC7B,CAAC;AAAC,IAAAqB,QAAA,GAAAC,OAAA,cAEad,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-for-error.js","names":["checkForError","errors","arguments","length","undefined","_ref","find","err","message","errMsg","hasErr","_default","exports"],"sources":["../../src/helpers/check-for-error.js"],"sourcesContent":["const checkForError = (errors = []) => {\n const { message: errMsg } = errors.find((err = {}) => err && err.message) || {};\n\n return {\n hasErr: !!errMsg,\n errMsg\n };\n};\n\nexport default checkForError;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAA,EAAoB;EAAA,IAAhBC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAChC,IAAAG,IAAA,GAA4BJ,MAAM,CAACK,IAAI,CAAC;MAAA,IAACC,GAAG,GAAAL,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;MAAA,OAAKK,GAAG,IAAIA,GAAG,CAACC,OAAO;IAAA,EAAC,IAAI,CAAC,CAAC;IAA9DC,MAAM,GAAAJ,IAAA,CAAfG,OAAO;EAEf,OAAO;IACLE,MAAM,EAAE,CAAC,CAACD,MAAM;IAChBA,MAAM,EAANA;EACF,CAAC;AACH,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEaZ,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"check-for-error.js","names":["checkForError","errors","arguments","length","undefined","_ref","find","err","message","errMsg","hasErr","_default","exports"],"sources":["../../src/helpers/check-for-error.js"],"sourcesContent":["const checkForError = (errors = []) => {\n const { message: errMsg } = errors.find((err = {}) => err && err.message) || {};\n\n return {\n hasErr: !!errMsg,\n errMsg\n };\n};\n\nexport default checkForError;\n"],"mappings":";;;;;;;;;AAAA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAA,EAAoB;EAAA,IAAhBC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAChC,IAAAG,IAAA,GAA4BJ,MAAM,CAACK,IAAI,CAAC;MAAA,IAACC,GAAG,GAAAL,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;MAAA,OAAKK,GAAG,IAAIA,GAAG,CAACC,OAAO;IAAA,EAAC,IAAI,CAAC,CAAC;IAA9DC,MAAM,GAAAJ,IAAA,CAAfG,OAAO;EAEf,OAAO;IACLE,MAAM,EAAE,CAAC,CAACD,MAAM;IAChBA,MAAM,EAANA;EACF,CAAC;AACH,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEaZ,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-props-to-use.js","names":["_lodash","_interopRequireDefault","require","_isObject","checkPropsToUse","propsToDisplay","arguments","length","undefined","isObject","flatten","map","_ref","propertiesToDisplay","_default","exports"],"sources":["../../src/helpers/check-props-to-use.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport isObject from './is-object';\n\n// TODO this helper should be removed if database is wiped clean and all elements change to new props struc\nconst checkPropsToUse = (propsToDisplay = []) =>\n propsToDisplay && isObject(propsToDisplay[0])\n ? flatten(propsToDisplay.map(({ propertiesToDisplay }) => propertiesToDisplay))\n : propsToDisplay;\n\nexport default checkPropsToUse;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA;AACA,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAA;EAAA,IAAIC,cAAc,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,OAC1CD,cAAc,IAAI,IAAAI,oBAAQ,EAACJ,cAAc,CAAC,CAAC,CAAC,CAAC,GACzC,IAAAK,kBAAO,EAACL,cAAc,CAACM,GAAG,CAAC,UAAAC,IAAA;IAAA,IAAGC,mBAAmB,GAAAD,IAAA,CAAnBC,mBAAmB;IAAA,OAAOA,mBAAmB;EAAA,EAAC,CAAC,GAC7ER,cAAc;AAAA;AAAC,IAAAS,QAAA,GAAAC,OAAA,cAENX,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"check-props-to-use.js","names":["_lodash","_interopRequireDefault","require","_isObject","checkPropsToUse","propsToDisplay","arguments","length","undefined","isObject","flatten","map","_ref","propertiesToDisplay","_default","exports"],"sources":["../../src/helpers/check-props-to-use.js"],"sourcesContent":["import flatten from 'lodash.flatten';\nimport isObject from './is-object';\n\n// TODO this helper should be removed if database is wiped clean and all elements change to new props struc\nconst checkPropsToUse = (propsToDisplay = []) =>\n propsToDisplay && isObject(propsToDisplay[0])\n ? flatten(propsToDisplay.map(({ propertiesToDisplay }) => propertiesToDisplay))\n : propsToDisplay;\n\nexport default checkPropsToUse;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA;AACA,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAA;EAAA,IAAIC,cAAc,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,OAC1CD,cAAc,IAAI,IAAAI,oBAAQ,EAACJ,cAAc,CAAC,CAAC,CAAC,CAAC,GACzC,IAAAK,kBAAO,EAACL,cAAc,CAACM,GAAG,CAAC,UAAAC,IAAA;IAAA,IAAGC,mBAAmB,GAAAD,IAAA,CAAnBC,mBAAmB;IAAA,OAAOA,mBAAmB;EAAA,EAAC,CAAC,GAC7ER,cAAc;AAAA;AAAC,IAAAS,QAAA,GAAAC,OAAA,cAENX,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["dataSchema","exports","getEntitySchema","actions","interfaces","propsSchema","itemsPerRow","defaultProps"],"sources":["../../../src/helpers/entities/constants.js"],"sourcesContent":["export const dataSchema = {\n getEntitySchema: {\n actions: {},\n interfaces: []\n }\n};\n\nexport const propsSchema = {\n itemsPerRow: {}\n};\n\nexport const defaultProps = 'id,name';\n"],"mappings":";;;;;;;AAAO,IAAMA,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,eAAe,EAAE;IACfC,OAAO,EAAE,CAAC,CAAC;IACXC,UAAU,EAAE;EACd;AACF,CAAC;AAEM,IAAMC,WAAW,GAAAJ,OAAA,CAAAI,WAAA,GAAG;EACzBC,WAAW,EAAE,CAAC;AAChB,CAAC;AAEM,IAAMC,YAAY,GAAAN,OAAA,CAAAM,YAAA,GAAG,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"constants.js","names":["dataSchema","exports","getEntitySchema","actions","interfaces","propsSchema","itemsPerRow","defaultProps"],"sources":["../../../src/helpers/entities/constants.js"],"sourcesContent":["export const dataSchema = {\n getEntitySchema: {\n actions: {},\n interfaces: []\n }\n};\n\nexport const propsSchema = {\n itemsPerRow: {}\n};\n\nexport const defaultProps = 'id,name';\n"],"mappings":";;;;;;;AAAO,IAAMA,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,eAAe,EAAE;IACfC,OAAO,EAAE,CAAC,CAAC;IACXC,UAAU,EAAE;EACd;AACF,CAAC;AAEM,IAAMC,WAAW,GAAAJ,OAAA,CAAAI,WAAA,GAAG;EACzBC,WAAW,EAAE,CAAC;AAChB,CAAC;AAEM,IAAMC,YAAY,GAAAN,OAAA,CAAAM,YAAA,GAAG,SAAS"}
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.keys.js");
3
4
  require("core-js/modules/es.symbol.js");
4
5
  require("core-js/modules/es.array.filter.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
5
8
  require("core-js/modules/es.array.for-each.js");
9
+ require("core-js/modules/web.dom-collections.for-each.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
11
  require("core-js/modules/es.object.define-properties.js");
7
12
  require("core-js/modules/es.object.define-property.js");
8
- require("core-js/modules/es.object.get-own-property-descriptor.js");
9
- require("core-js/modules/es.object.get-own-property-descriptors.js");
10
- require("core-js/modules/es.object.keys.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/web.dom-collections.for-each.js");
13
13
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
14
  Object.defineProperty(exports, "__esModule", {
15
15
  value: true
@@ -1 +1 @@
1
- {"version":3,"file":"get-banner-data.js","names":["getBannerData","banner","_ref","_ref$parent","parent","limit","transform","entity","itemEntity","_objectSpread"],"sources":["../../src/helpers/get-banner-data.js"],"sourcesContent":["export default function getBannerData(banner, { parent = {}, limit, transform }) {\n const entity = banner.entity || parent.itemEntity;\n return { ...banner, entity, parent, limit, transform };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAe,SAASA,aAAaA,CAACC,MAAM,EAAAC,IAAA,EAAqC;EAAA,IAAAC,WAAA,GAAAD,IAAA,CAAjCE,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,CAAC,CAAC,GAAAA,WAAA;IAAEE,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS;EAC3E,IAAMC,MAAM,GAAGN,MAAM,CAACM,MAAM,IAAIH,MAAM,CAACI,UAAU;EACjD,OAAAC,aAAA,CAAAA,aAAA,KAAYR,MAAM;IAAEM,MAAM,EAANA,MAAM;IAAEH,MAAM,EAANA,MAAM;IAAEC,KAAK,EAALA,KAAK;IAAEC,SAAS,EAATA;EAAS;AACtD","ignoreList":[]}
1
+ {"version":3,"file":"get-banner-data.js","names":["getBannerData","banner","_ref","_ref$parent","parent","limit","transform","entity","itemEntity","_objectSpread"],"sources":["../../src/helpers/get-banner-data.js"],"sourcesContent":["export default function getBannerData(banner, { parent = {}, limit, transform }) {\n const entity = banner.entity || parent.itemEntity;\n return { ...banner, entity, parent, limit, transform };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAe,SAASA,aAAaA,CAACC,MAAM,EAAAC,IAAA,EAAqC;EAAA,IAAAC,WAAA,GAAAD,IAAA,CAAjCE,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,CAAC,CAAC,GAAAA,WAAA;IAAEE,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,IAAA,CAATI,SAAS;EAC3E,IAAMC,MAAM,GAAGN,MAAM,CAACM,MAAM,IAAIH,MAAM,CAACI,UAAU;EACjD,OAAAC,aAAA,CAAAA,aAAA,KAAYR,MAAM;IAAEM,MAAM,EAANA,MAAM;IAAEH,MAAM,EAANA,MAAM;IAAEC,KAAK,EAALA,KAAK;IAAEC,SAAS,EAATA;EAAS;AACtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-checkbox-filters.js","names":["getCheckboxFilters","checkboxFilters","name","value","push","_default","exports"],"sources":["../../src/helpers/get-checkbox-filters.js"],"sourcesContent":["const getCheckboxFilters = (checkboxFilters, name, value) => {\n if (typeof value === 'string') {\n if (value !== 'off') checkboxFilters.push([name, value]);\n } else if (value) checkboxFilters.push(name);\n};\n\nexport default getCheckboxFilters;\n"],"mappings":";;;;;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,eAAe,EAAEC,IAAI,EAAEC,KAAK,EAAK;EAC3D,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC7B,IAAIA,KAAK,KAAK,KAAK,EAAEF,eAAe,CAACG,IAAI,CAAC,CAACF,IAAI,EAAEC,KAAK,CAAC,CAAC;EAC1D,CAAC,MAAM,IAAIA,KAAK,EAAEF,eAAe,CAACG,IAAI,CAACF,IAAI,CAAC;AAC9C,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAEaN,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"get-checkbox-filters.js","names":["getCheckboxFilters","checkboxFilters","name","value","push","_default","exports"],"sources":["../../src/helpers/get-checkbox-filters.js"],"sourcesContent":["const getCheckboxFilters = (checkboxFilters, name, value) => {\n if (typeof value === 'string') {\n if (value !== 'off') checkboxFilters.push([name, value]);\n } else if (value) checkboxFilters.push(name);\n};\n\nexport default getCheckboxFilters;\n"],"mappings":";;;;;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,eAAe,EAAEC,IAAI,EAAEC,KAAK,EAAK;EAC3D,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE;IAC7B,IAAIA,KAAK,KAAK,KAAK,EAAEF,eAAe,CAACG,IAAI,CAAC,CAACF,IAAI,EAAEC,KAAK,CAAC,CAAC;EAC1D,CAAC,MAAM,IAAIA,KAAK,EAAEF,eAAe,CAACG,IAAI,CAACF,IAAI,CAAC;AAC9C,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAEaN,kBAAkB"}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.keys.js");
3
4
  require("core-js/modules/es.symbol.js");
5
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
4
6
  require("core-js/modules/es.array.for-each.js");
7
+ require("core-js/modules/web.dom-collections.for-each.js");
8
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
5
9
  require("core-js/modules/es.object.define-properties.js");
6
10
  require("core-js/modules/es.object.define-property.js");
7
- require("core-js/modules/es.object.get-own-property-descriptor.js");
8
- require("core-js/modules/es.object.get-own-property-descriptors.js");
9
- require("core-js/modules/es.object.keys.js");
10
- require("core-js/modules/web.dom-collections.for-each.js");
11
11
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
12
12
  Object.defineProperty(exports, "__esModule", {
13
13
  value: true
@@ -15,9 +15,9 @@ Object.defineProperty(exports, "__esModule", {
15
15
  exports["default"] = void 0;
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
17
  require("core-js/modules/es.array.filter.js");
18
- require("core-js/modules/es.array.find.js");
19
- require("core-js/modules/es.array.map.js");
20
18
  require("core-js/modules/es.object.to-string.js");
19
+ require("core-js/modules/es.array.map.js");
20
+ require("core-js/modules/es.array.find.js");
21
21
  var _constants = require("../constants");
22
22
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
23
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -1 +1 @@
1
- {"version":3,"file":"get-click-wrapper-options.js","names":["_constants","require","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getClickWrapperOptions","children","undefined","componentProps","id","shouldUseClickWrapper","_ref","_ref$props","props","_ref$props2","_ref$props2$children","childComponents","wrapperProps","clickEvents","map","child","_ref2","_ref2$props","_ref2$props2","_ref2$props2$componen","component","_ref2$props2$componen2","_ref2$props2$componen3","settings","_ref2$props2$componen4","gtmEvents","find","_ref3","eventTrigger","ON_CLICK","Boolean","gtmChildren","_default","exports"],"sources":["../../src/helpers/get-click-wrapper-options.js"],"sourcesContent":["import { ON_CLICK } from '../constants';\n\nconst getClickWrapperOptions = (children = {}, componentProps = {}, id = null) => {\n let shouldUseClickWrapper = false;\n\n const { props: { children: childComponents = [] } = {} } = children || {};\n if (!childComponents || !childComponents[1]) return { shouldUseClickWrapper, wrapperProps: {} };\n\n const clickEvents = childComponents[1]\n .map(child => {\n const { props: { component: { settings: { gtmEvents } = {} } = {} } = {} } = child || {};\n if (!gtmEvents) return null;\n\n return gtmEvents.find(({ eventTrigger }) => eventTrigger === ON_CLICK);\n })\n .filter(Boolean);\n\n shouldUseClickWrapper = !!clickEvents && !!clickEvents.length;\n\n const wrapperProps = shouldUseClickWrapper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ACA,SAAS,EAAE,OAAO,IAAI;IAE3B,OAAOA,SAAS,CAACC,IAAI,CAAC,UAAAC,KAAA;MAAA,IAAGC,YAAY,GAAAD,KAAA,CAAZC,YAAY;MAAA,OAAOA,YAAY,KAAKC,mBAAQ;IAAA,EAAC;EACxE,CAAC,CAAC,CACD1C,MAAM,CAAC2C,OAAO,CAAC;EAElBzB,qBAAqB,GAAG,CAAC,CAACQ,WAAW,IAAI,CAAC,CAACA,WAAW,CAACnB,MAAM;EAE7D,IAAMkB,YAAY,GAAGP,qBAAqB,GAAAb,aAAA,CAAAA,aAAA;IACpCuC,WAAW,EAAE9B;EAAQ,GAAKE,cAAc;IAAEC,EAAE,EAAFA;EAAE,KAC9C,CAAC,CAAC;EAEN,OAAO;IAAEC,qBAAqB,EAArBA,qBAAqB;IAAEO,YAAY,EAAZA;EAAa,CAAC;AAChD,CAAC;AAAC,IAAAoB,QAAA,GAAAC,OAAA,cAEajC,sBAAsB","ignoreList":[]}
1
+ {"version":3,"file":"get-click-wrapper-options.js","names":["_constants","require","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getClickWrapperOptions","children","undefined","componentProps","id","shouldUseClickWrapper","_ref","_ref$props","props","_ref$props2","_ref$props2$children","childComponents","wrapperProps","clickEvents","map","child","_ref2","_ref2$props","_ref2$props2","_ref2$props2$componen","component","_ref2$props2$componen2","_ref2$props2$componen3","settings","_ref2$props2$componen4","gtmEvents","find","_ref3","eventTrigger","ON_CLICK","Boolean","gtmChildren","_default","exports"],"sources":["../../src/helpers/get-click-wrapper-options.js"],"sourcesContent":["import { ON_CLICK } from '../constants';\n\nconst getClickWrapperOptions = (children = {}, componentProps = {}, id = null) => {\n let shouldUseClickWrapper = false;\n\n const { props: { children: childComponents = [] } = {} } = children || {};\n if (!childComponents || !childComponents[1]) return { shouldUseClickWrapper, wrapperProps: {} };\n\n const clickEvents = childComponents[1]\n .map(child => {\n const { props: { component: { settings: { gtmEvents } = {} } = {} } = {} } = child || {};\n if (!gtmEvents) return null;\n\n return gtmEvents.find(({ eventTrigger }) => eventTrigger === ON_CLICK);\n })\n .filter(Boolean);\n\n shouldUseClickWrapper = !!clickEvents && !!clickEvents.length;\n\n const wrapperProps = shouldUseClickWrapper\n ? { gtmChildren: children, ...componentProps, id }\n : {};\n\n return { shouldUseClickWrapper, wrapperProps };\n};\n\nexport default getClickWrapperOptions;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAAwC,SAAAC,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAAc,yBAAA,GAAAd,MAAA,CAAAe,gBAAA,CAAAlB,CAAA,EAAAG,MAAA,CAAAc,yBAAA,CAAAf,CAAA,KAAAH,OAAA,CAAAI,MA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AAvDE,SAAS;MAAAC,sBAAA,GAAAF,qBAAA,cAAqC,CAAC,CAAC,GAAAA,qBAAA;MAAAG,sBAAA,GAAAD,sBAAA,CAAnCE,QAAQ;MAAAC,sBAAA,GAAAF,sBAAA,cAAkB,CAAC,CAAC,GAAAA,sBAAA;MAAhBG,SAAS,GAAAD,sBAAA,CAATC,SAAS;IACnD,IAAI,CAACA,SAAS,EAAE,OAAO,IAAI;IAE3B,OAAOA,SAAS,CAACC,IAAI,CAAC,UAAAC,KAAA;MAAA,IAAGC,YAAY,GAAAD,KAAA,CAAZC,YAAY;MAAA,OAAOA,YAAY,KAAKC,mBAAQ;IAAA,EAAC;EACxE,CAAC,CAAC,CACD1C,MAAM,CAAC2C,OAAO,CAAC;EAElBzB,qBAAqB,GAAG,CAAC,CAACQ,WAAW,IAAI,CAAC,CAACA,WAAW,CAACnB,MAAM;EAE7D,IAAMkB,YAAY,GAAGP,qBAAqB,GAAAb,aAAA,CAAAA,aAAA;IACpCuC,WAAW,EAAE9B;EAAQ,GAAKE,cAAc;IAAEC,EAAE,EAAFA;EAAE,KAC9C,CAAC,CAAC;EAEN,OAAO;IAAEC,qBAAqB,EAArBA,qBAAqB;IAAEO,YAAY,EAAZA;EAAa,CAAC;AAChD,CAAC;AAAC,IAAAoB,QAAA,GAAAC,OAAA,cAEajC,sBAAsB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-offset.js","names":["getCurrentOffset","offset","arguments","length","undefined","itemsPerPage","paginationIndex","limit","Number","cumulativeOffset","_default","exports"],"sources":["../../src/helpers/get-current-offset.js"],"sourcesContent":["const getCurrentOffset = (offset = 0, itemsPerPage = 1, paginationIndex = 1, limit) => {\n if (paginationIndex <= 1) return Number(offset);\n const cumulativeOffset = Number(offset) + Number(itemsPerPage) * (Number(paginationIndex) - 1);\n return !!limit && cumulativeOffset >= limit ? offset : cumulativeOffset;\n};\n\nexport default getCurrentOffset;\n"],"mappings":";;;;;;;;AAAA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAA,EAAiE;EAAA,IAA7DC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAAA,IAAEG,YAAY,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAAA,IAAEI,eAAe,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAAA,IAAEK,KAAK,GAAAL,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EAChF,IAAIE,eAAe,IAAI,CAAC,EAAE,OAAOE,MAAM,CAACP,MAAM,CAAC;EAC/C,IAAMQ,gBAAgB,GAAGD,MAAM,CAACP,MAAM,CAAC,GAAGO,MAAM,CAACH,YAAY,CAAC,IAAIG,MAAM,CAACF,eAAe,CAAC,GAAG,CAAC,CAAC;EAC9F,OAAO,CAAC,CAACC,KAAK,IAAIE,gBAAgB,IAAIF,KAAK,GAAGN,MAAM,GAAGQ,gBAAgB;AACzE,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEaX,gBAAgB","ignoreList":[]}
1
+ {"version":3,"file":"get-current-offset.js","names":["getCurrentOffset","offset","arguments","length","undefined","itemsPerPage","paginationIndex","limit","Number","cumulativeOffset","_default","exports"],"sources":["../../src/helpers/get-current-offset.js"],"sourcesContent":["const getCurrentOffset = (offset = 0, itemsPerPage = 1, paginationIndex = 1, limit) => {\n if (paginationIndex <= 1) return Number(offset);\n const cumulativeOffset = Number(offset) + Number(itemsPerPage) * (Number(paginationIndex) - 1);\n return !!limit && cumulativeOffset >= limit ? offset : cumulativeOffset;\n};\n\nexport default getCurrentOffset;\n"],"mappings":";;;;;;;;AAAA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAA,EAAiE;EAAA,IAA7DC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAAA,IAAEG,YAAY,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAAA,IAAEI,eAAe,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAAA,IAAEK,KAAK,GAAAL,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EAChF,IAAIE,eAAe,IAAI,CAAC,EAAE,OAAOE,MAAM,CAACP,MAAM,CAAC;EAC/C,IAAMQ,gBAAgB,GAAGD,MAAM,CAACP,MAAM,CAAC,GAAGO,MAAM,CAACH,YAAY,CAAC,IAAIG,MAAM,CAACF,eAAe,CAAC,GAAG,CAAC,CAAC;EAC9F,OAAO,CAAC,CAACC,KAAK,IAAIE,gBAAgB,IAAIF,KAAK,GAAGN,MAAM,GAAGQ,gBAAgB;AACzE,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEaX,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-dictionary-match.js","names":["dictionary","getDictionaryMatch","key","_default","exports"],"sources":["../../src/helpers/get-dictionary-match.js"],"sourcesContent":["const dictionary = {\n 1: 'grid--one',\n 2: 'grid--two',\n 3: 'grid--three',\n 4: 'grid--four',\n 5: 'grid--five',\n 6: 'grid--six'\n};\n\nconst getDictionaryMatch = key => dictionary[key] || dictionary[1];\n\nexport default getDictionaryMatch;\n"],"mappings":";;;;;;;AAAA,IAAMA,UAAU,GAAG;EACjB,CAAC,EAAE,WAAW;EACd,CAAC,EAAE,WAAW;EACd,CAAC,EAAE,aAAa;EAChB,CAAC,EAAE,YAAY;EACf,CAAC,EAAE,YAAY;EACf,CAAC,EAAE;AACL,CAAC;AAED,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAGC,GAAG;EAAA,OAAIF,UAAU,CAACE,GAAG,CAAC,IAAIF,UAAU,CAAC,CAAC,CAAC;AAAA;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAEpDH,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"get-dictionary-match.js","names":["dictionary","getDictionaryMatch","key","_default","exports"],"sources":["../../src/helpers/get-dictionary-match.js"],"sourcesContent":["const dictionary = {\n 1: 'grid--one',\n 2: 'grid--two',\n 3: 'grid--three',\n 4: 'grid--four',\n 5: 'grid--five',\n 6: 'grid--six'\n};\n\nconst getDictionaryMatch = key => dictionary[key] || dictionary[1];\n\nexport default getDictionaryMatch;\n"],"mappings":";;;;;;;AAAA,IAAMA,UAAU,GAAG;EACjB,CAAC,EAAE,WAAW;EACd,CAAC,EAAE,WAAW;EACd,CAAC,EAAE,aAAa;EAChB,CAAC,EAAE,YAAY;EACf,CAAC,EAAE,YAAY;EACf,CAAC,EAAE;AACL,CAAC;AAED,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAGC,GAAG;EAAA,OAAIF,UAAU,CAACE,GAAG,CAAC,IAAIF,UAAU,CAAC,CAAC,CAAC;AAAA;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAEpDH,kBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-display-count-data.js","names":["_constants","require","getDisplayCountData","displayMessage","images","imagesLength","length","shouldDisplayCount","message","concat","IMAGE","IMAGES","countMessage","_default","exports"],"sources":["../../src/helpers/get-display-count-data.js"],"sourcesContent":["import { IMAGE, IMAGES } from '../constants';\n\nfunction getDisplayCountData(displayMessage, images) {\n const imagesLength = images && images.length;\n\n const shouldDisplayCount = !!(displayMessage && imagesLength);\n const message = `${imagesLength} ${imagesLength === 1 ? IMAGE : IMAGES}`;\n const countMessage = shouldDisplayCount ? message : '';\n\n return { shouldDisplayCount, countMessage };\n}\n\nexport default getDisplayCountData;\n"],"mappings":";;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,SAASC,mBAAmBA,CAACC,cAAc,EAAEC,MAAM,EAAE;EACnD,IAAMC,YAAY,GAAGD,MAAM,IAAIA,MAAM,CAACE,MAAM;EAE5C,IAAMC,kBAAkB,GAAG,CAAC,EAAEJ,cAAc,IAAIE,YAAY,CAAC;EAC7D,IAAMG,OAAO,MAAAC,MAAA,CAAMJ,YAAY,OAAAI,MAAA,CAAIJ,YAAY,KAAK,CAAC,GAAGK,gBAAK,GAAGC,iBAAM,CAAE;EACxE,IAAMC,YAAY,GAAGL,kBAAkB,GAAGC,OAAO,GAAG,EAAE;EAEtD,OAAO;IAAED,kBAAkB,EAAlBA,kBAAkB;IAAEK,YAAY,EAAZA;EAAa,CAAC;AAC7C;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEcZ,mBAAmB","ignoreList":[]}
1
+ {"version":3,"file":"get-display-count-data.js","names":["_constants","require","getDisplayCountData","displayMessage","images","imagesLength","length","shouldDisplayCount","message","concat","IMAGE","IMAGES","countMessage","_default","exports"],"sources":["../../src/helpers/get-display-count-data.js"],"sourcesContent":["import { IMAGE, IMAGES } from '../constants';\n\nfunction getDisplayCountData(displayMessage, images) {\n const imagesLength = images && images.length;\n\n const shouldDisplayCount = !!(displayMessage && imagesLength);\n const message = `${imagesLength} ${imagesLength === 1 ? IMAGE : IMAGES}`;\n const countMessage = shouldDisplayCount ? message : '';\n\n return { shouldDisplayCount, countMessage };\n}\n\nexport default getDisplayCountData;\n"],"mappings":";;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,SAASC,mBAAmBA,CAACC,cAAc,EAAEC,MAAM,EAAE;EACnD,IAAMC,YAAY,GAAGD,MAAM,IAAIA,MAAM,CAACE,MAAM;EAE5C,IAAMC,kBAAkB,GAAG,CAAC,EAAEJ,cAAc,IAAIE,YAAY,CAAC;EAC7D,IAAMG,OAAO,MAAAC,MAAA,CAAMJ,YAAY,OAAAI,MAAA,CAAIJ,YAAY,KAAK,CAAC,GAAGK,gBAAK,GAAGC,iBAAM,CAAE;EACxE,IAAMC,YAAY,GAAGL,kBAAkB,GAAGC,OAAO,GAAG,EAAE;EAEtD,OAAO;IAAED,kBAAkB,EAAlBA,kBAAkB;IAAEK,YAAY,EAAZA;EAAa,CAAC;AAC7C;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEcZ,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-elasticsearch-operator.js","names":["_constants","require","getElasticsearchOperator","_ref","operator","AND","AND_OPERATOR","OR_OPERATOR","_default","exports"],"sources":["../../src/helpers/get-elasticsearch-operator.js"],"sourcesContent":["import { AND, AND_OPERATOR, OR_OPERATOR } from '../constants';\n\nconst getElasticsearchOperator = ({ operator }) => (operator === AND ? AND_OPERATOR : OR_OPERATOR);\n\nexport default getElasticsearchOperator;\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAAA,OAAQA,QAAQ,KAAKC,cAAG,GAAGC,uBAAY,GAAGC,sBAAW;AAAA,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEpFP,wBAAwB","ignoreList":[]}
1
+ {"version":3,"file":"get-elasticsearch-operator.js","names":["_constants","require","getElasticsearchOperator","_ref","operator","AND","AND_OPERATOR","OR_OPERATOR","_default","exports"],"sources":["../../src/helpers/get-elasticsearch-operator.js"],"sourcesContent":["import { AND, AND_OPERATOR, OR_OPERATOR } from '../constants';\n\nconst getElasticsearchOperator = ({ operator }) => (operator === AND ? AND_OPERATOR : OR_OPERATOR);\n\nexport default getElasticsearchOperator;\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA;EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAAA,OAAQA,QAAQ,KAAKC,cAAG,GAAGC,uBAAY,GAAGC,sBAAW;AAAA,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEpFP,wBAAwB"}
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.keys.js");
3
4
  require("core-js/modules/es.symbol.js");
4
5
  require("core-js/modules/es.array.filter.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
5
8
  require("core-js/modules/es.array.for-each.js");
9
+ require("core-js/modules/web.dom-collections.for-each.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
11
  require("core-js/modules/es.object.define-properties.js");
7
12
  require("core-js/modules/es.object.define-property.js");
8
- require("core-js/modules/es.object.get-own-property-descriptor.js");
9
- require("core-js/modules/es.object.get-own-property-descriptors.js");
10
- require("core-js/modules/es.object.keys.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/web.dom-collections.for-each.js");
13
13
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
14
  Object.defineProperty(exports, "__esModule", {
15
15
  value: true
@@ -1 +1 @@
1
- {"version":3,"file":"get-entities-with-banner.js","names":["_injectBannersToEntities","_interopRequireDefault","require","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getEntitiesWithBanner","entities","options","hasNewBannerSettings","hasBanner","map","currentEntity","parent","transform","limit","banner","_ref","adunit","baseAdunit","injectBannersToEntities"],"sources":["../../src/helpers/get-entities-with-banner.js"],"sourcesContent":["import injectBannersToEntities from './inject-banners-to-entities';\n\nexport default function getEntitiesWithBanner(entities, options, hasNewBannerSettings) {\n const { hasBanner } = options;\n if (hasNewBannerSettings) {\n return entities.map(currentEntity => {\n const { parent, transform, limit, banner } = options;\n const { adunit, baseAdunit } = banner || {};\n return { ...currentEntity, parent, limit, transform, adunit, baseAdunit };\n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KF,OAAO,CAArBE,SAAS;EACjB,IAAID,oBAAoB,EAAE;IACxB,OAAOF,QAAQ,CAACI,GAAG,CAAC,UAAAC,aAAa,EAAI;MACnC,IAAQC,MAAM,GAA+BL,OAAO,CAA5CK,MAAM;QAAEC,SAAS,GAAoBN,OAAO,CAApCM,SAAS;QAAEC,KAAK,GAAaP,OAAO,CAAzBO,KAAK;QAAEC,MAAM,GAAKR,OAAO,CAAlBQ,MAAM;MACxC,IAAAC,IAAA,GAA+BD,MAAM,IAAI,CAAC,CAAC;QAAnCE,MAAM,GAAAD,IAAA,CAANC,MAAM;QAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU;MAC1B,OAAArB,aAAA,CAAAA,aAAA,KAAYc,aAAa;QAAEC,MAAM,EAANA,MAAM;QAAEE,KAAK,EAALA,KAAK;QAAED,SAAS,EAATA,SAAS;QAAEI,MAAM,EAANA,MAAM;QAAEC,UAAU,EAAVA;MAAU;IACzE,CAAC,CAAC;EACJ;EACA,IAAI,CAACT,SAAS,EAAE,OAAOH,QAAQ;EAE/B,OAAO,IAAAa,mCAAuB,EAACb,QAAQ,EAAEC,OAAO,CAAC;AACnD","ignoreList":[]}
1
+ {"version":3,"file":"get-entities-with-banner.js","names":["_injectBannersToEntities","_interopRequireDefault","require","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getEntitiesWithBanner","entities","options","hasNewBannerSettings","hasBanner","map","currentEntity","parent","transform","limit","banner","_ref","adunit","baseAdunit","injectBannersToEntities"],"sources":["../../src/helpers/get-entities-with-banner.js"],"sourcesContent":["import injectBannersToEntities from './inject-banners-to-entities';\n\nexport default function getEntitiesWithBanner(entities, options, hasNewBannerSettings) {\n const { hasBanner } = options;\n if (hasNewBannerSettings) {\n return entities.map(currentEntity => {\n const { parent, transform, limit, banner } = options;\n const { adunit, baseAdunit } = banner || {};\n return { ...currentEntity, parent, limit, transform, adunit, baseAdunit };\n });\n }\n if (!hasBanner) return entities;\n\n return injectBannersToEntities(entities, options);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,wBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmE,SAAAC,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAAc,yBAAA,GAAAd,MAAA,CAAAe,gBAAA,CAAAlB,CAAA,EAAAG,MAAA,CAAAc,yBAAA,CAAAf,CAAA,KAAAH,OAAA,CAAAI,MAAA,CAAAD,CAAA,GAAAa,OAAA,WAAAd,CAAA,IAAAE,MAAA,CAAAgB,cAAA,CAAAnB,CAAA,EAAAC,CAAA,EAAAE,MAAA,CAAAK,wBAAA,CAAAN,CAAA,EAAAD,CAAA,iBAAAD,CAAA;AAEpD,SAASoB,qBAAqBA,CAACC,QAAQ,EAAEC,OAAO,EAAEC,oBAAoB,EAAE;EACrF,IAAQC,SAAS,GAAKF,OAAO,CAArBE,SAAS;EACjB,IAAID,oBAAoB,EAAE;IACxB,OAAOF,QAAQ,CAACI,GAAG,CAAC,UAAAC,aAAa,EAAI;MACnC,IAAQC,MAAM,GAA+BL,OAAO,CAA5CK,MAAM;QAAEC,SAAS,GAAoBN,OAAO,CAApCM,SAAS;QAAEC,KAAK,GAAaP,OAAO,CAAzBO,KAAK;QAAEC,MAAM,GAAKR,OAAO,CAAlBQ,MAAM;MACxC,IAAAC,IAAA,GAA+BD,MAAM,IAAI,CAAC,CAAC;QAAnCE,MAAM,GAAAD,IAAA,CAANC,MAAM;QAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU;MAC1B,OAAArB,aAAA,CAAAA,aAAA,KAAYc,aAAa;QAAEC,MAAM,EAANA,MAAM;QAAEE,KAAK,EAALA,KAAK;QAAED,SAAS,EAATA,SAAS;QAAEI,MAAM,EAANA,MAAM;QAAEC,UAAU,EAAVA;MAAU;IACzE,CAAC,CAAC;EACJ;EACA,IAAI,CAACT,SAAS,EAAE,OAAOH,QAAQ;EAE/B,OAAO,IAAAa,mCAAuB,EAACb,QAAQ,EAAEC,OAAO,CAAC;AACnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-entity-data.js","names":["_lodash","_interopRequireDefault","require","_lodash2","getEntityData","entity","schema","publishedDocType","concat","publishedEntityType","upperFirst","camelcase","_ref","interfaces","_ref$entity","_ref$entity2","nestedInterfaces","interfacesToCheck","includes","docType","entityType","_default","exports"],"sources":["../../src/helpers/get-entity-data.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport camelcase from 'lodash.camelcase';\n\nconst getEntityData = (entity, schema) => {\n const publishedDocType = `published_${entity}`;\n const publishedEntityType = `Published${upperFirst(camelcase(entity))}`;\n\n if (schema) {\n const { interfaces, [entity]: { interfaces: nestedInterfaces } = {} } = schema || {};\n const interfacesToCheck = interfaces || nestedInterfaces;\n if (interfacesToCheck && !interfacesToCheck.includes('publish/publishable')) {\n return { entity, docType: entity, entityType: upperFirst(camelcase(entity)) };\n }\n }\n\n return { entity, docType: publishedDocType, entityType: publishedEntityType };\n};\n\nexport default getEntityData;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAME,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,MAAM,EAAEC,MAAM,EAAK;EACxC,IAAMC,gBAAgB,gBAAAC,MAAA,CAAgBH,MAAM,CAAE;EAC9C,IAAMI,mBAAmB,eAAAD,MAAA,CAAe,IAAAE,kBAAU,EAAC,IAAAC,mBAAS,EAACN,MAAM,CAAC,CAAC,CAAE;EAEvE,IAAIC,MAAM,EAAE;IACV,IAAAM,IAAA,GAAwEN,MAAM,IAAI,CAAC,CAAC;MAA5EO,UAAU,GAAAD,IAAA,CAAVC,UAAU;MAAAC,WAAA,GAAAF,IAAA,CAAGP,MAAM;MAAAU,YAAA,GAAAD,WAAA,cAAsC,CAAC,CAAC,GAAAA,WAAA;MAAvBE,gBAAgB,GAAAD,YAAA,CAA5BF,UAAU;IAC1C,IAAMI,iBAAiB,GAAGJ,UAAU,IAAIG,gBAAgB;IACxD,IAAIC,iBAAiB,IAAI,CAACA,iBAAiB,CAACC,QAAQ,CAAC,qBAAqB,CAAC,EAAE;MAC3E,OAAO;QAAEb,MAAM,EAANA,MAAM;QAAEc,OAAO,EAAEd,MAAM;QAAEe,UAAU,EAAE,IAAAV,kBAAU,EAAC,IAAAC,mBAAS,EAACN,MAAM,CAAC;MAAE,CAAC;IAC/E;EACF;EAEA,OAAO;IAAEA,MAAM,EAANA,MAAM;IAAEc,OAAO,EAAEZ,gBAAgB;IAAEa,UAAU,EAAEX;EAAoB,CAAC;AAC/E,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEalB,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"get-entity-data.js","names":["_lodash","_interopRequireDefault","require","_lodash2","getEntityData","entity","schema","publishedDocType","concat","publishedEntityType","upperFirst","camelcase","_ref","interfaces","_ref$entity","_ref$entity2","nestedInterfaces","interfacesToCheck","includes","docType","entityType","_default","exports"],"sources":["../../src/helpers/get-entity-data.js"],"sourcesContent":["import upperFirst from 'lodash.upperfirst';\nimport camelcase from 'lodash.camelcase';\n\nconst getEntityData = (entity, schema) => {\n const publishedDocType = `published_${entity}`;\n const publishedEntityType = `Published${upperFirst(camelcase(entity))}`;\n\n if (schema) {\n const { interfaces, [entity]: { interfaces: nestedInterfaces } = {} } = schema || {};\n const interfacesToCheck = interfaces || nestedInterfaces;\n if (interfacesToCheck && !interfacesToCheck.includes('publish/publishable')) {\n return { entity, docType: entity, entityType: upperFirst(camelcase(entity)) };\n }\n }\n\n return { entity, docType: publishedDocType, entityType: publishedEntityType };\n};\n\nexport default getEntityData;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAME,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,MAAM,EAAEC,MAAM,EAAK;EACxC,IAAMC,gBAAgB,gBAAAC,MAAA,CAAgBH,MAAM,CAAE;EAC9C,IAAMI,mBAAmB,eAAAD,MAAA,CAAe,IAAAE,kBAAU,EAAC,IAAAC,mBAAS,EAACN,MAAM,CAAC,CAAC,CAAE;EAEvE,IAAIC,MAAM,EAAE;IACV,IAAAM,IAAA,GAAwEN,MAAM,IAAI,CAAC,CAAC;MAA5EO,UAAU,GAAAD,IAAA,CAAVC,UAAU;MAAAC,WAAA,GAAAF,IAAA,CAAGP,MAAM;MAAAU,YAAA,GAAAD,WAAA,cAAsC,CAAC,CAAC,GAAAA,WAAA;MAAvBE,gBAAgB,GAAAD,YAAA,CAA5BF,UAAU;IAC1C,IAAMI,iBAAiB,GAAGJ,UAAU,IAAIG,gBAAgB;IACxD,IAAIC,iBAAiB,IAAI,CAACA,iBAAiB,CAACC,QAAQ,CAAC,qBAAqB,CAAC,EAAE;MAC3E,OAAO;QAAEb,MAAM,EAANA,MAAM;QAAEc,OAAO,EAAEd,MAAM;QAAEe,UAAU,EAAE,IAAAV,kBAAU,EAAC,IAAAC,mBAAS,EAACN,MAAM,CAAC;MAAE,CAAC;IAC/E;EACF;EAEA,OAAO;IAAEA,MAAM,EAANA,MAAM;IAAEc,OAAO,EAAEZ,gBAAgB;IAAEa,UAAU,EAAEX;EAAoB,CAAC;AAC/E,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,cAEalB,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-entity-render-props.js","names":["_constants","require","_query","getEntityRenderProps","queryProps","data","arguments","length","undefined","dataSchema","isPreview","getEntitySchema","_getEntitySchema$acti","actions","getAllPublished","getAll","actionKey","action","getAction","_default","exports"],"sources":["../../src/helpers/get-entity-render-props.js"],"sourcesContent":["import { dataSchema } from './entities/constants';\nimport { getAction } from '../application/query';\n\nfunction getEntityRenderProps(queryProps, data = dataSchema, isPreview = false) {\n const { getEntitySchema } = data;\n\n const {\n actions: { getAllPublished, getAll }\n } = getEntitySchema;\n const actionKey = isPreview ? getAll : getAllPublished || getAll;\n const action = getAction(actionKey, queryProps);\n\n return { actionKey, action };\n}\n\nexport default getEntityRenderProps;\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,SAASE,oBAAoBA,CAACC,UAAU,EAAwC;EAAA,IAAtCC,IAAI,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGG,qBAAU;EAAA,IAAEC,SAAS,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAC5E,IAAQK,eAAe,GAAKN,IAAI,CAAxBM,eAAe;EAEvB,IAAAC,qBAAA,GAEID,eAAe,CADjBE,OAAO;IAAIC,eAAe,GAAAF,qBAAA,CAAfE,eAAe;IAAEC,MAAM,GAAAH,qBAAA,CAANG,MAAM;EAEpC,IAAMC,SAAS,GAAGN,SAAS,GAAGK,MAAM,GAAGD,eAAe,IAAIC,MAAM;EAChE,IAAME,MAAM,GAAG,IAAAC,gBAAS,EAACF,SAAS,EAAEZ,UAAU,CAAC;EAE/C,OAAO;IAAEY,SAAS,EAATA,SAAS;IAAEC,MAAM,EAANA;EAAO,CAAC;AAC9B;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEcjB,oBAAoB","ignoreList":[]}
1
+ {"version":3,"file":"get-entity-render-props.js","names":["_constants","require","_query","getEntityRenderProps","queryProps","data","arguments","length","undefined","dataSchema","isPreview","getEntitySchema","_getEntitySchema$acti","actions","getAllPublished","getAll","actionKey","action","getAction","_default","exports"],"sources":["../../src/helpers/get-entity-render-props.js"],"sourcesContent":["import { dataSchema } from './entities/constants';\nimport { getAction } from '../application/query';\n\nfunction getEntityRenderProps(queryProps, data = dataSchema, isPreview = false) {\n const { getEntitySchema } = data;\n\n const {\n actions: { getAllPublished, getAll }\n } = getEntitySchema;\n const actionKey = isPreview ? getAll : getAllPublished || getAll;\n const action = getAction(actionKey, queryProps);\n\n return { actionKey, action };\n}\n\nexport default getEntityRenderProps;\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,SAASE,oBAAoBA,CAACC,UAAU,EAAwC;EAAA,IAAtCC,IAAI,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGG,qBAAU;EAAA,IAAEC,SAAS,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAC5E,IAAQK,eAAe,GAAKN,IAAI,CAAxBM,eAAe;EAEvB,IAAAC,qBAAA,GAEID,eAAe,CADjBE,OAAO;IAAIC,eAAe,GAAAF,qBAAA,CAAfE,eAAe;IAAEC,MAAM,GAAAH,qBAAA,CAANG,MAAM;EAEpC,IAAMC,SAAS,GAAGN,SAAS,GAAGK,MAAM,GAAGD,eAAe,IAAIC,MAAM;EAChE,IAAME,MAAM,GAAG,IAAAC,gBAAS,EAACF,SAAS,EAAEZ,UAAU,CAAC;EAE/C,OAAO;IAAEY,SAAS,EAATA,SAAS;IAAEC,MAAM,EAANA;EAAO,CAAC;AAC9B;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEcjB,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-extra-az-bits.js","names":["_constants","require","getAzArgs","azSortProperty","azProp","concat","AZ_AGGS","aggs","azCount","terms","script","size","sort","_defineProperty2","ALL_AZ_SORT","_script","type","lang","source","params","letters","AZ","order","getExtraAzBits","_ref3","shouldReturnAggs","isAZ","_ref3$azSortProperty","AZ_DEFAULT_PROP","azFilter","_getAzArgs","_default","exports"],"sources":["../../src/helpers/get-extra-az-bits.js"],"sourcesContent":["import { AZ, AZ_DEFAULT_PROP } from '../constants';\n\nfunction getAzArgs(azSortProperty) {\n const azProp = `${azSortProperty}.keyword`;\n\n const AZ_AGGS = {\n aggs: {\n azCount: {\n terms: {\n script: `doc['${azProp}'].getValue().substring(0,1).toUpperCase()`,\n size: 500\n }\n }\n },\n sort: [{ [azProp]: 'asc' }]\n };\n const ALL_AZ_SORT = {\n sort: [\n {\n _script: {\n type: 'number',\n script: {\n lang: 'painless',\n source: `int charPos = params.letters.indexOf(doc['${azProp}'].value.substring(0,1).toUpperCase()); charPos > -1 ? charPos : 100`,\n params: {\n letters: AZ\n }\n },\n order: 'asc'\n }\n },\n { [azProp]: 'asc' }\n ]\n };\n\n return { ALL_AZ_SORT, AZ_AGGS };\n}\n\nconst getExtraAzBits = ({ shouldReturnAggs, isAZ, azSortProperty = AZ_DEFAULT_PROP, azFilter }) => {\n if (!isAZ || (isAZ && azFilter)) return {};\n\n const { AZ_AGGS, ALL_AZ_SORT } = getAzArgs(azSortProperty);\n if (shouldReturnAggs) return AZ_AGGS;\n\n return ALL_AZ_SORT;\n};\n\nexport default getExtraAzBits;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,SAASC,SAASA,CAACC,cAAc,EAAE;EACjC,IAAMC,MAAM,MAAAC,MAAA,CAAMF,cAAc,aAAU;EAE1C,IAAMG,OAAO,GAAG;IACdC,IAAI,EAAE;MACJC,OAAO,EAAE;QACPC,KAAK,EAAE;UACLC,MAAM,UAAAL,MAAA,CAAUD,MAAM,+CAA4C;UAClEO,IAAI,EAAE;QACR;MACF;IACF,CAAC;IACDC,IAAI,EAAE,KAAAC,gBAAA,iBAAIT,MAAM,EAAG,KAAK;EAC1B,CAAC;EACD,IAAMU,WAAW,GAAG;IAClBF,IAAI,EAAE,CACJ;MACEG,OAAO,EAAE;QACPC,IAAI,EAAE,QAAQ;QACdN,MAAM,EAAE;UACNO,IAAI,EAAE,UAAU;UAChBC,MAAM,+CAAAb,MAAA,CAA+CD,MAAM,yEAAsE;UACjIe,MAAM,EAAE;YACNC,OAAO,EAAEC;UACX;QACF,CAAC;QACDC,KAAK,EAAE;MACT;IACF,CAAC,MAAAT,gBAAA,iBACET,MAAM,EAAG,KAAK;EAErB,CAAC;EAED,OAAO;IAAEU,WAAW,EAAXA,WAAW;IAAER,OAAO,EAAPA;EAAQ,CAAC;AACjC;AAEA,IAAMiB,cAAc,GAAG,SAAjBA,cAAcA,CAAAC,KAAA,EAA+E;EAAA,IAAzEC,gBAAgB,GAAAD,KAAA,CAAhBC,gBAAgB;IAAEC,IAAI,GAAAF,KAAA,CAAJE,IAAI;IAAAC,oBAAA,GAAAH,KAAA,CAAErB,cAAc;IAAdA,cAAc,GAAAwB,oBAAA,cAAGC,0BAAe,GAAAD,oBAAA;IAAEE,QAAQ,GAAAL,KAAA,CAARK,QAAQ;EAC1F,IAAI,CAACH,IAAI,IAAKA,IAAI,IAAIG,QAAS,EAAE,OAAO,CAAC,CAAC;EAE1C,IAAAC,UAAA,GAAiC5B,SAAS,CAACC,cAAc,CAAC;IAAlDG,OAAO,GAAAwB,UAAA,CAAPxB,OAAO;IAAEQ,WAAW,GAAAgB,UAAA,CAAXhB,WAAW;EAC5B,IAAIW,gBAAgB,EAAE,OAAOnB,OAAO;EAEpC,OAAOQ,WAAW;AACpB,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,cAEaT,cAAc","ignoreList":[]}
1
+ {"version":3,"file":"get-extra-az-bits.js","names":["_constants","require","getAzArgs","azSortProperty","azProp","concat","AZ_AGGS","aggs","azCount","terms","script","size","sort","_defineProperty2","ALL_AZ_SORT","_script","type","lang","source","params","letters","AZ","order","getExtraAzBits","_ref3","shouldReturnAggs","isAZ","_ref3$azSortProperty","AZ_DEFAULT_PROP","azFilter","_getAzArgs","_default","exports"],"sources":["../../src/helpers/get-extra-az-bits.js"],"sourcesContent":["import { AZ, AZ_DEFAULT_PROP } from '../constants';\n\nfunction getAzArgs(azSortProperty) {\n const azProp = `${azSortProperty}.keyword`;\n\n const AZ_AGGS = {\n aggs: {\n azCount: {\n terms: {\n script: `doc['${azProp}'].getValue().substring(0,1).toUpperCase()`,\n size: 500\n }\n }\n },\n sort: [{ [azProp]: 'asc' }]\n };\n const ALL_AZ_SORT = {\n sort: [\n {\n _script: {\n type: 'number',\n script: {\n lang: 'painless',\n source: `int charPos = params.letters.indexOf(doc['${azProp}'].value.substring(0,1).toUpperCase()); charPos > -1 ? charPos : 100`,\n params: {\n letters: AZ\n }\n },\n order: 'asc'\n }\n },\n { [azProp]: 'asc' }\n ]\n };\n\n return { ALL_AZ_SORT, AZ_AGGS };\n}\n\nconst getExtraAzBits = ({ shouldReturnAggs, isAZ, azSortProperty = AZ_DEFAULT_PROP, azFilter }) => {\n if (!isAZ || (isAZ && azFilter)) return {};\n\n const { AZ_AGGS, ALL_AZ_SORT } = getAzArgs(azSortPro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C,IAAAC,UAAA,GAAiC5B,SAAS,CAACC,cAAc,CAAC;IAAlDG,OAAO,GAAAwB,UAAA,CAAPxB,OAAO;IAAEQ,WAAW,GAAAgB,UAAA,CAAXhB,WAAW;EAC5B,IAAIW,gBAAgB,EAAE,OAAOnB,OAAO;EAEpC,OAAOQ,WAAW;AACpB,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,cAEaT,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-filter-props.js","names":["_getFilterRelationKeys","_interopRequireDefault","require","getFilterLocalKeys","relationName","relations","_ref","find","_ref2","localField","entityIdentifier","getRelationEntity","filterName","filterEntityRelations","_ref3","_ref4","foreignKey","getFilterProps","filter","_ref5","arguments","length","undefined","_ref5$relations","currentEntityRelations","_ref5$properties","properties","currentEntityProperties","_ref5$dynamicProperti","dynamicProperties","currentEntityDynamicProperties","currentEntityId","identifier","_ref6","_ref6$relations","filteryEntityId","_filter$split","split","_filter$split2","_slicedToArray2","_filterName$split","_filterName$split2","relationProp","hasProperty","relationEntityName","filterNameEntity","propertyEntityName","entityName","isEntityItself","shouldCheckRelationNames","relationForeignKeys","getFilterRelationKeys","shouldIgnoreFilter","_default","exports"],"sources":["../../src/helpers/get-filter-props.js"],"sourcesContent":["import getFilterRelationKeys from './get-filter-relation-keys';\n\nconst getFilterLocalKeys = (relationName, relations) => {\n const { entityIdentifier } =\n relations.find(({ localField }) => localField === relationName) || {};\n return entityIdentifier;\n};\n\nconst getRelationEntity = (filterName, filterEntityRelations) => {\n const { entityIdentifier } =\n filterEntityRelations.find(({ foreignKey }) => foreignKey === filterName) || {};\n return entityIdentifier;\n};\n\nconst getFilterProps = (\n filter,\n {\n relations: currentEntityRelations = [],\n properties: currentEntityProperties = {},\n dynamicProperties: currentEntityDynamicProperties = {},\n identifier: currentEntityId\n } = {},\n { relations: filterEntityRelations = [], identifier: filteryEntityId } = {}\n) => {\n const [filterName] = filter.split('/');\n const [relationName, relationProp] = filterName.split('.');\n const hasProperty = !!(\n currentEntityProperties[filterName] || currentEntityDynamicProperties[filterName]\n );\n const relationEntityName = relationProp\n ? getFilterLocalKeys(relationName, currentEntityRelations)\n : null;\n const filterNameEntity = getRelationEntity(filterName, filterEntityRelations);\n\n const propertyEntityName = relationEntityName || filterNameEntity;\n const entityName = filterNameEntity ? filteryEntityId : relationEntityName;\n const isEntityItself = currentEntityId === propertyEntityName;\n const shouldCheckRelationNames = !hasProperty && !relationEntityName;\n const relationForeignKeys = shouldCheckRelationNames\n ? getFilterRelationKeys(propertyEntityName, currentEntityRelations, currentEntityProperties)\n : [];\n const shouldIgnoreFilter = shouldCheckRelationNames && !relationForeignKeys.length;\n\n return {\n filterName,\n entityName,\n relationName,\n relationProp,\n hasProperty,\n relationEntityName,\n isEntityItself,\n relationForeignKeys,\n shouldIgnoreFilter\n };\n};\n\nexport default getFilterProps;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,YAAY,EAAEC,SAAS,EAAK;EACtD,IAAAC,IAAA,GACED,SAAS,CAACE,IAAI,CAAC,UAAAC,KAAA;MAAA,IAAGC,UAAU,GAAAD,KAAA,CAAVC,UAAU;MAAA,OAAOA,UAAU,KAAKL,YAAY;IAAA,EAAC,IAAI,CAAC,CAAC;IAD/DM,gBAAgB,GAAAJ,IAAA,CAAhBI,gBAAgB;EAExB,OAAOA,gBAAgB;AACzB,CAAC;AAED,IAAMC,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,UAAU,EAAEC,qBAAqB,EAAK;EAC/D,IAAAC,KAAA,GACED,qBAAqB,CAACN,IAAI,CAAC,UAAAQ,KAAA;MAAA,IAAGC,UAAU,GAAAD,KAAA,CAAVC,UAAU;MAAA,OAAOA,UAAU,KAAKJ,UAAU;IAAA,EAAC,IAAI,CAAC,CAAC;IADzEF,gBAAgB,GAAAI,KAAA,CAAhBJ,gBAA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GF,YAAY,GACnCvC,kBAAkB,CAACC,YAAY,EAAEoB,sBAAsB,CAAC,GACxD,IAAI;EACR,IAAMqB,gBAAgB,GAAGlC,iBAAiB,CAACC,UAAU,EAAEC,qBAAqB,CAAC;EAE7E,IAAMiC,kBAAkB,GAAGF,kBAAkB,IAAIC,gBAAgB;EACjE,IAAME,UAAU,GAAGF,gBAAgB,GAAGV,eAAe,GAAGS,kBAAkB;EAC1E,IAAMI,cAAc,GAAGjB,eAAe,KAAKe,kBAAkB;EAC7D,IAAMG,wBAAwB,GAAG,CAACN,WAAW,IAAI,CAACC,kBAAkB;EACpE,IAAMM,mBAAmB,GAAGD,wBAAwB,GAChD,IAAAE,iCAAqB,EAACL,kBAAkB,EAAEtB,sBAAsB,EAAEG,uBAAuB,CAAC,GAC1F,EAAE;EACN,IAAMyB,kBAAkB,GAAGH,wBAAwB,IAAI,CAACC,mBAAmB,CAAC7B,MAAM;EAElF,OAAO;IACLT,UAAU,EAAVA,UAAU;IACVmC,UAAU,EAAVA,UAAU;IACV3C,YAAY,EAAZA,YAAY;IACZsC,YAAY,EAAZA,YAAY;IACZC,WAAW,EAAXA,WAAW;IACXC,kBAAkB,EAAlBA,kBAAkB;IAClBI,cAAc,EAAdA,cAAc;IACdE,mBAAmB,EAAnBA,mBAAmB;IACnBE,kBAAkB,EAAlBA;EACF,CAAC;AACH,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEarC,cAAc","ignoreList":[]}
1
+ {"version":3,"file":"get-filter-props.js","names":["_getFilterRelationKeys","_interopRequireDefault","require","getFilterLocalKeys","relationName","relations","_ref","find","_ref2","localField","entityIdentifier","getRelationEntity","filterName","filterEntityRelations","_ref3","_ref4","foreignKey","getFilterProps","filter","_ref5","arguments","length","undefined","_ref5$relations","currentEntityRelations","_ref5$properties","properties","currentEntityProperties","_ref5$dynamicProperti","dynamicProperties","currentEntityDynamicProperties","currentEntityId","identifier","_ref6","_ref6$relations","filteryEntityId","_filter$split","split","_filter$split2","_slicedToArray2","_filterName$split","_filterName$split2","relationProp","hasProperty","relationEntityName","filterNameEntity","propertyEntityName","entityName","isEntityItself","shouldCheckRelationNames","relationForeignKeys","getFilterRelationKeys","shouldIgnoreFilter","_default","exports"],"sources":["../../src/helpers/get-filter-props.js"],"sourcesContent":["import getFilterRelationKeys from './get-filter-relation-keys';\n\nconst getFilterLocalKeys = (relationName, relations) => {\n const { entityIdentifier } =\n relations.find(({ localField }) => localField === relationName) || {};\n return entityIdentifier;\n};\n\nconst getRelationEntity = (filterName, filterEntityRelations) => {\n const { entityIdentifier } =\n filterEntityRelations.find(({ foreignKey }) => foreignKey === filterName) || {};\n return entityIdentifier;\n};\n\nconst getFilterProps = (\n filter,\n {\n relations: currentEntityRelations = [],\n properties: currentEntityProperties = {},\n dynamicProperties: currentEntityDynamicProperties = {},\n identifier: currentEntityId\n } = {},\n { relations: filterEntityRelations = [], identifier: filteryEntityId } = {}\n) => {\n const [filterName] = filter.split('/');\n const [relationName, relationProp] = filterName.split('.');\n const hasProperty = !!(\n currentEntityProperties[filterName] || currentEntityDynamicProperties[filterName]\n );\n const relationEntityName = relationProp\n ? getFilterLocalKeys(relationName, currentEntityRelations)\n : null;\n const filterNameEntity = getRelationEntity(filterName, filterEntityRelations);\n\n const propertyEntityName = relationEntityName || filterNameEntity;\n const entityName = filterNameEntity ? filteryEntityId : relationEntityName;\n const isEntityItself = currentEntityId === propertyEntityName;\n const shouldCheckRelationNames = !hasProperty && !relationEntityName;\n const relationForeignKeys = shouldCheckRelationNames\n ? getFilterRelationKeys(propertyEntityName, currentEntityRelations, currentEntityProperties)\n : [];\n const shouldIgnoreFilter = shouldCheckRelationNames && !relationForeignKeys.length;\n\n return {\n filterName,\n entityName,\n relationName,\n relationProp,\n hasProperty,\n relationEntityName,\n isEntityItself,\n relationForeignKeys,\n shouldIgnoreFilter\n };\n};\n\nexport default getFilterProps;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,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VA,UAAU;IACVmC,UAAU,EAAVA,UAAU;IACV3C,YAAY,EAAZA,YAAY;IACZsC,YAAY,EAAZA,YAAY;IACZC,WAAW,EAAXA,WAAW;IACXC,kBAAkB,EAAlBA,kBAAkB;IAClBI,cAAc,EAAdA,cAAc;IACdE,mBAAmB,EAAnBA,mBAAmB;IACnBE,kBAAkB,EAAlBA;EACF,CAAC;AACH,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEarC,cAAc"}
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = void 0;
8
- require("core-js/modules/es.array.filter.js");
9
8
  require("core-js/modules/es.array.map.js");
9
+ require("core-js/modules/es.array.filter.js");
10
10
  require("core-js/modules/es.object.to-string.js");
11
11
  var getFilterRelationKeys = function getFilterRelationKeys(entityName, currentEntityRelations, currentEntityProperties) {
12
12
  return currentEntityRelations.filter(function (_ref) {
@@ -1 +1 @@
1
- {"version":3,"file":"get-filter-relation-keys.js","names":["getFilterRelationKeys","entityName","currentEntityRelations","currentEntityProperties","filter","_ref","entityIdentifier","foreignKey","map","_ref2","_default","exports"],"sources":["../../src/helpers/get-filter-relation-keys.js"],"sourcesContent":["const getFilterRelationKeys = (entityName, currentEntityRelations, currentEntityProperties) =>\n currentEntityRelations\n .filter(\n ({ entityIdentifier, foreignKey }) =>\n entityIdentifier === entityName && currentEntityProperties[foreignKey]\n )\n .map(({ foreignKey }) => foreignKey);\n\nexport default getFilterRelationKeys;\n"],"mappings":";;;;;;;;;;AAAA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,UAAU,EAAEC,sBAAsB,EAAEC,uBAAuB;EAAA,OACxFD,sBAAsB,CACnBE,MAAM,CACL,UAAAC,IAAA;IAAA,IAAGC,gBAAgB,GAAAD,IAAA,CAAhBC,gBAAgB;MAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU;IAAA,OAC7BD,gBAAgB,KAAKL,UAAU,IAAIE,uBAAuB,CAACI,UAAU,CAAC;EAAA,CAC1E,CAAC,CACAC,GAAG,CAAC,UAAAC,KAAA;IAAA,IAAGF,UAAU,GAAAE,KAAA,CAAVF,UAAU;IAAA,OAAOA,UAAU;EAAA,EAAC;AAAA;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAE1BX,qBAAqB","ignoreList":[]}
1
+ {"version":3,"file":"get-filter-relation-keys.js","names":["getFilterRelationKeys","entityName","currentEntityRelations","currentEntityProperties","filter","_ref","entityIdentifier","foreignKey","map","_ref2","_default","exports"],"sources":["../../src/helpers/get-filter-relation-keys.js"],"sourcesContent":["const getFilterRelationKeys = (entityName, currentEntityRelations, currentEntityProperties) =>\n currentEntityRelations\n .filter(\n ({ entityIdentifier, foreignKey }) =>\n entityIdentifier === entityName && currentEntityProperties[foreignKey]\n )\n .map(({ foreignKey }) => foreignKey);\n\nexport default getFilterRelationKeys;\n"],"mappings":";;;;;;;;;;AAAA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,UAAU,EAAEC,sBAAsB,EAAEC,uBAAuB;EAAA,OACxFD,sBAAsB,CACnBE,MAAM,CACL,UAAAC,IAAA;IAAA,IAAGC,gBAAgB,GAAAD,IAAA,CAAhBC,gBAAgB;MAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU;IAAA,OAC7BD,gBAAgB,KAAKL,UAAU,IAAIE,uBAAuB,CAACI,UAAU,CAAC;EAAA,CAC1E,CAAC,CACAC,GAAG,CAAC,UAAAC,KAAA;IAAA,IAAGF,UAAU,GAAAE,KAAA,CAAVF,UAAU;IAAA,OAAOA,UAAU;EAAA,EAAC;AAAA;AAAC,IAAAG,QAAA,GAAAC,OAAA,cAE1BX,qBAAqB"}
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.keys.js");
3
4
  require("core-js/modules/es.symbol.js");
4
5
  require("core-js/modules/es.array.filter.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
5
8
  require("core-js/modules/es.array.for-each.js");
9
+ require("core-js/modules/web.dom-collections.for-each.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
11
  require("core-js/modules/es.object.define-properties.js");
7
12
  require("core-js/modules/es.object.define-property.js");
8
- require("core-js/modules/es.object.get-own-property-descriptor.js");
9
- require("core-js/modules/es.object.get-own-property-descriptors.js");
10
- require("core-js/modules/es.object.keys.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/web.dom-collections.for-each.js");
13
13
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
14
  Object.defineProperty(exports, "__esModule", {
15
15
  value: true
@@ -1 +1 @@
1
- {"version":3,"file":"get-generic-props.js","names":["_getDictionaryMatch","_interopRequireDefault","require","_constants","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getGenericProps","props","undefined","propsSchema","itemsPerRow","gridModifier","getDictionaryMatch","_default","exports"],"sources":["../../src/helpers/get-generic-props.js"],"sourcesContent":["import getDictionaryMatch from './get-dictionary-match';\nimport { propsSchema } from './entities/constants';\n\nfunction getGenericProps(props = propsSchema) {\n const { itemsPerRow } = props;\n const gridModifier = getDictionaryMatch(itemsPerRow);\n\n return { gridModifier, ...props };\n}\n\nexport default getGenericProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAAmD,SAAAE,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAA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","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","getGenericProps","props","undefined","propsSchema","itemsPerRow","gridModifier","getDictionaryMatch","_default","exports"],"sources":["../../src/helpers/get-generic-props.js"],"sourcesContent":["import getDictionaryMatch from './get-dictionary-match';\nimport { propsSchema } from './entities/constants';\n\nfunction getGenericProps(props = propsSchema) {\n const { itemsPerRow } = props;\n const gridModifier = getDictionaryMatch(itemsPerRow);\n\n return { gridModifier, ...props };\n}\n\nexport default getGenericProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAAmD,SAAAE,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAJ,CAAA,OAAAG,MAAA,CAAAE,qBAAA,QAAAC,CAAA,GAAAH,MAAA,CAAAE,qBAAA,CAAAL,CAAA,GAAAC,CAAA,KAAAK,CAAA,GAAAA,CAAA,CAAAC,MAAA,WAAAN,CAAA,WAAAE,MAAA,CAAAK,wBAAA,CAAAR,CAAA,EAAAC,CAAA,EAAAQ,UAAA,OAAAP,CAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,CAAA,EAAAI,CAAA,YAAAJ,CAAA;AAAA,SAAAU,cAAAZ,CAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAY,SAAA,CAAAC,MAAA,EAAAb,CAAA,UAAAC,CAAA,WAAAW,SAAA,CAAAZ,CAAA,IAAAY,SAAA,CAAAZ,CAAA,QAAAA,CAAA,OAAAF,OAAA,CAAAI,MAAA,CAAAD,CAAA,OAAAa,OAAA,WAAAd,CAAA,QAAAe,gBAAA,aAAAhB,CAAA,EAAAC,CAAA,EAAAC,CAAA,CAAAD,CAAA,SAAAE,MAAA,CAAA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