@ubnt/store.core 9.71.0-beta.5 → 10.0.0-beta.1

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 (1521) hide show
  1. package/CHANGELOG.md +103 -5063
  2. package/lib/_virtual/_virtual_multi-entry.js +110 -126
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.js +124 -133
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +124 -133
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/box.svg +3 -4
  11. package/lib/assets/close2.svg +2 -3
  12. package/lib/assets/hand.svg +5 -4
  13. package/lib/assets/icons/wizard/index.d.ts +0 -4
  14. package/lib/assets/icons/wizard/index.js +0 -4
  15. package/lib/assets/icons/wizard/index.js.map +1 -1
  16. package/lib/assets/icons/wizard/index.mjs +0 -4
  17. package/lib/assets/icons/wizard/index.mjs.map +1 -1
  18. package/lib/assets/icons/wizard/minus.svg.js +1 -1
  19. package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
  20. package/lib/assets/icons/wizard/plus.svg.js +1 -1
  21. package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
  22. package/lib/assets/keyFeatures/box.svg.js +1 -1
  23. package/lib/assets/keyFeatures/box.svg.mjs +2 -2
  24. package/lib/assets/keyFeatures/reload.svg.js +1 -1
  25. package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
  26. package/lib/assets/minus.svg +1 -14
  27. package/lib/assets/minus2.svg +3 -1
  28. package/lib/assets/minus3.svg +13 -2
  29. package/lib/assets/minus4.svg +8 -8
  30. package/lib/assets/minus5.svg +8 -8
  31. package/lib/assets/payment-card.svg +4 -11
  32. package/lib/assets/plus.svg +1 -22
  33. package/lib/assets/plus2.svg +22 -4
  34. package/lib/assets/plus3.svg +16 -1
  35. package/lib/assets/plus4.svg +15 -2
  36. package/lib/assets/reload.svg +2 -2
  37. package/lib/assets/reload2.svg +2 -2
  38. package/lib/assets/ucgFiber.jpg +0 -0
  39. package/lib/assets/ucgFiber2.jpg +0 -0
  40. package/lib/assets/ucgMax.jpg +0 -0
  41. package/lib/assets/ucgMax2.jpg +0 -0
  42. package/lib/assets/ucgUltra.jpg +0 -0
  43. package/lib/assets/ucgUltra2.jpg +0 -0
  44. package/lib/assets/udmProMax.jpg +0 -0
  45. package/lib/assets/udmProMax2.jpg +0 -0
  46. package/lib/assets/udmProSpecial.jpg +0 -0
  47. package/lib/assets/udmProSpecial2.jpg +0 -0
  48. package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
  49. package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
  50. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
  51. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
  52. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
  53. package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
  54. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
  55. package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
  56. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
  57. package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
  58. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
  59. package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
  60. package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
  61. package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
  62. package/lib/components/Header/Header.js +0 -4
  63. package/lib/components/Header/Header.js.map +1 -1
  64. package/lib/components/Header/Header.mjs +0 -4
  65. package/lib/components/Header/Header.mjs.map +1 -1
  66. package/lib/components/Header/Header.stories.d.ts +2 -3
  67. package/lib/components/Header/Header.styles.d.ts +1 -1
  68. package/lib/components/Header/Header.styles.js +2 -2
  69. package/lib/components/Header/Header.styles.js.map +1 -1
  70. package/lib/components/Header/Header.styles.mjs +2 -2
  71. package/lib/components/Header/Header.styles.mjs.map +1 -1
  72. package/lib/components/Header/Header.types.d.ts +0 -2
  73. package/lib/components/Header/Header.types.js.map +1 -1
  74. package/lib/components/Header/Header.types.mjs.map +1 -1
  75. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
  76. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
  77. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  78. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
  79. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  80. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
  81. package/lib/components/Header/ProHeader/ProHeader.d.ts +1 -1
  82. package/lib/components/Header/ProHeader/ProHeader.styles.js +4 -0
  83. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  84. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +4 -0
  85. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  86. package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
  87. package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
  88. package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
  89. package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
  90. package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
  91. package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
  92. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
  93. package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
  94. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
  95. package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
  96. package/lib/components/MicrositeBanner/index.d.ts +1 -0
  97. package/lib/components/MicrositeBanner/index.js +6 -0
  98. package/lib/components/MicrositeBanner/index.mjs +3 -0
  99. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
  100. package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
  101. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
  102. package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
  103. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
  104. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
  105. package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
  106. package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
  107. package/lib/components/MicrositeProgressCircle/index.js +6 -0
  108. package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
  109. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
  110. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
  111. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
  112. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
  113. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
  114. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
  115. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
  116. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgFiber.jpg.js +5 -5
  117. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgFiber.jpg.mjs +2 -2
  118. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  119. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  120. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  121. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  122. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  123. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  124. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  125. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  126. package/lib/components/ModelCompareV3/assets/Consoles/ucgFiber.jpg.js +1 -1
  127. package/lib/components/ModelCompareV3/assets/Consoles/ucgFiber.jpg.mjs +2 -2
  128. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  129. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  130. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  131. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  132. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  133. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  134. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  135. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  136. package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
  137. package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
  138. package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
  139. package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
  140. package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
  141. package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
  142. package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
  143. package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
  144. package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
  145. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
  146. package/lib/components/ModelCompareV3/data/products/ucgFiber.js +1 -1
  147. package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
  148. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  149. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  150. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  151. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  152. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  153. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  154. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  155. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  156. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
  157. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
  158. package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
  159. package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
  160. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
  161. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
  162. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  163. package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
  164. package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
  165. package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
  166. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
  167. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
  168. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
  169. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
  170. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  171. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
  172. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  173. package/lib/components/ProductTechSpecs/index.js +8 -0
  174. package/lib/components/ProductTechSpecs/index.mjs +4 -0
  175. package/lib/components/QuantityInput/QuantityInput.js +2 -2
  176. package/lib/components/QuantityInput/QuantityInput.mjs +2 -2
  177. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  178. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  179. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  180. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  181. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  182. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  183. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
  184. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  185. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  186. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  187. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  188. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  189. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  190. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  191. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  192. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  193. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  194. package/lib/components/index.d.ts +32 -38
  195. package/lib/components/index.js +98 -110
  196. package/lib/components/index.js.map +1 -1
  197. package/lib/components/index.mjs +98 -110
  198. package/lib/components/index.mjs.map +1 -1
  199. package/lib/constants/icons/generic/index.js +6 -6
  200. package/lib/constants/icons/generic/index.mjs +2 -2
  201. package/lib/constants/icons/generic/minus.svg.js +5 -5
  202. package/lib/constants/icons/generic/minus.svg.mjs +2 -2
  203. package/lib/constants/icons/generic/plus.svg.js +5 -5
  204. package/lib/constants/icons/generic/plus.svg.mjs +2 -2
  205. package/lib/constants/icons/index.d.ts +0 -1
  206. package/lib/constants/icons/index.js +0 -2
  207. package/lib/constants/icons/index.js.map +1 -1
  208. package/lib/constants/icons/index.mjs +0 -2
  209. package/lib/constants/icons/index.mjs.map +1 -1
  210. package/lib/constants/mixin.d.ts +0 -1
  211. package/lib/constants/mixin.js +0 -6
  212. package/lib/constants/mixin.js.map +1 -1
  213. package/lib/constants/mixin.mjs +1 -6
  214. package/lib/constants/mixin.mjs.map +1 -1
  215. package/lib/constants/shopify/keyFeatureIcons.js +2 -2
  216. package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
  217. package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
  218. package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
  219. package/lib/helpers/shopify/iconParsing.js.map +1 -1
  220. package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
  221. package/lib/utils/index.d.ts +1 -3
  222. package/lib/utils/index.js +6 -10
  223. package/lib/utils/index.js.map +1 -1
  224. package/lib/utils/index.mjs +6 -10
  225. package/lib/utils/index.mjs.map +1 -1
  226. package/lib/utils/money/allocators/fixedAmount.js +9 -17
  227. package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
  228. package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
  229. package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
  230. package/lib/utils/money/allocators/productAmount.js +38 -61
  231. package/lib/utils/money/allocators/productAmount.js.map +1 -1
  232. package/lib/utils/money/allocators/productAmount.mjs +38 -61
  233. package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
  234. package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
  235. package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
  236. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
  237. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
  238. package/package.json +1 -1
  239. package/lib/assets/accessApplication.svg +0 -394
  240. package/lib/assets/addToCart.svg +0 -3
  241. package/lib/assets/arrowRightMicro.svg +0 -3
  242. package/lib/assets/black.svg +0 -14
  243. package/lib/assets/blackFabric.png +0 -0
  244. package/lib/assets/blue.svg +0 -14
  245. package/lib/assets/box2.svg +0 -3
  246. package/lib/assets/camo.png +0 -0
  247. package/lib/assets/check3.svg +0 -3
  248. package/lib/assets/close3.svg +0 -3
  249. package/lib/assets/compare/fov-bullet.png.js +0 -27
  250. package/lib/assets/compare/fov-bullet.png.js.map +0 -1
  251. package/lib/assets/compare/fov-bullet.png.mjs +0 -3
  252. package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
  253. package/lib/assets/concrete.png +0 -0
  254. package/lib/assets/darkGrey.svg +0 -14
  255. package/lib/assets/design-uisp-mobile.png +0 -0
  256. package/lib/assets/design-uisp.png +0 -0
  257. package/lib/assets/design-unifi-mobile.png +0 -0
  258. package/lib/assets/design-unifi.png +0 -0
  259. package/lib/assets/fov-bullet.png +0 -0
  260. package/lib/assets/grey.svg +0 -13
  261. package/lib/assets/hand2.svg +0 -5
  262. package/lib/assets/icons/accessApplication.svg.js +0 -27
  263. package/lib/assets/icons/accessApplication.svg.js.map +0 -1
  264. package/lib/assets/icons/accessApplication.svg.mjs +0 -3
  265. package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
  266. package/lib/assets/icons/addToCart.svg.js +0 -27
  267. package/lib/assets/icons/addToCart.svg.js.map +0 -1
  268. package/lib/assets/icons/addToCart.svg.mjs +0 -3
  269. package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
  270. package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
  271. package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
  272. package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
  273. package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
  274. package/lib/assets/icons/link.svg.js +0 -27
  275. package/lib/assets/icons/link.svg.js.map +0 -1
  276. package/lib/assets/icons/link.svg.mjs +0 -3
  277. package/lib/assets/icons/link.svg.mjs.map +0 -1
  278. package/lib/assets/icons/networkApplication.svg.js +0 -27
  279. package/lib/assets/icons/networkApplication.svg.js.map +0 -1
  280. package/lib/assets/icons/networkApplication.svg.mjs +0 -3
  281. package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
  282. package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
  283. package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
  284. package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
  285. package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
  286. package/lib/assets/icons/payment-card.svg.js +0 -27
  287. package/lib/assets/icons/payment-card.svg.js.map +0 -1
  288. package/lib/assets/icons/payment-card.svg.mjs +0 -3
  289. package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
  290. package/lib/assets/icons/payment-google-pay.svg.js +0 -27
  291. package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
  292. package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
  293. package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
  294. package/lib/assets/icons/play-big.svg.js +0 -27
  295. package/lib/assets/icons/play-big.svg.js.map +0 -1
  296. package/lib/assets/icons/play-big.svg.mjs +0 -3
  297. package/lib/assets/icons/play-big.svg.mjs.map +0 -1
  298. package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
  299. package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
  300. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
  301. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
  302. package/lib/assets/icons/protectApplication.svg.js +0 -27
  303. package/lib/assets/icons/protectApplication.svg.js.map +0 -1
  304. package/lib/assets/icons/protectApplication.svg.mjs +0 -3
  305. package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
  306. package/lib/assets/icons/reload.svg.js +0 -27
  307. package/lib/assets/icons/reload.svg.js.map +0 -1
  308. package/lib/assets/icons/reload.svg.mjs +0 -3
  309. package/lib/assets/icons/reload.svg.mjs.map +0 -1
  310. package/lib/assets/icons/sliderThumb.svg.js +0 -27
  311. package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
  312. package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
  313. package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
  314. package/lib/assets/icons/talkApplication.svg.js +0 -27
  315. package/lib/assets/icons/talkApplication.svg.js.map +0 -1
  316. package/lib/assets/icons/talkApplication.svg.mjs +0 -3
  317. package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
  318. package/lib/assets/icons/wizard/box.svg.js +0 -27
  319. package/lib/assets/icons/wizard/box.svg.js.map +0 -1
  320. package/lib/assets/icons/wizard/box.svg.mjs +0 -3
  321. package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
  322. package/lib/assets/icons/wizard/hand.svg.js +0 -27
  323. package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
  324. package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
  325. package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
  326. package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
  327. package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
  328. package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
  329. package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
  330. package/lib/assets/icons/wizard/warranty.svg.js +0 -27
  331. package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
  332. package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
  333. package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
  334. package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
  335. package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
  336. package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
  337. package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
  338. package/lib/assets/landingPage/design-uisp.png.js +0 -27
  339. package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
  340. package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
  341. package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
  342. package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
  343. package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
  344. package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
  345. package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
  346. package/lib/assets/landingPage/design-unifi.png.js +0 -27
  347. package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
  348. package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
  349. package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
  350. package/lib/assets/landingPage/support-expert.png.js +0 -27
  351. package/lib/assets/landingPage/support-expert.png.js.map +0 -1
  352. package/lib/assets/landingPage/support-expert.png.mjs +0 -3
  353. package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
  354. package/lib/assets/landingPage/support-help.png.js +0 -27
  355. package/lib/assets/landingPage/support-help.png.js.map +0 -1
  356. package/lib/assets/landingPage/support-help.png.mjs +0 -3
  357. package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
  358. package/lib/assets/lightGrey.svg +0 -13
  359. package/lib/assets/link.svg +0 -3
  360. package/lib/assets/marble.png +0 -0
  361. package/lib/assets/networkApplication.svg +0 -21
  362. package/lib/assets/payment-apple-pay.svg +0 -12
  363. package/lib/assets/payment-card2.svg +0 -5
  364. package/lib/assets/payment-google-pay.svg +0 -1
  365. package/lib/assets/play-big.svg +0 -4
  366. package/lib/assets/plus5.svg +0 -16
  367. package/lib/assets/plus6.svg +0 -16
  368. package/lib/assets/popoverPointer.svg +0 -12
  369. package/lib/assets/previouslyPurchasedStar.svg +0 -3
  370. package/lib/assets/protectApplication.svg +0 -418
  371. package/lib/assets/reload3.svg +0 -3
  372. package/lib/assets/sliderThumb.svg +0 -5
  373. package/lib/assets/support-expert.png +0 -0
  374. package/lib/assets/support-help.png +0 -0
  375. package/lib/assets/talkApplication.svg +0 -45
  376. package/lib/assets/warranty.svg +0 -2
  377. package/lib/assets/white.svg +0 -13
  378. package/lib/assets/wood.png +0 -0
  379. package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
  380. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
  381. package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
  382. package/lib/components/AppDownloadBanner/index.d.ts +0 -1
  383. package/lib/components/Banner/Banner.d.ts +0 -2
  384. package/lib/components/Banner/Banner.js.map +0 -1
  385. package/lib/components/Banner/Banner.mjs.map +0 -1
  386. package/lib/components/Banner/Banner.styles.js.map +0 -1
  387. package/lib/components/Banner/Banner.styles.mjs.map +0 -1
  388. package/lib/components/Banner/index.d.ts +0 -1
  389. package/lib/components/Banner/index.js +0 -6
  390. package/lib/components/Banner/index.mjs +0 -3
  391. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  392. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  393. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
  394. package/lib/components/Breadcrumbs/index.d.ts +0 -1
  395. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
  396. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
  397. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
  398. package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
  399. package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
  400. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
  401. package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
  402. package/lib/components/CarouselGallery/index.d.ts +0 -1
  403. package/lib/components/CartIcon/CartIcon.js.map +0 -1
  404. package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
  405. package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
  406. package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
  407. package/lib/components/CartSummary/CartSummary.d.ts +0 -2
  408. package/lib/components/CartSummary/CartSummary.js +0 -58
  409. package/lib/components/CartSummary/CartSummary.js.map +0 -1
  410. package/lib/components/CartSummary/CartSummary.mjs +0 -56
  411. package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
  412. package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
  413. package/lib/components/CartSummary/CartSummary.styles.js +0 -133
  414. package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
  415. package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
  416. package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
  417. package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
  418. package/lib/components/CartSummary/index.d.ts +0 -1
  419. package/lib/components/CartSummary/index.js +0 -6
  420. package/lib/components/CartSummary/index.mjs +0 -3
  421. package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
  422. package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
  423. package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
  424. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
  425. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
  426. package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
  427. package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
  428. package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
  429. package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
  430. package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
  431. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
  432. package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
  433. package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
  434. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
  435. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
  436. package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
  437. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
  438. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
  439. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
  440. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
  441. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
  442. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
  443. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
  444. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
  445. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
  446. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
  447. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
  448. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
  449. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
  450. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
  451. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
  452. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
  453. package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
  454. package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
  455. package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
  456. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
  457. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
  458. package/lib/components/CloserLookSection/index.d.ts +0 -1
  459. package/lib/components/CloserLookSection/index.js +0 -7
  460. package/lib/components/CloserLookSection/index.js.map +0 -1
  461. package/lib/components/CloserLookSection/index.mjs +0 -3
  462. package/lib/components/CloserLookSection/index.mjs.map +0 -1
  463. package/lib/components/Compare/Compare.d.ts +0 -2
  464. package/lib/components/Compare/Compare.styles.d.ts +0 -38
  465. package/lib/components/Compare/Compare.types.d.ts +0 -34
  466. package/lib/components/Compare/CompareData.d.ts +0 -22
  467. package/lib/components/Compare/ProductTable.d.ts +0 -6
  468. package/lib/components/Compare/index.d.ts +0 -2
  469. package/lib/components/CompareChart/CompareChart.d.ts +0 -2
  470. package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
  471. package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
  472. package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
  473. package/lib/components/CompareChart/index.d.ts +0 -2
  474. package/lib/components/CompareSection/CompareSection.d.ts +0 -5
  475. package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
  476. package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
  477. package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
  478. package/lib/components/CompareSection/index.d.ts +0 -1
  479. package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
  480. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
  481. package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
  482. package/lib/components/DeploymentGallery/index.d.ts +0 -1
  483. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
  484. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
  485. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
  486. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
  487. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
  488. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
  489. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
  490. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
  491. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
  492. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
  493. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
  494. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
  495. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
  496. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
  497. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
  498. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
  499. package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
  500. package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
  501. package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
  502. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
  503. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
  504. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
  505. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
  506. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
  507. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
  508. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
  509. package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
  510. package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
  511. package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
  512. package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
  513. package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
  514. package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
  515. package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
  516. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
  517. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
  518. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
  519. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
  520. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
  521. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
  522. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
  523. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
  524. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
  525. package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
  526. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
  527. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
  528. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
  529. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
  530. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
  531. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
  532. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
  533. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
  534. package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
  535. package/lib/components/FeaturesSection_deprecated/index.js +0 -7
  536. package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
  537. package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
  538. package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
  539. package/lib/components/Gallery/Gallery.context.js +0 -141
  540. package/lib/components/Gallery/Gallery.context.js.map +0 -1
  541. package/lib/components/Gallery/Gallery.context.mjs +0 -138
  542. package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
  543. package/lib/components/Gallery/Gallery.js +0 -123
  544. package/lib/components/Gallery/Gallery.js.map +0 -1
  545. package/lib/components/Gallery/Gallery.mjs +0 -120
  546. package/lib/components/Gallery/Gallery.mjs.map +0 -1
  547. package/lib/components/Gallery/Gallery.styles.js +0 -86
  548. package/lib/components/Gallery/Gallery.styles.js.map +0 -1
  549. package/lib/components/Gallery/Gallery.styles.mjs +0 -73
  550. package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
  551. package/lib/components/Gallery/Gallery.types.js +0 -11
  552. package/lib/components/Gallery/Gallery.types.js.map +0 -1
  553. package/lib/components/Gallery/Gallery.types.mjs +0 -10
  554. package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
  555. package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
  556. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
  557. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
  558. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
  559. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
  560. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
  561. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
  562. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
  563. package/lib/components/Gallery/GalleryControls/index.js +0 -9
  564. package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
  565. package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
  566. package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
  567. package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
  568. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
  569. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
  570. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
  571. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
  572. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
  573. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
  574. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
  575. package/lib/components/Gallery/GalleryItem/index.js +0 -6
  576. package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
  577. package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
  578. package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
  579. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
  580. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
  581. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
  582. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
  583. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
  584. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
  585. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
  586. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
  587. package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
  588. package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
  589. package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
  590. package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
  591. package/lib/components/Gallery/index.js +0 -8
  592. package/lib/components/Gallery/index.mjs +0 -4
  593. package/lib/components/Gallery/utils.js +0 -9
  594. package/lib/components/Gallery/utils.js.map +0 -1
  595. package/lib/components/Gallery/utils.mjs +0 -8
  596. package/lib/components/Gallery/utils.mjs.map +0 -1
  597. package/lib/components/GridGallery/GridGallery.js +0 -197
  598. package/lib/components/GridGallery/GridGallery.js.map +0 -1
  599. package/lib/components/GridGallery/GridGallery.mjs +0 -189
  600. package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
  601. package/lib/components/GridGallery/GridGallery.styles.js +0 -132
  602. package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
  603. package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
  604. package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
  605. package/lib/components/GridGallery/GridGallery.types.js +0 -12
  606. package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
  607. package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
  608. package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
  609. package/lib/components/GridGallery/index.js +0 -6
  610. package/lib/components/GridGallery/index.js.map +0 -1
  611. package/lib/components/GridGallery/index.mjs +0 -3
  612. package/lib/components/GridGallery/index.mjs.map +0 -1
  613. package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
  614. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
  615. package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
  616. package/lib/components/Header/SearchTab/index.d.ts +0 -1
  617. package/lib/components/Hero/Hero.d.ts +0 -2
  618. package/lib/components/Hero/Hero.js +0 -158
  619. package/lib/components/Hero/Hero.js.map +0 -1
  620. package/lib/components/Hero/Hero.mjs +0 -146
  621. package/lib/components/Hero/Hero.mjs.map +0 -1
  622. package/lib/components/Hero/Hero.styles.d.ts +0 -44
  623. package/lib/components/Hero/Hero.styles.js +0 -349
  624. package/lib/components/Hero/Hero.styles.js.map +0 -1
  625. package/lib/components/Hero/Hero.styles.mjs +0 -320
  626. package/lib/components/Hero/Hero.styles.mjs.map +0 -1
  627. package/lib/components/Hero/Hero.types.d.ts +0 -31
  628. package/lib/components/Hero/Hero.types.js +0 -12
  629. package/lib/components/Hero/Hero.types.js.map +0 -1
  630. package/lib/components/Hero/Hero.types.mjs +0 -11
  631. package/lib/components/Hero/Hero.types.mjs.map +0 -1
  632. package/lib/components/Hero/index.d.ts +0 -1
  633. package/lib/components/Hero/index.js +0 -6
  634. package/lib/components/Hero/index.js.map +0 -1
  635. package/lib/components/Hero/index.mjs +0 -3
  636. package/lib/components/Hero/index.mjs.map +0 -1
  637. package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
  638. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
  639. package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
  640. package/lib/components/HeroFadeGallery/index.d.ts +0 -1
  641. package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
  642. package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
  643. package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
  644. package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
  645. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
  646. package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
  647. package/lib/components/HowToUseSection/index.d.ts +0 -1
  648. package/lib/components/ImageModal/ImageModal.d.ts +0 -2
  649. package/lib/components/ImageModal/ImageModal.js +0 -42
  650. package/lib/components/ImageModal/ImageModal.js.map +0 -1
  651. package/lib/components/ImageModal/ImageModal.mjs +0 -40
  652. package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
  653. package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
  654. package/lib/components/ImageModal/ImageModal.styles.js +0 -64
  655. package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
  656. package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
  657. package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
  658. package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
  659. package/lib/components/ImageModal/index.d.ts +0 -1
  660. package/lib/components/ImageModal/index.js +0 -6
  661. package/lib/components/ImageModal/index.js.map +0 -1
  662. package/lib/components/ImageModal/index.mjs +0 -3
  663. package/lib/components/ImageModal/index.mjs.map +0 -1
  664. package/lib/components/LandingPage/Block/Block.d.ts +0 -2
  665. package/lib/components/LandingPage/Block/Block.js +0 -38
  666. package/lib/components/LandingPage/Block/Block.js.map +0 -1
  667. package/lib/components/LandingPage/Block/Block.mjs +0 -36
  668. package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
  669. package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
  670. package/lib/components/LandingPage/Block/Block.styles.js +0 -37
  671. package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
  672. package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
  673. package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
  674. package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
  675. package/lib/components/LandingPage/Block/index.d.ts +0 -1
  676. package/lib/components/LandingPage/Block/index.js +0 -6
  677. package/lib/components/LandingPage/Block/index.js.map +0 -1
  678. package/lib/components/LandingPage/Block/index.mjs +0 -3
  679. package/lib/components/LandingPage/Block/index.mjs.map +0 -1
  680. package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
  681. package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
  682. package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
  683. package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
  684. package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
  685. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
  686. package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
  687. package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
  688. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
  689. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
  690. package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
  691. package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
  692. package/lib/components/LandingPage/Cards/Card/index.js +0 -6
  693. package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
  694. package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
  695. package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
  696. package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
  697. package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
  698. package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
  699. package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
  700. package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
  701. package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
  702. package/lib/components/LandingPage/Cards/Cards.js +0 -127
  703. package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
  704. package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
  705. package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
  706. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
  707. package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
  708. package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
  709. package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
  710. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
  711. package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
  712. package/lib/components/LandingPage/Cards/index.d.ts +0 -2
  713. package/lib/components/LandingPage/Cards/index.js +0 -8
  714. package/lib/components/LandingPage/Cards/index.js.map +0 -1
  715. package/lib/components/LandingPage/Cards/index.mjs +0 -4
  716. package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
  717. package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
  718. package/lib/components/LandingPage/LandingPage.constants.js +0 -40
  719. package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
  720. package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
  721. package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
  722. package/lib/components/LandingPage/LandingPage.d.ts +0 -2
  723. package/lib/components/LandingPage/LandingPage.js +0 -116
  724. package/lib/components/LandingPage/LandingPage.js.map +0 -1
  725. package/lib/components/LandingPage/LandingPage.mjs +0 -102
  726. package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
  727. package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
  728. package/lib/components/LandingPage/LandingPage.styles.js +0 -66
  729. package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
  730. package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
  731. package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
  732. package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
  733. package/lib/components/LandingPage/index.d.ts +0 -1
  734. package/lib/components/LandingPage/index.js +0 -6
  735. package/lib/components/LandingPage/index.js.map +0 -1
  736. package/lib/components/LandingPage/index.mjs +0 -3
  737. package/lib/components/LandingPage/index.mjs.map +0 -1
  738. package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
  739. package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
  740. package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
  741. package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
  742. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
  743. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
  744. package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
  745. package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
  746. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
  747. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
  748. package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
  749. package/lib/components/LandingPagePro/index.d.ts +0 -1
  750. package/lib/components/LandingPagePro/index.js +0 -6
  751. package/lib/components/LandingPagePro/index.js.map +0 -1
  752. package/lib/components/LandingPagePro/index.mjs +0 -3
  753. package/lib/components/LandingPagePro/index.mjs.map +0 -1
  754. package/lib/components/LandingPagePro/utils.d.ts +0 -12
  755. package/lib/components/LandingPagePro/utils.js +0 -26
  756. package/lib/components/LandingPagePro/utils.js.map +0 -1
  757. package/lib/components/LandingPagePro/utils.mjs +0 -24
  758. package/lib/components/LandingPagePro/utils.mjs.map +0 -1
  759. package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
  760. package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
  761. package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
  762. package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
  763. package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
  764. package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
  765. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
  766. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
  767. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
  768. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
  769. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
  770. package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
  771. package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
  772. package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
  773. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
  774. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
  775. package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
  776. package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
  777. package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
  778. package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
  779. package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
  780. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
  781. package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
  782. package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
  783. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
  784. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
  785. package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
  786. package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
  787. package/lib/components/LandingPageSearch/Modal/index.js +0 -6
  788. package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
  789. package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
  790. package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
  791. package/lib/components/LandingPageSearch/index.d.ts +0 -1
  792. package/lib/components/LandingPageSearch/index.js +0 -6
  793. package/lib/components/LandingPageSearch/index.js.map +0 -1
  794. package/lib/components/LandingPageSearch/index.mjs +0 -3
  795. package/lib/components/LandingPageSearch/index.mjs.map +0 -1
  796. package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
  797. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
  798. package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
  799. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
  800. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
  801. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
  802. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
  803. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
  804. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
  805. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
  806. package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
  807. package/lib/components/LandingPageSidebar/index.d.ts +0 -1
  808. package/lib/components/LandingPageSidebar/index.js +0 -6
  809. package/lib/components/LandingPageSidebar/index.js.map +0 -1
  810. package/lib/components/LandingPageSidebar/index.mjs +0 -3
  811. package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
  812. package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
  813. package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
  814. package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
  815. package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
  816. package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
  817. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
  818. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
  819. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
  820. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
  821. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
  822. package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
  823. package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
  824. package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
  825. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
  826. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
  827. package/lib/components/LayoutRenderer/index.d.ts +0 -2
  828. package/lib/components/LayoutRenderer/index.js +0 -6
  829. package/lib/components/LayoutRenderer/index.js.map +0 -1
  830. package/lib/components/LayoutRenderer/index.mjs +0 -3
  831. package/lib/components/LayoutRenderer/index.mjs.map +0 -1
  832. package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
  833. package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
  834. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
  835. package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
  836. package/lib/components/LayoutRendererV1/index.d.ts +0 -1
  837. package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
  838. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
  839. package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
  840. package/lib/components/LayoutRendererV2/index.d.ts +0 -1
  841. package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
  842. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
  843. package/lib/components/NewToUnifiBox/index.d.ts +0 -1
  844. package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
  845. package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
  846. package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
  847. package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
  848. package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
  849. package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
  850. package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
  851. package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
  852. package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
  853. package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
  854. package/lib/components/NormalisedImage/index.d.ts +0 -2
  855. package/lib/components/NormalisedImage/index.js +0 -7
  856. package/lib/components/NormalisedImage/index.js.map +0 -1
  857. package/lib/components/NormalisedImage/index.mjs +0 -4
  858. package/lib/components/NormalisedImage/index.mjs.map +0 -1
  859. package/lib/components/Pagination/Pagination.d.ts +0 -2
  860. package/lib/components/Pagination/Pagination.js +0 -71
  861. package/lib/components/Pagination/Pagination.js.map +0 -1
  862. package/lib/components/Pagination/Pagination.mjs +0 -69
  863. package/lib/components/Pagination/Pagination.mjs.map +0 -1
  864. package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
  865. package/lib/components/Pagination/Pagination.styles.js +0 -51
  866. package/lib/components/Pagination/Pagination.styles.js.map +0 -1
  867. package/lib/components/Pagination/Pagination.styles.mjs +0 -41
  868. package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
  869. package/lib/components/Pagination/Pagination.types.d.ts +0 -5
  870. package/lib/components/Pagination/index.d.ts +0 -2
  871. package/lib/components/Pagination/index.js +0 -6
  872. package/lib/components/Pagination/index.js.map +0 -1
  873. package/lib/components/Pagination/index.mjs +0 -3
  874. package/lib/components/Pagination/index.mjs.map +0 -1
  875. package/lib/components/Popover/Popover.d.ts +0 -20
  876. package/lib/components/Popover/Popover.js +0 -37
  877. package/lib/components/Popover/Popover.js.map +0 -1
  878. package/lib/components/Popover/Popover.mjs +0 -29
  879. package/lib/components/Popover/Popover.mjs.map +0 -1
  880. package/lib/components/Popover/Popover.styles.d.ts +0 -15
  881. package/lib/components/Popover/Popover.styles.js +0 -122
  882. package/lib/components/Popover/Popover.styles.js.map +0 -1
  883. package/lib/components/Popover/Popover.styles.mjs +0 -111
  884. package/lib/components/Popover/Popover.styles.mjs.map +0 -1
  885. package/lib/components/Popover/Popover.types.d.ts +0 -8
  886. package/lib/components/Popover/index.d.ts +0 -1
  887. package/lib/components/Popover/index.js +0 -6
  888. package/lib/components/Popover/index.js.map +0 -1
  889. package/lib/components/Popover/index.mjs +0 -3
  890. package/lib/components/Popover/index.mjs.map +0 -1
  891. package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
  892. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
  893. package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
  894. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
  895. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
  896. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
  897. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
  898. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
  899. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
  900. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
  901. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
  902. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
  903. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
  904. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
  905. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
  906. package/lib/components/PriceRangeSlider/index.d.ts +0 -1
  907. package/lib/components/PriceRangeSlider/index.js +0 -6
  908. package/lib/components/PriceRangeSlider/index.js.map +0 -1
  909. package/lib/components/PriceRangeSlider/index.mjs +0 -3
  910. package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
  911. package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
  912. package/lib/components/ProductCard/ProductCard.constants.js +0 -18
  913. package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
  914. package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
  915. package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
  916. package/lib/components/ProductCard/ProductCard.d.ts +0 -2
  917. package/lib/components/ProductCard/ProductCard.js +0 -139
  918. package/lib/components/ProductCard/ProductCard.js.map +0 -1
  919. package/lib/components/ProductCard/ProductCard.mjs +0 -130
  920. package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
  921. package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
  922. package/lib/components/ProductCard/ProductCard.styles.js +0 -178
  923. package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
  924. package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
  925. package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
  926. package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
  927. package/lib/components/ProductCard/index.d.ts +0 -1
  928. package/lib/components/ProductCard/index.js +0 -6
  929. package/lib/components/ProductCard/index.js.map +0 -1
  930. package/lib/components/ProductCard/index.mjs +0 -3
  931. package/lib/components/ProductCard/index.mjs.map +0 -1
  932. package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
  933. package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
  934. package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
  935. package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
  936. package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
  937. package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
  938. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
  939. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
  940. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
  941. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
  942. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
  943. package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
  944. package/lib/components/ProductCardPopup/index.d.ts +0 -1
  945. package/lib/components/ProductCardPopup/index.js +0 -6
  946. package/lib/components/ProductCardPopup/index.js.map +0 -1
  947. package/lib/components/ProductCardPopup/index.mjs +0 -3
  948. package/lib/components/ProductCardPopup/index.mjs.map +0 -1
  949. package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
  950. package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
  951. package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
  952. package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
  953. package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
  954. package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
  955. package/lib/components/ProductCompare/ProductCompare.js +0 -158
  956. package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
  957. package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
  958. package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
  959. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
  960. package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
  961. package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
  962. package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
  963. package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
  964. package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
  965. package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
  966. package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
  967. package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
  968. package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
  969. package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
  970. package/lib/components/ProductCompare/index.d.ts +0 -1
  971. package/lib/components/ProductCompare/index.js +0 -6
  972. package/lib/components/ProductCompare/index.js.map +0 -1
  973. package/lib/components/ProductCompare/index.mjs +0 -3
  974. package/lib/components/ProductCompare/index.mjs.map +0 -1
  975. package/lib/components/ProductCompare/mapping.d.ts +0 -62
  976. package/lib/components/ProductCompare/mapping.js +0 -1107
  977. package/lib/components/ProductCompare/mapping.js.map +0 -1
  978. package/lib/components/ProductCompare/mapping.mjs +0 -1098
  979. package/lib/components/ProductCompare/mapping.mjs.map +0 -1
  980. package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
  981. package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
  982. package/lib/components/ProductDetails/ProductDetails.js +0 -53
  983. package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
  984. package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
  985. package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
  986. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
  987. package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
  988. package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
  989. package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
  990. package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
  991. package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
  992. package/lib/components/ProductDetails/index.d.ts +0 -2
  993. package/lib/components/ProductDetails/index.js +0 -8
  994. package/lib/components/ProductDetails/index.js.map +0 -1
  995. package/lib/components/ProductDetails/index.mjs +0 -4
  996. package/lib/components/ProductDetails/index.mjs.map +0 -1
  997. package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
  998. package/lib/components/ProductGrid/ProductGrid.js +0 -168
  999. package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
  1000. package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
  1001. package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
  1002. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
  1003. package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
  1004. package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
  1005. package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
  1006. package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
  1007. package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
  1008. package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
  1009. package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
  1010. package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
  1011. package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
  1012. package/lib/components/ProductGrid/index.d.ts +0 -1
  1013. package/lib/components/ProductGrid/index.js +0 -6
  1014. package/lib/components/ProductGrid/index.js.map +0 -1
  1015. package/lib/components/ProductGrid/index.mjs +0 -3
  1016. package/lib/components/ProductGrid/index.mjs.map +0 -1
  1017. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
  1018. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
  1019. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
  1020. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
  1021. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
  1022. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
  1023. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
  1024. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
  1025. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
  1026. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
  1027. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
  1028. package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
  1029. package/lib/components/ProductKeyFeatures/index.js +0 -6
  1030. package/lib/components/ProductKeyFeatures/index.js.map +0 -1
  1031. package/lib/components/ProductKeyFeatures/index.mjs +0 -3
  1032. package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
  1033. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
  1034. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
  1035. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
  1036. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
  1037. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
  1038. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
  1039. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
  1040. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
  1041. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
  1042. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
  1043. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
  1044. package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
  1045. package/lib/components/ProductRecommendedAccessories/index.js +0 -6
  1046. package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
  1047. package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
  1048. package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
  1049. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
  1050. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
  1051. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
  1052. package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
  1053. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
  1054. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
  1055. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
  1056. package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
  1057. package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
  1058. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
  1059. package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
  1060. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
  1061. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
  1062. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
  1063. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
  1064. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
  1065. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
  1066. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
  1067. package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
  1068. package/lib/components/ProductSectionTabs/index.d.ts +0 -2
  1069. package/lib/components/ProductSectionTabs/index.js +0 -6
  1070. package/lib/components/ProductSectionTabs/index.js.map +0 -1
  1071. package/lib/components/ProductSectionTabs/index.mjs +0 -3
  1072. package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
  1073. package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
  1074. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
  1075. package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
  1076. package/lib/components/ProductUpsell/index.d.ts +0 -1
  1077. package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
  1078. package/lib/components/ProductWizard/Options/Options.js +0 -77
  1079. package/lib/components/ProductWizard/Options/Options.js.map +0 -1
  1080. package/lib/components/ProductWizard/Options/Options.mjs +0 -75
  1081. package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
  1082. package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
  1083. package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
  1084. package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
  1085. package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
  1086. package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
  1087. package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
  1088. package/lib/components/ProductWizard/Options/index.d.ts +0 -1
  1089. package/lib/components/ProductWizard/Options/index.js +0 -6
  1090. package/lib/components/ProductWizard/Options/index.js.map +0 -1
  1091. package/lib/components/ProductWizard/Options/index.mjs +0 -3
  1092. package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
  1093. package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
  1094. package/lib/components/ProductWizard/ProductWizard.js +0 -114
  1095. package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
  1096. package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
  1097. package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
  1098. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
  1099. package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
  1100. package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
  1101. package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
  1102. package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
  1103. package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
  1104. package/lib/components/ProductWizard/index.d.ts +0 -1
  1105. package/lib/components/ProductWizard/index.js +0 -6
  1106. package/lib/components/ProductWizard/index.js.map +0 -1
  1107. package/lib/components/ProductWizard/index.mjs +0 -3
  1108. package/lib/components/ProductWizard/index.mjs.map +0 -1
  1109. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
  1110. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
  1111. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
  1112. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
  1113. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
  1114. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
  1115. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
  1116. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
  1117. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
  1118. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
  1119. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
  1120. package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
  1121. package/lib/components/ProductWizardFootnotes/index.js +0 -6
  1122. package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
  1123. package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
  1124. package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
  1125. package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
  1126. package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
  1127. package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
  1128. package/lib/components/ProgressCircle/index.d.ts +0 -1
  1129. package/lib/components/ProgressCircle/index.js +0 -6
  1130. package/lib/components/ProgressCircle/index.js.map +0 -1
  1131. package/lib/components/ProgressCircle/index.mjs +0 -3
  1132. package/lib/components/ProgressCircle/index.mjs.map +0 -1
  1133. package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
  1134. package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
  1135. package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
  1136. package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
  1137. package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
  1138. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
  1139. package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
  1140. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
  1141. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
  1142. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
  1143. package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
  1144. package/lib/components/RelatedProducts/index.d.ts +0 -1
  1145. package/lib/components/RelatedProducts/index.js +0 -6
  1146. package/lib/components/RelatedProducts/index.js.map +0 -1
  1147. package/lib/components/RelatedProducts/index.mjs +0 -3
  1148. package/lib/components/RelatedProducts/index.mjs.map +0 -1
  1149. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
  1150. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
  1151. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
  1152. package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
  1153. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
  1154. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
  1155. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
  1156. package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
  1157. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
  1158. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
  1159. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
  1160. package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
  1161. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
  1162. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1163. package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
  1164. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
  1165. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
  1166. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1167. package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
  1168. package/lib/components/SearchInput/Input.styles.d.ts +0 -20
  1169. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
  1170. package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
  1171. package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
  1172. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
  1173. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
  1174. package/lib/components/SkeletonFootnote/index.d.ts +0 -1
  1175. package/lib/components/SkeletonFootnote/index.js +0 -6
  1176. package/lib/components/SkeletonFootnote/index.js.map +0 -1
  1177. package/lib/components/SkeletonFootnote/index.mjs +0 -3
  1178. package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
  1179. package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
  1180. package/lib/components/StorageSliders/Slider/Slider.js +0 -41
  1181. package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
  1182. package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
  1183. package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
  1184. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
  1185. package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
  1186. package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
  1187. package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
  1188. package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
  1189. package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
  1190. package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
  1191. package/lib/components/StorageSliders/Slider/index.js +0 -6
  1192. package/lib/components/StorageSliders/Slider/index.js.map +0 -1
  1193. package/lib/components/StorageSliders/Slider/index.mjs +0 -3
  1194. package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
  1195. package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
  1196. package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
  1197. package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
  1198. package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
  1199. package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
  1200. package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
  1201. package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
  1202. package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
  1203. package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
  1204. package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
  1205. package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
  1206. package/lib/components/StorageSliders/StorageSliders.js +0 -102
  1207. package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
  1208. package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
  1209. package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
  1210. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
  1211. package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
  1212. package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
  1213. package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
  1214. package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
  1215. package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
  1216. package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
  1217. package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
  1218. package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
  1219. package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
  1220. package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
  1221. package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
  1222. package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
  1223. package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
  1224. package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
  1225. package/lib/components/StorageSliders/index.d.ts +0 -1
  1226. package/lib/components/StorageSliders/index.js +0 -6
  1227. package/lib/components/StorageSliders/index.js.map +0 -1
  1228. package/lib/components/StorageSliders/index.mjs +0 -3
  1229. package/lib/components/StorageSliders/index.mjs.map +0 -1
  1230. package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
  1231. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
  1232. package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
  1233. package/lib/components/TabinationButtons/index.d.ts +0 -1
  1234. package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
  1235. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
  1236. package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
  1237. package/lib/components/TopologyScheme/index.d.ts +0 -2
  1238. package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
  1239. package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
  1240. package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
  1241. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
  1242. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
  1243. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
  1244. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
  1245. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
  1246. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
  1247. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
  1248. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
  1249. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
  1250. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
  1251. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
  1252. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
  1253. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
  1254. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
  1255. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
  1256. package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
  1257. package/lib/components/VariantSelector/CheckBox/index.js +0 -6
  1258. package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
  1259. package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
  1260. package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
  1261. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
  1262. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
  1263. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
  1264. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
  1265. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
  1266. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
  1267. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
  1268. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
  1269. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
  1270. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
  1271. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
  1272. package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
  1273. package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
  1274. package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
  1275. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
  1276. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
  1277. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
  1278. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
  1279. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
  1280. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
  1281. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
  1282. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
  1283. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
  1284. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
  1285. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
  1286. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
  1287. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
  1288. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
  1289. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
  1290. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
  1291. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
  1292. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
  1293. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
  1294. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
  1295. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
  1296. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
  1297. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
  1298. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
  1299. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
  1300. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
  1301. package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
  1302. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
  1303. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
  1304. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
  1305. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
  1306. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
  1307. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
  1308. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
  1309. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
  1310. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
  1311. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
  1312. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
  1313. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
  1314. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
  1315. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
  1316. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
  1317. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
  1318. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
  1319. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
  1320. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
  1321. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
  1322. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
  1323. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
  1324. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
  1325. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
  1326. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
  1327. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
  1328. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
  1329. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
  1330. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
  1331. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
  1332. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
  1333. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
  1334. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
  1335. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
  1336. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
  1337. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
  1338. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
  1339. package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
  1340. package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
  1341. package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
  1342. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
  1343. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
  1344. package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
  1345. package/lib/components/VariantSelector/Variant/Variant.js +0 -699
  1346. package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
  1347. package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
  1348. package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
  1349. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
  1350. package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
  1351. package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
  1352. package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
  1353. package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
  1354. package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
  1355. package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
  1356. package/lib/components/VariantSelector/Variant/index.js +0 -6
  1357. package/lib/components/VariantSelector/Variant/index.js.map +0 -1
  1358. package/lib/components/VariantSelector/Variant/index.mjs +0 -3
  1359. package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
  1360. package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
  1361. package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
  1362. package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
  1363. package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
  1364. package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
  1365. package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
  1366. package/lib/components/VariantSelector/VariantSelector.js +0 -162
  1367. package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
  1368. package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
  1369. package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
  1370. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
  1371. package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
  1372. package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
  1373. package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
  1374. package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
  1375. package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
  1376. package/lib/components/VariantSelector/index.d.ts +0 -1
  1377. package/lib/components/VariantSelector/index.js +0 -6
  1378. package/lib/components/VariantSelector/index.js.map +0 -1
  1379. package/lib/components/VariantSelector/index.mjs +0 -3
  1380. package/lib/components/VariantSelector/index.mjs.map +0 -1
  1381. package/lib/components/VariantSelector/utils.d.ts +0 -11
  1382. package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
  1383. package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
  1384. package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
  1385. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
  1386. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
  1387. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
  1388. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
  1389. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
  1390. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
  1391. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
  1392. package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
  1393. package/lib/components/VariantSelectorItem/index.d.ts +0 -1
  1394. package/lib/components/VariantSelectorItem/index.js +0 -6
  1395. package/lib/components/VariantSelectorItem/index.js.map +0 -1
  1396. package/lib/components/VariantSelectorItem/index.mjs +0 -3
  1397. package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
  1398. package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
  1399. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
  1400. package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
  1401. package/lib/components/VariantSelectorV1/index.d.ts +0 -1
  1402. package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
  1403. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
  1404. package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
  1405. package/lib/components/VariantSelectorV2/index.d.ts +0 -1
  1406. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
  1407. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
  1408. package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
  1409. package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
  1410. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
  1411. package/lib/components/VideoPlayer/index.d.ts +0 -1
  1412. package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
  1413. package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
  1414. package/lib/components/YouTubePlayer/index.d.ts +0 -1
  1415. package/lib/constants/icons/options/colors/black.svg.js +0 -27
  1416. package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
  1417. package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
  1418. package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
  1419. package/lib/constants/icons/options/colors/blue.svg.js +0 -27
  1420. package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
  1421. package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
  1422. package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
  1423. package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
  1424. package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
  1425. package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
  1426. package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
  1427. package/lib/constants/icons/options/colors/grey.svg.js +0 -27
  1428. package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
  1429. package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
  1430. package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
  1431. package/lib/constants/icons/options/colors/index.d.ts +0 -6
  1432. package/lib/constants/icons/options/colors/index.js +0 -63
  1433. package/lib/constants/icons/options/colors/index.js.map +0 -1
  1434. package/lib/constants/icons/options/colors/index.mjs +0 -14
  1435. package/lib/constants/icons/options/colors/index.mjs.map +0 -1
  1436. package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
  1437. package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
  1438. package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
  1439. package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
  1440. package/lib/constants/icons/options/colors/white.svg.js +0 -27
  1441. package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
  1442. package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
  1443. package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
  1444. package/lib/constants/icons/options/index.d.ts +0 -2
  1445. package/lib/constants/icons/options/index.js +0 -8
  1446. package/lib/constants/icons/options/index.js.map +0 -1
  1447. package/lib/constants/icons/options/index.mjs +0 -6
  1448. package/lib/constants/icons/options/index.mjs.map +0 -1
  1449. package/lib/constants/icons/options/styles/black.svg.js +0 -27
  1450. package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
  1451. package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
  1452. package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
  1453. package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
  1454. package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
  1455. package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
  1456. package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
  1457. package/lib/constants/icons/options/styles/camo.png.js +0 -27
  1458. package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
  1459. package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
  1460. package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
  1461. package/lib/constants/icons/options/styles/concrete.png.js +0 -27
  1462. package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
  1463. package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
  1464. package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
  1465. package/lib/constants/icons/options/styles/index.d.ts +0 -6
  1466. package/lib/constants/icons/options/styles/index.js +0 -63
  1467. package/lib/constants/icons/options/styles/index.js.map +0 -1
  1468. package/lib/constants/icons/options/styles/index.mjs +0 -14
  1469. package/lib/constants/icons/options/styles/index.mjs.map +0 -1
  1470. package/lib/constants/icons/options/styles/marble.png.js +0 -27
  1471. package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
  1472. package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
  1473. package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
  1474. package/lib/constants/icons/options/styles/wood.png.js +0 -27
  1475. package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
  1476. package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
  1477. package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
  1478. package/lib/constants/optionIcons.d.ts +0 -23
  1479. package/lib/constants/optionIcons.js +0 -97
  1480. package/lib/constants/optionIcons.js.map +0 -1
  1481. package/lib/constants/optionIcons.mjs +0 -76
  1482. package/lib/constants/optionIcons.mjs.map +0 -1
  1483. package/lib/helpers/shopify/product.d.ts +0 -5
  1484. package/lib/helpers/shopify/product.js +0 -52
  1485. package/lib/helpers/shopify/product.js.map +0 -1
  1486. package/lib/helpers/shopify/product.mjs +0 -50
  1487. package/lib/helpers/shopify/product.mjs.map +0 -1
  1488. package/lib/utils/cdn.d.ts +0 -5
  1489. package/lib/utils/collectionSlug.d.ts +0 -5
  1490. package/lib/utils/collectionSlug.js +0 -13
  1491. package/lib/utils/collectionSlug.js.map +0 -1
  1492. package/lib/utils/collectionSlug.mjs +0 -12
  1493. package/lib/utils/collectionSlug.mjs.map +0 -1
  1494. package/lib/utils/collectionSlug.test.d.ts +0 -1
  1495. package/lib/utils/variant.d.ts +0 -8
  1496. package/lib/utils/variant.js +0 -20
  1497. package/lib/utils/variant.js.map +0 -1
  1498. package/lib/utils/variant.mjs +0 -18
  1499. package/lib/utils/variant.mjs.map +0 -1
  1500. package/lib/utils/variant.test.d.ts +0 -1
  1501. package/lib/utils/wattage.d.ts +0 -11
  1502. package/lib/utils/wattage.js +0 -20
  1503. package/lib/utils/wattage.js.map +0 -1
  1504. package/lib/utils/wattage.mjs +0 -18
  1505. package/lib/utils/wattage.mjs.map +0 -1
  1506. package/lib/utils/wattage.test.d.ts +0 -1
  1507. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
  1508. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
  1509. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
  1510. /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
  1511. /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
  1512. /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
  1513. /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
  1514. /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
  1515. /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
  1516. /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
  1517. /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
  1518. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
  1519. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
  1520. /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
  1521. /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
