@newskit-render/my-account 7.138.2 → 7.139.1-4e2ed3612.11

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 (352) hide show
  1. package/dist/cjs/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.d.ts +6 -0
  2. package/dist/cjs/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js +66 -0
  3. package/dist/cjs/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js.map +1 -0
  4. package/dist/cjs/Components/Elements/CancelSubscriptionModal/index.d.ts +1 -0
  5. package/dist/cjs/Components/Elements/CancelSubscriptionModal/index.js +18 -0
  6. package/dist/cjs/Components/Elements/CancelSubscriptionModal/index.js.map +1 -0
  7. package/dist/cjs/Components/Elements/CancellationPolicy/CancellationPolicy.d.ts +13 -0
  8. package/dist/cjs/Components/Elements/CancellationPolicy/CancellationPolicy.js +36 -0
  9. package/dist/cjs/Components/Elements/CancellationPolicy/CancellationPolicy.js.map +1 -0
  10. package/dist/cjs/Components/Elements/CancellationPolicy/index.d.ts +1 -0
  11. package/dist/cjs/Components/Elements/CancellationPolicy/index.js +6 -0
  12. package/dist/cjs/Components/Elements/CancellationPolicy/index.js.map +1 -0
  13. package/dist/cjs/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.d.ts +19 -0
  14. package/dist/cjs/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js +42 -0
  15. package/dist/cjs/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js.map +1 -0
  16. package/dist/cjs/Components/Elements/CancellationReasonSelector/index.d.ts +1 -0
  17. package/dist/cjs/Components/Elements/CancellationReasonSelector/index.js +6 -0
  18. package/dist/cjs/Components/Elements/CancellationReasonSelector/index.js.map +1 -0
  19. package/dist/cjs/Components/Elements/OfferGroup/Offer.d.ts +2 -0
  20. package/dist/cjs/Components/Elements/OfferGroup/Offer.js +29 -0
  21. package/dist/cjs/Components/Elements/OfferGroup/Offer.js.map +1 -0
  22. package/dist/cjs/Components/Elements/OfferGroup/OfferBody.d.ts +2 -0
  23. package/dist/cjs/Components/Elements/OfferGroup/OfferBody.js +29 -0
  24. package/dist/cjs/Components/Elements/OfferGroup/OfferBody.js.map +1 -0
  25. package/dist/cjs/Components/Elements/OfferGroup/OfferGroup.d.ts +2 -0
  26. package/dist/cjs/Components/Elements/OfferGroup/OfferGroup.js +26 -0
  27. package/dist/cjs/Components/Elements/OfferGroup/OfferGroup.js.map +1 -0
  28. package/dist/cjs/Components/Elements/OfferGroup/index.d.ts +4 -0
  29. package/dist/cjs/Components/Elements/OfferGroup/index.js +23 -0
  30. package/dist/cjs/Components/Elements/OfferGroup/index.js.map +1 -0
  31. package/dist/cjs/Components/Elements/OfferGroup/styled.d.ts +6 -0
  32. package/dist/cjs/Components/Elements/OfferGroup/styled.js +17 -0
  33. package/dist/cjs/Components/Elements/OfferGroup/styled.js.map +1 -0
  34. package/dist/cjs/Components/Elements/OfferGroup/types.d.ts +29 -0
  35. package/dist/cjs/Components/Elements/OfferGroup/types.js +3 -0
  36. package/dist/cjs/Components/Elements/OfferGroup/types.js.map +1 -0
  37. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.js +3 -2
  38. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.js.map +1 -1
  39. package/dist/cjs/Components/Elements/SectionListItem/types.d.ts +2 -0
  40. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
  41. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js +7 -46
  42. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
  43. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.js +1 -1
  44. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.js.map +1 -1
  45. package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.d.ts +2 -0
  46. package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.js +58 -0
  47. package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.js.map +1 -0
  48. package/dist/cjs/Components/Sections/CancellationOffers/index.d.ts +2 -0
  49. package/dist/cjs/Components/Sections/CancellationOffers/index.js +19 -0
  50. package/dist/cjs/Components/Sections/CancellationOffers/index.js.map +1 -0
  51. package/dist/cjs/Components/Sections/CancellationOffers/types.d.ts +33 -0
  52. package/dist/cjs/Components/Sections/CancellationOffers/types.js +3 -0
  53. package/dist/cjs/Components/Sections/CancellationOffers/types.js.map +1 -0
  54. package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js +1 -1
  55. package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
  56. package/dist/cjs/Components/Sections/ContentContainer/BelowContentExtra.js +1 -1
  57. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js +97 -54
  58. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  59. package/dist/cjs/Components/Sections/ContentContainer/PaginationButton.d.ts +11 -0
  60. package/dist/cjs/Components/Sections/ContentContainer/{InvoiceHistoryButton.js → PaginationButton.js} +13 -16
  61. package/dist/cjs/Components/Sections/ContentContainer/PaginationButton.js.map +1 -0
  62. package/dist/cjs/Components/Sections/ContentContainer/types.d.ts +6 -3
  63. package/dist/cjs/Components/Sections/Form/HolidayStop/HolidayStop.js +3 -1
  64. package/dist/cjs/Components/Sections/Form/HolidayStop/HolidayStop.js.map +1 -1
  65. package/dist/cjs/Components/Sections/Form/Vouchers/Vouchers.js +1 -1
  66. package/dist/cjs/Components/Sections/Form/Vouchers/Vouchers.js.map +1 -1
  67. package/dist/cjs/Components/Sections/SectionContainer/types.d.ts +2 -2
  68. package/dist/cjs/Components/Sections/UserHub/BaseSection.d.ts +3 -0
  69. package/dist/cjs/Components/Sections/UserHub/BaseSection.js +3 -3
  70. package/dist/cjs/Components/Sections/UserHub/BaseSection.js.map +1 -1
  71. package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js +12 -15
  72. package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
  73. package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.d.ts +6 -0
  74. package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.js +71 -0
  75. package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.js.map +1 -0
  76. package/dist/cjs/Components/Templates/CancellationStepperRender.d.ts +2 -0
  77. package/dist/cjs/Components/Templates/CancellationStepperRender.js +8 -4
  78. package/dist/cjs/Components/Templates/CancellationStepperRender.js.map +1 -1
  79. package/dist/cjs/Components/Templates/DisplayRenderer.js +1 -1
  80. package/dist/cjs/Components/Templates/DisplayRenderer.js.map +1 -1
  81. package/dist/cjs/Components/Templates/FamilyRender.js +7 -3
  82. package/dist/cjs/Components/Templates/FamilyRender.js.map +1 -1
  83. package/dist/cjs/Components/Templates/HolidayStopRender.js +4 -7
  84. package/dist/cjs/Components/Templates/HolidayStopRender.js.map +1 -1
  85. package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js +1 -1
  86. package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
  87. package/dist/cjs/Components/Templates/SunCancellationFlowRender.d.ts +3 -0
  88. package/dist/cjs/Components/Templates/SunCancellationFlowRender.js +103 -0
  89. package/dist/cjs/Components/Templates/SunCancellationFlowRender.js.map +1 -0
  90. package/dist/cjs/Components/Templates/UserHubRender.js +3 -1
  91. package/dist/cjs/Components/Templates/UserHubRender.js.map +1 -1
  92. package/dist/cjs/api/mutateHandlerHelpers.js +4 -4
  93. package/dist/cjs/api/mutateHandlerHelpers.js.map +1 -1
  94. package/dist/cjs/context/index.d.ts +3 -2
  95. package/dist/cjs/context/index.js +1 -0
  96. package/dist/cjs/context/index.js.map +1 -1
  97. package/dist/cjs/context/types.d.ts +22 -22
  98. package/dist/cjs/context/types.js +1 -0
  99. package/dist/cjs/context/types.js.map +1 -1
  100. package/dist/cjs/helpers/apiHandlerUtils.js +9 -1
  101. package/dist/cjs/helpers/apiHandlerUtils.js.map +1 -1
  102. package/dist/cjs/helpers/cancellationUtils.d.ts +1 -1
  103. package/dist/cjs/helpers/cancellationUtils.js +3 -3
  104. package/dist/cjs/helpers/cancellationUtils.js.map +1 -1
  105. package/dist/cjs/helpers/dataUtils.d.ts +2 -2
  106. package/dist/cjs/helpers/dataUtils.js +16 -11
  107. package/dist/cjs/helpers/dataUtils.js.map +1 -1
  108. package/dist/cjs/helpers/featureFlagUtils.js +1 -1
  109. package/dist/cjs/helpers/featureFlagUtils.js.map +1 -1
  110. package/dist/cjs/helpers/holidayStopsUtils.d.ts +4 -0
  111. package/dist/cjs/helpers/holidayStopsUtils.js +40 -13
  112. package/dist/cjs/helpers/holidayStopsUtils.js.map +1 -1
  113. package/dist/cjs/hooks/index.d.ts +1 -0
  114. package/dist/cjs/hooks/index.js +1 -0
  115. package/dist/cjs/hooks/index.js.map +1 -1
  116. package/dist/cjs/hooks/useCancelSubscriptionModal.d.ts +6 -0
  117. package/dist/cjs/hooks/useCancelSubscriptionModal.js +31 -0
  118. package/dist/cjs/hooks/useCancelSubscriptionModal.js.map +1 -0
  119. package/dist/cjs/index.d.ts +3 -1
  120. package/dist/cjs/index.js +1 -0
  121. package/dist/cjs/index.js.map +1 -1
  122. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js +191 -15
  123. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
  124. package/dist/cjs/pages/Family/FamilyContext.js +12 -0
  125. package/dist/cjs/pages/Family/FamilyContext.js.map +1 -1
  126. package/dist/cjs/pages/HolidayStop/HolidayStopContext.js +12 -27
  127. package/dist/cjs/pages/HolidayStop/HolidayStopContext.js.map +1 -1
  128. package/dist/cjs/pages/HolidayStopList/HolidayStopListContext.js +1 -1
  129. package/dist/cjs/pages/HolidayStopList/HolidayStopListContext.js.map +1 -1
  130. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +13 -0
  131. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -1
  132. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +46 -1
  133. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
  134. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlow.d.ts +7 -0
  135. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlow.js +34 -0
  136. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlow.js.map +1 -0
  137. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlowContext.d.ts +184 -0
  138. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlowContext.js +200 -0
  139. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlowContext.js.map +1 -0
  140. package/dist/cjs/pages/SunCancellationFlow/index.d.ts +1 -0
  141. package/dist/cjs/pages/SunCancellationFlow/index.js +18 -0
  142. package/dist/cjs/pages/SunCancellationFlow/index.js.map +1 -0
  143. package/dist/cjs/pages/UserHub/UserHub.js +1 -1
  144. package/dist/cjs/pages/UserHub/UserHub.js.map +1 -1
  145. package/dist/cjs/pages/UserHub/UserHubContext.js +64 -20
  146. package/dist/cjs/pages/UserHub/UserHubContext.js.map +1 -1
  147. package/dist/cjs/pages/types.d.ts +12 -0
  148. package/dist/cjs/providers/index.d.ts +1 -0
  149. package/dist/cjs/providers/index.js +1 -0
  150. package/dist/cjs/providers/index.js.map +1 -1
  151. package/dist/cjs/providers/sunCancellationProvider.d.ts +1 -0
  152. package/dist/cjs/providers/sunCancellationProvider.js +6 -0
  153. package/dist/cjs/providers/sunCancellationProvider.js.map +1 -0
  154. package/dist/cjs/queries/getContractPhases.d.ts +1 -0
  155. package/dist/cjs/queries/getContractPhases.js +11 -0
  156. package/dist/cjs/queries/getContractPhases.js.map +1 -0
  157. package/dist/cjs/queries/getPropositionFeatures.d.ts +1 -0
  158. package/dist/cjs/queries/getPropositionFeatures.js +11 -0
  159. package/dist/cjs/queries/getPropositionFeatures.js.map +1 -0
  160. package/dist/cjs/queries/getUserNewsletters.js +1 -1
  161. package/dist/cjs/queries/getUserNewsletters.js.map +1 -1
  162. package/dist/cjs/queries/getUserSubscription.js +3 -1
  163. package/dist/cjs/queries/getUserSubscription.js.map +1 -1
  164. package/dist/cjs/queries/getUserWithNewsletters.js +4 -1
  165. package/dist/cjs/queries/getUserWithNewsletters.js.map +1 -1
  166. package/dist/cjs/queries/index.d.ts +1 -0
  167. package/dist/cjs/queries/index.js +1 -0
  168. package/dist/cjs/queries/index.js.map +1 -1
  169. package/dist/cjs/queries/mutateCancelSubscriptionV2.d.ts +2 -0
  170. package/dist/cjs/queries/mutateCancelSubscriptionV2.js +11 -0
  171. package/dist/cjs/queries/mutateCancelSubscriptionV2.js.map +1 -0
  172. package/dist/cjs/queries/mutateCancellation.js +1 -1
  173. package/dist/cjs/queries/mutateCancellation.js.map +1 -1
  174. package/dist/esm/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.d.ts +6 -0
  175. package/dist/esm/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js +59 -0
  176. package/dist/esm/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js.map +1 -0
  177. package/dist/esm/Components/Elements/CancelSubscriptionModal/index.d.ts +1 -0
  178. package/dist/esm/Components/Elements/CancelSubscriptionModal/index.js +2 -0
  179. package/dist/esm/Components/Elements/CancelSubscriptionModal/index.js.map +1 -0
  180. package/dist/esm/Components/Elements/CancellationPolicy/CancellationPolicy.d.ts +13 -0
  181. package/dist/esm/Components/Elements/CancellationPolicy/CancellationPolicy.js +29 -0
  182. package/dist/esm/Components/Elements/CancellationPolicy/CancellationPolicy.js.map +1 -0
  183. package/dist/esm/Components/Elements/CancellationPolicy/index.d.ts +1 -0
  184. package/dist/esm/Components/Elements/CancellationPolicy/index.js +2 -0
  185. package/dist/esm/Components/Elements/CancellationPolicy/index.js.map +1 -0
  186. package/dist/esm/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.d.ts +19 -0
  187. package/dist/esm/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js +35 -0
  188. package/dist/esm/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js.map +1 -0
  189. package/dist/esm/Components/Elements/CancellationReasonSelector/index.d.ts +1 -0
  190. package/dist/esm/Components/Elements/CancellationReasonSelector/index.js +2 -0
  191. package/dist/esm/Components/Elements/CancellationReasonSelector/index.js.map +1 -0
  192. package/dist/esm/Components/Elements/OfferGroup/Offer.d.ts +2 -0
  193. package/dist/esm/Components/Elements/OfferGroup/Offer.js +22 -0
  194. package/dist/esm/Components/Elements/OfferGroup/Offer.js.map +1 -0
  195. package/dist/esm/Components/Elements/OfferGroup/OfferBody.d.ts +2 -0
  196. package/dist/esm/Components/Elements/OfferGroup/OfferBody.js +22 -0
  197. package/dist/esm/Components/Elements/OfferGroup/OfferBody.js.map +1 -0
  198. package/dist/esm/Components/Elements/OfferGroup/OfferGroup.d.ts +2 -0
  199. package/dist/esm/Components/Elements/OfferGroup/OfferGroup.js +19 -0
  200. package/dist/esm/Components/Elements/OfferGroup/OfferGroup.js.map +1 -0
  201. package/dist/esm/Components/Elements/OfferGroup/index.d.ts +4 -0
  202. package/dist/esm/Components/Elements/OfferGroup/index.js +5 -0
  203. package/dist/esm/Components/Elements/OfferGroup/index.js.map +1 -0
  204. package/dist/esm/Components/Elements/OfferGroup/styled.d.ts +6 -0
  205. package/dist/esm/Components/Elements/OfferGroup/styled.js +14 -0
  206. package/dist/esm/Components/Elements/OfferGroup/styled.js.map +1 -0
  207. package/dist/esm/Components/Elements/OfferGroup/types.d.ts +29 -0
  208. package/dist/esm/Components/Elements/OfferGroup/types.js +2 -0
  209. package/dist/esm/Components/Elements/OfferGroup/types.js.map +1 -0
  210. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.js +3 -2
  211. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.js.map +1 -1
  212. package/dist/esm/Components/Elements/SectionListItem/types.d.ts +2 -0
  213. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
  214. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js +9 -48
  215. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
  216. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.js +1 -1
  217. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.js.map +1 -1
  218. package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.d.ts +2 -0
  219. package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.js +51 -0
  220. package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.js.map +1 -0
  221. package/dist/esm/Components/Sections/CancellationOffers/index.d.ts +2 -0
  222. package/dist/esm/Components/Sections/CancellationOffers/index.js +3 -0
  223. package/dist/esm/Components/Sections/CancellationOffers/index.js.map +1 -0
  224. package/dist/esm/Components/Sections/CancellationOffers/types.d.ts +33 -0
  225. package/dist/esm/Components/Sections/CancellationOffers/types.js +2 -0
  226. package/dist/esm/Components/Sections/CancellationOffers/types.js.map +1 -0
  227. package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js +2 -2
  228. package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
  229. package/dist/esm/Components/Sections/ContentContainer/BelowContentExtra.js +1 -1
  230. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js +98 -55
  231. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  232. package/dist/esm/Components/Sections/ContentContainer/PaginationButton.d.ts +11 -0
  233. package/dist/esm/Components/Sections/ContentContainer/PaginationButton.js +37 -0
  234. package/dist/esm/Components/Sections/ContentContainer/PaginationButton.js.map +1 -0
  235. package/dist/esm/Components/Sections/ContentContainer/types.d.ts +6 -3
  236. package/dist/esm/Components/Sections/Form/HolidayStop/HolidayStop.js +3 -1
  237. package/dist/esm/Components/Sections/Form/HolidayStop/HolidayStop.js.map +1 -1
  238. package/dist/esm/Components/Sections/Form/Vouchers/Vouchers.js +2 -2
  239. package/dist/esm/Components/Sections/Form/Vouchers/Vouchers.js.map +1 -1
  240. package/dist/esm/Components/Sections/SectionContainer/types.d.ts +2 -2
  241. package/dist/esm/Components/Sections/UserHub/BaseSection.d.ts +3 -0
  242. package/dist/esm/Components/Sections/UserHub/BaseSection.js +1 -1
  243. package/dist/esm/Components/Sections/UserHub/BaseSection.js.map +1 -1
  244. package/dist/esm/Components/Sections/UserHub/NewslettersSection.js +12 -15
  245. package/dist/esm/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
  246. package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.d.ts +6 -0
  247. package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.js +64 -0
  248. package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.js.map +1 -0
  249. package/dist/esm/Components/Templates/CancellationStepperRender.d.ts +2 -0
  250. package/dist/esm/Components/Templates/CancellationStepperRender.js +8 -4
  251. package/dist/esm/Components/Templates/CancellationStepperRender.js.map +1 -1
  252. package/dist/esm/Components/Templates/DisplayRenderer.js +1 -1
  253. package/dist/esm/Components/Templates/DisplayRenderer.js.map +1 -1
  254. package/dist/esm/Components/Templates/FamilyRender.js +7 -3
  255. package/dist/esm/Components/Templates/FamilyRender.js.map +1 -1
  256. package/dist/esm/Components/Templates/HolidayStopRender.js +4 -7
  257. package/dist/esm/Components/Templates/HolidayStopRender.js.map +1 -1
  258. package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js +2 -2
  259. package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
  260. package/dist/esm/Components/Templates/SunCancellationFlowRender.d.ts +3 -0
  261. package/dist/esm/Components/Templates/SunCancellationFlowRender.js +78 -0
  262. package/dist/esm/Components/Templates/SunCancellationFlowRender.js.map +1 -0
  263. package/dist/esm/Components/Templates/UserHubRender.js +3 -1
  264. package/dist/esm/Components/Templates/UserHubRender.js.map +1 -1
  265. package/dist/esm/api/mutateHandlerHelpers.js +4 -4
  266. package/dist/esm/api/mutateHandlerHelpers.js.map +1 -1
  267. package/dist/esm/context/index.d.ts +3 -2
  268. package/dist/esm/context/index.js +1 -0
  269. package/dist/esm/context/index.js.map +1 -1
  270. package/dist/esm/context/types.d.ts +22 -22
  271. package/dist/esm/context/types.js +1 -0
  272. package/dist/esm/context/types.js.map +1 -1
  273. package/dist/esm/helpers/apiHandlerUtils.js +10 -2
  274. package/dist/esm/helpers/apiHandlerUtils.js.map +1 -1
  275. package/dist/esm/helpers/cancellationUtils.d.ts +1 -1
  276. package/dist/esm/helpers/cancellationUtils.js +3 -3
  277. package/dist/esm/helpers/cancellationUtils.js.map +1 -1
  278. package/dist/esm/helpers/dataUtils.d.ts +2 -2
  279. package/dist/esm/helpers/dataUtils.js +11 -6
  280. package/dist/esm/helpers/dataUtils.js.map +1 -1
  281. package/dist/esm/helpers/featureFlagUtils.js +1 -1
  282. package/dist/esm/helpers/featureFlagUtils.js.map +1 -1
  283. package/dist/esm/helpers/holidayStopsUtils.d.ts +4 -0
  284. package/dist/esm/helpers/holidayStopsUtils.js +36 -10
  285. package/dist/esm/helpers/holidayStopsUtils.js.map +1 -1
  286. package/dist/esm/hooks/index.d.ts +1 -0
  287. package/dist/esm/hooks/index.js +1 -0
  288. package/dist/esm/hooks/index.js.map +1 -1
  289. package/dist/esm/hooks/useCancelSubscriptionModal.d.ts +6 -0
  290. package/dist/esm/hooks/useCancelSubscriptionModal.js +27 -0
  291. package/dist/esm/hooks/useCancelSubscriptionModal.js.map +1 -0
  292. package/dist/esm/index.d.ts +3 -1
  293. package/dist/esm/index.js +1 -0
  294. package/dist/esm/index.js.map +1 -1
  295. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js +191 -15
  296. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
  297. package/dist/esm/pages/Family/FamilyContext.js +12 -0
  298. package/dist/esm/pages/Family/FamilyContext.js.map +1 -1
  299. package/dist/esm/pages/HolidayStop/HolidayStopContext.js +12 -27
  300. package/dist/esm/pages/HolidayStop/HolidayStopContext.js.map +1 -1
  301. package/dist/esm/pages/HolidayStopList/HolidayStopListContext.js +1 -1
  302. package/dist/esm/pages/HolidayStopList/HolidayStopListContext.js.map +1 -1
  303. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +13 -0
  304. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -1
  305. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +46 -1
  306. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
  307. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlow.d.ts +7 -0
  308. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlow.js +27 -0
  309. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlow.js.map +1 -0
  310. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlowContext.d.ts +184 -0
  311. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlowContext.js +197 -0
  312. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlowContext.js.map +1 -0
  313. package/dist/esm/pages/SunCancellationFlow/index.d.ts +1 -0
  314. package/dist/esm/pages/SunCancellationFlow/index.js +2 -0
  315. package/dist/esm/pages/SunCancellationFlow/index.js.map +1 -0
  316. package/dist/esm/pages/UserHub/UserHub.js +1 -1
  317. package/dist/esm/pages/UserHub/UserHub.js.map +1 -1
  318. package/dist/esm/pages/UserHub/UserHubContext.js +64 -20
  319. package/dist/esm/pages/UserHub/UserHubContext.js.map +1 -1
  320. package/dist/esm/pages/types.d.ts +12 -0
  321. package/dist/esm/providers/index.d.ts +1 -0
  322. package/dist/esm/providers/index.js +1 -0
  323. package/dist/esm/providers/index.js.map +1 -1
  324. package/dist/esm/providers/sunCancellationProvider.d.ts +1 -0
  325. package/dist/esm/providers/sunCancellationProvider.js +2 -0
  326. package/dist/esm/providers/sunCancellationProvider.js.map +1 -0
  327. package/dist/esm/queries/getContractPhases.d.ts +1 -0
  328. package/dist/esm/queries/getContractPhases.js +8 -0
  329. package/dist/esm/queries/getContractPhases.js.map +1 -0
  330. package/dist/esm/queries/getPropositionFeatures.d.ts +1 -0
  331. package/dist/esm/queries/getPropositionFeatures.js +8 -0
  332. package/dist/esm/queries/getPropositionFeatures.js.map +1 -0
  333. package/dist/esm/queries/getUserNewsletters.js +1 -1
  334. package/dist/esm/queries/getUserNewsletters.js.map +1 -1
  335. package/dist/esm/queries/getUserSubscription.js +3 -1
  336. package/dist/esm/queries/getUserSubscription.js.map +1 -1
  337. package/dist/esm/queries/getUserWithNewsletters.js +4 -1
  338. package/dist/esm/queries/getUserWithNewsletters.js.map +1 -1
  339. package/dist/esm/queries/index.d.ts +1 -0
  340. package/dist/esm/queries/index.js +1 -0
  341. package/dist/esm/queries/index.js.map +1 -1
  342. package/dist/esm/queries/mutateCancelSubscriptionV2.d.ts +2 -0
  343. package/dist/esm/queries/mutateCancelSubscriptionV2.js +8 -0
  344. package/dist/esm/queries/mutateCancelSubscriptionV2.js.map +1 -0
  345. package/dist/esm/queries/mutateCancellation.js +1 -1
  346. package/dist/esm/queries/mutateCancellation.js.map +1 -1
  347. package/package.json +7 -7
  348. package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.d.ts +0 -10
  349. package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +0 -1
  350. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.d.ts +0 -10
  351. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js +0 -40
  352. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +0 -1
