@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
@@ -8,14 +8,6 @@ import '../types/index.mjs';
8
8
  import { assert, assertUnreachable } from '../utils/errors.mjs';
9
9
  import { Language } from '../types/constants.mjs';
10
10
  "use strict";
11
- var __defProp = Object.defineProperty;
12
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
13
- enumerable: true,
14
- configurable: true,
15
- writable: true,
16
- value
17
- }) : obj[key] = value;
18
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
19
11
  var SmartcatEnvironment = /* @__PURE__ */(SmartcatEnvironment2 => {
20
12
  SmartcatEnvironment2["Dev"] = "proto";
21
13
  SmartcatEnvironment2["Stg"] = "qa";
@@ -37,44 +29,24 @@ const languageToSmartcatLocaleMapping = {
37
29
  [Language.Zh]: "zh-Hans",
38
30
  [Language.Tw]: "zh-Hant-TW"
39
31
  };
40
- const _SmartcatApi = class _SmartcatApi {
32
+ class SmartcatApi {
33
+ projectId;
34
+ collectionName;
35
+ axios;
36
+ logger;
37
+ escapeBracketDelimiters = false;
38
+ suffix;
39
+ targetLanguages;
40
+ languageToSmartcatLocaleMapping = languageToSmartcatLocaleMapping;
41
+ /**
42
+ * Depending on input we might need or not need suffixes.
43
+ */
44
+ hasSuffix;
45
+ /**
46
+ * Delimiter used to separate translation key "parts"
47
+ */
48
+ keyDelimiter = ".";
41
49
  constructor(config) {
42
- __publicField(this, "projectId");
43
- __publicField(this, "collectionName");
44
- __publicField(this, "axios");
45
- __publicField(this, "logger");
46
- __publicField(this, "escapeBracketDelimiters", false);
47
- __publicField(this, "suffix");
48
- __publicField(this, "targetLanguages");
49
- __publicField(this, "languageToSmartcatLocaleMapping", languageToSmartcatLocaleMapping);
50
- /**
51
- * Depending on input we might need or not need suffixes.
52
- */
53
- __publicField(this, "hasSuffix");
54
- /**
55
- * Delimiter used to separate translation key "parts"
56
- */
57
- __publicField(this, "keyDelimiter", ".");
58
- /**
59
- * Wait for SmartCat to fully translate all target languages.
60
- */
61
- __publicField(this, "pollAndWaitForCompletedTranslations", async (pollRunLimit = 20, pollIntervalMs = 1e4) => {
62
- let pollRunCount = 0;
63
- let translationCompleted = false;
64
- while (!translationCompleted && pollRunCount < pollRunLimit) {
65
- this.logger?.info(`\u231B SmartCat translations in progress.`);
66
- translationCompleted = await this.checkProjectTranslationStatus();
67
- pollRunCount += 1;
68
- if (!translationCompleted) {
69
- await setTimeout(pollIntervalMs);
70
- }
71
- }
72
- if (translationCompleted) {
73
- await setTimeout(6e4);
74
- }
75
- this.logger?.info(translationCompleted ? "\u2705 SmartCat translations completed." : "\u274C Max retries reached when waiting for SmartCat translations to complete.");
76
- return translationCompleted;
77
- });
78
50
  if ("enableLogs" in config) {
79
51
  this.logger = config.enableLogs ? console : void 0;
80
52
  } else if ("logger" in config) {
@@ -326,7 +298,7 @@ const _SmartcatApi = class _SmartcatApi {
326
298
  collections: this.collectionName,
327
299
  zip: "true",
328
300
  languages: this.targetLanguages?.map(lang => this.languageToSmartcatLocaleMapping[lang]).join(","),
329
- labels: _SmartcatApi.prepareLabels(options?.labels)
301
+ labels: SmartcatApi.prepareLabels(options?.labels)
330
302
  // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`
331
303
  };
332
304
  const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();
@@ -414,7 +386,7 @@ const _SmartcatApi = class _SmartcatApi {
414
386
  const preparedTranslationUploads = rawTranslationUploads.map(translationUpload => {
415
387
  let translations = {};
416
388
  for (const [key, value] of Object.entries(translationUpload.translations)) {
417
- if (!_SmartcatApi.isTranslatableValue(value)) {
389
+ if (!SmartcatApi.isTranslatableValue(value)) {
418
390
  continue;
419
391
  }
420
392
  const suffixedKey = this.addSuffixToKey(key, value);
@@ -462,7 +434,7 @@ const _SmartcatApi = class _SmartcatApi {
462
434
  collection: this.collectionName,
463
435
  "delete-missing-keys": !!options?.deleteMissingKeys,
464
436
  // TODO: was fallback empty string really needed?
465
- labels: _SmartcatApi.prepareLabels(options?.labels) || ""
437
+ labels: SmartcatApi.prepareLabels(options?.labels) || ""
466
438
  };
467
439
  const url = `integration/v2/project/${this.projectId}/import`;
468
440
  const smartCatSourceLanguageBuffer = Buffer.from(JSON.stringify(sourceTranslations));
@@ -478,91 +450,110 @@ const _SmartcatApi = class _SmartcatApi {
478
450
  }
479
451
  });
480
452
  }
481
- };
482
- /**
483
- * Static util to prettify translation for writing to file-system
484
- */
485
- __publicField(_SmartcatApi, "prettifyTranslation", translation => {
486
- return stableStringify(translation, {
487
- space: 2
488
- }) +
489
- // Add EOF newline
490
- `
491
- `;
492
- });
493
- /**
494
- * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate
495
- */
496
- __publicField(_SmartcatApi, "isTranslatableValue", value => {
497
- const parsedValue = value?.trim();
498
- if (!parsedValue) {
499
- return false;
500
- }
501
- return !isDigitsOnlyRegex.test(parsedValue);
502
- });
503
- /**
504
- * Centralized method to get Smartcat label based on environment.
505
- * ! Change with caution as it impacts how translaitons will be read from Smartcat.
506
- */
507
- __publicField(_SmartcatApi, "getSmartcatLabel", env => {
508
- switch (env) {
509
- case "proto" /* Dev */:
510
- return "DEV";
511
- case "qa" /* Stg */:
512
- return "STG";
513
- // ! Not really reusable for other projects, didn't make sense right now to create generic label for it
514
- case "new-design" /* NewDesign */:
515
- return "NEW-DESIGN";
516
- case "prod" /* Prod */:
517
- return "MAIN";
518
- default:
519
- {
520
- assertUnreachable(env);
521
- }
522
- }
523
- });
524
- /**
525
- * Get smartcat environment based on branch name
526
- */
527
- __publicField(_SmartcatApi, "getSmartcatEnvironmentFromGhBranchName", ghRepositoryBranchName => {
528
- switch (ghRepositoryBranchName) {
529
- case "master":
530
- case "main":
531
- {
532
- return "prod" /* Prod */;
533
- }
534
- case "new-design":
535
- {
536
- return "new-design" /* NewDesign */;
537
- }
538
- case "beta":
539
- // For store.core beta releases
540
- case "stg":
541
- // Historical GH repos
542
- case "qa":
543
- {
544
- return "qa" /* Stg */;
545
- }
546
- case "alpha":
547
- // For store.core alpha releases
548
- case "dev":
549
- // Historical GH repos
550
- case "proto":
551
- {
552
- return "proto" /* Dev */;
553
- }
554
- default:
555
- {
556
- throw new Error(`Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`);
453
+ /**
454
+ * Wait for SmartCat to fully translate all target languages.
455
+ */
456
+ pollAndWaitForCompletedTranslations = async (pollRunLimit = 20, pollIntervalMs = 1e4) => {
457
+ let pollRunCount = 0;
458
+ let translationCompleted = false;
459
+ while (!translationCompleted && pollRunCount < pollRunLimit) {
460
+ this.logger?.info(`\u231B SmartCat translations in progress.`);
461
+ translationCompleted = await this.checkProjectTranslationStatus();
462
+ pollRunCount += 1;
463
+ if (!translationCompleted) {
464
+ await setTimeout(pollIntervalMs);
557
465
  }
558
- }
559
- });
560
- /**
561
- * Util to prepare labels for passing into request parameters
562
- */
563
- __publicField(_SmartcatApi, "prepareLabels", labels => {
564
- return labels?.map(label => label.trim()).filter(Boolean).join(",");
565
- });
566
- let SmartcatApi = _SmartcatApi;
466
+ }
467
+ if (translationCompleted) {
468
+ await setTimeout(6e4);
469
+ }
470
+ this.logger?.info(translationCompleted ? "\u2705 SmartCat translations completed." : "\u274C Max retries reached when waiting for SmartCat translations to complete.");
471
+ return translationCompleted;
472
+ };
473
+ /**
474
+ * Static util to prettify translation for writing to file-system
475
+ */
476
+ static prettifyTranslation = translation => {
477
+ return stableStringify(translation, {
478
+ space: 2
479
+ }) +
480
+ // Add EOF newline
481
+ `
482
+ `;
483
+ };
484
+ /**
485
+ * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate
486
+ */
487
+ static isTranslatableValue = value => {
488
+ const parsedValue = value?.trim();
489
+ if (!parsedValue) {
490
+ return false;
491
+ }
492
+ return !isDigitsOnlyRegex.test(parsedValue);
493
+ };
494
+ /**
495
+ * Centralized method to get Smartcat label based on environment.
496
+ * ! Change with caution as it impacts how translaitons will be read from Smartcat.
497
+ */
498
+ static getSmartcatLabel = env => {
499
+ switch (env) {
500
+ case "proto" /* Dev */:
501
+ return "DEV";
502
+ case "qa" /* Stg */:
503
+ return "STG";
504
+ // ! Not really reusable for other projects, didn't make sense right now to create generic label for it
505
+ case "new-design" /* NewDesign */:
506
+ return "NEW-DESIGN";
507
+ case "prod" /* Prod */:
508
+ return "MAIN";
509
+ default:
510
+ {
511
+ assertUnreachable(env);
512
+ }
513
+ }
514
+ };
515
+ /**
516
+ * Get smartcat environment based on branch name
517
+ */
518
+ static getSmartcatEnvironmentFromGhBranchName = ghRepositoryBranchName => {
519
+ switch (ghRepositoryBranchName) {
520
+ case "master":
521
+ case "main":
522
+ {
523
+ return "prod" /* Prod */;
524
+ }
525
+ case "new-design":
526
+ {
527
+ return "new-design" /* NewDesign */;
528
+ }
529
+ case "beta":
530
+ // For store.core beta releases
531
+ case "stg":
532
+ // Historical GH repos
533
+ case "qa":
534
+ {
535
+ return "qa" /* Stg */;
536
+ }
537
+ case "alpha":
538
+ // For store.core alpha releases
539
+ case "dev":
540
+ // Historical GH repos
541
+ case "proto":
542
+ {
543
+ return "proto" /* Dev */;
544
+ }
545
+ default:
546
+ {
547
+ throw new Error(`Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`);
548
+ }
549
+ }
550
+ };
551
+ /**
552
+ * Util to prepare labels for passing into request parameters
553
+ */
554
+ static prepareLabels = labels => {
555
+ return labels?.map(label => label.trim()).filter(Boolean).join(",");
556
+ };
557
+ }
567
558
  export { SmartcatApi, SmartcatEnvironment };
568
559
  //# sourceMappingURL=smartcat.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"smartcat.mjs","sources":["../../src/apis/smartcat.ts"],"sourcesContent":["/* eslint-disable no-await-in-loop */\nimport AdmZip from \"adm-zip\";\nimport type { AxiosInstance } from \"axios\";\nimport axios from \"axios\";\nimport { createHash } from \"crypto\";\nimport stableStringify from \"json-stable-stringify\";\nimport invert from \"lodash/invert\";\nimport type { Agent as HttpsAgent } from \"node:https\";\nimport { setTimeout as setTimeoutAsync } from \"node:timers/promises\";\nimport type { Logger as PinoLogger } from \"pino\";\n\nimport type { Nullish } from \"../types\";\nimport { Language } from \"../types\";\nimport { assert, assertUnreachable } from \"../utils/errors\";\n\ntype SmartcatCredentials = {\n apiSecret: string;\n accountId: string;\n projectId: string;\n collectionName: string;\n};\n\ntype SmartcatProject = {\n // Workflow type and id mapping for project\n workflowStages: Array<{\n id: string;\n stageType: \"translation\" | \"postediting\";\n }>;\n documents: Array<{\n // Collection name the document belongs to\n name: string;\n // Flag for if auto translations are complete on smartcat side\n pretranslateCompleted: boolean;\n // Workflow progress of a document\n workflowStages: Array<{\n id: string;\n progress: number;\n }>;\n // Target language of the document\n targetLanguage: string;\n }>;\n};\n\nexport enum SmartcatEnvironment {\n Dev = \"proto\",\n Stg = \"qa\",\n NewDesign = \"new-design\",\n Prod = \"prod\",\n}\n\ntype TranslationObject = Record<string, string>;\n\ntype TranslationUploadObject = {\n translations: TranslationObject;\n /**\n * (Optional) Labels that will be appended to all segments in the upload. Existing labels in SC remains untouched.\n */\n appendLabels?: string[];\n};\n\n/**\n * Basic check if given string only consists of digits\n * ! Doesn't support decimal and thousand separated numbers as it's not a relevant practical use case right now\n */\nconst isDigitsOnlyRegex = /^\\d+$/;\n\nexport type SmartcatApiConfig = {\n auth: SmartcatCredentials;\n /**\n * (optional) Parse single brackets variable delimiters before upstream to Smartcat, from \"{x}\" to \"{{x}}\".\n * @default false\n */\n escapeBracketDelimiters?: boolean;\n /**\n * (optional) Pass https agent to try to keep connections open.\n */\n httpsAgent?: HttpsAgent;\n /**\n * (optional) Languages that will be downloaded from Smartcat.\n * When omitted, all languages will be downloaded.\n */\n targetLanguages?: Language[];\n /**\n * (optional) Custom language to Smartcat locale mapping (e.g. microsite pt differs)\n * When omitted, default mapping will be used.\n */\n languageToSmartcatLocaleMapping?: Record<Language, string>;\n // #############################################################################\n // Logging options\n // #############################################################################\n} & (\n | {\n /**\n * (optional) To enable logging via console.log\n * @default false\n * @deprecated Use newer `logger` option instead, while transitioning for backwards compatibility `enableLogs:\n * true` will utilize console for logging.\n */\n enableLogs?: boolean;\n }\n | {\n /**\n * (optional) Pass Pino or Console (as console.log) instance to enable logging.\n * @default Console\n */\n logger?: PinoLogger | Console;\n }\n) &\n // #############################################################################\n // Suffix options\n // #############################################################################\n (| {\n /**\n * No suffix to be used in translation keys\n * @example 'commons.button.buyNow'\n */\n suffixMode: \"none\";\n }\n | {\n /**\n * Custom suffix to use in translation keys\n * @example `commons.button.buyNow.${suffix}`\n */\n suffixMode: \"custom\";\n /**\n * * ! Must be a non-empty string which doesn't contain the key delimiter \".\" character otherwise will fail\n */\n suffix: string;\n }\n | {\n /**\n * Auto generate (7-character) hash-suffix from the default (english) value\n * @example 'commons.button.buyNow.nk31jnb'\n */\n suffixMode: \"auto\";\n }\n );\n\nconst languageToSmartcatLocaleMapping: Record<Language, string> = {\n [Language.Ar]: \"ar\",\n [Language.De]: \"de\",\n [Language.En]: \"en\",\n [Language.Es]: \"es\",\n [Language.Fr]: \"fr\",\n [Language.El]: \"el\",\n [Language.It]: \"it\",\n [Language.Ja]: \"ja\",\n [Language.Pt]: \"pt-BR\",\n [Language.Zh]: \"zh-Hans\",\n [Language.Tw]: \"zh-Hant-TW\",\n};\n\n/**\n * ####################################################################################\n * # Description:\n * - Uploading a local source of truth (English) locale file to a Smartcat project.\n * Before uploading locale file, a hash is created from the value of the text entry and added as suffix to the key of the text entry.\n *\n * - Downloading translated locale files and only keep translation entries where the \"key.{hash of value}\"\n * matches exactly to the source of truth \"key.{hash of value}\"\n *\n * # Script usage:\n * - Running `runFullSync` will first upload a source of truth locale file to Smartcat,\n * then we poll the smartcat severs until the new locales are full translated by Smartcat AI.\n * When translations are done, we download and process the translated files.\n *\n * - Each of these actions can be run separately as well.\n * ####################################################################################\n */\nexport class SmartcatApi {\n private projectId: string;\n private collectionName: string;\n private axios: AxiosInstance;\n private logger?: PinoLogger | Console;\n private escapeBracketDelimiters: boolean = false;\n private suffix: string | null;\n private targetLanguages: Language[] | undefined;\n private languageToSmartcatLocaleMapping: Record<Language, string> =\n languageToSmartcatLocaleMapping;\n /**\n * Depending on input we might need or not need suffixes.\n */\n private hasSuffix: boolean;\n\n /**\n * Delimiter used to separate translation key \"parts\"\n */\n public keyDelimiter = \".\";\n\n constructor(config: SmartcatApiConfig) {\n // Legacy\n if (\"enableLogs\" in config) {\n // eslint-disable-next-line sonarjs/deprecation\n this.logger = config.enableLogs ? console : undefined;\n // Newer\n } else if (\"logger\" in config) {\n this.logger = config.logger;\n }\n this.escapeBracketDelimiters = !!config.escapeBracketDelimiters;\n this.projectId = config.auth.projectId;\n this.collectionName = config.auth.collectionName;\n this.targetLanguages = config.targetLanguages;\n\n // Language mapping override\n if (config.languageToSmartcatLocaleMapping) {\n this.languageToSmartcatLocaleMapping =\n config.languageToSmartcatLocaleMapping;\n }\n\n switch (config.suffixMode) {\n case \"none\": {\n this.suffix = null;\n this.hasSuffix = false;\n break;\n }\n case \"custom\": {\n const suffixRegex = /^[a-zA-Z0-9-]+$/;\n\n if (\n // Empty string\n !config.suffix ||\n // Contains invalid characters\n !suffixRegex.test(config.suffix) ||\n // Contains key delimiter\n config.suffix.indexOf(this.keyDelimiter) > -1\n ) {\n throw new Error(\n \"Invalid custom suffix provided for SmartcatApi.suffix. Can only contain alphanumeric characters and hyphens.\",\n );\n }\n this.suffix = config.suffix;\n this.hasSuffix = true;\n break;\n }\n case \"auto\": {\n this.suffix = null;\n this.hasSuffix = true;\n break;\n }\n default:\n throw new Error(`Unsupported or missing value for SmartcatApi.suffix`);\n }\n\n const authBase64 = Buffer.from(\n `${config.auth.accountId}:${config.auth.apiSecret}`,\n ).toString(\"base64\");\n\n this.axios = axios.create({\n httpsAgent: config.httpsAgent,\n baseURL: \"https://us.smartcat.ai/api/\",\n headers: {\n Authorization: `Basic ${authBase64}`,\n },\n });\n }\n\n // #############################################################################\n // Internal helpers\n // #############################################################################\n /**\n * Smartcat locale --> enum Language mapping for filenames\n */\n private getSmartcatLocaleToLanguageMap() {\n return invert(this.languageToSmartcatLocaleMapping);\n }\n\n // #############################################################################\n // Key/Suffix/Hash helpers\n // #############################################################################\n\n /**\n * Hash the text value from translation entry value from reference language\n */\n private generateHashSuffixFromValue(value: string): string {\n // Using same amount of chars (7) as GIT uses for shorthand hash.\n const shorthandHashCharCount = 7;\n\n return createHash(\"sha256\")\n .update(value)\n .digest(\"hex\")\n .substring(0, shorthandHashCharCount);\n }\n\n /**\n * Create suffix for given value depending on configuration\n */\n public createSuffix(value: string): string {\n assert(\n this.hasSuffix,\n \"Can't call `createSuffix` for instance without a suffix\",\n );\n\n return this.suffix || this.generateHashSuffixFromValue(value);\n }\n\n /**\n * Util to create translation key.\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.createTranslationKey(['a', 'b', 'c']) // 'a.b.c'\n */\n public createTranslationKey(parts: string[]): string {\n return parts.join(this.keyDelimiter);\n }\n\n /**\n * Util to parse a translation key\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.parseTranslationKey('a.b.c'); // ['a', 'b', 'c'];\n */\n public parseTranslationKey(key: string): string[] {\n return key.split(this.keyDelimiter);\n }\n\n /**\n * Returns the key with suffix created by hashing the value.\n */\n public addSuffixToKey(key: string, value: string): string {\n return this.hasSuffix\n ? this.createTranslationKey([key, this.createSuffix(value)])\n : key;\n }\n\n /**\n * Takes a SmartCat text entry key (with hash) and returns the key without it\n */\n public removeSuffixFromKey(key: string): string {\n return this.hasSuffix\n ? this.createTranslationKey(this.parseTranslationKey(key).slice(0, -1))\n : key;\n }\n\n // #############################################################################\n // Transform data helpers\n // #############################################################################\n\n /**\n * Filter out entries that are not included in source of truth\n * translations and remove suffix from keys.\n */\n public processSmartcatTranslations(\n sourceOfTruthTranslations: TranslationObject,\n smartcatTranslations: TranslationObject,\n ): TranslationObject {\n // Append suffix to source of truth translations.\n const sourceOfTruthKeysWithSuffix = new Set(\n Object.entries(sourceOfTruthTranslations).map(([key, value]) =>\n this.addSuffixToKey(key, value),\n ),\n );\n\n // Normalise translated entry keys by removing the hash from key name.\n const result: TranslationObject = {};\n for (const key in smartcatTranslations) {\n // Ignore key from smartcat if not in source-of-truth\n if (!sourceOfTruthKeysWithSuffix.has(key)) {\n continue;\n }\n\n const normalisedKey = this.removeSuffixFromKey(key);\n const value = smartcatTranslations[key];\n\n if (value !== undefined) {\n result[normalisedKey] = value;\n }\n }\n\n return result;\n }\n\n /**\n * Parse string variable delimiters between smartcat and local delimiters.\n * Only top level delimiter pairs that don't have child delimiters or child curly brackets should be transformed.\n */\n private parseVariableDelimiters(\n input: string,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): string {\n /**\n * Constant icu string delimiters that we avoid to transform,\n * can conflict with the variable delimiters without error.\n */\n const icuStringDelimiters = {\n open: \"{\",\n close: \"}\",\n };\n\n /**\n * Evaluate what delimiters to transform from and to\n */\n const delimiterOptions = {\n local: {\n open: \"{\",\n close: \"}\",\n },\n smartcat: {\n open: \"{{\",\n close: \"}}\",\n },\n };\n const delimiters =\n mode === \"toSmartcatDelimiters\"\n ? {\n from: delimiterOptions.local,\n to: delimiterOptions.smartcat,\n }\n : {\n from: delimiterOptions.smartcat,\n to: delimiterOptions.local,\n };\n\n // Cheap check - return unmodified if input does not contain any opening or any closing variable delimiters\n if (\n !input.includes(delimiters.from.open) ||\n !input.includes(delimiters.from.close)\n ) {\n return input;\n }\n\n let result = \"\"; // Final result\n let lastPosition = 0; // This helps in building the result string\n let icuStringDepth = 0;\n /**\n * When finding an opening delimiter, closing delimiter index is already\n * evaluated and therefor we store it until it's reached.\n * Gets reset to `null` when this index in the iteration is reached.\n */\n let nextValidClosingVariableDelimiterIndex: null | number = null;\n\n for (let i = 0; i < input.length; i++) {\n // Hold current char\n const currentChar = input[i];\n\n // If currently inside ICU string, track the depth and continue to next char\n if (icuStringDepth > 0) {\n if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n } else if (currentChar === icuStringDelimiters.close) {\n icuStringDepth--;\n }\n\n continue;\n }\n\n /**\n * Encounter of a closing delimiter\n */\n if (i === nextValidClosingVariableDelimiterIndex) {\n // Get inner content between variable delimiters\n const variableInnerContent = input.slice(\n lastPosition + delimiters.from.open.length,\n i,\n );\n // Transform delimiters\n result += `${delimiters.to.open}${variableInnerContent}${delimiters.to.close}`;\n // Move the last position past this closing brace\n lastPosition = i + delimiters.from.close.length;\n // Reset closing delimiter index\n nextValidClosingVariableDelimiterIndex = null;\n // Go next after closing variable\n continue;\n } else if (nextValidClosingVariableDelimiterIndex !== null) {\n // Go next until reaching closing variable delimiter\n continue;\n }\n\n /**\n * Evaluate if current position is index of an opening delimiter\n */\n const isVariableOpeningBracketPattern =\n input.substring(i, i + delimiters.from.open.length) ===\n delimiters.from.open;\n if (isVariableOpeningBracketPattern) {\n // Evaluate start and end indexes of variable brackets.\n const innerContentStartIndex = i + delimiters.from.open.length;\n const closingVariableDelimiterIndex = input.indexOf(\n delimiters.from.close,\n innerContentStartIndex,\n );\n\n // Check if we can find the closing delimiter, else the opening delimiter can not be valid\n if (closingVariableDelimiterIndex !== -1) {\n // Variable delimiters inner content, excluding the delimiters\n const variableInnerContent = input.substring(\n innerContentStartIndex,\n closingVariableDelimiterIndex,\n );\n // Characters not allowed for variable inner content - helps to avoid transforming ICU string delimiters\n const illegalVariableCharacterRegex = /[{},#]/;\n // If delimiters inner content contains illegal characters, the opening bracket is not a valid variable.\n const isValidVariableOpeningDelimiters =\n !illegalVariableCharacterRegex.test(variableInnerContent);\n\n if (isValidVariableOpeningDelimiters) {\n // Append everything up to this delimiter to the result\n result += input.substring(lastPosition, i);\n // Update the last position to the current index\n lastPosition = i;\n // Store the closing delimiter index\n nextValidClosingVariableDelimiterIndex =\n closingVariableDelimiterIndex;\n } else if (currentChar === icuStringDelimiters.open) {\n // When reached - ICU string begins here\n icuStringDepth++;\n }\n }\n } else if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n }\n }\n\n // Append any remaining part of the input string to result\n result += input.slice(lastPosition);\n return result;\n }\n\n /**\n * Helper to parse variable placeholders for a translation file\n */\n public parseTranslationVariableDelimiters(\n translations: TranslationObject,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): TranslationObject {\n return Object.fromEntries(\n Object.entries(translations).map(([key, value]) => [\n key,\n this.parseVariableDelimiters(value, mode),\n ]),\n );\n }\n\n /**\n * Check if SmartCat has translated all target languages.\n */\n private async checkProjectTranslationStatus(): Promise<boolean> {\n try {\n // Fetch project data\n const res = await this.axios.get(\n `/integration/v1/project/${this.projectId}`,\n );\n const project = res.data as SmartcatProject;\n\n // Find the auto translation workflow id\n const autoTranslationWorkflowId = project.workflowStages.find(\n (workflow) => workflow.stageType === \"translation\",\n )?.id;\n if (!autoTranslationWorkflowId) {\n throw new Error(\n \"Could not find auto translation workflow id in SmartCat project.\",\n );\n }\n\n // Get relevant documents\n const documents = project.documents.filter((doc) => {\n const isInCollection = doc.name === this.collectionName;\n const isRequestedTargetLanguage = Boolean(\n !this.targetLanguages ||\n this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .includes(doc.targetLanguage),\n );\n\n return isInCollection && isRequestedTargetLanguage;\n });\n\n // Check if all documents have 100% progress in auto translation workflow\n return documents.every((doc) => {\n const autoTranslationWorkflow = doc.workflowStages.find(\n (workflow) => workflow.id === autoTranslationWorkflowId,\n );\n return autoTranslationWorkflow?.progress === 100;\n });\n } catch (error) {\n this.logger?.error(error, \"❌ Failed to get project\");\n throw error;\n }\n }\n\n // #############################################################################\n // Api methods\n // #############################################################################\n\n /**\n * Download translations from Smartcat.\n */\n public async downloadSmartcatTranslations(\n defaultTranslations: TranslationObject,\n options?: {\n /**\n * (optional) List of labels to export keys that are marked with labels\n * @default undefined\n */\n labels?: string[];\n /**\n * (optional) Max attempt count for polling download ready status.\n * @default 10\n */\n maxAttemptCount?: number;\n /**\n * (optional) Interval in milliseconds between each polling attempt.\n * @default 5000\n */\n intervalMs?: number;\n },\n ): Promise<Record<Language, TranslationObject>> {\n // https://developers.smartcat.com/api/#run-export-from-software-localization-project\n const url = `integration/v2/project/${this.projectId}/export`;\n const params = {\n \"completion-state\": \"draft\",\n \"output-file-path-template\": \"{LANGUAGE}.json\",\n collections: this.collectionName,\n zip: \"true\",\n languages: this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .join(\",\"),\n labels: SmartcatApi.prepareLabels(options?.labels),\n // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`\n };\n\n const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();\n\n try {\n const exportResponse = await this.axios.post(\n url,\n {},\n {\n params,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n },\n },\n );\n const taskID = exportResponse.data;\n\n const pollMaxAttemptCount = options?.maxAttemptCount ?? 10;\n const pollInterval = options?.intervalMs ?? 5000;\n\n const translations: Record<string, TranslationObject> = {};\n let pollAttempt = 0;\n let exportSuccessful = false;\n\n // Polling loop to check if the export is successful\n while (!exportSuccessful && pollAttempt < pollMaxAttemptCount) {\n pollAttempt += 1;\n\n const checkUrl = `integration/v1/document/export/${taskID}/`;\n const checkResponse = await this.axios.get(checkUrl, {\n responseType: \"arraybuffer\",\n // Don't throw errors for all errors below 500 so we can handle it gracefully\n validateStatus: (status) => status < 500,\n });\n\n if (checkResponse.status === 200) {\n // Unzip and discard the zip file, rename.\n const zip = new AdmZip(checkResponse.data);\n const zipEntries = zip.getEntries();\n\n for (const zipEntry of zipEntries) {\n if (!zipEntry.isDirectory) {\n // Extract the content of the file\n const data = zip.readFile(zipEntry);\n\n if (!data) {\n throw new Error(\n \"Exported smarcat document does not include any data\",\n );\n }\n\n const locale = zipEntry.entryName.replace(\".json\", \"\");\n const mappedLocale = smartcatLocaleToLanguageMap[locale];\n\n if (!mappedLocale) {\n this.logger?.warn(\n `Couldn't find map for SmartCat locale ${locale}, skipping file.`,\n );\n continue;\n }\n\n const parsedTranslations = JSON.parse(data.toString());\n\n // Process downloaded translations.\n let result = this.processSmartcatTranslations(\n defaultTranslations,\n parsedTranslations,\n );\n\n // Escape content variable delimiters.\n if (this.escapeBracketDelimiters) {\n result = this.parseTranslationVariableDelimiters(\n result,\n \"toLocalDelimiters\",\n );\n }\n\n translations[mappedLocale] = result;\n }\n }\n\n // Exit loop.\n exportSuccessful = true;\n } else if (checkResponse.status === 204) {\n this.logger?.info(\n `The task ID ${taskID} is not ready yet, will try again`,\n );\n\n // Wait for some time before checking again\n await setTimeoutAsync(pollInterval);\n } else if (checkResponse.status === 404) {\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 404`,\n );\n } else if (checkResponse.status === 422) {\n let response: unknown;\n try {\n // Convert ArrayBuffer to Buffer\n const buffer = Buffer.from(checkResponse.data);\n // Decode buffer to string\n const jsonString = buffer.toString(\"utf8\");\n\n response = jsonString;\n } catch {\n response = \"!! Unable to parse response !!\";\n }\n this.logger?.error(\n response,\n \"❌ Failed to download smartcat translations, endpoint returned 422\",\n );\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 422`,\n );\n } else {\n // Unknown status response.\n throw new Error(\n `Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`,\n );\n }\n }\n\n if (!exportSuccessful) {\n throw new Error(\n \"Max retries reached when trying to export files from SmartCat.\",\n );\n }\n\n this.logger?.info(\n \"✅ Download target language locale documents complete.\",\n );\n\n return translations;\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed downloading locale files from SmartCat\\n\",\n );\n\n throw error;\n }\n }\n\n /**\n * Exposed method for uploading source translations to Smartcat.\n */\n public async uploadSourceTranslations(\n // Source translations that will be uploaded to SmartCat.\n sourceTranslations: TranslationUploadObject | TranslationUploadObject[],\n options?: {\n // When true, deleting all keys in the smartcat collection that does not exist in sourceTranslations.\n deleteMissingKeys?: boolean;\n },\n ): Promise<void> {\n try {\n const rawTranslationUploads = Array.isArray(sourceTranslations)\n ? sourceTranslations\n : [sourceTranslations];\n\n /**\n * Prepare translations for upload by:\n * 1. Ignore non-translatable values.\n * 2. Add suffix to key based on settings.\n * 3. Escape variable delimiters based on settings.\n */\n const preparedTranslationUploads = rawTranslationUploads.map(\n (translationUpload) => {\n let translations: TranslationObject = {};\n\n for (const [key, value] of Object.entries(\n translationUpload.translations,\n )) {\n if (!SmartcatApi.isTranslatableValue(value)) {\n continue;\n }\n const suffixedKey = this.addSuffixToKey(key, value);\n translations[suffixedKey] = value;\n }\n\n // Prepare variable delimiters.\n if (this.escapeBracketDelimiters) {\n translations = this.parseTranslationVariableDelimiters(\n translations,\n \"toSmartcatDelimiters\",\n );\n }\n\n return {\n ...translationUpload,\n translations,\n };\n },\n );\n\n /**\n * Upload all translations together and make the data purge in SC.\n */\n if (options?.deleteMissingKeys) {\n // Merge all prepared translations into one object.\n const combinedTranslations: TranslationObject =\n preparedTranslationUploads.reduce((acc, current) => {\n return { ...acc, ...current.translations };\n }, {});\n\n await this.smartcatUploadRequest(combinedTranslations, {\n deleteMissingKeys: true,\n });\n\n this.logger?.info(\"🧹 Deleted unused translations from Smartcat.\");\n }\n\n /**\n * Upload each translation object separately to apply labels.\n */\n for (const translationUpload of preparedTranslationUploads) {\n await this.smartcatUploadRequest(translationUpload.translations, {\n labels: translationUpload.appendLabels,\n });\n }\n\n this.logger?.info(\"✅ Upload source translations to SmartCat complete.\");\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed uploading source translations to SmartCat.\",\n );\n throw error;\n }\n }\n\n /**\n * Internal helper method for uploading source translations to Smartcat.\n * @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project\n */\n private async smartcatUploadRequest(\n sourceTranslations: TranslationObject,\n options?: {\n labels?: string[];\n deleteMissingKeys?: boolean;\n },\n ) {\n const queryParams = {\n format: \"json\",\n language: \"en\",\n collection: this.collectionName,\n \"delete-missing-keys\": !!options?.deleteMissingKeys,\n // TODO: was fallback empty string really needed?\n labels: SmartcatApi.prepareLabels(options?.labels) || \"\",\n };\n\n const url = `integration/v2/project/${this.projectId}/import`;\n\n const smartCatSourceLanguageBuffer = Buffer.from(\n JSON.stringify(sourceTranslations),\n );\n\n const fileBlob = new Blob([smartCatSourceLanguageBuffer], {\n type: \"application/octet-stream\",\n });\n\n const formData = new FormData();\n formData.append(\"file\", fileBlob);\n\n await this.axios.post(url, formData, {\n params: queryParams,\n headers: { \"Content-Type\": \"multipart/form-data\" },\n });\n }\n\n /**\n * Wait for SmartCat to fully translate all target languages.\n */\n public pollAndWaitForCompletedTranslations = async (\n pollRunLimit = 20,\n pollIntervalMs = 10000,\n ): Promise<boolean> => {\n let pollRunCount = 0;\n let translationCompleted = false;\n\n while (!translationCompleted && pollRunCount < pollRunLimit) {\n this.logger?.info(`⌛ SmartCat translations in progress.`);\n\n translationCompleted = await this.checkProjectTranslationStatus();\n pollRunCount += 1;\n\n if (!translationCompleted) {\n await setTimeoutAsync(pollIntervalMs);\n }\n }\n\n /**\n * HACK\n * Since there is a bug with smartcat returning true for `pretranslateCompleted`\n * before they are updated in smartcat. We implement an artificial sleep to let\n * smartcat update the target translations before we download them.\n */\n if (translationCompleted) {\n await setTimeoutAsync(60000);\n }\n\n this.logger?.info(\n translationCompleted\n ? \"✅ SmartCat translations completed.\"\n : \"❌ Max retries reached when waiting for SmartCat translations to complete.\",\n );\n\n return translationCompleted;\n };\n\n /**\n * Static util to prettify translation for writing to file-system\n */\n static readonly prettifyTranslation = (\n translation: TranslationObject,\n ): string => {\n return (\n stableStringify(translation, { space: 2 }) +\n // Add EOF newline\n `\\n`\n );\n };\n\n /**\n * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate\n */\n static readonly isTranslatableValue = (value: Nullish<string>): boolean => {\n // Trim to check if given string isn't just spaces which is not worth translating\n const parsedValue = value?.trim();\n\n // Ignore empty values\n if (!parsedValue) {\n return false;\n }\n\n // Don't translate values that are digits only\n return !isDigitsOnlyRegex.test(parsedValue);\n };\n\n /**\n * Centralized method to get Smartcat label based on environment.\n * ! Change with caution as it impacts how translaitons will be read from Smartcat.\n */\n static readonly getSmartcatLabel = (env: SmartcatEnvironment): string => {\n switch (env) {\n case SmartcatEnvironment.Dev:\n return \"DEV\";\n case SmartcatEnvironment.Stg:\n return \"STG\";\n // ! Not really reusable for other projects, didn't make sense right now to create generic label for it\n case SmartcatEnvironment.NewDesign:\n return \"NEW-DESIGN\";\n case SmartcatEnvironment.Prod:\n return \"MAIN\";\n default: {\n assertUnreachable(env);\n }\n }\n };\n\n /**\n * Get smartcat environment based on branch name\n */\n static readonly getSmartcatEnvironmentFromGhBranchName = (\n ghRepositoryBranchName: string,\n ): SmartcatEnvironment => {\n switch (ghRepositoryBranchName) {\n case \"master\":\n case \"main\": {\n return SmartcatEnvironment.Prod;\n }\n case \"new-design\": {\n return SmartcatEnvironment.NewDesign;\n }\n case \"beta\": // For store.core beta releases\n case \"stg\": // Historical GH repos\n case \"qa\": {\n return SmartcatEnvironment.Stg;\n }\n case \"alpha\": // For store.core alpha releases\n case \"dev\": // Historical GH repos\n case \"proto\": {\n return SmartcatEnvironment.Dev;\n }\n\n default: {\n throw new Error(\n `Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`,\n );\n }\n }\n };\n\n /**\n * Util to prepare labels for passing into request parameters\n */\n static readonly prepareLabels = (labels?: string[]): string | undefined => {\n return labels\n ?.map((label) => label.trim())\n .filter(Boolean)\n .join(\",\");\n };\n}\n"],"names":["SmartcatEnvironment","isDigitsOnlyRegex","languageToSmartcatLocaleMapping","Language","Ar","De","En","Es","Fr","El","It","Ja","Pt","Zh","Tw","_SmartcatApi","constructor","config","__publicField","pollRunLimit","pollIntervalMs","pollRunCount","translationCompleted","logger","info","checkProjectTranslationStatus","setTimeoutAsync","enableLogs","console","escapeBracketDelimiters","projectId","auth","collectionName","targetLanguages","suffixMode","suffix","hasSuffix","suffixRegex","test","indexOf","keyDelimiter","Error","authBase64","Buffer","from","accountId","apiSecret","toString","axios","create","httpsAgent","baseURL","headers","Authorization","getSmartcatLocaleToLanguageMap","invert","generateHashSuffixFromValue","value","shorthandHashCharCount","createHash","update","digest","substring","createSuffix","assert","createTranslationKey","parts","join","parseTranslationKey","key","split","addSuffixToKey","removeSuffixFromKey","slice","processSmartcatTranslations","sourceOfTruthTranslations","smartcatTranslations","sourceOfTruthKeysWithSuffix","Set","Object","entries","map","result","has","normalisedKey","parseVariableDelimiters","input","mode","icuStringDelimiters","open","close","delimiterOptions","local","smartcat","delimiters","to","includes","lastPosition","icuStringDepth","nextValidClosingVariableDelimiterIndex","i","length","currentChar","variableInnerContent","isVariableOpeningBracketPattern","innerContentStartIndex","closingVariableDelimiterIndex","illegalVariableCharacterRegex","isValidVariableOpeningDelimiters","parseTranslationVariableDelimiters","translations","fromEntries","res","get","project","data","autoTranslationWorkflowId","workflowStages","find","workflow","stageType","id","documents","filter","doc","isInCollection","name","isRequestedTargetLanguage","Boolean","lang","targetLanguage","every","autoTranslationWorkflow","progress","error","downloadSmartcatTranslations","defaultTranslations","options","url","params","collections","zip","languages","labels","prepareLabels","smartcatLocaleToLanguageMap","exportResponse","post","taskID","pollMaxAttemptCount","maxAttemptCount","pollInterval","intervalMs","pollAttempt","exportSuccessful","checkUrl","checkResponse","responseType","validateStatus","status","AdmZip","zipEntries","getEntries","zipEntry","isDirectory","readFile","locale","entryName","replace","mappedLocale","warn","parsedTranslations","JSON","parse","response","buffer","jsonString","uploadSourceTranslations","sourceTranslations","rawTranslationUploads","Array","isArray","preparedTranslationUploads","translationUpload","isTranslatableValue","suffixedKey","deleteMissingKeys","combinedTranslations","reduce","acc","current","smartcatUploadRequest","appendLabels","queryParams","format","language","collection","smartCatSourceLanguageBuffer","stringify","fileBlob","Blob","type","formData","FormData","append","translation","stableStringify","space","parsedValue","trim","env","assertUnreachable","ghRepositoryBranchName","label","SmartcatApi"],"mappings":";;;;;;;;;;;;;;;;;;AA2CY,IAAAA,mBAAA,GAAA,gBAAAA,oBAAL,IAAA;EACLA,qBAAA,KAAM,CAAA,GAAA,OAAA;EACNA,qBAAA,KAAM,CAAA,GAAA,IAAA;EACNA,qBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,qBAAA,MAAO,CAAA,GAAA,MAAA;EAJGA,OAAAA,oBAAAA;AAAA,CAAA,EAAAA,mBAAA,IAAA,CAAA,CAAA,CAAA;AAqBZ,MAAMC,iBAAoB,GAAA,OAAA;AA0E1B,MAAMC,+BAA4D,GAAA;EAChE,CAACC,QAAS,CAAAC,EAAE,GAAG,IAAA;EACf,CAACD,QAAS,CAAAE,EAAE,GAAG,IAAA;EACf,CAACF,QAAS,CAAAG,EAAE,GAAG,IAAA;EACf,CAACH,QAAS,CAAAI,EAAE,GAAG,IAAA;EACf,CAACJ,QAAS,CAAAK,EAAE,GAAG,IAAA;EACf,CAACL,QAAS,CAAAM,EAAE,GAAG,IAAA;EACf,CAACN,QA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YAAA,EA0yBK,wCAAyC,EACvDqM,sBACwB,IAAA;EACxB,QAAQA,sBAAwB;IAC9B,KAAK,QAAA;IACL,KAAK,MAAQ;MAAA;QACJ,OAAA,MAAA,CAAA;MAAA;IAET,KAAK,YAAc;MAAA;QACV,OAAA,YAAA,CAAA;MAAA;IAET,KAAK,MAAA;IAAA;IACL,KAAK,KAAA;IAAA;IACL,KAAK,IAAM;MAAA;QACF,OAAA,IAAA,CAAA;MAAA;IAET,KAAK,OAAA;IAAA;IACL,KAAK,KAAA;IAAA;IACL,KAAK,OAAS;MAAA;QACL,OAAA,OAAA,CAAA;MAAA;IAGT;MAAS;QACP,MAAM,IAAI3K,KAAA,CACR,2BAA2B2K,sBAAsB,4BACnD,CAAA;MAAA;EACF;AAEJ,CAAA,CAAA;AAAA;AAAA;AAAA;AAKAlM,aA30BW,CAAAH,YAAA,EA20BK,eAAgB,EAACgI,MAA0C,IAAA;EACzE,OAAOA,MACH,EAAA9D,GAAA,CAAKoI,KAAA,IAAUA,KAAM,CAAAJ,IAAA,EAAM,CAAA,CAC5BtF,MAAO,CAAAK,OAAO,CACd,CAAA7D,IAAA,CAAK,GAAG,CAAA;AACb,CAAA,CAAA;AAh1BK,IAAMmJ,WAAN,GAAAvM,YAAA;"}
1
+ {"version":3,"file":"smartcat.mjs","sources":["../../src/apis/smartcat.ts"],"sourcesContent":["/* eslint-disable no-await-in-loop */\nimport AdmZip from \"adm-zip\";\nimport type { AxiosInstance } from \"axios\";\nimport axios from \"axios\";\nimport { createHash } from \"crypto\";\nimport stableStringify from \"json-stable-stringify\";\nimport invert from \"lodash/invert\";\nimport type { Agent as HttpsAgent } from \"node:https\";\nimport { setTimeout as setTimeoutAsync } from \"node:timers/promises\";\nimport type { Logger as PinoLogger } from \"pino\";\n\nimport type { Nullish } from \"../types\";\nimport { Language } from \"../types\";\nimport { assert, assertUnreachable } from \"../utils/errors\";\n\ntype SmartcatCredentials = {\n apiSecret: string;\n accountId: string;\n projectId: string;\n collectionName: string;\n};\n\ntype SmartcatProject = {\n // Workflow type and id mapping for project\n workflowStages: Array<{\n id: string;\n stageType: \"translation\" | \"postediting\";\n }>;\n documents: Array<{\n // Collection name the document belongs to\n name: string;\n // Flag for if auto translations are complete on smartcat side\n pretranslateCompleted: boolean;\n // Workflow progress of a document\n workflowStages: Array<{\n id: string;\n progress: number;\n }>;\n // Target language of the document\n targetLanguage: string;\n }>;\n};\n\nexport enum SmartcatEnvironment {\n Dev = \"proto\",\n Stg = \"qa\",\n NewDesign = \"new-design\",\n Prod = \"prod\",\n}\n\ntype TranslationObject = Record<string, string>;\n\ntype TranslationUploadObject = {\n translations: TranslationObject;\n /**\n * (Optional) Labels that will be appended to all segments in the upload. Existing labels in SC remains untouched.\n */\n appendLabels?: string[];\n};\n\n/**\n * Basic check if given string only consists of digits\n * ! Doesn't support decimal and thousand separated numbers as it's not a relevant practical use case right now\n */\nconst isDigitsOnlyRegex = /^\\d+$/;\n\nexport type SmartcatApiConfig = {\n auth: SmartcatCredentials;\n /**\n * (optional) Parse single brackets variable delimiters before upstream to Smartcat, from \"{x}\" to \"{{x}}\".\n * @default false\n */\n escapeBracketDelimiters?: boolean;\n /**\n * (optional) Pass https agent to try to keep connections open.\n */\n httpsAgent?: HttpsAgent;\n /**\n * (optional) Languages that will be downloaded from Smartcat.\n * When omitted, all languages will be downloaded.\n */\n targetLanguages?: Language[];\n /**\n * (optional) Custom language to Smartcat locale mapping (e.g. microsite pt differs)\n * When omitted, default mapping will be used.\n */\n languageToSmartcatLocaleMapping?: Record<Language, string>;\n // #############################################################################\n // Logging options\n // #############################################################################\n} & (\n | {\n /**\n * (optional) To enable logging via console.log\n * @default false\n * @deprecated Use newer `logger` option instead, while transitioning for backwards compatibility `enableLogs:\n * true` will utilize console for logging.\n */\n enableLogs?: boolean;\n }\n | {\n /**\n * (optional) Pass Pino or Console (as console.log) instance to enable logging.\n * @default Console\n */\n logger?: PinoLogger | Console;\n }\n) &\n // #############################################################################\n // Suffix options\n // #############################################################################\n (| {\n /**\n * No suffix to be used in translation keys\n * @example 'commons.button.buyNow'\n */\n suffixMode: \"none\";\n }\n | {\n /**\n * Custom suffix to use in translation keys\n * @example `commons.button.buyNow.${suffix}`\n */\n suffixMode: \"custom\";\n /**\n * * ! Must be a non-empty string which doesn't contain the key delimiter \".\" character otherwise will fail\n */\n suffix: string;\n }\n | {\n /**\n * Auto generate (7-character) hash-suffix from the default (english) value\n * @example 'commons.button.buyNow.nk31jnb'\n */\n suffixMode: \"auto\";\n }\n );\n\nconst languageToSmartcatLocaleMapping: Record<Language, string> = {\n [Language.Ar]: \"ar\",\n [Language.De]: \"de\",\n [Language.En]: \"en\",\n [Language.Es]: \"es\",\n [Language.Fr]: \"fr\",\n [Language.El]: \"el\",\n [Language.It]: \"it\",\n [Language.Ja]: \"ja\",\n [Language.Pt]: \"pt-BR\",\n [Language.Zh]: \"zh-Hans\",\n [Language.Tw]: \"zh-Hant-TW\",\n};\n\n/**\n * ####################################################################################\n * # Description:\n * - Uploading a local source of truth (English) locale file to a Smartcat project.\n * Before uploading locale file, a hash is created from the value of the text entry and added as suffix to the key of the text entry.\n *\n * - Downloading translated locale files and only keep translation entries where the \"key.{hash of value}\"\n * matches exactly to the source of truth \"key.{hash of value}\"\n *\n * # Script usage:\n * - Running `runFullSync` will first upload a source of truth locale file to Smartcat,\n * then we poll the smartcat severs until the new locales are full translated by Smartcat AI.\n * When translations are done, we download and process the translated files.\n *\n * - Each of these actions can be run separately as well.\n * ####################################################################################\n */\nexport class SmartcatApi {\n private projectId: string;\n private collectionName: string;\n private axios: AxiosInstance;\n private logger?: PinoLogger | Console;\n private escapeBracketDelimiters: boolean = false;\n private suffix: string | null;\n private targetLanguages: Language[] | undefined;\n private languageToSmartcatLocaleMapping: Record<Language, string> =\n languageToSmartcatLocaleMapping;\n /**\n * Depending on input we might need or not need suffixes.\n */\n private hasSuffix: boolean;\n\n /**\n * Delimiter used to separate translation key \"parts\"\n */\n public keyDelimiter = \".\";\n\n constructor(config: SmartcatApiConfig) {\n // Legacy\n if (\"enableLogs\" in config) {\n // eslint-disable-next-line sonarjs/deprecation\n this.logger = config.enableLogs ? console : undefined;\n // Newer\n } else if (\"logger\" in config) {\n this.logger = config.logger;\n }\n this.escapeBracketDelimiters = !!config.escapeBracketDelimiters;\n this.projectId = config.auth.projectId;\n this.collectionName = config.auth.collectionName;\n this.targetLanguages = config.targetLanguages;\n\n // Language mapping override\n if (config.languageToSmartcatLocaleMapping) {\n this.languageToSmartcatLocaleMapping =\n config.languageToSmartcatLocaleMapping;\n }\n\n switch (config.suffixMode) {\n case \"none\": {\n this.suffix = null;\n this.hasSuffix = false;\n break;\n }\n case \"custom\": {\n const suffixRegex = /^[a-zA-Z0-9-]+$/;\n\n if (\n // Empty string\n !config.suffix ||\n // Contains invalid characters\n !suffixRegex.test(config.suffix) ||\n // Contains key delimiter\n config.suffix.indexOf(this.keyDelimiter) > -1\n ) {\n throw new Error(\n \"Invalid custom suffix provided for SmartcatApi.suffix. Can only contain alphanumeric characters and hyphens.\",\n );\n }\n this.suffix = config.suffix;\n this.hasSuffix = true;\n break;\n }\n case \"auto\": {\n this.suffix = null;\n this.hasSuffix = true;\n break;\n }\n default:\n throw new Error(`Unsupported or missing value for SmartcatApi.suffix`);\n }\n\n const authBase64 = Buffer.from(\n `${config.auth.accountId}:${config.auth.apiSecret}`,\n ).toString(\"base64\");\n\n this.axios = axios.create({\n httpsAgent: config.httpsAgent,\n baseURL: \"https://us.smartcat.ai/api/\",\n headers: {\n Authorization: `Basic ${authBase64}`,\n },\n });\n }\n\n // #############################################################################\n // Internal helpers\n // #############################################################################\n /**\n * Smartcat locale --> enum Language mapping for filenames\n */\n private getSmartcatLocaleToLanguageMap() {\n return invert(this.languageToSmartcatLocaleMapping);\n }\n\n // #############################################################################\n // Key/Suffix/Hash helpers\n // #############################################################################\n\n /**\n * Hash the text value from translation entry value from reference language\n */\n private generateHashSuffixFromValue(value: string): string {\n // Using same amount of chars (7) as GIT uses for shorthand hash.\n const shorthandHashCharCount = 7;\n\n return createHash(\"sha256\")\n .update(value)\n .digest(\"hex\")\n .substring(0, shorthandHashCharCount);\n }\n\n /**\n * Create suffix for given value depending on configuration\n */\n public createSuffix(value: string): string {\n assert(\n this.hasSuffix,\n \"Can't call `createSuffix` for instance without a suffix\",\n );\n\n return this.suffix || this.generateHashSuffixFromValue(value);\n }\n\n /**\n * Util to create translation key.\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.createTranslationKey(['a', 'b', 'c']) // 'a.b.c'\n */\n public createTranslationKey(parts: string[]): string {\n return parts.join(this.keyDelimiter);\n }\n\n /**\n * Util to parse a translation key\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.parseTranslationKey('a.b.c'); // ['a', 'b', 'c'];\n */\n public parseTranslationKey(key: string): string[] {\n return key.split(this.keyDelimiter);\n }\n\n /**\n * Returns the key with suffix created by hashing the value.\n */\n public addSuffixToKey(key: string, value: string): string {\n return this.hasSuffix\n ? this.createTranslationKey([key, this.createSuffix(value)])\n : key;\n }\n\n /**\n * Takes a SmartCat text entry key (with hash) and returns the key without it\n */\n public removeSuffixFromKey(key: string): string {\n return this.hasSuffix\n ? this.createTranslationKey(this.parseTranslationKey(key).slice(0, -1))\n : key;\n }\n\n // #############################################################################\n // Transform data helpers\n // #############################################################################\n\n /**\n * Filter out entries that are not included in source of truth\n * translations and remove suffix from keys.\n */\n public processSmartcatTranslations(\n sourceOfTruthTranslations: TranslationObject,\n smartcatTranslations: TranslationObject,\n ): TranslationObject {\n // Append suffix to source of truth translations.\n const sourceOfTruthKeysWithSuffix = new Set(\n Object.entries(sourceOfTruthTranslations).map(([key, value]) =>\n this.addSuffixToKey(key, value),\n ),\n );\n\n // Normalise translated entry keys by removing the hash from key name.\n const result: TranslationObject = {};\n for (const key in smartcatTranslations) {\n // Ignore key from smartcat if not in source-of-truth\n if (!sourceOfTruthKeysWithSuffix.has(key)) {\n continue;\n }\n\n const normalisedKey = this.removeSuffixFromKey(key);\n const value = smartcatTranslations[key];\n\n if (value !== undefined) {\n result[normalisedKey] = value;\n }\n }\n\n return result;\n }\n\n /**\n * Parse string variable delimiters between smartcat and local delimiters.\n * Only top level delimiter pairs that don't have child delimiters or child curly brackets should be transformed.\n */\n private parseVariableDelimiters(\n input: string,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): string {\n /**\n * Constant icu string delimiters that we avoid to transform,\n * can conflict with the variable delimiters without error.\n */\n const icuStringDelimiters = {\n open: \"{\",\n close: \"}\",\n };\n\n /**\n * Evaluate what delimiters to transform from and to\n */\n const delimiterOptions = {\n local: {\n open: \"{\",\n close: \"}\",\n },\n smartcat: {\n open: \"{{\",\n close: \"}}\",\n },\n };\n const delimiters =\n mode === \"toSmartcatDelimiters\"\n ? {\n from: delimiterOptions.local,\n to: delimiterOptions.smartcat,\n }\n : {\n from: delimiterOptions.smartcat,\n to: delimiterOptions.local,\n };\n\n // Cheap check - return unmodified if input does not contain any opening or any closing variable delimiters\n if (\n !input.includes(delimiters.from.open) ||\n !input.includes(delimiters.from.close)\n ) {\n return input;\n }\n\n let result = \"\"; // Final result\n let lastPosition = 0; // This helps in building the result string\n let icuStringDepth = 0;\n /**\n * When finding an opening delimiter, closing delimiter index is already\n * evaluated and therefor we store it until it's reached.\n * Gets reset to `null` when this index in the iteration is reached.\n */\n let nextValidClosingVariableDelimiterIndex: null | number = null;\n\n for (let i = 0; i < input.length; i++) {\n // Hold current char\n const currentChar = input[i];\n\n // If currently inside ICU string, track the depth and continue to next char\n if (icuStringDepth > 0) {\n if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n } else if (currentChar === icuStringDelimiters.close) {\n icuStringDepth--;\n }\n\n continue;\n }\n\n /**\n * Encounter of a closing delimiter\n */\n if (i === nextValidClosingVariableDelimiterIndex) {\n // Get inner content between variable delimiters\n const variableInnerContent = input.slice(\n lastPosition + delimiters.from.open.length,\n i,\n );\n // Transform delimiters\n result += `${delimiters.to.open}${variableInnerContent}${delimiters.to.close}`;\n // Move the last position past this closing brace\n lastPosition = i + delimiters.from.close.length;\n // Reset closing delimiter index\n nextValidClosingVariableDelimiterIndex = null;\n // Go next after closing variable\n continue;\n } else if (nextValidClosingVariableDelimiterIndex !== null) {\n // Go next until reaching closing variable delimiter\n continue;\n }\n\n /**\n * Evaluate if current position is index of an opening delimiter\n */\n const isVariableOpeningBracketPattern =\n input.substring(i, i + delimiters.from.open.length) ===\n delimiters.from.open;\n if (isVariableOpeningBracketPattern) {\n // Evaluate start and end indexes of variable brackets.\n const innerContentStartIndex = i + delimiters.from.open.length;\n const closingVariableDelimiterIndex = input.indexOf(\n delimiters.from.close,\n innerContentStartIndex,\n );\n\n // Check if we can find the closing delimiter, else the opening delimiter can not be valid\n if (closingVariableDelimiterIndex !== -1) {\n // Variable delimiters inner content, excluding the delimiters\n const variableInnerContent = input.substring(\n innerContentStartIndex,\n closingVariableDelimiterIndex,\n );\n // Characters not allowed for variable inner content - helps to avoid transforming ICU string delimiters\n const illegalVariableCharacterRegex = /[{},#]/;\n // If delimiters inner content contains illegal characters, the opening bracket is not a valid variable.\n const isValidVariableOpeningDelimiters =\n !illegalVariableCharacterRegex.test(variableInnerContent);\n\n if (isValidVariableOpeningDelimiters) {\n // Append everything up to this delimiter to the result\n result += input.substring(lastPosition, i);\n // Update the last position to the current index\n lastPosition = i;\n // Store the closing delimiter index\n nextValidClosingVariableDelimiterIndex =\n closingVariableDelimiterIndex;\n } else if (currentChar === icuStringDelimiters.open) {\n // When reached - ICU string begins here\n icuStringDepth++;\n }\n }\n } else if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n }\n }\n\n // Append any remaining part of the input string to result\n result += input.slice(lastPosition);\n return result;\n }\n\n /**\n * Helper to parse variable placeholders for a translation file\n */\n public parseTranslationVariableDelimiters(\n translations: TranslationObject,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): TranslationObject {\n return Object.fromEntries(\n Object.entries(translations).map(([key, value]) => [\n key,\n this.parseVariableDelimiters(value, mode),\n ]),\n );\n }\n\n /**\n * Check if SmartCat has translated all target languages.\n */\n private async checkProjectTranslationStatus(): Promise<boolean> {\n try {\n // Fetch project data\n const res = await this.axios.get(\n `/integration/v1/project/${this.projectId}`,\n );\n const project = res.data as SmartcatProject;\n\n // Find the auto translation workflow id\n const autoTranslationWorkflowId = project.workflowStages.find(\n (workflow) => workflow.stageType === \"translation\",\n )?.id;\n if (!autoTranslationWorkflowId) {\n throw new Error(\n \"Could not find auto translation workflow id in SmartCat project.\",\n );\n }\n\n // Get relevant documents\n const documents = project.documents.filter((doc) => {\n const isInCollection = doc.name === this.collectionName;\n const isRequestedTargetLanguage = Boolean(\n !this.targetLanguages ||\n this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .includes(doc.targetLanguage),\n );\n\n return isInCollection && isRequestedTargetLanguage;\n });\n\n // Check if all documents have 100% progress in auto translation workflow\n return documents.every((doc) => {\n const autoTranslationWorkflow = doc.workflowStages.find(\n (workflow) => workflow.id === autoTranslationWorkflowId,\n );\n return autoTranslationWorkflow?.progress === 100;\n });\n } catch (error) {\n this.logger?.error(error, \"❌ Failed to get project\");\n throw error;\n }\n }\n\n // #############################################################################\n // Api methods\n // #############################################################################\n\n /**\n * Download translations from Smartcat.\n */\n public async downloadSmartcatTranslations(\n defaultTranslations: TranslationObject,\n options?: {\n /**\n * (optional) List of labels to export keys that are marked with labels\n * @default undefined\n */\n labels?: string[];\n /**\n * (optional) Max attempt count for polling download ready status.\n * @default 10\n */\n maxAttemptCount?: number;\n /**\n * (optional) Interval in milliseconds between each polling attempt.\n * @default 5000\n */\n intervalMs?: number;\n },\n ): Promise<Record<Language, TranslationObject>> {\n // https://developers.smartcat.com/api/#run-export-from-software-localization-project\n const url = `integration/v2/project/${this.projectId}/export`;\n const params = {\n \"completion-state\": \"draft\",\n \"output-file-path-template\": \"{LANGUAGE}.json\",\n collections: this.collectionName,\n zip: \"true\",\n languages: this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .join(\",\"),\n labels: SmartcatApi.prepareLabels(options?.labels),\n // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`\n };\n\n const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();\n\n try {\n const exportResponse = await this.axios.post(\n url,\n {},\n {\n params,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n },\n },\n );\n const taskID = exportResponse.data;\n\n const pollMaxAttemptCount = options?.maxAttemptCount ?? 10;\n const pollInterval = options?.intervalMs ?? 5000;\n\n const translations: Record<string, TranslationObject> = {};\n let pollAttempt = 0;\n let exportSuccessful = false;\n\n // Polling loop to check if the export is successful\n while (!exportSuccessful && pollAttempt < pollMaxAttemptCount) {\n pollAttempt += 1;\n\n const checkUrl = `integration/v1/document/export/${taskID}/`;\n const checkResponse = await this.axios.get(checkUrl, {\n responseType: \"arraybuffer\",\n // Don't throw errors for all errors below 500 so we can handle it gracefully\n validateStatus: (status) => status < 500,\n });\n\n if (checkResponse.status === 200) {\n // Unzip and discard the zip file, rename.\n const zip = new AdmZip(checkResponse.data);\n const zipEntries = zip.getEntries();\n\n for (const zipEntry of zipEntries) {\n if (!zipEntry.isDirectory) {\n // Extract the content of the file\n const data = zip.readFile(zipEntry);\n\n if (!data) {\n throw new Error(\n \"Exported smarcat document does not include any data\",\n );\n }\n\n const locale = zipEntry.entryName.replace(\".json\", \"\");\n const mappedLocale = smartcatLocaleToLanguageMap[locale];\n\n if (!mappedLocale) {\n this.logger?.warn(\n `Couldn't find map for SmartCat locale ${locale}, skipping file.`,\n );\n continue;\n }\n\n const parsedTranslations = JSON.parse(data.toString());\n\n // Process downloaded translations.\n let result = this.processSmartcatTranslations(\n defaultTranslations,\n parsedTranslations,\n );\n\n // Escape content variable delimiters.\n if (this.escapeBracketDelimiters) {\n result = this.parseTranslationVariableDelimiters(\n result,\n \"toLocalDelimiters\",\n );\n }\n\n translations[mappedLocale] = result;\n }\n }\n\n // Exit loop.\n exportSuccessful = true;\n } else if (checkResponse.status === 204) {\n this.logger?.info(\n `The task ID ${taskID} is not ready yet, will try again`,\n );\n\n // Wait for some time before checking again\n await setTimeoutAsync(pollInterval);\n } else if (checkResponse.status === 404) {\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 404`,\n );\n } else if (checkResponse.status === 422) {\n let response: unknown;\n try {\n // Convert ArrayBuffer to Buffer\n const buffer = Buffer.from(checkResponse.data);\n // Decode buffer to string\n const jsonString = buffer.toString(\"utf8\");\n\n response = jsonString;\n } catch {\n response = \"!! Unable to parse response !!\";\n }\n this.logger?.error(\n response,\n \"❌ Failed to download smartcat translations, endpoint returned 422\",\n );\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 422`,\n );\n } else {\n // Unknown status response.\n throw new Error(\n `Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`,\n );\n }\n }\n\n if (!exportSuccessful) {\n throw new Error(\n \"Max retries reached when trying to export files from SmartCat.\",\n );\n }\n\n this.logger?.info(\n \"✅ Download target language locale documents complete.\",\n );\n\n return translations;\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed downloading locale files from SmartCat\\n\",\n );\n\n throw error;\n }\n }\n\n /**\n * Exposed method for uploading source translations to Smartcat.\n */\n public async uploadSourceTranslations(\n // Source translations that will be uploaded to SmartCat.\n sourceTranslations: TranslationUploadObject | TranslationUploadObject[],\n options?: {\n // When true, deleting all keys in the smartcat collection that does not exist in sourceTranslations.\n deleteMissingKeys?: boolean;\n },\n ): Promise<void> {\n try {\n const rawTranslationUploads = Array.isArray(sourceTranslations)\n ? sourceTranslations\n : [sourceTranslations];\n\n /**\n * Prepare translations for upload by:\n * 1. Ignore non-translatable values.\n * 2. Add suffix to key based on settings.\n * 3. Escape variable delimiters based on settings.\n */\n const preparedTranslationUploads = rawTranslationUploads.map(\n (translationUpload) => {\n let translations: TranslationObject = {};\n\n for (const [key, value] of Object.entries(\n translationUpload.translations,\n )) {\n if (!SmartcatApi.isTranslatableValue(value)) {\n continue;\n }\n const suffixedKey = this.addSuffixToKey(key, value);\n translations[suffixedKey] = value;\n }\n\n // Prepare variable delimiters.\n if (this.escapeBracketDelimiters) {\n translations = this.parseTranslationVariableDelimiters(\n translations,\n \"toSmartcatDelimiters\",\n );\n }\n\n return {\n ...translationUpload,\n translations,\n };\n },\n );\n\n /**\n * Upload all translations together and make the data purge in SC.\n */\n if (options?.deleteMissingKeys) {\n // Merge all prepared translations into one object.\n const combinedTranslations: TranslationObject =\n preparedTranslationUploads.reduce((acc, current) => {\n return { ...acc, ...current.translations };\n }, {});\n\n await this.smartcatUploadRequest(combinedTranslations, {\n deleteMissingKeys: true,\n });\n\n this.logger?.info(\"🧹 Deleted unused translations from Smartcat.\");\n }\n\n /**\n * Upload each translation object separately to apply labels.\n */\n for (const translationUpload of preparedTranslationUploads) {\n await this.smartcatUploadRequest(translationUpload.translations, {\n labels: translationUpload.appendLabels,\n });\n }\n\n this.logger?.info(\"✅ Upload source translations to SmartCat complete.\");\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed uploading source translations to SmartCat.\",\n );\n throw error;\n }\n }\n\n /**\n * Internal helper method for uploading source translations to Smartcat.\n * @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project\n */\n private async smartcatUploadRequest(\n sourceTranslations: TranslationObject,\n options?: {\n labels?: string[];\n deleteMissingKeys?: boolean;\n },\n ) {\n const queryParams = {\n format: \"json\",\n language: \"en\",\n collection: this.collectionName,\n \"delete-missing-keys\": !!options?.deleteMissingKeys,\n // TODO: was fallback empty string really needed?\n labels: SmartcatApi.prepareLabels(options?.labels) || \"\",\n };\n\n const url = `integration/v2/project/${this.projectId}/import`;\n\n const smartCatSourceLanguageBuffer = Buffer.from(\n JSON.stringify(sourceTranslations),\n );\n\n const fileBlob = new Blob([smartCatSourceLanguageBuffer], {\n type: \"application/octet-stream\",\n });\n\n const formData = new FormData();\n formData.append(\"file\", fileBlob);\n\n await this.axios.post(url, formData, {\n params: queryParams,\n headers: { \"Content-Type\": \"multipart/form-data\" },\n });\n }\n\n /**\n * Wait for SmartCat to fully translate all target languages.\n */\n public pollAndWaitForCompletedTranslations = async (\n pollRunLimit = 20,\n pollIntervalMs = 10000,\n ): Promise<boolean> => {\n let pollRunCount = 0;\n let translationCompleted = false;\n\n while (!translationCompleted && pollRunCount < pollRunLimit) {\n this.logger?.info(`⌛ SmartCat translations in progress.`);\n\n translationCompleted = await this.checkProjectTranslationStatus();\n pollRunCount += 1;\n\n if (!translationCompleted) {\n await setTimeoutAsync(pollIntervalMs);\n }\n }\n\n /**\n * HACK\n * Since there is a bug with smartcat returning true for `pretranslateCompleted`\n * before they are updated in smartcat. We implement an artificial sleep to let\n * smartcat update the target translations before we download them.\n */\n if (translationCompleted) {\n await setTimeoutAsync(60000);\n }\n\n this.logger?.info(\n translationCompleted\n ? \"✅ SmartCat translations completed.\"\n : \"❌ Max retries reached when waiting for SmartCat translations to complete.\",\n );\n\n return translationCompleted;\n };\n\n /**\n * Static util to prettify translation for writing to file-system\n */\n static readonly prettifyTranslation = (\n translation: TranslationObject,\n ): string => {\n return (\n stableStringify(translation, { space: 2 }) +\n // Add EOF newline\n `\\n`\n );\n };\n\n /**\n * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate\n */\n static readonly isTranslatableValue = (value: Nullish<string>): boolean => {\n // Trim to check if given string isn't just spaces which is not worth translating\n const parsedValue = value?.trim();\n\n // Ignore empty values\n if (!parsedValue) {\n return false;\n }\n\n // Don't translate values that are digits only\n return !isDigitsOnlyRegex.test(parsedValue);\n };\n\n /**\n * Centralized method to get Smartcat label based on environment.\n * ! Change with caution as it impacts how translaitons will be read from Smartcat.\n */\n static readonly getSmartcatLabel = (env: SmartcatEnvironment): string => {\n switch (env) {\n case SmartcatEnvironment.Dev:\n return \"DEV\";\n case SmartcatEnvironment.Stg:\n return \"STG\";\n // ! Not really reusable for other projects, didn't make sense right now to create generic label for it\n case SmartcatEnvironment.NewDesign:\n return \"NEW-DESIGN\";\n case SmartcatEnvironment.Prod:\n return \"MAIN\";\n default: {\n assertUnreachable(env);\n }\n }\n };\n\n /**\n * Get smartcat environment based on branch name\n */\n static readonly getSmartcatEnvironmentFromGhBranchName = (\n ghRepositoryBranchName: string,\n ): SmartcatEnvironment => {\n switch (ghRepositoryBranchName) {\n case \"master\":\n case \"main\": {\n return SmartcatEnvironment.Prod;\n }\n case \"new-design\": {\n return SmartcatEnvironment.NewDesign;\n }\n case \"beta\": // For store.core beta releases\n case \"stg\": // Historical GH repos\n case \"qa\": {\n return SmartcatEnvironment.Stg;\n }\n case \"alpha\": // For store.core alpha releases\n case \"dev\": // Historical GH repos\n case \"proto\": {\n return SmartcatEnvironment.Dev;\n }\n\n default: {\n throw new Error(\n `Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`,\n );\n }\n }\n };\n\n /**\n * Util to prepare labels for passing into request parameters\n */\n static readonly prepareLabels = (labels?: string[]): string | undefined => {\n return labels\n ?.map((label) => label.trim())\n .filter(Boolean)\n .join(\",\");\n };\n}\n"],"names":["SmartcatEnvironment","isDigitsOnlyRegex","languageToSmartcatLocaleMapping","Language","Ar","De","En","Es","Fr","El","It","Ja","Pt","Zh","Tw","SmartcatApi","projectId","collectionName","axios","logger","escapeBracketDelimiters","suffix","targetLanguages","hasSuffix","keyDelimiter","constructor","config","enableLogs","console","auth","suffixMode","suffixRegex","test","indexOf","Error","authBase64","Buffer","from","accountId","apiSecret","toString","create","httpsAgent","baseURL","headers","Authorization","getSmartcatLocaleToLanguageMap","invert","generateHashSuffixFromValue","value","shorthandHashCharCount","createHash","update","digest","substring","createSuffix","assert","createTranslationKey","parts","join","parseTranslationKey","key","split","addSuffixToKey","removeSuffixFromKey","slice","processSmartcatTranslations","sourceOfTruthTranslations","smartcatTranslations","sourceOfTruthKeysWithSuffix","Set","Object","entries","map","result","has","normalisedKey","parseVariableDelimiters","input","mode","icuStringDelimiters","open","close","delimiterOptions","local","smartcat","delimiters","to","includes","lastPosition","icuStringDepth","nextValidClosingVariableDelimiterIndex","i","length","currentChar","variableInnerContent","isVariableOpeningBracketPattern","innerContentStartIndex","closingVariableDelimiterIndex","illegalVariableCharacterRegex","isValidVariableOpeningDelimiters","parseTranslationVariableDelimiters","translations","fromEntries","checkProjectTranslationStatus","res","get","project","data","autoTranslationWorkflowId","workflowStages","find","workflow","stageType","id","documents","filter","doc","isInCollection","name","isRequestedTargetLanguage","Boolean","lang","targetLanguage","every","autoTranslationWorkflow","progress","error","downloadSmartcatTranslations","defaultTranslations","options","url","params","collections","zip","languages","labels","prepareLabels","smartcatLocaleToLanguageMap","exportResponse","post","taskID","pollMaxAttemptCount","maxAttemptCount","pollInterval","intervalMs","pollAttempt","exportSuccessful","checkUrl","checkResponse","responseType","validateStatus","status","AdmZip","zipEntries","getEntries","zipEntry","isDirectory","readFile","locale","entryName","replace","mappedLocale","warn","parsedTranslations","JSON","parse","info","setTimeoutAsync","response","buffer","jsonString","uploadSourceTranslations","sourceTranslations","rawTranslationUploads","Array","isArray","preparedTranslationUploads","translationUpload","isTranslatableValue","suffixedKey","deleteMissingKeys","combinedTranslations","reduce","acc","current","smartcatUploadRequest","appendLabels","queryParams","format","language","collection","smartCatSourceLanguageBuffer","stringify","fileBlob","Blob","type","formData","FormData","append","pollAndWaitForCompletedTranslations","pollRunLimit","pollIntervalMs","pollRunCount","translationCompleted","prettifyTranslation","translation","stableStringify","space","parsedValue","trim","getSmartcatLabel","env","assertUnreachable","getSmartcatEnvironmentFromGhBranchName","ghRepositoryBranchName","label"],"mappings":";;;;;;;;;;AA2CY,IAAAA,mBAAA,GAAA,gBAAAA,oBAAL,IAAA;EACLA,qBAAA,KAAM,CAAA,GAAA,OAAA;EACNA,qBAAA,KAAM,CAAA,GAAA,IAAA;EACNA,qBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,qBAAA,MAAO,CAAA,GAAA,MAAA;EAJGA,OAAAA,oBAAAA;AAA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K,MAAQ;QAAA;UACJ,OAAA,MAAA,CAAA;QAAA;MAET,KAAK,YAAc;QAAA;UACV,OAAA,YAAA,CAAA;QAAA;MAET,KAAK,MAAA;MAAA;MACL,KAAK,KAAA;MAAA;MACL,KAAK,IAAM;QAAA;UACF,OAAA,IAAA,CAAA;QAAA;MAET,KAAK,OAAA;MAAA;MACL,KAAK,KAAA;MAAA;MACL,KAAK,OAAS;QAAA;UACL,OAAA,OAAA,CAAA;QAAA;MAGT;QAAS;UACP,MAAM,IAAIrL,KAAA,CACR,2BAA2BqL,sBAAsB,4BACnD,CAAA;QAAA;IACF;EAEJ,CAAA;EAAA;AAAA;AAAA;EAKA,OAAgB9E,aAAgB,GAACD,MAA0C,IAAA;IACzE,OAAOA,MACH,EAAA/D,GAAA,CAAK+I,KAAA,IAAUA,KAAM,CAAAN,IAAA,EAAM,CAAA,CAC5B9F,MAAO,CAAAK,OAAO,CACd,CAAA9D,IAAA,CAAK,GAAG,CAAA;EACb,CAAA;AACF;"}
@@ -1,4 +1,3 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M16 5.88251L10.444 3.10555C10.164 2.96539 9.836 2.96539 9.556 3.10555L6.778 4.49403L5.655 5.05567L4 5.88251L3.556 6.10434C3.215 6.27374 3 6.62464 3 7.00781V12.8783C3 13.2615 3.215 13.6114 3.556 13.7818L10 17.0004L12.75 15.6271L13.75 15.1269L16.444 13.7808C16.785 13.6104 17 13.2605 17 12.8773V7.00781C17 6.62464 16.784 6.27374 16.444 6.10434L16 5.88251ZM10 4.00902L15.829 6.92109L13.701 7.98388L7.898 5.0587L10 4.00902ZM9.5 15.6261L4 12.8773V7.95968L9.5 10.7084V15.6261ZM4.171 6.92109L6.775 5.62034L12.578 8.54552L10 9.83317L4.171 6.92109ZM16 12.8773L13.75 14.0016L12.75 14.5018L10.5 15.6261V10.7084L12.75 9.58411V11.4546C12.75 11.7329 12.974 11.9587 13.25 11.9587C13.526 11.9587 13.75 11.7329 13.75 11.4546V9.08398L16 7.95968V12.8773Z" fill="#838691"/>
3
- </svg>
4
-
1
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16 6.38208L10.444 3.60512C10.164 3.46496 9.836 3.46496 9.556 3.60512L6.778 4.9936L5.655 5.55524L4 6.38208L3.556 6.60391C3.215 6.77331 3 7.12421 3 7.50738V13.3779C3 13.7611 3.215 14.111 3.556 14.2814L10 17.5L12.75 16.1266L13.75 15.6265L16.444 14.2804C16.785 14.11 17 13.7601 17 13.3769V7.50738C17 7.12421 16.784 6.77331 16.444 6.60391L16 6.38208ZM10 4.50859L15.829 7.42067L13.701 8.48345L7.898 5.55827L10 4.50859ZM9.5 16.1256L4 13.3769V8.45925L9.5 11.208V16.1256ZM4.171 7.42067L6.775 6.11991L12.578 9.0451L10 10.3327L4.171 7.42067ZM16 13.3769L13.75 14.5012L12.75 15.0013L10.5 16.1256V11.208L12.75 10.0837V11.9541C12.75 12.2324 12.974 12.4583 13.25 12.4583C13.526 12.4583 13.75 12.2324 13.75 11.9541V9.58355L16 8.45925V13.3769Z" fill="#212124"/>
3
+ </svg>
@@ -1,4 +1,3 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
2
- xmlns="http://www.w3.org/2000/svg">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
1
+ <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.7175 18.6475C5.4275 18.9375 5.4275 19.4175 5.7175 19.7075C6.0075 19.9975 6.4875 19.9975 6.7775 19.7075L12.9675 13.5175L19.1575 19.7075C19.4475 19.9975 19.9275 19.9975 20.2175 19.7075C20.5075 19.4175 20.5075 18.9375 20.2175 18.6475L14.0275 12.4675L20.2175 6.2775C20.5075 5.9875 20.5075 5.5075 20.2175 5.2175C19.9275 4.9275 19.4475 4.9275 19.1575 5.2175L12.9675 11.4075L6.7775 5.2175C6.4875 4.9275 6.0075 4.9275 5.7175 5.2175C5.4275 5.5075 5.4275 5.9875 5.7175 6.2775L11.9075 12.4675L5.7175 18.6475Z" fill="#36373C"/>
4
3
  </svg>
@@ -1,4 +1,5 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M14.4 6C14.188 6 13.985 6.041 13.8 6.117V4.6C13.8 3.716 13.084 3 12.2 3C11.962 3 11.737 3.052 11.534 3.146C11.339 2.483 10.726 2 10 2C9.275 2 8.662 2.483 8.466 3.145C8.263 3.052 8.038 3 7.8 3C6.917 3 6.2 3.716 6.2 4.6V5.117C6.015 5.041 5.812 5 5.6 5C4.717 5 4 5.716 4 6.6V12C4 12.341 4.028 12.675 4.084 13C4.559 15.838 7.027 18 10 18C12.613 18 14.835 16.331 15.658 14C15.772 13.678 15.859 13.344 15.916 13C15.972 12.675 16 12.341 16 12V7.6C16 6.716 15.284 6 14.4 6ZM15 12C15 12.342 14.965 12.677 14.899 13C14.828 13.348 14.721 13.683 14.582 14C13.809 15.765 12.046 17 10 17C7.586 17 5.565 15.28 5.101 13C5.035 12.677 5 12.342 5 12V6.6C5 6.269 5.269 6 5.6 6C5.931 6 6.2 6.269 6.2 6.6V10.5C6.2 10.7761 6.42386 11 6.7 11C6.97614 11 7.2 10.7761 7.2 10.5V4.6C7.2 4.269 7.469 4 7.8 4C8.131 4 8.4 4.269 8.4 4.6V9.5C8.4 9.77614 8.62386 10 8.9 10C9.17614 10 9.4 9.77614 9.4 9.5V3.6C9.4 3.269 9.669 3 10 3C10.331 3 10.6 3.269 10.6 3.6V9.5C10.6 9.77614 10.8239 10 11.1 10C11.3761 10 11.6 9.77614 11.6 9.5V4.6C11.6 4.269 11.869 4 12.2 4C12.531 4 12.8 4.269 12.8 4.6V11.5C12.8 11.7761 13.0239 12 13.3 12C13.5761 12 13.8 11.7761 13.8 11.5V7.6C13.8 7.525 13.814 7.454 13.839 7.388C13.924 7.162 14.143 7 14.4 7C14.731 7 15 7.269 15 7.6V12Z" fill="#838691"/>
3
- </svg>
4
-
1
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="icon">
3
+ <path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M16.8836 6.84646V6.85954C17.2037 6.62296 17.6035 6.48247 18.0371 6.48247C19.089 6.48247 19.9417 7.30916 19.9417 8.32893V9.82431C20.2619 9.58767 20.6617 9.44714 21.0954 9.44714C22.1473 9.44714 23 10.2738 23 11.2936L22.9999 19.4738C22.9999 22.5258 20.4479 25 17.2998 25L14.9693 25C13.232 25 11.5463 24.4268 10.1897 23.3747C8.69236 22.2135 7.55375 20.6751 6.89863 18.9281L6.12164 16.8561C5.40452 14.9437 8.0391 13.5632 9.29645 15.1925L10.0161 16.1251V8.32893C10.0161 7.30916 10.8689 6.48247 11.9207 6.48247C12.3544 6.48247 12.7542 6.623 13.0744 6.85965V6.84646C13.0744 5.82669 13.9271 5 14.979 5C16.0309 5 16.8836 5.82669 16.8836 6.84646ZM21.8599 19.4738L21.86 11.2936C21.86 10.8842 21.5177 10.5524 21.0954 10.5524C20.6732 10.5524 20.3309 10.8842 20.3309 11.2936V15.7178C20.3309 16.1401 19.9885 16.4824 19.5663 16.4824C19.144 16.4824 18.8017 16.1401 18.8017 15.7178V8.32893C18.8017 7.91957 18.4594 7.58771 18.0371 7.58771C17.6149 7.58771 17.2726 7.91957 17.2726 8.32893V14.6127C17.2726 15.0349 16.9304 15.3772 16.5082 15.3772C16.0859 15.3772 15.7437 15.035 15.7436 14.6127L15.7436 6.84646C15.7436 6.4371 15.4013 6.10524 14.979 6.10524C14.5568 6.10524 14.2144 6.4371 14.2144 6.84646V15.7178C14.2144 16.1401 13.8721 16.4824 13.4499 16.4824C13.0276 16.4824 12.6853 16.1401 12.6853 15.7178V8.32893C12.6853 7.91957 12.343 7.58771 11.9207 7.58771C11.4985 7.58771 11.1562 7.91957 11.1562 8.32893L11.1562 18.4508C11.1562 18.7696 10.7374 18.9047 10.5404 18.6494L8.38362 15.8546C7.91212 15.2436 6.92414 15.7613 7.19307 16.4785L7.97005 18.5505C8.55365 20.1067 9.56796 21.4772 10.9018 22.5116C11.9609 23.3329 13.2555 23.8113 14.6035 23.8848C14.7251 23.8914 14.847 23.8948 14.9693 23.8948L15.1203 23.8948V23.8987H16.2603V23.8948H17.2998C19.8182 23.8948 21.8599 21.9154 21.8599 19.4738Z" fill="#212124"/>
4
+ </g>
5
+ </svg>
@@ -1,6 +1,2 @@
1
- export { default as box } from "./box.svg";
2
- export { default as hand } from "./hand.svg";
3
1
  export { default as minus } from "./minus.svg";
4
2
  export { default as plus } from "./plus.svg";
5
- export { default as popoverPointer } from "./popoverPointer.svg";
6
- export { default as warranty } from "./warranty.svg";
@@ -1,10 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('./box.svg.js');
4
- require('./hand.svg.js');
5
3
  require('./minus.svg.js');
6
4
  require('./plus.svg.js');
7
- require('./popoverPointer.svg.js');
8
- require('./warranty.svg.js');
9
5
  "use strict";
10
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}