@@ -1,22 +1,20 @@
1
1
  'use strict';
2
2
 
3
3
  var url$1 = require('./url.js');
4
- var misc = require('./money/misc.js');
4
+ var index = require('./money/index.js');
5
5
  var number$1 = require('./number.js');
6
6
  var string$1 = require('./string.js');
7
7
  var array$1 = require('./array.js');
8
- var index = require('./nextjs/index.js');
8
+ var index$1 = require('./nextjs/index.js');
9
9
  var country$1 = require('./country.js');
10
10
  var countriesAndZones = require('./countriesAndZones.js');
11
11
  var address$1 = require('./address.js');
12
- var index$1 = require('./tax/index.js');
12
+ var index$2 = require('./tax/index.js');
13
13
  var zod$1 = require('./zod.js');
14
- var collectionSlug$1 = require('./collectionSlug.js');
15
14
  var shipping$1 = require('./shipping.js');
16
15
  var measures$1 = require('./measures.js');
17
16
  var errors$1 = require('./errors.js');
18
17
  var tags$1 = require('./tags.js');
19
- var wattage$1 = require('./wattage.js');
20
18
  var product$1 = require('./product.js');
21
19
  var asset$1 = require('./asset.js');
22
20
  var imageOptimizer$1 = require('./imageOptimizer.js');