@@ -145,6 +145,8 @@ export interface NewsletterDetails {
145
145
  customerId: string;
146
146
  isSubscribed: boolean;
147
147
  imageUrl: string;
148
+ landingPage: boolean;
149
+ landingPageDisplayOrder: number;
148
150
  featured: boolean;
149
151
  displayOrder: number;
150
152
  }
@@ -237,6 +239,16 @@ export interface UserData {
237
239
  invoiceHistory?: InvoiceHistory;
238
240
  entitlements?: UserEntitlements[];
239
241
  userCapabilities?: UserCapabilitiesDecisions;
242
+ customerNotifications?: CustomerNotification[];
243
+ }
244
+ export interface CustomerNotification {
245
+ type: string;
246
+ notifications: Notification[];
247
+ }
248
+ export interface Notification {
249
+ name: string;
250
+ lastModifiedDate: string;
251
+ downloadLink: string;
240
252
  }
241
253
  export type UserEntitlements = 'The Times Metered Access with 3 Articles a Month' | 'The Times Session Monitoring Feature' | 'The Times Site Product' | 'The Times Apple Podcast Product' | 'Email Bulletins Product' | 'The Sunday Times iPhone app product' | 'The Sunday Times Site Product ONLY' | 'The Times Group Account Feature' | 'The Sunday Times Mobi Product' | 'The Sunday Times iPad app product' | 'e-paper Product' | 'Daily Crossword Product' | 'saving' | 'The Sunday Times Site Product' | 'Sharing' | 'The Times Mobi Product' | 'The Times iPad app Product' | 'Digital Subscription Product' | 'commenting' | 'The Times iPhone app product' | 'Times+ membership benefits Product' | 'The Times Site Product ONLY' | 'Times Literary Supplement Digital Free' | 'The Times Metered Access 30 Articles Per Month' | 'Times Sports App' | 'The Times EPL Video Product';
