@moneylion/react-native-offer-carousel 1.8.4 → 1.9.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 (305) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js.map +1 -1
  3. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js.map +1 -1
  4. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/index.js.map +1 -1
  5. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js.map +1 -1
  6. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js.map +1 -1
  7. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js.map +1 -1
  8. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js.map +1 -1
  9. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -1
  10. package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js +1 -2
  11. package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.js.map +1 -1
  12. package/lib/commonjs/components/Button/index.js +1 -2
  13. package/lib/commonjs/components/Button/index.js.map +1 -1
  14. package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -1
  15. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js +1 -2
  16. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -1
  17. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js +1 -2
  18. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js.map +1 -1
  19. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +1 -2
  20. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -1
  21. package/lib/commonjs/components/DynamicOffers/Render/Offer.js +1 -2
  22. package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -1
  23. package/lib/commonjs/components/Modal/AllOffersModal.js +1 -2
  24. package/lib/commonjs/components/Modal/AllOffersModal.js.map +1 -1
  25. package/lib/commonjs/components/MoneyLionOfferCarousel.js +24 -4
  26. package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -1
  27. package/lib/commonjs/components/Skeleton/Skeleton.js +1 -2
  28. package/lib/commonjs/components/Skeleton/Skeleton.js.map +1 -1
  29. package/lib/commonjs/components/Touchable/index.js +1 -2
  30. package/lib/commonjs/components/Touchable/index.js.map +1 -1
  31. package/lib/commonjs/components/utils/errorUtils.js +18 -23
  32. package/lib/commonjs/components/utils/errorUtils.js.map +1 -1
  33. package/lib/commonjs/context/ConfigurationProvider.js +1 -2
  34. package/lib/commonjs/context/ConfigurationProvider.js.map +1 -1
  35. package/lib/commonjs/context/EventHandlerProvider.js +1 -2
  36. package/lib/commonjs/context/EventHandlerProvider.js.map +1 -1
  37. package/lib/commonjs/context/ThemeProvider.js +1 -2
  38. package/lib/commonjs/context/ThemeProvider.js.map +1 -1
  39. package/lib/commonjs/version.js +1 -1
  40. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.js.map +1 -1
  41. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.js.map +1 -1
  42. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/index.js +18 -19
  43. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/index.js.map +1 -1
  44. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.js.map +1 -1
  45. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.js.map +1 -1
  46. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.js.map +1 -1
  47. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.js.map +1 -1
  48. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -1
  49. package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -1
  50. package/lib/module/components/MoneyLionOfferCarousel.js +24 -3
  51. package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
  52. package/lib/module/components/utils/errorUtils.js +18 -23
  53. package/lib/module/components/utils/errorUtils.js.map +1 -1
  54. package/lib/module/version.js +1 -1
  55. package/lib/typescript/src/apiEnvironment.d.ts.map +1 -1
  56. package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -1
  57. package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -1
  58. package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +1 -1
  59. package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts +6 -0
  60. package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts.map +1 -1
  61. package/lib/typescript/src/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +1 -1
  62. package/lib/typescript/src/capabilities/errors/types/index.d.ts.map +1 -1
  63. package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts +2 -2
  64. package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -1
  65. package/lib/typescript/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -1
  66. package/lib/typescript/src/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -1
  67. package/lib/typescript/src/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -1
  68. package/lib/typescript/src/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +1 -1
  69. package/lib/typescript/src/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -1
  70. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -1
  71. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -1
  72. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -1
  73. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -1
  74. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -1
  75. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -1
  76. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -1
  77. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -1
  78. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts +18 -19
  79. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -1
  80. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -1
  81. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -1
  82. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -1
  83. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -1
  84. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -1
  85. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -1
  86. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -1
  87. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -1
  88. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -1
  89. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -1
  90. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -1
  91. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -1
  92. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +11 -11
  93. package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -1
  94. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +2 -2
  95. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -1
  96. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts +4 -4
  97. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -1
  98. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -1
  99. package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -1
  100. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -1
  101. package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts +1 -2
  102. package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -1
  103. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts +3 -3
  104. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -1
  105. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -1
  106. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -1
  107. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +7 -7
  108. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -1
  109. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -1
  110. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -1
  111. package/lib/typescript/src/components/Divider/index.d.ts.map +1 -1
  112. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +1 -1
  113. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -1
  114. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -1
  115. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -1
  116. package/lib/typescript/src/components/DynamicOffers/SeeAllButton.d.ts.map +1 -1
  117. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -1
  118. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -1
  119. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -1
  120. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -1
  121. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -1
  122. package/lib/typescript/src/components/Modal/AllOffersModal.d.ts.map +1 -1
  123. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -1
  124. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -1
  125. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +1 -1
  126. package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts +0 -1
  127. package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts.map +1 -1
  128. package/lib/typescript/src/components/utils/errorUtils.d.ts +3 -3
  129. package/lib/typescript/src/components/utils/errorUtils.d.ts.map +1 -1
  130. package/lib/typescript/src/context/ConfigurationProvider.d.ts.map +1 -1
  131. package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -1
  132. package/lib/typescript/src/services/getProductTypes.d.ts.map +1 -1
  133. package/lib/typescript/src/services/getProductTypesByQuery.d.ts.map +1 -1
  134. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -1
  135. package/lib/typescript/src/utils/formatOfferUrl.d.ts +39 -44
  136. package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -1
  137. package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -1
  138. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -1
  139. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +3 -3
  140. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -1
  141. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -1
  142. package/lib/typescript/src/utils/getThemeColors.d.ts.map +1 -1
  143. package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +1 -1
  144. package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +1 -1
  145. package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -1
  146. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -1
  147. package/lib/typescript/src/version.d.ts +1 -1
  148. package/package.json +79 -137
  149. package/src/capabilities/configuration/src/userData/types.ts +6 -0
  150. package/src/capabilities/errors/types/index.ts +4 -2
  151. package/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.ts +0 -1
  152. package/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.ts +0 -1
  153. package/src/capabilities/offer-catalog/src/utils/stats/formatters/index.ts +18 -19
  154. package/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.ts +0 -1
  155. package/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.ts +0 -1
  156. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.ts +0 -1
  157. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.ts +0 -1
  158. package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.ts +0 -1
  159. package/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.ts +1 -1
  160. package/src/capabilities/offers/pipeline/src/sources/ratetables/types/PublicApi.d.ts +1939 -1921
  161. package/src/components/Common/BaseOfferCard/Stat/index.tsx +1 -1
  162. package/src/components/Common/BaseOfferCard/index.tsx +0 -2
  163. package/src/components/MoneyLionOfferCarousel.tsx +42 -3
  164. package/src/components/utils/errorUtils.ts +17 -23
  165. package/src/version.ts +1 -1
  166. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js +0 -60
  167. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js.map +0 -1
  168. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js +0 -62
  169. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js.map +0 -1
  170. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js +0 -31
  171. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js.map +0 -1
  172. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js +0 -208
  173. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js.map +0 -1
  174. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js +0 -24
  175. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js.map +0 -1
  176. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js +0 -40
  177. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js.map +0 -1
  178. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js +0 -43
  179. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js.map +0 -1
  180. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js +0 -32
  181. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js.map +0 -1
  182. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js +0 -69
  183. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js.map +0 -1
  184. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js +0 -72
  185. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js.map +0 -1
  186. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js +0 -29
  187. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js.map +0 -1
  188. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js +0 -46
  189. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js.map +0 -1
  190. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js +0 -83
  191. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js.map +0 -1
  192. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js +0 -28
  193. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js.map +0 -1
  194. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js +0 -30
  195. package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js.map +0 -1
  196. package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js +0 -44
  197. package/lib/commonjs/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js.map +0 -1
  198. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js +0 -38
  199. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js.map +0 -1
  200. package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +0 -56
  201. package/lib/commonjs/components/Cards/VideosCard/VideosCard.js.map +0 -1
  202. package/lib/commonjs/components/Cards/index.js +0 -3
  203. package/lib/commonjs/components/Cards/index.js.map +0 -1
  204. package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js +0 -29
  205. package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +0 -1
  206. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js +0 -59
  207. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.js.map +0 -1
  208. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js +0 -61
  209. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.js.map +0 -1
  210. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js +0 -30
  211. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.js.map +0 -1
  212. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js +0 -207
  213. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.js.map +0 -1
  214. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js +0 -23
  215. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.js.map +0 -1
  216. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js +0 -39
  217. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.js.map +0 -1
  218. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js +0 -42
  219. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.js.map +0 -1
  220. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js +0 -31
  221. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.js.map +0 -1
  222. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js +0 -68
  223. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.js.map +0 -1
  224. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js +0 -71
  225. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.js.map +0 -1
  226. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js +0 -28
  227. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.js.map +0 -1
  228. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js +0 -45
  229. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.js.map +0 -1
  230. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js +0 -82
  231. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.js.map +0 -1
  232. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js +0 -27
  233. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.js.map +0 -1
  234. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js +0 -29
  235. package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.js.map +0 -1
  236. package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js +0 -43
  237. package/lib/module/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.js.map +0 -1
  238. package/lib/module/components/Cards/VideosCard/VideoContent.js +0 -37
  239. package/lib/module/components/Cards/VideosCard/VideoContent.js.map +0 -1
  240. package/lib/module/components/Cards/VideosCard/VideosCard.js +0 -55
  241. package/lib/module/components/Cards/VideosCard/VideosCard.js.map +0 -1
  242. package/lib/module/components/Cards/index.js +0 -2
  243. package/lib/module/components/Cards/index.js.map +0 -1
  244. package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js +0 -21
  245. package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +0 -1
  246. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts +0 -1
  247. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +0 -1
  248. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts +0 -1
  249. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +0 -1
  250. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts +0 -1
  251. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +0 -1
  252. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts +0 -1
  253. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +0 -1
  254. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts +0 -1
  255. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +0 -1
  256. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts +0 -1
  257. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +0 -1
  258. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts +0 -1
  259. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +0 -1
  260. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts +0 -1
  261. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +0 -1
  262. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts +0 -1
  263. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +0 -1
  264. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts +0 -1
  265. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +0 -1
  266. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts +0 -1
  267. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +0 -1
  268. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts +0 -1
  269. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +0 -1
  270. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts +0 -1
  271. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +0 -1
  272. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts +0 -1
  273. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +0 -1
  274. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts +0 -1
  275. package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +0 -1
  276. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts +0 -1
  277. package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +0 -1
  278. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts +0 -1
  279. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts.map +0 -1
  280. package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts +0 -1
  281. package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts.map +0 -1
  282. package/lib/typescript/src/components/Cards/index.d.ts +0 -1
  283. package/lib/typescript/src/components/Cards/index.d.ts.map +0 -1
  284. package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts +0 -3
  285. package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts.map +0 -1
  286. package/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.ts +0 -58
  287. package/src/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.ts +0 -60
  288. package/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.ts +0 -29
  289. package/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.ts +0 -206
  290. package/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.ts +0 -22
  291. package/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.ts +0 -38
  292. package/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.ts +0 -41
  293. package/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.ts +0 -30
  294. package/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.ts +0 -67
  295. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.ts +0 -70
  296. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.ts +0 -27
  297. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.ts +0 -44
  298. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.ts +0 -81
  299. package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.ts +0 -26
  300. package/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.ts +0 -28
  301. package/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.ts +0 -42
  302. package/src/components/Cards/VideosCard/VideoContent.tsx +0 -36
  303. package/src/components/Cards/VideosCard/VideosCard.tsx +0 -54
  304. package/src/components/Cards/index.ts +0 -1
  305. package/src/components/Common/BaseOfferCard/ThumbsUpIcon.tsx +0 -27
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ThumbsUpIcon = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const ThumbsUpIcon = () => /*#__PURE__*/_react.default.createElement("svg", {
10
- width: "13",
11
- height: "12",
12
- viewBox: "0 0 13 12",
13
- fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, /*#__PURE__*/_react.default.createElement("path", {
16
- d: "M12.8349 4.99359L12.0782 7.71044C11.9052 8.33122 11.4165 8.8054 10.8156 8.97501C10.5694 9.04451 10.3256 8.85546 10.3256 8.5996C10.3256 8.42574 10.4407 8.27334 10.6081 8.22597C10.9522 8.12787 11.2329 7.85591 11.3314 7.50307L12.0885 4.78622C12.1765 4.47516 12.109 4.13304 11.9122 3.87382C11.7151 3.61438 11.404 3.46421 11.0825 3.46421H7.93031C7.82148 3.46421 7.71779 3.41751 7.64517 3.33461C7.57254 3.2517 7.53634 3.14265 7.54662 3.03383L7.68137 1.63406C7.71266 1.32814 7.52093 1.043 7.22528 0.949597C7.14238 0.923675 7.07489 0.954737 7.04897 1.01708L6.5987 2.14802C6.51937 2.34713 6.31937 2.47718 6.10641 2.45484C5.94596 2.43808 5.84541 2.34042 5.813 2.15071C5.79021 2.01707 5.81122 1.87965 5.86641 1.75607L6.33345 0.711163C6.52004 0.291278 6.99177 0.0734024 7.42752 0.208373C8.09612 0.410383 8.51622 1.043 8.44874 1.71697L8.37388 2.49551C8.36405 2.59808 8.44449 2.68657 8.54729 2.68657H11.0773C11.6425 2.68657 12.1868 2.95606 12.5292 3.40723C12.8713 3.85818 12.9855 4.44924 12.8349 4.99359Z",
17
- fill: "black",
18
- fillOpacity: "0.6"
19
- }), /*#__PURE__*/_react.default.createElement("path", {
20
- d: "M9.76404 5.48096C9.42192 5.03001 8.87756 4.76029 8.31243 4.76029H5.59066L5.68384 3.79092C5.71982 3.4307 5.61681 3.08254 5.41077 2.80523C5.23133 2.56389 4.97391 2.37618 4.6624 2.2821C4.22687 2.14735 3.75514 2.36501 3.56833 2.78511L2.43292 5.36185H1.00723C0.509358 5.36185 0.0999756 5.77146 0.0999756 6.26911V9.28115C0.0999756 9.77903 0.509358 10.1889 1.00723 10.1889H2.56275L3.0966 10.5725C3.59447 10.9303 4.18039 11.1167 4.79201 11.1167H7.5607C8.37477 11.1167 9.09544 10.5674 9.31309 9.78439L10.07 7.06776C10.2203 6.52341 10.1064 5.93191 9.76404 5.48096ZM9.32337 6.86017L8.5665 9.57679C8.44204 10.0228 8.02751 10.339 7.5607 10.339H4.79201C4.34084 10.339 3.91045 10.1991 3.54777 9.93992L2.91515 9.48361C2.84766 9.43691 2.7699 9.41098 2.687 9.41098H1.00723C0.934606 9.41098 0.877623 9.354 0.877623 9.28138V6.26933C0.877623 6.19671 0.934606 6.13973 1.00723 6.13973V6.13459H2.687C2.75046 6.13459 2.81124 6.11917 2.86509 6.09101C2.94353 6.05056 3.00789 5.98397 3.04476 5.90107L4.28385 3.09103C4.30978 3.02891 4.37704 2.99785 4.46017 3.02377C4.60877 3.0707 4.731 3.16612 4.8119 3.28813C4.89257 3.40902 4.93212 3.55583 4.91648 3.70801L4.78173 5.10778C4.77122 5.21683 4.80743 5.32565 4.88027 5.40878C4.9196 5.4537 4.9681 5.48811 5.02195 5.51001C5.06687 5.52878 5.11558 5.53839 5.16564 5.53839H8.31757C8.63913 5.53839 8.95019 5.68856 9.14728 5.94777C9.34415 6.20699 9.41141 6.54888 9.32337 6.86017Z",
21
- fill: "black",
22
- fillOpacity: "0.6"
23
- }), /*#__PURE__*/_react.default.createElement("path", {
24
- d: "M3.03448 6.92743V8.52965C3.03448 8.74216 2.85817 8.91848 2.64565 8.91848C2.43314 8.91848 2.25661 8.74216 2.25661 8.52965V6.92743C2.25661 6.71492 2.43314 6.53861 2.64565 6.53861C2.72677 6.53861 2.80253 6.5643 2.86509 6.60788C2.96699 6.67849 3.03448 6.79603 3.03448 6.92743Z",
25
- fill: "black",
26
- fillOpacity: "0.6"
27
- }));
28
- exports.ThumbsUpIcon = ThumbsUpIcon;
29
- //# sourceMappingURL=ThumbsUpIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","e","__esModule","default","ThumbsUpIcon","createElement","width","height","viewBox","fill","xmlns","d","fillOpacity","exports"],"sourceRoot":"../../../../../src","sources":["components/Common/BaseOfferCard/ThumbsUpIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnB,MAAMG,YAAY,GAAGA,CAAA,kBAC3BN,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCC,KAAK,EAAC,IAAI;EACVC,MAAM,EAAC,IAAI;EACXC,OAAO,EAAC,WAAW;EACnBC,IAAI,EAAC,MAAM;EACXC,KAAK,EAAC;AAA4B,gBAElCZ,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCM,CAAC,EAAC,g+BAAg+B;EACl+BF,IAAI,EAAC,OAAO;EACZG,WAAW,EAAC;AAAK,CACjB,CAAC,eACFd,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCM,CAAC,EAAC,+2CAA+2C;EACj3CF,IAAI,EAAC,OAAO;EACZG,WAAW,EAAC;AAAK,CACjB,CAAC,eACFd,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCM,CAAC,EAAC,kRAAkR;EACpRF,IAAI,EAAC,OAAO;EACZG,WAAW,EAAC;AAAK,CACjB,CACG,CACL;AAACC,OAAA,CAAAT,YAAA,GAAAA,YAAA","ignoreList":[]}
@@ -1,59 +0,0 @@
1
- // import { describe, expect, it } from "vitest";
2
- // import { type BooleanStat, fromBooleanStat } from "./boolean";
3
-
4
- // describe("fromBooleanStat", () => {
5
- // it.each([
6
- // [
7
- // { isAvailable: true },
8
- // { format: "boolean", label: "Availability", fieldName: "isAvailable" },
9
- // { label: "Availability", content: "True" },
10
- // ],
11
- // [
12
- // { isAvailable: false },
13
- // { format: "boolean", label: "Availability", fieldName: "isAvailable" },
14
- // { label: "Availability", content: "False" },
15
- // ],
16
- // [
17
- // { isAvailable: true },
18
- // {
19
- // format: "boolean",
20
- // label: "Availability",
21
- // fieldName: "isAvailable",
22
- // trueValue: "In Stock",
23
- // },
24
- // { label: "Availability", content: "In Stock" },
25
- // ],
26
- // [
27
- // { isAvailable: false },
28
- // {
29
- // format: "boolean",
30
- // label: "Availability",
31
- // fieldName: "isAvailable",
32
- // falseValue: "Out of Stock",
33
- // },
34
- // { label: "Availability", content: "Out of Stock" },
35
- // ],
36
- // [
37
- // {},
38
- // { format: "boolean", label: "Availability", fieldName: "isAvailable" },
39
- // { label: "Availability", content: "False" },
40
- // ],
41
- // [
42
- // {},
43
- // {
44
- // format: "boolean",
45
- // label: "Availability",
46
- // fieldName: "isAvailable",
47
- // falseValue: "Unavailable",
48
- // },
49
- // { label: "Availability", content: "Unavailable" },
50
- // ],
51
- // ])(
52
- // "should return the correct content for offer %j and stat %j",
53
- // (offer, stats, expected) => {
54
- // const result = fromBooleanStat(offer as BaseOffer)(stats as BooleanStat);
55
- // expect(result).toEqual(expected);
56
- // }
57
- // );
58
- // });
59
- //# sourceMappingURL=boolean.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.ts"],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,61 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it } from 'vitest'
3
- // import { fromCommonStat } from './common'
4
-
5
- // describe('fromCommonStat', () => {
6
- // it.each([
7
- // [{ title: 'special offer' }, 'Offer Title', 'special offer'],
8
- // [{}, 'Missing Field', ''],
9
- // ])('should return the correct content for offer %j', (offer, label, content) => {
10
- // const result = fromCommonStat(offer as unknown as BaseOffer)({
11
- // label,
12
- // fieldName: 'title',
13
- // format: 'common',
14
- // })
15
- // expect(result).toEqual({
16
- // label,
17
- // content,
18
- // })
19
- // })
20
-
21
- // it.each([
22
- // [{ title: 'special offer' }, 'Static Value', 'Special offer'],
23
- // [{ title: 'limited time only' }, 'Description', 'Limited time only'],
24
- // ])(
25
- // 'should return the correct content for offer %j and capitalized',
26
- // (offer, label, content) => {
27
- // const result = fromCommonStat(offer as unknown as BaseOffer)({
28
- // label,
29
- // fieldName: 'title',
30
- // format: 'common',
31
- // capitalized: true,
32
- // })
33
- // expect(result).toEqual({
34
- // label,
35
- // content,
36
- // })
37
- // },
38
- // )
39
-
40
- // it.each([
41
- // [{ score: 600 }, '600'],
42
- // [{ score: undefined }, 'No minimum'],
43
- // ])(
44
- // 'should return the correct content for offer %j with the default value and fieldName',
45
- // (offer, content) => {
46
- // const result = fromCommonStat(offer as unknown as BaseOffer)({
47
- // label: 'Minimum Credit Score',
48
- // fieldName: 'score',
49
- // format: 'common',
50
- // defaultValue: 'No minimum',
51
- // capitalized: true,
52
- // })
53
-
54
- // expect(result).toEqual({
55
- // label: 'Minimum Credit Score',
56
- // content,
57
- // })
58
- // },
59
- // )
60
- // })
61
- //# sourceMappingURL=common.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/common.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,30 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it } from 'vitest'
3
- // import { creditBureaus } from './creditBureaus' // Update this to the correct file path
4
-
5
- // describe('creditBureaus', () => {
6
- // it.each([
7
- // [
8
- // { bureaus: ['Experian', 'Equifax', 'TransUnion'] },
9
- // 'Bureaus',
10
- // 'All 3 Major Bureaus',
11
- // ],
12
- // [{ bureaus: ['Experian', 'Equifax'] }, 'Bureaus', 'Experian & Equifax'],
13
- // [{ bureaus: ['Experian'] }, 'Bureaus', 'Experian'],
14
- // [{ bureaus: [] }, 'Bureaus', 'N/A'],
15
- // [{}, 'Bureaus', 'N/A'],
16
- // [{ bureaus: undefined }, 'Bureaus', 'N/A'],
17
- // [{ bureaus: null }, 'Bureaus', 'N/A'], // Added test case for null bureaus
18
- // ])('should return the correct content for offer %j', (offer, label, content) => {
19
- // const result = creditBureaus(offer as BaseOffer)({
20
- // label,
21
- // fieldName: 'bureaus',
22
- // format: 'BureausStat',
23
- // })
24
- // expect(result).toEqual({
25
- // label,
26
- // content,
27
- // })
28
- // })
29
- // })
30
- //# sourceMappingURL=creditBureaus.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,207 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it, vi } from 'vitest'
3
- // import {
4
- // type RangeCurrencyOrBasisStat,
5
- // fromRangeCurrencyOrBasisStat,
6
- // } from './currencyOrBasis'
7
-
8
- // const cashAdvanceOffer: BaseOffer = {
9
- // productVersions: [1],
10
- // descriptionPoints: [
11
- // 'Get approved instantly* for a Cash Advance from $10 to $300',
12
- // 'Pay no interest or late fees — there’s no credit check either',
13
- // 'Find out how much you qualify for now',
14
- // ],
15
- // fastTransferFeeBasisPointsMin: 0,
16
- // uuid: '952c00ee-c1ab-4f1e-91ba-06d1a2d53ab1',
17
- // amountCentsMax: 30000,
18
- // createdAt: '2024-09-23T07:38:25.339782Z',
19
- // internalName: 'Empower - Cash Advance',
20
- // unmonetizedUrl: 'https://empower.me/cashadvance/',
21
- // recommendationScore: 1,
22
- // monetizedUrl:
23
- // 'https://empower.onelink.me/GQnh/snwhc1rs?af_sub1=[LEAD_UUID]&af_sub2=[COMPANY_UUID]&af_sub4=network',
24
- // headline: 'Top-rated Empower app delivers up to $300 Cash Advances*',
25
- // productType: 'CashAdvance',
26
- // updatedAt: '2024-09-23T07:38:25.339782Z',
27
- // monthlyFeeCentsMin: 800,
28
- // fastTransferFeeCentsMax: 0,
29
- // version: 2,
30
- // url: 'https://offers.moneylion.com/ref/ee0e415f-ca65-440b-b9c1-301e25089a1f',
31
- // demandSubAccountUuid: '1fb97335-7793-4fab-90f2-be5f8b0bc29e',
32
- // legalLanguage:
33
- // '*Not everyone will qualify for a Cash Advance offer. Offer amounts range from $10 - $300. As of 3/31/2024, the average offer amount is $145. Instant delivery fees may apply. See Terms.',
34
- // fastTransferFeeBasisPointsMax: 0,
35
- // fastTransferFeeCentsMin: 0,
36
- // productDisplayName: 'Cash Advance',
37
- // monthlyFeeCentsMax: 800,
38
- // amountCentsMin: 1000,
39
- // demandSubAccountImageUrl:
40
- // 'https://s3.amazonaws.com/images.evenfinancial.com/logos/dev/empower_thrive_-_cpa-425-wtxnb6m5.svg',
41
- // status: 'active',
42
- // demandSubAccountDisplayName: 'Empower Thrive',
43
- // isMonetized: true,
44
- // financialInstitutionUuid: '1fb97335-7793-4fab-90f2-be5f8b0bc29e',
45
- // financialInstitutionImageUrl:
46
- // 'https://s3.amazonaws.com/images.evenfinancial.com/logos/dev/empower_thrive_-_cpa-425-wtxnb6m5.svg',
47
- // financialInstitutionDisplayName: 'Empower Thrive',
48
- // }
49
-
50
- // describe('fromRangeCurrencyOrBasisStat', () => {
51
- // const label = 'Test Label'
52
- // const options: RangeCurrencyOrBasisStat = {
53
- // format: 'rangeCurrencyOrBasis',
54
- // label,
55
- // initialFieldNameCurrency: 'monthlyFeeCentsMin',
56
- // endFieldNameCurrency: 'monthlyFeeCentsMax',
57
- // initialFieldNameBasisPoints: 'fastTransferFeeBasisPointsMin',
58
- // endFieldNameBasisPoints: 'fastTransferFeeBasisPointsMax',
59
- // }
60
-
61
- // // Mock the `get` function from 'radash'
62
- // vi.mock('radash', () => ({
63
- // get: (obj: any, path: string, defaultValue?: any) => {
64
- // const value = obj[path]
65
- // return value !== undefined ? value : defaultValue
66
- // },
67
- // }))
68
-
69
- // vi.mock('@capabilities/offer-catalog', () => {
70
- // const mockFormatRange = (
71
- // value1: number | undefined,
72
- // value2: number | undefined,
73
- // type: 'amount' | 'percentage',
74
- // ) => {
75
- // if (value1 == null && value2 == null) return 'N/A'
76
- // if (value1 === 0 && value2 === 0) return 'FREE'
77
- // if (value1 != null && value2 != null && value1 === value2)
78
- // return `${value1} ${type}`
79
- // if (value1 != null && value2 != null) return `${value1}-${value2} ${type}`
80
- // if (value1 != null) return `${value1} ${type}`
81
- // if (value2 != null) return `${value2} ${type}`
82
- // return 'N/A'
83
- // }
84
-
85
- // return {
86
- // formatRange: mockFormatRange,
87
- // }
88
- // })
89
-
90
- // it('returns formatted content based on cashAdvanceOffer data', () => {
91
- // const result = fromRangeCurrencyOrBasisStat(cashAdvanceOffer)(options)
92
- // expect(result).toEqual({ label, content: '800 amount' })
93
- // })
94
-
95
- // it('returns FREE when all relevant values are zero in cashAdvanceOffer', () => {
96
- // const offerWithZeros = {
97
- // ...cashAdvanceOffer,
98
- // monthlyFeeCentsMin: 0,
99
- // monthlyFeeCentsMax: 0,
100
- // fastTransferFeeBasisPointsMin: 0,
101
- // fastTransferFeeBasisPointsMax: 0,
102
- // }
103
- // const result = fromRangeCurrencyOrBasisStat(offerWithZeros)(options)
104
- // expect(result).toEqual({ label, content: 'FREE' })
105
- // })
106
-
107
- // it('returns N/A when all relevant values are undefined in cashAdvanceOffer', () => {
108
- // const offerWithUndefineds = {
109
- // ...cashAdvanceOffer,
110
- // monthlyFeeCentsMin: undefined,
111
- // monthlyFeeCentsMax: undefined,
112
- // fastTransferFeeBasisPointsMin: undefined,
113
- // fastTransferFeeBasisPointsMax: undefined,
114
- // }
115
- // const result = fromRangeCurrencyOrBasisStat(offerWithUndefineds)(options)
116
- // expect(result).toEqual({ label, content: 'N/A' })
117
- // })
118
-
119
- // it('returns basis points range when currency values are zero', () => {
120
- // const offerWithZeroCurrency = {
121
- // ...cashAdvanceOffer,
122
- // monthlyFeeCentsMin: 0,
123
- // monthlyFeeCentsMax: 0,
124
- // fastTransferFeeBasisPointsMin: 100,
125
- // fastTransferFeeBasisPointsMax: 200,
126
- // }
127
- // const result = fromRangeCurrencyOrBasisStat(offerWithZeroCurrency)(options)
128
- // expect(result).toEqual({ label, content: '100-200 percentage' })
129
- // })
130
-
131
- // it('returns both currency and basis points ranges when both are defined', () => {
132
- // const offerWithAllValues = {
133
- // ...cashAdvanceOffer,
134
- // monthlyFeeCentsMin: 500,
135
- // monthlyFeeCentsMax: 1000,
136
- // fastTransferFeeBasisPointsMin: 50,
137
- // fastTransferFeeBasisPointsMax: 75,
138
- // }
139
- // const result = fromRangeCurrencyOrBasisStat(offerWithAllValues)(options)
140
- // expect(result).toEqual({
141
- // label,
142
- // content: '500-1000 amount or 50-75 percentage',
143
- // })
144
- // })
145
-
146
- // it('handles single value ranges for currency in cashAdvanceOffer', () => {
147
- // const offerWithSingleCurrency = {
148
- // ...cashAdvanceOffer,
149
- // monthlyFeeCentsMin: 600,
150
- // monthlyFeeCentsMax: 600,
151
- // }
152
- // const result = fromRangeCurrencyOrBasisStat(offerWithSingleCurrency)(options)
153
- // expect(result).toEqual({ label, content: '600 amount' })
154
- // })
155
-
156
- // it('handles missing end values gracefully in cashAdvanceOffer', () => {
157
- // const offerWithMissingEndValues = {
158
- // ...cashAdvanceOffer,
159
- // monthlyFeeCentsMin: 700,
160
- // monthlyFeeCentsMax: undefined,
161
- // fastTransferFeeBasisPointsMin: 25,
162
- // fastTransferFeeBasisPointsMax: undefined,
163
- // }
164
- // const result = fromRangeCurrencyOrBasisStat(offerWithMissingEndValues)(options)
165
- // expect(result).toEqual({
166
- // label,
167
- // content: '700 amount or 25 percentage',
168
- // })
169
- // })
170
-
171
- // it('excludes FREE or N/A from content if formatRange returns them', () => {
172
- // const offerWithFreeCurrency = {
173
- // ...cashAdvanceOffer,
174
- // monthlyFeeCentsMin: 0,
175
- // monthlyFeeCentsMax: 0,
176
- // fastTransferFeeBasisPointsMin: 15,
177
- // fastTransferFeeBasisPointsMax: 15,
178
- // }
179
- // const result = fromRangeCurrencyOrBasisStat(offerWithFreeCurrency)(options)
180
- // expect(result).toEqual({ label, content: '15 percentage' })
181
- // })
182
-
183
- // it('prefers basis points when currency comparison is FREE or N/A', () => {
184
- // const offerWithNoCurrency = {
185
- // ...cashAdvanceOffer,
186
- // monthlyFeeCentsMin: undefined,
187
- // monthlyFeeCentsMax: undefined,
188
- // fastTransferFeeBasisPointsMin: 20,
189
- // fastTransferFeeBasisPointsMax: 25,
190
- // }
191
- // const result = fromRangeCurrencyOrBasisStat(offerWithNoCurrency)(options)
192
- // expect(result).toEqual({ label, content: '20-25 percentage' })
193
- // })
194
-
195
- // it('returns N/A when formatRange returns N/A for both currency and basis points', () => {
196
- // const offerWithNoValues = {
197
- // ...cashAdvanceOffer,
198
- // monthlyFeeCentsMin: undefined,
199
- // monthlyFeeCentsMax: undefined,
200
- // fastTransferFeeBasisPointsMin: undefined,
201
- // fastTransferFeeBasisPointsMax: undefined,
202
- // }
203
- // const result = fromRangeCurrencyOrBasisStat(offerWithNoValues)(options)
204
- // expect(result).toEqual({ label, content: 'N/A' })
205
- // })
206
- // })
207
- //# sourceMappingURL=currencyOrBasis.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it } from 'vitest'
3
- // import { fromFreeTrialStat } from './freeTrialDays' // Update this to the correct file path
4
-
5
- // describe('fromFreeTrialStat', () => {
6
- // it.each([
7
- // [{ freeTrialDays: 14 }, 'Free Trial', '14 Days'],
8
- // [{ freeTrialDays: 0 }, 'Free Trial', 'No'],
9
- // [{}, 'Free Trial', 'No'],
10
- // [{ freeTrialDays: undefined }, 'Free Trial', 'No'],
11
- // [{ freeTrialDays: 30 }, 'Try for Free', '30 Days'],
12
- // ])('should return the correct content for offer %j', (offer, label, content) => {
13
- // const result = fromFreeTrialStat(offer as BaseOffer)({
14
- // label,
15
- // format: 'freeTrial',
16
- // })
17
- // expect(result).toEqual({
18
- // label,
19
- // content,
20
- // })
21
- // })
22
- // })
23
- //# sourceMappingURL=freeTrialDays.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,39 +0,0 @@
1
- // import { describe, expect, it } from "vitest";
2
- // import type { BaseOffer } from "../../../types/offerCatalogSchema";
3
- // import { fromListStringWithAnd } from "./fromListStringWithAnd";
4
-
5
- // describe("creditBurauReports", () => {
6
- // it.each([
7
- // [
8
- // { creditBureauReporting: ["Experian", "Equifax", "TransUnion"] },
9
- // "Credit Bureau Reporting",
10
- // "Experian, Equifax & TransUnion",
11
- // ],
12
- // [
13
- // { creditBureauReporting: ["Experian", "Equifax"] },
14
- // "Credit Bureau Reporting",
15
- // "Experian & Equifax",
16
- // ],
17
- // [
18
- // { creditBureauReporting: ["Experian"] },
19
- // "Credit Bureau Reporting",
20
- // "Experian",
21
- // ],
22
- // [{ creditBureauReporting: [] }, "Credit Bureau Reporting", "N/A"],
23
- // [{ creditBureauReporting: undefined }, "Credit Bureau Reporting", "N/A"],
24
- // ])(
25
- // "should return the correct content for offer %j",
26
- // (offer, label, content) => {
27
- // const result = fromListStringWithAnd(offer as unknown as BaseOffer)({
28
- // // label,
29
- // format: "listStringWithAnd",
30
- // fieldName: "creditBureauReporting",
31
- // });
32
- // expect(result).toEqual({
33
- // label,
34
- // content,
35
- // });
36
- // }
37
- // );
38
- // });
39
- //# sourceMappingURL=fromListStringWithAnd.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,42 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it } from 'vitest'
3
- // import { fromMonthlyOrAnnualCurrencyStat } from './monthlyOrAnnualCurrency' // Update this to the correct file path
4
-
5
- // describe('fromMonthlyOrAnnualCurrencyStat', () => {
6
- // it.each([
7
- // [{}, 'Price', 'N/A'],
8
- // [{ monthlyPrice: 0, annualPrice: 0 }, 'Price', 'FREE'],
9
- // [{ monthlyPrice: 1500 }, 'Price', '$15 / Month'],
10
- // [{ annualPrice: 1200 }, 'Price', '$12 / Year'],
11
- // [{ monthlyPrice: 200, annualPrice: 200 }, 'Price', '$2 / Month'],
12
- // ])('should return the correct content for offer %j', (offer, label, content) => {
13
- // const result = fromMonthlyOrAnnualCurrencyStat(offer as BaseOffer)({
14
- // format: 'monthlyOrAnnualCurrency',
15
- // label: 'Price',
16
- // monthlyFieldName: 'monthlyPrice',
17
- // annualFieldName: 'annualPrice',
18
- // })
19
- // expect(result).toEqual({
20
- // label,
21
- // content,
22
- // })
23
- // })
24
-
25
- // it.each([
26
- // [{}, 'Price', 'No value'],
27
- // [{ monthlyPrice: 0, annualPrice: 0 }, 'Price', 'FREE'],
28
- // ])('should return the correct content for offer %j', (offer, label, content) => {
29
- // const result = fromMonthlyOrAnnualCurrencyStat(offer as BaseOffer)({
30
- // format: 'monthlyOrAnnualCurrency',
31
- // label: 'Price',
32
- // emptyValueContent: 'No value',
33
- // monthlyFieldName: 'monthlyPrice',
34
- // annualFieldName: 'annualPrice',
35
- // })
36
- // expect(result).toEqual({
37
- // label,
38
- // content,
39
- // })
40
- // })
41
- // })
42
- //# sourceMappingURL=monthlyOrAnnualCurrency.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,31 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it } from 'vitest'
3
- // import { fromPercentageStat } from './percentage'
4
-
5
- // describe('fromPercentageStat function', () => {
6
- // it.each([
7
- // [{}, 'Interest Rate', 'N/A'],
8
- // [{ interestRate: undefined }, 'Interest Rate', 'N/A'],
9
- // [{ interestRate: null }, 'Interest Rate', 'N/A'],
10
- // [{ interestRate: 0 }, 'Interest Rate', '0%'],
11
- // [{ interestRate: 50 }, 'Interest Rate', '0.5%'],
12
- // [{ interestRate: 100 }, 'Interest Rate', '1%'],
13
- // [{ interestRate: 123 }, 'Interest Rate', '1.23%'],
14
- // [{ interestRate: 500 }, 'Interest Rate', '5%'],
15
- // [{ interestRate: 750 }, 'Interest Rate', '7.5%'],
16
- // [{ interestRate: 1000 }, 'Interest Rate', '10%'],
17
- // [{ interestRate: 1234 }, 'Interest Rate', '12.34%'],
18
- // [{ interestRate: 10000 }, 'Interest Rate', '100%'],
19
- // ])('should return correct content for offer %j', (offer, label, expectedContent) => {
20
- // const result = fromPercentageStat(offer as BaseOffer)({
21
- // format: 'percentage',
22
- // label,
23
- // fieldName: 'interestRate',
24
- // })
25
- // expect(result).toEqual({
26
- // label,
27
- // content: expectedContent,
28
- // })
29
- // })
30
- // })
31
- //# sourceMappingURL=percentage.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,68 +0,0 @@
1
- // import type { BaseOffer } from '@capabilities/offer-catalog'
2
- // import { describe, expect, it } from 'vitest'
3
- // import { purchaseApr } from './purchaseApr'
4
-
5
- // describe('purchaseApr', () => {
6
- // it.each([
7
- // [
8
- // {
9
- // purchaseApr: '10%',
10
- // minPurchaseApr: null,
11
- // maxPurchaseApr: null,
12
- // aprType: 'fixed',
13
- // },
14
- // 'Fixed APR:',
15
- // '10%',
16
- // ],
17
- // [
18
- // {
19
- // purchaseApr: '10%',
20
- // minPurchaseApr: null,
21
- // maxPurchaseApr: null,
22
- // aprType: 'variable',
23
- // },
24
- // 'Variable APR:',
25
- // '10%',
26
- // ],
27
- // [
28
- // {
29
- // purchaseApr: null,
30
- // minPurchaseApr: 500,
31
- // maxPurchaseApr: 1000,
32
- // aprType: 'fixed',
33
- // },
34
- // 'Fixed APR:',
35
- // '5% - 10%',
36
- // ],
37
- // [
38
- // {
39
- // purchaseApr: null,
40
- // minPurchaseApr: null,
41
- // maxPurchaseApr: null,
42
- // aprType: 'variable',
43
- // },
44
- // 'Variable APR:',
45
- // 'See Terms',
46
- // ],
47
- // ])('returns %s when purchaseApr is %s', (offer, expected, content) => {
48
- // const result = purchaseApr({
49
- // ...offer,
50
- // purchaseApr: offer.purchaseApr ?? undefined,
51
- // minPurchaseApr: offer.minPurchaseApr ?? undefined,
52
- // maxPurchaseApr: offer.maxPurchaseApr ?? undefined,
53
- // } as unknown as BaseOffer)({
54
- // format: 'purchaseApr',
55
- // label: 'Purchase APR',
56
- // purchaseAprTextField: 'purchaseApr',
57
- // minPurchaseAprField: 'minPurchaseApr',
58
- // maxPurchaseAprField: 'maxPurchaseApr',
59
- // aprTypeField: 'aprType',
60
- // })
61
-
62
- // expect(result).toEqual({
63
- // label: expected,
64
- // content: content,
65
- // })
66
- // })
67
- // })
68
- //# sourceMappingURL=purchaseApr.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}