@@ -26,22 +24,20 @@ var blackFriday$1 = require('./blackFriday.js');
26
24
  var sales$1 = require('./sales.js');
27
25
  "use strict";
28
26
  exports.url = url$1;
29
- exports.money = misc;
27
+ exports.money = index;
30
28
  exports.number = number$1;
31
29
  exports.string = string$1;
32
30
  exports.array = array$1;
33
- exports.nextjs = index;
31
+ exports.nextjs = index$1;
34
32
  exports.country = country$1;
35
33
  exports.countryAndZones = countriesAndZones;
36
34
  exports.address = address$1;
37
- exports.tax = index$1;
35
+ exports.tax = index$2;
38
36
  exports.zod = zod$1;
39
- exports.collectionSlug = collectionSlug$1;
40
37
  exports.shipping = shipping$1;
41
38
  exports.measures = measures$1;
42
39
  exports.errors = errors$1;
43
40
  exports.tags = tags$1;
44
- exports.wattage = wattage$1;
45
41
  exports.product = product$1;
46
42
  exports.asset = asset$1;
47
43
  exports.imageOptimizer = imageOptimizer$1;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,27 +1,25 @@
1
1
  import * as url$1 from './url.mjs';
2
2
  export { url$1 as url };
3
- import * as misc from './money/misc.mjs';
4
- export { misc as money };
3
+ import * as index from './money/index.mjs';
4
+ export { index as money };
5
5
  import * as number$1 from './number.mjs';