242
254
  export type EntitlementsMap = {
@@ -8,6 +8,7 @@ export * from './personalDetailsProvider';
8
8
  export * from './paymentProvider';
9
9
  export * from './stepUpMfaProvider';
10
10
  export * from './subscriptionAndBillingProvider';
11
+ export * from './sunCancellationProvider';
11
12
  export * from './userPaymentInfoProvider';
12
13
  export * from './userNewslettersListProvider';
13
14
  export * from './types';
@@ -8,6 +8,7 @@ export * from './personalDetailsProvider';
8
8
  export * from './paymentProvider';
9
9
  export * from './stepUpMfaProvider';
10
10
  export * from './subscriptionAndBillingProvider';
11
+ export * from './sunCancellationProvider';
11
12
  export * from './userPaymentInfoProvider';
12
13
  export * from './userNewslettersListProvider';
13
14
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kCAAkC,CAAA;AAChD,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kCAAkC,CAAA;AAChD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,SAAS,CAAA"}
@@ -0,0 +1 @@
1
+ export declare const sunCancellationProvider: () => Promise<void>;
@@ -0,0 +1,2 @@
1
+ export var sunCancellationProvider = function () { return Promise.resolve(); };
2
+ //# sourceMappingURL=sunCancellationProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sunCancellationProvider.js","sourceRoot":"","sources":["../../../src/providers/sunCancellationProvider.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,uBAAuB,GAAG,cAAM,OAAA,OAAO,CAAC,OAAO,EAAE,EAAjB,CAAiB,CAAA"}
@@ -0,0 +1 @@
1
+ export declare const contractPhasesFragment: import("@apollo/client").DocumentNode;
@@ -0,0 +1,8 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { gql } from '@apollo/client';
6
+ export var contractPhasesFragment = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment contractPhasesFragment on Subscription {\n phases {\n type\n active\n currentPhase\n }\n }\n"], ["\n fragment contractPhasesFragment on Subscription {\n phases {\n type\n active\n currentPhase\n }\n }\n"])));
7
+ var templateObject_1;
8
+ //# sourceMappingURL=getContractPhases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContractPhases.js","sourceRoot":"","sources":["../../../src/queries/getContractPhases.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,sBAAsB,GAAG,GAAG,oMAAA,iIAQxC,IAAA,CAAA"}
@@ -0,0 +1 @@
1
+ export declare const propositionFeaturesFragment: import("@apollo/client").DocumentNode;
@@ -0,0 +1,8 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { gql } from '@apollo/client';
6
+ export var propositionFeaturesFragment = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment propositionFeaturesFragment on Proposition {\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"], ["\n fragment propositionFeaturesFragment on Proposition {\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"])));
7
+ var templateObject_1;
8
+ //# sourceMappingURL=getPropositionFeatures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPropositionFeatures.js","sourceRoot":"","sources":["../../../src/queries/getPropositionFeatures.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,2BAA2B,GAAG,GAAG,+QAAA,4MAW7C,IAAA,CAAA"}
@@ -3,6 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { gql } from '@apollo/client';
6
- export var GET_USER_NEWSLETTERS = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n featured\n displayOrder\n }\n }\n"], ["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n featured\n displayOrder\n }\n }\n"])));
6
+ export var GET_USER_NEWSLETTERS = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n landingPage\n landingPageDisplayOrder\n featured\n displayOrder\n }\n }\n"], ["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n landingPage\n landingPageDisplayOrder\n featured\n displayOrder\n }\n }\n"])));
7
7
  var templateObject_1;