6
6
  export { number$1 as number };
7
7
  import * as string$1 from './string.mjs';
8
8
  export { string$1 as string };
9
9
  import * as array$1 from './array.mjs';
10
10
  export { array$1 as array };
11
- import * as index from './nextjs/index.mjs';
12
- export { index as nextjs };
11
+ import * as index$1 from './nextjs/index.mjs';
12
+ export { index$1 as nextjs };
13
13
  import * as country$1 from './country.mjs';
14
14
  export { country$1 as country };
15
15
  import * as countriesAndZones from './countriesAndZones.mjs';
16
16
  export { countriesAndZones as countryAndZones };
17
17
  import * as address$1 from './address.mjs';
18
18
  export { address$1 as address };
19
- import * as index$1 from './tax/index.mjs';
20
- export { index$1 as tax };
19
+ import * as index$2 from './tax/index.mjs';
20
+ export { index$2 as tax };
21
21
  import * as zod$1 from './zod.mjs';
22
22
  export { zod$1 as zod };
23
- import * as collectionSlug$1 from './collectionSlug.mjs';
24
- export { collectionSlug$1 as collectionSlug };
25
23
  import * as shipping$1 from './shipping.mjs';
26
24
  export { shipping$1 as shipping };
27
25
  import * as measures$1 from './measures.mjs';
@@ -30,8 +28,6 @@ import * as errors$1 from './errors.mjs';
30
28
  export { errors$1 as errors };
31
29
  import * as tags$1 from './tags.mjs';
32
30
  export { tags$1 as tags };
33
- import * as wattage$1 from './wattage.mjs';
34
- export { wattage$1 as wattage };
35
31
  import * as product$1 from './product.mjs';
36
32
  export { product$1 as product };
37
33
  import * as asset$1 from './asset.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,29 +4,21 @@ var dinero_js = require('dinero.js');
4
4
  var errors = require('../../errors.js');
5
5
  var misc = require('../misc.js');
6
6
  "use strict";
7
- var __defProp = Object.defineProperty;
8
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
9
- enumerable: true,
10
- configurable: true,
11
- writable: true,
12
- value
13
- }) : obj[key] = value;
14
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
15
7
  class FixedAmountAllocator {
8
+ /**
9
+ * How much we have left to allocate for given allocation from the remaining total
10
+ */
11
+ remainingAllocationAmount;
12
+ /**
13
+ * How much we have left to allocate in total
14
+ */
15
+ remainingTotalAmount;
16
+ currency;
16
17
  constructor({
17
18
  initialAllocateAmount,
18
19
  initialTotalAmount,
19
20
  currency
20
21
  }) {
21
- /**
22
- * How much we have left to allocate for given allocation from the remaining total
23
- */
24
- __publicField(this, "remainingAllocationAmount");
25
- /**
26
- * How much we have left to allocate in total
27
- */
28
- __publicField(this, "remainingTotalAmount");
29
- __publicField(this, "currency");
30
22
  this.remainingAllocationAmount = misc.getDinero(initialAllocateAmount, currency);
31
23
  this.remainingTotalAmount = misc.getDinero(initialTotalAmount, currency);
32
24
  this.currency = misc.getDineroCurrency(currency);
@@ -1 +1 @@
1
- {"version":3,"file":"fixedAmount.js","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","constructor","initialAllocateAmount","initialTotalAmount","currency","__publicField","remainingAllocationAmount","getDinero","remainingTotalAmount","getDineroCurrency","allocate","lineItemTotal","assert","code","lineItemTotalDinero","allocationAmount","Math","max","amount","subtract","greaterThan"],"mappings":";;;;;;;;;;;;;;AAWO,MAAMA,oBAAqB,CAAA;EAWhCC,WAAYA,CAAA;IACVC,qBAAA;IACAC,kBAAA;IACAC;EAAA,CAKC,EAAA;IAfH;AAAA;AAAA;IAAOC,aAAA,CAAA,IAAA,EAAA,2BAAA,CAAA;IAIP;AAAA;AAAA;IAAOA,aAAA,CAAA,IAAA,EAAA,sBAAA,CAAA;IACAA,aAAA,CAAA,IAAA,EAAA,UAAA,CAAA;IAWA,IAAA,CAAAC,yBAAA,GAA4BC,cAAU,CAAAL,qBAAA,EAAuBE,QAAQ,CAAA;IACrE,IAAA,CAAAI,oBAAA,GAAuBD,cAAU,CAAAJ,kBAAA,EAAoBC,QAAQ,CAAA;IAC7D,IAAA,CAAAA,QAAA,GAAWK,uBAAkBL,QAAQ,CAAA;EAAA;EAC5C;AAAA;AAAA;EAKAM,QAAAA,CAASC,eAAsBP,QAA0B,EAAA;IACvDQ,MAAA,CAAAA,MAAA,CACE,IAAA,CAAKR,SAASS,IAAS,KAAAT,QAAA,EACvB,+BAA+BA,QAAQ,SAAS,IAAA,CAAKA,SAASS,IAAI,EACpE,CAAA;IACM,MAAAC,mBAAA,GAAsBP,IAAAA,CAAAA,SAAU,CAAAI,aAAA,EAAeP,QAAQ,CAAA;IAK7D,IAAIO,kBAAkB,CAAG,EAAA;MAChB,OAAAG,mBAAA;IAAA;IAGH,MAAA,CAACC,gBAAkB,EAAAT,yBAAyB,CAAI,GAAAI,SAAA,CAAAA,QAAA,CACpD,IAAK,CAAAJ,yBAAA,EACL,CACEK,aAAA,EACAK,KAAKC,GAAI,CAAAC,IAAA,CAAAA,MAAA,CAAO,KAAKV,oBAAoB,CAAA,GAAIG,eAAe,CAAC,CAAA,CAEjE,CAAA;IAEOC,aAAA,CAAA,CAAC,CAACG,gBAAA,EAAkB,2BAA2B,CAAA;IACtDH,MAAA,CAAAA,MAAA,CACE,CAAC,CAACN,yBAAA,EACF,wCACF,CAAA;IAEA,IAAA,CAAKA,yBAA4B,GAAAA,yBAAA;IACjC,IAAA,CAAKE,oBAAuB,GAAAW,SAAA,CAAAA,QAAA,CAC1B,IAAK,CAAAX,oBAAA,EACLM,mBACF,CAAA;IAMA,OAAOM,SAAY,CAAAA,WAAA,CAAAL,gBAAA,EAAkBD,mBAAmB,CAAA,GACpDA,mBACA,GAAAC,gBAAA;EAAA;AAER;"}
1
+ {"version":3,"file":"fixedAmount.js","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","remainingAllocationAmount","remainingTotalAmount","currency","constructor","initialAllocateAmount","initialTotalAmount","getDinero","getDineroCurrency","allocate","lineItemTotal","assert","code","lineItemTotalDinero","allocationAmount","Math","max","amount","subtract","greaterThan"],"mappings":";;;;;;AAWO,MAAMA,oBAAqB,CAAA;EAAA;AAAA;AAAA;EAIzBC,yBAAA;EAAA;AAAA;AAAA;EAIAC,oBAAA;EACAC,QAAA;EAEPC,WAAYA,CAAA;IACVC,qBAAA;IACAC,kBAAA;IACAH;EAAA,CAKC,EAAA;IACI,IAAA,CAAAF,yBAAA,GAA4BM,cAAU,CAAAF,qBAAA,EAAuBF,QAAQ,CAAA;IACrE,IAAA,CAAAD,oBAAA,GAAuBK,cAAU,CAAAD,kBAAA,EAAoBH,QAAQ,CAAA;IAC7D,IAAA,CAAAA,QAAA,GAAWK,uBAAkBL,QAAQ,CAAA;EAAA;EAC5C;AAAA;AAAA;EAKAM,QAAAA,CAASC,eAAsBP,QAA0B,EAAA;IACvDQ,MAAA,CAAAA,MAAA,CACE,IAAA,CAAKR,SAASS,IAAS,KAAAT,QAAA,EACvB,+BAA+BA,QAAQ,SAAS,IAAA,CAAKA,SAASS,IAAI,EACpE,CAAA;IACM,MAAAC,mBAAA,GAAsBN,IAAAA,CAAAA,SAAU,CAAAG,aAAA,EAAeP,QAAQ,CAAA;IAK7D,IAAIO,kBAAkB,CAAG,EAAA;MAChB,OAAAG,mBAAA;IAAA;IAGH,MAAA,CAACC,gBAAkB,EAAAb,yBAAyB,CAAI,GAAAQ,SAAA,CAAAA,QAAA,CACpD,IAAK,CAAAR,yBAAA,EACL,CACES,aAAA,EACAK,KAAKC,GAAI,CAAAC,IAAA,CAAAA,MAAA,CAAO,KAAKf,oBAAoB,CAAA,GAAIQ,eAAe,CAAC,CAAA,CAEjE,CAAA;IAEOC,aAAA,CAAA,CAAC,CAACG,gBAAA,EAAkB,2BAA2B,CAAA;IACtDH,MAAA,CAAAA,MAAA,CACE,CAAC,CAACV,yBAAA,EACF,wCACF,CAAA;IAEA,IAAA,CAAKA,yBAA4B,GAAAA,yBAAA;IACjC,IAAA,CAAKC,oBAAuB,GAAAgB,SAAA,CAAAA,QAAA,CAC1B,IAAK,CAAAhB,oBAAA,EACLW,mBACF,CAAA;IAMA,OAAOM,SAAY,CAAAA,WAAA,CAAAL,gBAAA,EAAkBD,mBAAmB,CAAA,GACpDA,mBACA,GAAAC,gBAAA;EAAA;AAER;"}
@@ -2,29 +2,21 @@ import { allocate, subtract, greaterThan } from 'dinero.js';
2
2
  import { assert } from '../../errors.mjs';