8
8
  //# sourceMappingURL=getUserNewsletters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserNewsletters.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,oBAAoB,GAAG,GAAG,iaAAA,8VAqBtC,IAAA,CAAA"}
1
+ {"version":3,"file":"getUserNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserNewsletters.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEpC,MAAM,CAAC,IAAM,oBAAoB,GAAG,GAAG,mdAAA,gZAuBtC,IAAA,CAAA"}
@@ -5,6 +5,8 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
5
5
  import { gql } from '@apollo/client';
6
6
  import { invoiceHistoryFields } from './getInvoiceHistory';
7
7
  import { grantedIncentivesFragment } from './getUserIncentives';
8
- export var GET_USER_SUBSCRIPTION = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n phases {\n type\n active\n currentPhase\n }\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"], ["\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n phases {\n type\n active\n currentPhase\n }\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"])), invoiceHistoryFields, grantedIncentivesFragment);
8
+ import { contractPhasesFragment } from './getContractPhases';
9
+ import { propositionFeaturesFragment } from './getPropositionFeatures';
10
+ export var GET_USER_SUBSCRIPTION = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n ...propositionFeaturesFragment\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n customerNotifications {\n type\n notifications {\n name\n lastModifiedDate\n downloadLink\n }\n }\n }\n"], ["\n ", "\n ", "\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n ...propositionFeaturesFragment\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n customerNotifications {\n type\n notifications {\n name\n lastModifiedDate\n downloadLink\n }\n }\n }\n"])), invoiceHistoryFields, grantedIncentivesFragment, contractPhasesFragment, propositionFeaturesFragment);
9
11
  var templateObject_1;