3
3
  import { getDinero, getDineroCurrency, amount } from '../misc.mjs';
4
4
  "use strict";
5
- var __defProp = Object.defineProperty;
6
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value
11
- }) : obj[key] = value;
12
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
13
5
  class FixedAmountAllocator {
6
+ /**
7
+ * How much we have left to allocate for given allocation from the remaining total
8
+ */
9
+ remainingAllocationAmount;
10
+ /**
11
+ * How much we have left to allocate in total
12
+ */
13
+ remainingTotalAmount;
14
+ currency;
14
15
  constructor({
15
16
  initialAllocateAmount,
16
17
  initialTotalAmount,
17
18
  currency
18
19
  }) {
19
- /**
20
- * How much we have left to allocate for given allocation from the remaining total
21
- */
22
- __publicField(this, "remainingAllocationAmount");
23
- /**
24
- * How much we have left to allocate in total
25
- */
26
- __publicField(this, "remainingTotalAmount");
27
- __publicField(this, "currency");
28
20
  this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);
29
21
  this.remainingTotalAmount = getDinero(initialTotalAmount, currency);
30
22
  this.currency = getDineroCurrency(currency);
@@ -1 +1 @@
1
- {"version":3,"file":"fixedAmount.mjs","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","constructor","initialAllocateAmount","initialTotalAmount","currency","__publicField","remainingAllocationAmount","getDinero","remainingTotalAmount","getDineroCurrency","allocate","lineItemTotal","assert","code","lineItemTotalDinero","allocationAmount","Math","max","amount","subtract","greaterThan"],"mappings":";;;;;;;;;;;;AAWO,MAAMA,oBAAqB,CAAA;EAWhCC,WAAYA,CAAA;IACVC,qBAAA;IACAC,kBAAA;IACAC;EAAA,CAKC,EAAA;IAfH;AAAA;AAAA;IAAOC,aAAA,CAAA,IAAA,EAAA,2BAAA,CAAA;IAIP;AAAA;AAAA;IAAOA,aAAA,CAAA,IAAA,EAAA,sBAAA,CAAA;IACAA,aAAA,CAAA,IAAA,EAAA,UAAA,CAAA;IAWA,IAAA,CAAAC,yBAAA,GAA4BC,SAAU,CAAAL,qBAAA,EAAuBE,QAAQ,CAAA;IACrE,IAAA,CAAAI,oBAAA,GAAuBD,SAAU,CAAAJ,kBAAA,EAAoBC,QAAQ,CAAA;IAC7D,IAAA,CAAAA,QAAA,GAAWK,kBAAkBL,QAAQ,CAAA;EAAA;EAC5C;AAAA;AAAA;EAKAM,QAAAA,CAASC,eAAsBP,QAA0B,EAAA;IACvDQ,MAAA,CACE,IAAA,CAAKR,SAASS,IAAS,KAAAT,QAAA,EACvB,+BAA+BA,QAAQ,SAAS,IAAA,CAAKA,SAASS,IAAI,EACpE,CAAA;IACM,MAAAC,mBAAA,GAAsBP,SAAU,CAAAI,aAAA,EAAeP,QAAQ,CAAA;IAK7D,IAAIO,kBAAkB,CAAG,EAAA;MAChB,OAAAG,mBAAA;IAAA;IAGH,MAAA,CAACC,gBAAkB,EAAAT,yBAAyB,CAAI,GAAAI,QAAA,CACpD,IAAK,CAAAJ,yBAAA,EACL,CACEK,aAAA,EACAK,KAAKC,GAAI,CAAAC,MAAA,CAAO,KAAKV,oBAAoB,CAAA,GAAIG,eAAe,CAAC,CAAA,CAEjE,CAAA;IAEOC,MAAA,CAAA,CAAC,CAACG,gBAAA,EAAkB,2BAA2B,CAAA;IACtDH,MAAA,CACE,CAAC,CAACN,yBAAA,EACF,wCACF,CAAA;IAEA,IAAA,CAAKA,yBAA4B,GAAAA,yBAAA;IACjC,IAAA,CAAKE,oBAAuB,GAAAW,QAAA,CAC1B,IAAK,CAAAX,oBAAA,EACLM,mBACF,CAAA;IAMA,OAAOM,WAAY,CAAAL,gBAAA,EAAkBD,mBAAmB,CAAA,GACpDA,mBACA,GAAAC,gBAAA;EAAA;AAER;"}
1
+ {"version":3,"file":"fixedAmount.mjs","sources":["../../../../src/utils/money/allocators/fixedAmount.ts"],"sourcesContent":["import { allocate, greaterThan, subtract } from \"dinero.js\";\n\nimport type { Currency } from \"../../../types\";\nimport { assert } from \"../../errors\";\nimport { amount, getDinero, getDineroCurrency } from \"../misc\";\nimport type { Cents, Dino, DinoCurrency } from \"../types\";\n\n/**\n * Helper class to distribute a fixed amount (e.g. discount) between multiple items.\n * For example when trying to apply 5$ discount to 3 items, we need to distribute it evenly as possible\n */\nexport class FixedAmountAllocator {\n /**\n * How much we have left to allocate for given allocation from the remaining total\n */\n public remainingAllocationAmount: Dino;\n /**\n * How much we have left to allocate in total\n */\n public remainingTotalAmount: Dino;\n public currency: DinoCurrency;\n\n constructor({\n initialAllocateAmount,\n initialTotalAmount,\n currency,\n }: {\n initialAllocateAmount: Cents;\n initialTotalAmount: Cents;\n currency: Currency;\n }) {\n this.remainingAllocationAmount = getDinero(initialAllocateAmount, currency);\n this.remainingTotalAmount = getDinero(initialTotalAmount, currency);\n this.currency = getDineroCurrency(currency);\n }\n\n /**\n * We always allocate biggest share to first item\n */\n allocate(lineItemTotal: Cents, currency: Currency): Dino {\n assert(\n this.currency.code === currency,\n `Currency mismatch, expected ${currency}, got ${this.currency.code}`,\n );\n const lineItemTotalDinero = getDinero(lineItemTotal, currency);\n /**\n * If total price of line items is zero, it means it's free, thus no discount\n * can be calculated (it's either 0 or infinity, but let's go with 0)\n */\n if (lineItemTotal === 0) {\n return lineItemTotalDinero;\n }\n\n const [allocationAmount, remainingAllocationAmount] = allocate(\n this.remainingAllocationAmount,\n [\n lineItemTotal,\n Math.max(amount(this.remainingTotalAmount) - lineItemTotal, 0),\n ],\n );\n\n assert(!!allocationAmount, \"Allocation amount is zero\");\n assert(\n !!remainingAllocationAmount,\n \"Remaining allocation remainder is zero\",\n );\n\n this.remainingAllocationAmount = remainingAllocationAmount;\n this.remainingTotalAmount = subtract(\n this.remainingTotalAmount,\n lineItemTotalDinero,\n );\n\n /**\n * The discount amount is evenly split but can still be higher than the line item total\n * Need to ceil the price to be not more than the line item total\n */\n return greaterThan(allocationAmount, lineItemTotalDinero)\n ? lineItemTotalDinero\n : allocationAmount;\n }\n}\n"],"names":["FixedAmountAllocator","remainingAllocationAmount","remainingTotalAmount","currency","constructor","initialAllocateAmount","initialTotalAmount","getDinero","getDineroCurrency","allocate","lineItemTotal","assert","code","lineItemTotalDinero","allocationAmount","Math","max","amount","subtract","greaterThan"],"mappings":";;;;AAWO,MAAMA,oBAAqB,CAAA;EAAA;AAAA;AAAA;EAIzBC,yBAAA;EAAA;AAAA;AAAA;EAIAC,oBAAA;EACAC,QAAA;EAEPC,WAAYA,CAAA;IACVC,qBAAA;IACAC,kBAAA;IACAH;EAAA,CAKC,EAAA;IACI,IAAA,CAAAF,yBAAA,GAA4BM,SAAU,CAAAF,qBAAA,EAAuBF,QAAQ,CAAA;IACrE,IAAA,CAAAD,oBAAA,GAAuBK,SAAU,CAAAD,kBAAA,EAAoBH,QAAQ,CAAA;IAC7D,IAAA,CAAAA,QAAA,GAAWK,kBAAkBL,QAAQ,CAAA;EAAA;EAC5C;AAAA;AAAA;EAKAM,QAAAA,CAASC,eAAsBP,QAA0B,EAAA;IACvDQ,MAAA,CACE,IAAA,CAAKR,SAASS,IAAS,KAAAT,QAAA,EACvB,+BAA+BA,QAAQ,SAAS,IAAA,CAAKA,SAASS,IAAI,EACpE,CAAA;IACM,MAAAC,mBAAA,GAAsBN,SAAU,CAAAG,aAAA,EAAeP,QAAQ,CAAA;IAK7D,IAAIO,kBAAkB,CAAG,EAAA;MAChB,OAAAG,mBAAA;IAAA;IAGH,MAAA,CAACC,gBAAkB,EAAAb,yBAAyB,CAAI,GAAAQ,QAAA,CACpD,IAAK,CAAAR,yBAAA,EACL,CACES,aAAA,EACAK,KAAKC,GAAI,CAAAC,MAAA,CAAO,KAAKf,oBAAoB,CAAA,GAAIQ,eAAe,CAAC,CAAA,CAEjE,CAAA;IAEOC,MAAA,CAAA,CAAC,CAACG,gBAAA,EAAkB,2BAA2B,CAAA;IACtDH,MAAA,CACE,CAAC,CAACV,yBAAA,EACF,wCACF,CAAA;IAEA,IAAA,CAAKA,yBAA4B,GAAAA,yBAAA;IACjC,IAAA,CAAKC,oBAAuB,GAAAgB,QAAA,CAC1B,IAAK,CAAAhB,oBAAA,EACLW,mBACF,CAAA;IAMA,OAAOM,WAAY,CAAAL,gBAAA,EAAkBD,mBAAmB,CAAA,GACpDA,mBACA,GAAAC,gBAAA;EAAA;AAER;"}
@@ -3,96 +3,73 @@
3
3
  var misc = require('../misc.js');