10
12
  //# sourceMappingURL=getUserSubscription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAA;AAE/D,MAAM,CAAC,IAAM,qBAAqB,GAAG,GAAG,g7CAAA,MACpC,EAAoB,MACpB,EAAyB,61CAyE5B,KA1EG,oBAAoB,EACpB,yBAAyB,CAyE5B,CAAA"}
1
+ {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAEtE,MAAM,CAAC,IAAM,qBAAqB,GAAG,GAAG,g6CAAA,MACpC,EAAoB,MACpB,EAAyB,MACzB,EAAsB,MACtB,EAA2B,6zCAsE9B,KAzEG,oBAAoB,EACpB,yBAAyB,EACzB,sBAAsB,EACtB,2BAA2B,CAsE9B,CAAA"}
@@ -5,6 +5,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
5
5
  import { gql } from '@apollo/client';
6
6
  import { GET_USER_NEWSLETTERS } from './getUserNewsletters';
7
7
  import { GET_USER_ENTITLEMENTS } from './getUserEntitlements';
8
- export var GET_USER_WITH_NEWSLETTERS = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"], ["\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"])), GET_USER_NEWSLETTERS, GET_USER_ENTITLEMENTS);
8
+ import { contractPhasesFragment } from './getContractPhases';
9
+ import { propositionFeaturesFragment } from './getPropositionFeatures';
10
+ import { grantedIncentivesFragment } from './getUserIncentives';
11
+ export var GET_USER_WITH_NEWSLETTERS = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n price\n currency\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n propositionV2 {\n ...propositionFeaturesFragment\n }\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"], ["\n ", "\n ", "\n ", "\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n price\n currency\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n propositionV2 {\n ...propositionFeaturesFragment\n }\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"])), GET_USER_NEWSLETTERS, GET_USER_ENTITLEMENTS, contractPhasesFragment, propositionFeaturesFragment, grantedIncentivesFragment);
9
12
  var templateObject_1;
10
13
  //# sourceMappingURL=getUserWithNewsletters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserWithNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserWithNewsletters.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,MAAM,CAAC,IAAM,yBAAyB,GAAG,GAAG,mdAAA,MACxC,EAAoB,MACpB,EAAqB,gYAsBxB,KAvBG,oBAAoB,EACpB,qBAAqB,CAsBxB,CAAA"}
1
+ {"version":3,"file":"getUserWithNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserWithNewsletters.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAA;AAE/D,MAAM,CAAC,IAAM,yBAAyB,GAAG,GAAG,qpBAAA,MACxC,EAAoB,MACpB,EAAqB,MACrB,EAAsB,MACtB,EAA2B,MAC3B,EAAyB,0iBA6B5B,KAjCG,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,CA6B5B,CAAA"}
@@ -26,3 +26,4 @@ export * from './mutateSendFamilyMemberInvite';
26
26
  export * from './mutateSendFamilyMemberInviteV2';
27
27
  export * from './mutateUserBroadcasting';
28
28
  export * from './mutateCreateShareLink';
29
+ export * from './mutateCancelSubscriptionV2';
@@ -28,4 +28,5 @@ export * from './mutateSendFamilyMemberInvite';
28
28
  export * from './mutateSendFamilyMemberInviteV2';
29
29
  export * from './mutateUserBroadcasting';
30
30
  export * from './mutateCreateShareLink';
31
+ export * from './mutateCancelSubscriptionV2';
31
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/queries/index.ts"],"names":[],"mappings":"AAAA,MAAM;AAEN,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AAEtC,SAAS;AAET,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA;AACrC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,kCAAkC,CAAA;AAChD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,kCAAkC,CAAA;AAChD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/queries/index.ts"],"names":[],"mappings":"AAAA,MAAM;AAEN,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AAEtC,SAAS;AAET,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA;AACrC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,kCAAkC,CAAA;AAChD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,kCAAkC,CAAA;AAChD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from '@apollo/client';
2
+ export declare const mutateCancelSubscriptionV2: DocumentNode;
@@ -0,0 +1,8 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { gql } from '@apollo/client';
6
+ export var mutateCancelSubscriptionV2 = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: CancelSubscriptionV2Input!) {\n cancelSubscriptionV2(input: $input) {\n success\n errorMessage\n serviceCancellationDate\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionV2Input!) {\n cancelSubscriptionV2(input: $input) {\n success\n errorMessage\n serviceCancellationDate\n }\n }\n"])));
7
+ var templateObject_1;
8
+ //# sourceMappingURL=mutateCancelSubscriptionV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutateCancelSubscriptionV2.js","sourceRoot":"","sources":["../../../src/queries/mutateCancelSubscriptionV2.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAgB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAElD,MAAM,CAAC,IAAM,0BAA0B,GAAiB,GAAG,mPAAA,gLAQ1D,IAAA,CAAA"}
@@ -3,6 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { gql } from '@apollo/client';
6
- export var mutateCancellation = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n serviceCancellationDate\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n serviceCancellationDate\n }\n }\n"])));
6
+ export var mutateCancellation = gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n }\n }\n"])));
7
7
  var templateObject_1;