4
4
  var fixedAmount = require('./fixedAmount.js');
5
5
  "use strict";
6
- var __defProp = Object.defineProperty;
7
- var __typeError = msg => {
8
- throw TypeError(msg);
9
- };
10
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
11
- enumerable: true,
12
- configurable: true,
13
- writable: true,
14
- value
15
- }) : obj[key] = value;
16
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
17
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
18
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
19
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
20
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
21
- var _itemPrice, _currency, _subtotal, _discountAmount, _taxableAmount, _tax, _total;
22
6
  class ProductAmountAllocator {
7
+ // #############################################################################
8
+ // Fixed values
9
+ // #############################################################################
10
+ #itemPrice;
11
+ #currency;
12
+ // #############################################################################
13
+ /**
14
+ * Remaining quantity to allocate
15
+ */
16
+ quantity;
17
+ // #############################################################################
18
+ // Specific amount allocators
19
+ // #############################################################################
20
+ #subtotal;
21
+ #discountAmount;
22
+ #taxableAmount;
23
+ #tax;
24
+ #total;
23
25
  constructor(productSummary) {
24
- // #############################################################################
25
- // Fixed values
26
- // #############################################################################
27
- __privateAdd(this, _itemPrice);
28
- __privateAdd(this, _currency);
29
- // #############################################################################
30
- /**
31
- * Remaining quantity to allocate
32
- */
33
- __publicField(this, "quantity");
34
- // #############################################################################
35
- // Specific amount allocators
36
- // #############################################################################
37
- __privateAdd(this, _subtotal);
38
- __privateAdd(this, _discountAmount);
39
- __privateAdd(this, _taxableAmount);
40
- __privateAdd(this, _tax);
41
- __privateAdd(this, _total);
42
26
  const currency = productSummary.currency;
43
27
  const priceForAllocation = productSummary.itemPrice * productSummary.quantity;
44
- __privateSet(this, _itemPrice, productSummary.itemPrice);
45
- __privateSet(this, _currency, currency);
28
+ this.#itemPrice = productSummary.itemPrice;
29
+ this.#currency = currency;
46
30
  this.quantity = productSummary.quantity;
47
- __privateSet(this, _subtotal, new fixedAmount.FixedAmountAllocator({
31
+ this.#subtotal = new fixedAmount.FixedAmountAllocator({
48
32
  initialAllocateAmount: productSummary.subtotal,
49
33
  initialTotalAmount: priceForAllocation,
50
34
  currency
51
- }));
52
- __privateSet(this, _discountAmount, new fixedAmount.FixedAmountAllocator({
35
+ });
36
+ this.#discountAmount = new fixedAmount.FixedAmountAllocator({
53
37
  initialAllocateAmount: productSummary.discountAmount,
54
38
  initialTotalAmount: priceForAllocation,
55
39
  currency
56
- }));
57
- __privateSet(this, _taxableAmount, new fixedAmount.FixedAmountAllocator({
40
+ });
41
+ this.#taxableAmount = new fixedAmount.FixedAmountAllocator({
58
42
  initialAllocateAmount: productSummary.taxableAmount,
59
43
  initialTotalAmount: priceForAllocation,
60
44
  currency
61
- }));
62
- __privateSet(this, _tax, new fixedAmount.FixedAmountAllocator({
45
+ });
46
+ this.#tax = new fixedAmount.FixedAmountAllocator({
63
47
  initialAllocateAmount: productSummary.tax,
64
48
  initialTotalAmount: priceForAllocation,
65
49
  currency
66
- }));
67
- __privateSet(this, _total, new fixedAmount.FixedAmountAllocator({
50
+ });
51
+ this.#total = new fixedAmount.FixedAmountAllocator({
68
52
  initialAllocateAmount: productSummary.total,
69
53
  initialTotalAmount: priceForAllocation,
70
54
  currency
71
- }));
55
+ });
72
56
  }
73
57
  allocateQty(quantity) {
74
58
  let quantityNormalized = Math.max(quantity, 0);
75
59
  quantityNormalized = this.quantity - quantityNormalized >= 0 ? quantityNormalized : this.quantity;
76
60
  this.quantity = Math.max(this.quantity - quantityNormalized, 0);
77
- const itemQuantityPrice = __privateGet(this, _itemPrice) * quantityNormalized;
61
+ const itemQuantityPrice = this.#itemPrice * quantityNormalized;
78
62
  return {
79
- itemPrice: __privateGet(this, _itemPrice),
80
- currency: __privateGet(this, _currency),
63
+ itemPrice: this.#itemPrice,
64
+ currency: this.#currency,
81
65
  quantity: quantityNormalized,
82
- subtotal: misc.amount(__privateGet(this, _subtotal).allocate(itemQuantityPrice, __privateGet(this, _currency))),
83
- discountAmount: misc.amount(__privateGet(this, _discountAmount).allocate(itemQuantityPrice, __privateGet(this, _currency))),
84
- taxableAmount: misc.amount(__privateGet(this, _taxableAmount).allocate(itemQuantityPrice, __privateGet(this, _currency))),
85
- tax: misc.amount(__privateGet(this, _tax).allocate(itemQuantityPrice, __privateGet(this, _currency))),
86
- total: misc.amount(__privateGet(this, _total).allocate(itemQuantityPrice, __privateGet(this, _currency)))
66
+ subtotal: misc.amount(this.#subtotal.allocate(itemQuantityPrice, this.#currency)),
67
+ discountAmount: misc.amount(this.#discountAmount.allocate(itemQuantityPrice, this.#currency)),
68
+ taxableAmount: misc.amount(this.#taxableAmount.allocate(itemQuantityPrice, this.#currency)),
69
+ tax: misc.amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),
70
+ total: misc.amount(this.#total.allocate(itemQuantityPrice, this.#currency))
87
71
  };
88
72
  }
89
73
  }
90
- _itemPrice = new WeakMap();
91
- _currency = new WeakMap();
92
- _subtotal = new WeakMap();
93
- _discountAmount = new WeakMap();
94
- _taxableAmount = new WeakMap();
95
- _tax = new WeakMap();
96
- _total = new WeakMap();
97
74
  exports.ProductAmountAllocator = ProductAmountAllocator;
98
75
  //# sourceMappingURL=productAmount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"productAmount.js","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["_itemPrice","_currency","_subtotal","_discountAmount","_taxableAmount","_tax","_total","ProductAmountAllocator","constructor","productSummary","__privateAdd","__publicField","currency","priceForAllocation","itemPrice","quantity","__privateSet","FixedAmountAllocator","initialAllocateAmount","subtotal","initialTotalAmount","discountAmount","taxableAmount","tax","total","allocateQty","quantityNormalized","Math","max","itemQuantityPrice","__privateGet","amount","allocate","WeakMap"],"mappings":"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"}
1
+ {"version":3,"file":"productAmount.js","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["ProductAmountAllocator","itemPrice","currency","quantity","subtotal","discountAmount","taxableAmount","tax","total","constructor","productSummary","priceForAllocation","FixedAmountAllocator","initialAllocateAmount","initialTotalAmount","allocateQty","quantityNormalized","Math","max","itemQuantityPrice","amount","allocate"],"mappings":"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"}
@@ -1,96 +1,73 @@
1
1
  import { amount } from '../misc.mjs';
2
2
  import { FixedAmountAllocator } from './fixedAmount.mjs';
3
3
  "use strict";
4
- var __defProp = Object.defineProperty;
5
- var __typeError = msg => {
6
- throw TypeError(msg);
7
- };
8
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
9
- enumerable: true,
10
- configurable: true,
11
- writable: true,
12
- value
13
- }) : obj[key] = value;
14
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
15
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
16
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
17
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
18
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
19
- var _itemPrice, _currency, _subtotal, _discountAmount, _taxableAmount, _tax, _total;
20
4
  class ProductAmountAllocator {
5
+ // #############################################################################
6
+ // Fixed values
7
+ // #############################################################################
8
+ #itemPrice;
9
+ #currency;
10
+ // #############################################################################
11
+ /**
12
+ * Remaining quantity to allocate
13
+ */
14
+ quantity;
15
+ // #############################################################################
16
+ // Specific amount allocators
17
+ // #############################################################################
18
+ #subtotal;
19
+ #discountAmount;
20
+ #taxableAmount;
21
+ #tax;
22
+ #total;
21
23
  constructor(productSummary) {
22
- // #############################################################################
23
- // Fixed values
24
- // #############################################################################
25
- __privateAdd(this, _itemPrice);
26
- __privateAdd(this, _currency);
27
- // #############################################################################
28
- /**
29
- * Remaining quantity to allocate
30
- */
31
- __publicField(this, "quantity");
32
- // #############################################################################
33
- // Specific amount allocators
34
- // #############################################################################
35
- __privateAdd(this, _subtotal);
36
- __privateAdd(this, _discountAmount);
37
- __privateAdd(this, _taxableAmount);
38
- __privateAdd(this, _tax);
39
- __privateAdd(this, _total);
40
24
  const currency = productSummary.currency;
41
25
  const priceForAllocation = productSummary.itemPrice * productSummary.quantity;
42
- __privateSet(this, _itemPrice, productSummary.itemPrice);
43
- __privateSet(this, _currency, currency);
26
+ this.#itemPrice = productSummary.itemPrice;
27
+ this.#currency = currency;
44
28
  this.quantity = productSummary.quantity;
45
- __privateSet(this, _subtotal, new FixedAmountAllocator({
29
+ this.#subtotal = new FixedAmountAllocator({
46
30
  initialAllocateAmount: productSummary.subtotal,
47
31
  initialTotalAmount: priceForAllocation,
48
32
  currency
49
- }));
50
- __privateSet(this, _discountAmount, new FixedAmountAllocator({
33
+ });
34
+ this.#discountAmount = new FixedAmountAllocator({
51
35
  initialAllocateAmount: productSummary.discountAmount,
52
36
  initialTotalAmount: priceForAllocation,
53
37
  currency
54
- }));
55
- __privateSet(this, _taxableAmount, new FixedAmountAllocator({
38
+ });
39
+ this.#taxableAmount = new FixedAmountAllocator({
56
40
  initialAllocateAmount: productSummary.taxableAmount,
57
41
  initialTotalAmount: priceForAllocation,
58
42
  currency
59
- }));
60
- __privateSet(this, _tax, new FixedAmountAllocator({
43
+ });
44
+ this.#tax = new FixedAmountAllocator({
61
45
  initialAllocateAmount: productSummary.tax,
62
46
  initialTotalAmount: priceForAllocation,
63
47
  currency
64
- }));
65
- __privateSet(this, _total, new FixedAmountAllocator({
48
+ });
49
+ this.#total = new FixedAmountAllocator({
66
50
  initialAllocateAmount: productSummary.total,
67
51
  initialTotalAmount: priceForAllocation,
68
52
  currency
69
- }));
53
+ });
70
54
  }
71
55
  allocateQty(quantity) {
72
56
  let quantityNormalized = Math.max(quantity, 0);
73
57
  quantityNormalized = this.quantity - quantityNormalized >= 0 ? quantityNormalized : this.quantity;
74
58
  this.quantity = Math.max(this.quantity - quantityNormalized, 0);
75
- const itemQuantityPrice = __privateGet(this, _itemPrice) * quantityNormalized;
59
+ const itemQuantityPrice = this.#itemPrice * quantityNormalized;
76
60
  return {
77
- itemPrice: __privateGet(this, _itemPrice),
78
- currency: __privateGet(this, _currency),
61
+ itemPrice: this.#itemPrice,
62
+ currency: this.#currency,
79
63
  quantity: quantityNormalized,
80
- subtotal: amount(__privateGet(this, _subtotal).allocate(itemQuantityPrice, __privateGet(this, _currency))),
81
- discountAmount: amount(__privateGet(this, _discountAmount).allocate(itemQuantityPrice, __privateGet(this, _currency))),
82
- taxableAmount: amount(__privateGet(this, _taxableAmount).allocate(itemQuantityPrice, __privateGet(this, _currency))),
83
- tax: amount(__privateGet(this, _tax).allocate(itemQuantityPrice, __privateGet(this, _currency))),
84
- total: amount(__privateGet(this, _total).allocate(itemQuantityPrice, __privateGet(this, _currency)))
64
+ subtotal: amount(this.#subtotal.allocate(itemQuantityPrice, this.#currency)),
65
+ discountAmount: amount(this.#discountAmount.allocate(itemQuantityPrice, this.#currency)),
66
+ taxableAmount: amount(this.#taxableAmount.allocate(itemQuantityPrice, this.#currency)),
67
+ tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),
68
+ total: amount(this.#total.allocate(itemQuantityPrice, this.#currency))
85
69
  };
86
70
  }
87
71
  }
88
- _itemPrice = new WeakMap();
89
- _currency = new WeakMap();
90
- _subtotal = new WeakMap();
91
- _discountAmount = new WeakMap();
92
- _taxableAmount = new WeakMap();
93
- _tax = new WeakMap();
94
- _total = new WeakMap();
95
72
  export { ProductAmountAllocator };
96
73
  //# sourceMappingURL=productAmount.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"productAmount.mjs","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["_itemPrice","_currency","_subtotal","_discountAmount","_taxableAmount","_tax","_total","ProductAmountAllocator","constructor","productSummary","__privateAdd","__publicField","currency","priceForAllocation","itemPrice","quantity","__privateSet","FixedAmountAllocator","initialAllocateAmount","subtotal","initialTotalAmount","discountAmount","taxableAmount","tax","total","allocateQty","quantityNormalized","Math","max","itemQuantityPrice","__privateGet","amount","allocate","WeakMap"],"mappings":"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"}
1
+ {"version":3,"file":"productAmount.mjs","sources":["../../../../src/utils/money/allocators/productAmount.ts"],"sourcesContent":["import type { Currency } from \"../../../types\";\nimport { amount } from \"../misc\";\nimport type { Cents, FullLineItemSummary } from \"../types\";\nimport { FixedAmountAllocator } from \"./fixedAmount\";\n\n/**\n * Helper class to distribute a total amount for a product\n */\nexport class ProductAmountAllocator {\n // #############################################################################\n // Fixed values\n // #############################################################################\n readonly #itemPrice: Cents;\n readonly #currency: Currency;\n // #############################################################################\n /**\n * Remaining quantity to allocate\n */\n quantity: number;\n // #############################################################################\n // Specific amount allocators\n // #############################################################################\n #subtotal: FixedAmountAllocator;\n #discountAmount: FixedAmountAllocator;\n #taxableAmount: FixedAmountAllocator;\n #tax: FixedAmountAllocator;\n #total: FixedAmountAllocator;\n\n constructor(productSummary: FullLineItemSummary) {\n const currency = productSummary.currency;\n\n /**\n * Somewhat hackish, just need a stable price that can easily divide later by quantity\n */\n const priceForAllocation =\n productSummary.itemPrice * productSummary.quantity;\n\n this.#itemPrice = productSummary.itemPrice;\n this.#currency = currency;\n this.quantity = productSummary.quantity;\n this.#subtotal = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.subtotal,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#discountAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.discountAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#taxableAmount = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.taxableAmount,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#tax = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.tax,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n this.#total = new FixedAmountAllocator({\n initialAllocateAmount: productSummary.total,\n initialTotalAmount: priceForAllocation,\n currency,\n });\n }\n\n allocateQty(quantity: number): FullLineItemSummary {\n // Calculate remaining allocatable quantity\n let quantityNormalized = Math.max(quantity, 0);\n quantityNormalized =\n this.quantity - quantityNormalized >= 0\n ? quantityNormalized\n : this.quantity;\n\n // Adjust remaining qty\n this.quantity = Math.max(this.quantity - quantityNormalized, 0);\n\n // How big of a slice of the total price we need to allocate\n const itemQuantityPrice = this.#itemPrice * quantityNormalized;\n\n return {\n itemPrice: this.#itemPrice,\n currency: this.#currency,\n quantity: quantityNormalized,\n subtotal: amount(\n this.#subtotal.allocate(itemQuantityPrice, this.#currency),\n ),\n discountAmount: amount(\n this.#discountAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n taxableAmount: amount(\n this.#taxableAmount.allocate(itemQuantityPrice, this.#currency),\n ),\n tax: amount(this.#tax.allocate(itemQuantityPrice, this.#currency)),\n total: amount(this.#total.allocate(itemQuantityPrice, this.#currency)),\n } satisfies FullLineItemSummary;\n }\n}\n"],"names":["ProductAmountAllocator","itemPrice","currency","quantity","subtotal","discountAmount","taxableAmount","tax","total","constructor","productSummary","priceForAllocation","FixedAmountAllocator","initialAllocateAmount","initialTotalAmount","allocateQty","quantityNormalized","Math","max","itemQuantityPrice","amount","allocate"],"mappings":"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"}
@@ -1,18 +1,8 @@
1
1
  'use strict';
2
2
  "use strict";
3
3
 
4
- var __defProp = Object.defineProperty;
5
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
6
- enumerable: true,
7
- configurable: true,
8
- writable: true,
9
- value
10
- }) : obj[key] = value;
11
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12
4
  class CustomImageLoader {
13
- constructor() {
14
- __publicField(this, "_loader");
15
- }
5
+ _loader;
16
6
  set loader(loader) {
17
7
  if (globalThis) globalThis.__customImageLoader = loader;
18
8
  this._loader = loader;
@@ -1 +1 @@
1
- {"version":3,"file":"image-loader.js","sources":["../../../../src/utils/nextjs/legacy-image-loader/image-loader.ts"],"sourcesContent":["import type { ImageLoader } from \"next/dist/client/image-component\";\n\nclass CustomImageLoader {\n _loader: undefined | ImageLoader;\n\n set loader(loader: ImageLoader | undefined) {\n // @ts-expect-error We didn't extend the globalThis type for this as internal lib\n if (globalThis) globalThis.__customImageLoader = loader;\n this._loader = loader;\n }\n\n get loader() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return globalThis?.__customImageLoader ?? this._loader;\n }\n}\n\nexport const imageLoader = new CustomImageLoader();\n"],"names":["CustomImageLoader","constructor","__publicField","loader","globalThis","__customImageLoader","_loader","imageLoader"],"mappings":";;;;;;;;;;;AAEA,MAAMA,iBAAkB,CAAA;EAAxBC,WAAAA,CAAA,EAAA;IACEC,aAAA,CAAA,IAAA,EAAA,SAAA,CAAA;EAAA;EAEA,IAAIC,OAAOA,MAAiC,EAAA;IAEtC,IAAAC,UAAA,aAAuBC,mBAAsB,GAAAF,MAAA;IACjD,IAAA,CAAKG,OAAU,GAAAH,MAAA;EAAA;EAGjB,IAAIA,MAASA,CAAA,EAAA;IAGJ,OAAAC,UAAA,EAAYC,uBAAuB,IAAK,CAAAC,OAAA;EAAA;AAEnD;AAEa,MAAAC,WAAA,GAAc,IAAIP,iBAAkB,CAAA,CAAA;"}
1
+ {"version":3,"file":"image-loader.js","sources":["../../../../src/utils/nextjs/legacy-image-loader/image-loader.ts"],"sourcesContent":["import type { ImageLoader } from \"next/dist/client/image-component\";\n\nclass CustomImageLoader {\n _loader: undefined | ImageLoader;\n\n set loader(loader: ImageLoader | undefined) {\n // @ts-expect-error We didn't extend the globalThis type for this as internal lib\n if (globalThis) globalThis.__customImageLoader = loader;\n this._loader = loader;\n }\n\n get loader() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n return globalThis?.__customImageLoader ?? this._loader;\n }\n}\n\nexport const imageLoader = new CustomImageLoader();\n"],"names":["CustomImageLoader","_loader","loader","globalThis","__customImageLoader","imageLoader"],"mappings":";;;AAEA,MAAMA,iBAAkB,CAAA;EACtBC,OAAA;EAEA,IAAIC,OAAOA,MAAiC,EAAA;IAEtC,IAAAC,UAAA,aAAuBC,mBAAsB,GAAAF,MAAA;IACjD,IAAA,CAAKD,OAAU,GAAAC,MAAA;EAAA;EAGjB,IAAIA,MAASA,CAAA,EAAA;IAGJ,OAAAC,UAAA,EAAYC,uBAAuB,IAAK,CAAAH,OAAA;EAAA;AAEnD;AAEa,MAAAI,WAAA,GAAc,IAAIL,iBAAkB,CAAA,CAAA;"}