8
8
  //# sourceMappingURL=mutateCancellation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAgB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAElD,MAAM,CAAC,IAAM,kBAAkB,GAAiB,GAAG,0OAAA,uKAQlD,IAAA,CAAA"}
1
+ {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAgB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAElD,MAAM,CAAC,IAAM,kBAAkB,GAAiB,GAAG,2MAAA,wIAOlD,IAAA,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/my-account",
3
- "version": "7.138.2",
3
+ "version": "7.139.1-4e2ed3612.11+4e2ed3612",
4
4
  "description": "Newskit Render",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -22,7 +22,6 @@
22
22
  "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --color --fix && prettier --write './**/*.{js,jsx,ts,tsx,json}'",
23
23
  "precommit:lint": "eslint",
24
24
  "precommit": "lint-staged",
25
- "prepack": "yarn build",
26
25
  "clean": "rm -rf node_modules & rm -f package-lock.json & rm -f yarn.lock",
27
26
  "storybook": "start-storybook -p 6006",
28
27
  "build-storybook": "build-storybook"
@@ -35,14 +34,15 @@
35
34
  "@emotion/react": "11.9.3",
36
35
  "@emotion/styled": "11.9.3",
37
36
  "@hookform/resolvers": "2.9.10",
38
- "@newskit-render/api": "^1.16.64",
39
- "@newskit-render/feature-flags": "^1.13.2",
40
- "@newskit-render/shared-components": "^4.58.1",
41
- "@newskit-render/validation": "^1.20.24",
37
+ "@newskit-render/api": "^1.18.0",
38
+ "@newskit-render/feature-flags": "^1.15.0",
39
+ "@newskit-render/shared-components": "^4.58.2-4e2ed3612.13+4e2ed3612",
40
+ "@newskit-render/validation": "^1.22.1",
42
41
  "@stripe/react-stripe-js": "2.1.1",
43
42
  "@stripe/stripe-js": "1.54.1",
44
43
  "cross-fetch": "3.1.5",
45
44
  "date-fns": "4.1.0",
45
+ "date-fns-tz": "3.2.0",
46
46
  "graphql": "16.6.0",
47
47
  "lodash.assign": "4.2.0",
48
48
  "lodash.debounce": "4.0.8",
@@ -118,5 +118,5 @@
118
118
  "publishConfig": {
119
119
  "access": "public"
120
120
  },
121
- "gitHead": "3e9a5e275c24cfd8973ee3b628d5afd767987705"
121
+ "gitHead": "4e2ed36120606ea7beadd14aea8b1696f7620e05"
122
122
  }
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { MQ } from 'newskit';
3
- import { ContextName } from '../../../context/types';
4
- export interface InvoiceHistoryButtonProps {
5
- contextName: ContextName;
6
- currentInvoicePageSize: number;
7
- setCurrentInvoicePageSize: (size: number) => void;
8
- marginBlockEnd?: MQ<string>;
9
- }
10
- export declare const InvoiceHistoryButton: React.FC<InvoiceHistoryButtonProps>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceHistoryButton.js","sourceRoot":"","sources":["../../../../../src/Components/Sections/ContentContainer/InvoiceHistoryButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuC;AACvC,mCAA+D;AAC/D,4CAGyB;AACzB,uEAAoE;AAUpE,IAAM,WAAW,GAAG,CAAC,CAAA;AAEd,IAAM,oBAAoB,GAAwC,UAAC,EAKzE;;QAJC,WAAW,iBAAA,EACX,sBAAsB,4BAAA,EACtB,yBAAyB,+BAAA,EACzB,cAAc,oBAAA;IAEd,IAAM,cAAc,GAAG,IAAA,2BAAiB,EACtC,WAAW,CACwB,CAAA;IAEvB,IAAA,cAAc,GACxB,cAAc,wBADU,CACV;IACV,IAAA,SAAS,GAAK,IAAA,4BAAkB,GAAE,UAAzB,CAAyB;IAEpC,IAAA,KAA8B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAA;IAEnD,IAAM,YAAY,GAAG,CAAA,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,IAAI,0CAAE,OAAO,CAAC,MAAM,KAAI,CAAC,CAAA;IAC9D,IAAM,WAAW,GAAG,OAAO,CAAC,YAAY,GAAG,CAAC,CAAC,CAAA;IAE7C,IAAM,qBAAqB,GAAG;QAC5B,SAAS,CACP,IAAA,oCAAgB,EACd,mBAAmB,EACnB,0BAA0B,EAC1B,SAAS,EACT,SAAS,EACT,yBAAyB,EACzB,YAAY,CACb,CACF,CAAA;QAED,IAAM,YAAY,GAAG,sBAAsB,GAAG,WAAW,CAAA;QAEzD,IAAI,YAAY,IAAI,YAAY,EAAE,CAAC;YACjC,aAAa,CAAC,IAAI,CAAC,CAAA;QACrB,CAAC;QAED,yBAAyB,CAAC,YAAY,CAAC,CAAA;IACzC,CAAC,CAAA;IAED,IAAM,cAAc,GAAG;QACrB,SAAS,CACP,IAAA,oCAAgB,EACd,mBAAmB,EACnB,0BAA0B,EAC1B,SAAS,EACT,SAAS,EACT,yBAAyB,EACzB,YAAY,CACb,CACF,CAAA;QAED,aAAa,CAAC,KAAK,CAAC,CAAA;QACpB,yBAAyB,CAAC,WAAW,CAAC,CAAA;IACxC,CAAC,CAAA;IAED,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CACL,8BAAC,eAAK,IACJ,IAAI,EAAC,iBAAiB,EACtB,iBAAiB,EAAC,QAAQ,EAC1B,cAAc,EAAE,cAAc;QAE9B,8BAAC,gBAAM,IACL,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE;gBACT,WAAW,EAAE,gCAAgC;gBAC7C,aAAa,EAAE;oBACb,EAAE,EAAE,UAAU;oBACd,EAAE,EAAE,UAAU;iBACf;aACF,EACD,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,qBAAqB,IAE3D,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAC3B,CACH,CACT,CAAA;AACH,CAAC,CAAA;AAjFY,QAAA,oBAAoB,wBAiFhC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { MQ } from 'newskit';
3
- import { ContextName } from '../../../context/types';
4
- export interface InvoiceHistoryButtonProps {
5
- contextName: ContextName;
6
- currentInvoicePageSize: number;
7
- setCurrentInvoicePageSize: (size: number) => void;
8
- marginBlockEnd?: MQ<string>;
9
- }
10
- export declare const InvoiceHistoryButton: React.FC<InvoiceHistoryButtonProps>;
@@ -1,40 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { useInstrumentation, Button, Stack } from 'newskit';
3
- import { useAccountContext, } from '../../../context';
4
- import { createClickEvent } from '@newskit-render/shared-components';
5
- var minPageSize = 3;
6
- export var InvoiceHistoryButton = function (_a) {
7
- var _b;
8
- var contextName = _a.contextName, currentInvoicePageSize = _a.currentInvoicePageSize, setCurrentInvoicePageSize = _a.setCurrentInvoicePageSize, marginBlockEnd = _a.marginBlockEnd;
9
- var accountContext = useAccountContext(contextName);
10
- var invoiceHistory = accountContext.userData.invoiceHistory;
11
- var fireEvent = useInstrumentation().fireEvent;
12
- var _c = useState(false), isShowLess = _c[0], setIsShowLess = _c[1];
13
- var resultsCount = ((_b = invoiceHistory === null || invoiceHistory === void 0 ? void 0 : invoiceHistory.page) === null || _b === void 0 ? void 0 : _b.content.length) || 0;
14
- var hasNextPage = Boolean(resultsCount > 3);
15
- var handleMoreButtonClick = function () {
16
- fireEvent(createClickEvent('content-list-view', 'button : invoices : more', undefined, undefined, 'Subscriptions & Billing', 'navigation'));
17
- var nextPageSize = currentInvoicePageSize + minPageSize;
18
- if (nextPageSize >= resultsCount) {
19
- setIsShowLess(true);
20
- }
21
- setCurrentInvoicePageSize(nextPageSize);
22
- };
23
- var handleShowLess = function () {
24
- fireEvent(createClickEvent('content-list-view', 'button : invoices : less', undefined, undefined, 'Subscriptions & Billing', 'navigation'));
25
- setIsShowLess(false);
26
- setCurrentInvoicePageSize(minPageSize);
27
- };
28
- if (!hasNextPage) {
29
- return null;
30
- }
31
- return (React.createElement(Stack, { flow: "vertical-center", stackDistribution: "center", marginBlockEnd: marginBlockEnd },
32
- React.createElement(Button, { size: "medium", overrides: {
33
- stylePreset: 'buttonGroupOutlinedTransparent',
34
- paddingInline: {
35
- xs: 'space110',
36
- sm: 'space120',
37
- },
38
- }, onClick: isShowLess ? handleShowLess : handleMoreButtonClick }, isShowLess ? 'Show less' : 'More')));
39
- };
40
- //# sourceMappingURL=InvoiceHistoryButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceHistoryButton.js","sourceRoot":"","sources":["../../../../../src/Components/Sections/ContentContainer/InvoiceHistoryButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,KAAK,EAAM,MAAM,SAAS,CAAA;AAC/D,OAAO,EAEL,iBAAiB,GAClB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AAUpE,IAAM,WAAW,GAAG,CAAC,CAAA;AAErB,MAAM,CAAC,IAAM,oBAAoB,GAAwC,UAAC,EAKzE;;QAJC,WAAW,iBAAA,EACX,sBAAsB,4BAAA,EACtB,yBAAyB,+BAAA,EACzB,cAAc,oBAAA;IAEd,IAAM,cAAc,GAAG,iBAAiB,CACtC,WAAW,CACwB,CAAA;IAEvB,IAAA,cAAc,GACxB,cAAc,wBADU,CACV;IACV,IAAA,SAAS,GAAK,kBAAkB,EAAE,UAAzB,CAAyB;IAEpC,IAAA,KAA8B,QAAQ,CAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAA;IAEnD,IAAM,YAAY,GAAG,CAAA,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,IAAI,0CAAE,OAAO,CAAC,MAAM,KAAI,CAAC,CAAA;IAC9D,IAAM,WAAW,GAAG,OAAO,CAAC,YAAY,GAAG,CAAC,CAAC,CAAA;IAE7C,IAAM,qBAAqB,GAAG;QAC5B,SAAS,CACP,gBAAgB,CACd,mBAAmB,EACnB,0BAA0B,EAC1B,SAAS,EACT,SAAS,EACT,yBAAyB,EACzB,YAAY,CACb,CACF,CAAA;QAED,IAAM,YAAY,GAAG,sBAAsB,GAAG,WAAW,CAAA;QAEzD,IAAI,YAAY,IAAI,YAAY,EAAE,CAAC;YACjC,aAAa,CAAC,IAAI,CAAC,CAAA;QACrB,CAAC;QAED,yBAAyB,CAAC,YAAY,CAAC,CAAA;IACzC,CAAC,CAAA;IAED,IAAM,cAAc,GAAG;QACrB,SAAS,CACP,gBAAgB,CACd,mBAAmB,EACnB,0BAA0B,EAC1B,SAAS,EACT,SAAS,EACT,yBAAyB,EACzB,YAAY,CACb,CACF,CAAA;QAED,aAAa,CAAC,KAAK,CAAC,CAAA;QACpB,yBAAyB,CAAC,WAAW,CAAC,CAAA;IACxC,CAAC,CAAA;IAED,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CACL,oBAAC,KAAK,IACJ,IAAI,EAAC,iBAAiB,EACtB,iBAAiB,EAAC,QAAQ,EAC1B,cAAc,EAAE,cAAc;QAE9B,oBAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE;gBACT,WAAW,EAAE,gCAAgC;gBAC7C,aAAa,EAAE;oBACb,EAAE,EAAE,UAAU;oBACd,EAAE,EAAE,UAAU;iBACf;aACF,EACD,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,qBAAqB,IAE3D,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAC3B,CACH,CACT,CAAA;AACH,CAAC,CAAA"}