@webshopmanager/partslogic-ui 1.3.1-al176.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 (369) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +262 -0
  3. package/build/Alert/index.css +1 -0
  4. package/build/Alert/index.esm.js +8 -0
  5. package/build/Alert/index.esm.js.map +1 -0
  6. package/build/Alert/index.js +8 -0
  7. package/build/Alert/index.js.map +1 -0
  8. package/build/Alert/index.umd.js +8 -0
  9. package/build/Alert/index.umd.js.map +1 -0
  10. package/build/Alert/package.json +6 -0
  11. package/build/BreadCrumb/index.css +1 -0
  12. package/build/BreadCrumb/index.esm.js +22 -0
  13. package/build/BreadCrumb/index.esm.js.map +1 -0
  14. package/build/BreadCrumb/index.js +22 -0
  15. package/build/BreadCrumb/index.js.map +1 -0
  16. package/build/BreadCrumb/index.umd.js +22 -0
  17. package/build/BreadCrumb/index.umd.js.map +1 -0
  18. package/build/BreadCrumb/package.json +6 -0
  19. package/build/CategoryCarousel/index.css +1 -0
  20. package/build/CategoryCarousel/index.esm.js +22 -0
  21. package/build/CategoryCarousel/index.esm.js.map +1 -0
  22. package/build/CategoryCarousel/index.js +22 -0
  23. package/build/CategoryCarousel/index.js.map +1 -0
  24. package/build/CategoryCarousel/index.umd.js +22 -0
  25. package/build/CategoryCarousel/index.umd.js.map +1 -0
  26. package/build/CategoryCarousel/package.json +6 -0
  27. package/build/CategoryCarouselWrapper/index.css +1 -0
  28. package/build/CategoryCarouselWrapper/index.esm.js +22 -0
  29. package/build/CategoryCarouselWrapper/index.esm.js.map +1 -0
  30. package/build/CategoryCarouselWrapper/index.js +22 -0
  31. package/build/CategoryCarouselWrapper/index.js.map +1 -0
  32. package/build/CategoryCarouselWrapper/index.umd.js +22 -0
  33. package/build/CategoryCarouselWrapper/index.umd.js.map +1 -0
  34. package/build/CategoryCarouselWrapper/package.json +6 -0
  35. package/build/CategoryList/index.css +1 -0
  36. package/build/CategoryList/index.esm.js +22 -0
  37. package/build/CategoryList/index.esm.js.map +1 -0
  38. package/build/CategoryList/index.js +22 -0
  39. package/build/CategoryList/index.js.map +1 -0
  40. package/build/CategoryList/index.umd.js +22 -0
  41. package/build/CategoryList/index.umd.js.map +1 -0
  42. package/build/CategoryList/package.json +6 -0
  43. package/build/CategoryListWrapper/index.css +1 -0
  44. package/build/CategoryListWrapper/index.esm.js +22 -0
  45. package/build/CategoryListWrapper/index.esm.js.map +1 -0
  46. package/build/CategoryListWrapper/index.js +22 -0
  47. package/build/CategoryListWrapper/index.js.map +1 -0
  48. package/build/CategoryListWrapper/index.umd.js +22 -0
  49. package/build/CategoryListWrapper/index.umd.js.map +1 -0
  50. package/build/CategoryListWrapper/package.json +6 -0
  51. package/build/FacetFilter/index.css +1 -0
  52. package/build/FacetFilter/index.esm.js +22 -0
  53. package/build/FacetFilter/index.esm.js.map +1 -0
  54. package/build/FacetFilter/index.js +22 -0
  55. package/build/FacetFilter/index.js.map +1 -0
  56. package/build/FacetFilter/index.umd.js +22 -0
  57. package/build/FacetFilter/index.umd.js.map +1 -0
  58. package/build/FacetFilter/package.json +6 -0
  59. package/build/FitmentSelector/index.css +1 -0
  60. package/build/FitmentSelector/index.esm.js +22 -0
  61. package/build/FitmentSelector/index.esm.js.map +1 -0
  62. package/build/FitmentSelector/index.js +22 -0
  63. package/build/FitmentSelector/index.js.map +1 -0
  64. package/build/FitmentSelector/index.umd.js +22 -0
  65. package/build/FitmentSelector/index.umd.js.map +1 -0
  66. package/build/FitmentSelector/package.json +6 -0
  67. package/build/FitmentSelectorVerifier/index.css +1 -0
  68. package/build/FitmentSelectorVerifier/index.esm.js +22 -0
  69. package/build/FitmentSelectorVerifier/index.esm.js.map +1 -0
  70. package/build/FitmentSelectorVerifier/index.js +22 -0
  71. package/build/FitmentSelectorVerifier/index.js.map +1 -0
  72. package/build/FitmentSelectorVerifier/index.umd.js +22 -0
  73. package/build/FitmentSelectorVerifier/index.umd.js.map +1 -0
  74. package/build/FitmentSelectorVerifier/package.json +6 -0
  75. package/build/FitmentSelectorWrapper/index.css +1 -0
  76. package/build/FitmentSelectorWrapper/index.esm.js +22 -0
  77. package/build/FitmentSelectorWrapper/index.esm.js.map +1 -0
  78. package/build/FitmentSelectorWrapper/index.js +22 -0
  79. package/build/FitmentSelectorWrapper/index.js.map +1 -0
  80. package/build/FitmentSelectorWrapper/index.umd.js +22 -0
  81. package/build/FitmentSelectorWrapper/index.umd.js.map +1 -0
  82. package/build/FitmentSelectorWrapper/package.json +6 -0
  83. package/build/FitmentStoreWrapper/index.css +1 -0
  84. package/build/FitmentStoreWrapper/index.esm.js +8 -0
  85. package/build/FitmentStoreWrapper/index.esm.js.map +1 -0
  86. package/build/FitmentStoreWrapper/index.js +8 -0
  87. package/build/FitmentStoreWrapper/index.js.map +1 -0
  88. package/build/FitmentStoreWrapper/index.umd.js +8 -0
  89. package/build/FitmentStoreWrapper/index.umd.js.map +1 -0
  90. package/build/FitmentStoreWrapper/package.json +6 -0
  91. package/build/ListControls/index.css +1 -0
  92. package/build/ListControls/index.esm.js +8 -0
  93. package/build/ListControls/index.esm.js.map +1 -0
  94. package/build/ListControls/index.js +8 -0
  95. package/build/ListControls/index.js.map +1 -0
  96. package/build/ListControls/index.umd.js +8 -0
  97. package/build/ListControls/index.umd.js.map +1 -0
  98. package/build/ListControls/package.json +6 -0
  99. package/build/LoadingIndicator/index.css +1 -0
  100. package/build/LoadingIndicator/index.esm.js +8 -0
  101. package/build/LoadingIndicator/index.esm.js.map +1 -0
  102. package/build/LoadingIndicator/index.js +8 -0
  103. package/build/LoadingIndicator/index.js.map +1 -0
  104. package/build/LoadingIndicator/index.umd.js +8 -0
  105. package/build/LoadingIndicator/index.umd.js.map +1 -0
  106. package/build/LoadingIndicator/package.json +6 -0
  107. package/build/Pagination/index.css +1 -0
  108. package/build/Pagination/index.esm.js +8 -0
  109. package/build/Pagination/index.esm.js.map +1 -0
  110. package/build/Pagination/index.js +8 -0
  111. package/build/Pagination/index.js.map +1 -0
  112. package/build/Pagination/index.umd.js +8 -0
  113. package/build/Pagination/index.umd.js.map +1 -0
  114. package/build/Pagination/package.json +6 -0
  115. package/build/PaginationWithRangeInfo/index.css +1 -0
  116. package/build/PaginationWithRangeInfo/index.esm.js +8 -0
  117. package/build/PaginationWithRangeInfo/index.esm.js.map +1 -0
  118. package/build/PaginationWithRangeInfo/index.js +8 -0
  119. package/build/PaginationWithRangeInfo/index.js.map +1 -0
  120. package/build/PaginationWithRangeInfo/index.umd.js +8 -0
  121. package/build/PaginationWithRangeInfo/index.umd.js.map +1 -0
  122. package/build/PaginationWithRangeInfo/package.json +6 -0
  123. package/build/ProductList/index.css +1 -0
  124. package/build/ProductList/index.esm.js +22 -0
  125. package/build/ProductList/index.esm.js.map +1 -0
  126. package/build/ProductList/index.js +22 -0
  127. package/build/ProductList/index.js.map +1 -0
  128. package/build/ProductList/index.umd.js +22 -0
  129. package/build/ProductList/index.umd.js.map +1 -0
  130. package/build/ProductList/package.json +6 -0
  131. package/build/ProductListWrapper/index.css +1 -0
  132. package/build/ProductListWrapper/index.esm.js +22 -0
  133. package/build/ProductListWrapper/index.esm.js.map +1 -0
  134. package/build/ProductListWrapper/index.js +22 -0
  135. package/build/ProductListWrapper/index.js.map +1 -0
  136. package/build/ProductListWrapper/index.umd.js +22 -0
  137. package/build/ProductListWrapper/index.umd.js.map +1 -0
  138. package/build/ProductListWrapper/package.json +6 -0
  139. package/build/ProductSelectorVerifier/index.css +1 -0
  140. package/build/ProductSelectorVerifier/index.esm.js +22 -0
  141. package/build/ProductSelectorVerifier/index.esm.js.map +1 -0
  142. package/build/ProductSelectorVerifier/index.js +22 -0
  143. package/build/ProductSelectorVerifier/index.js.map +1 -0
  144. package/build/ProductSelectorVerifier/index.umd.js +22 -0
  145. package/build/ProductSelectorVerifier/index.umd.js.map +1 -0
  146. package/build/ProductSelectorVerifier/package.json +6 -0
  147. package/build/SearchBar/index.css +1 -0
  148. package/build/SearchBar/index.esm.js +22 -0
  149. package/build/SearchBar/index.esm.js.map +1 -0
  150. package/build/SearchBar/index.js +22 -0
  151. package/build/SearchBar/index.js.map +1 -0
  152. package/build/SearchBar/index.umd.js +22 -0
  153. package/build/SearchBar/index.umd.js.map +1 -0
  154. package/build/SearchBar/package.json +6 -0
  155. package/build/SearchBarWrapper/index.css +1 -0
  156. package/build/SearchBarWrapper/index.esm.js +22 -0
  157. package/build/SearchBarWrapper/index.esm.js.map +1 -0
  158. package/build/SearchBarWrapper/index.js +22 -0
  159. package/build/SearchBarWrapper/index.js.map +1 -0
  160. package/build/SearchBarWrapper/index.umd.js +22 -0
  161. package/build/SearchBarWrapper/index.umd.js.map +1 -0
  162. package/build/SearchBarWrapper/package.json +6 -0
  163. package/build/SearchBarWrapperModal/index.css +1 -0
  164. package/build/SearchBarWrapperModal/index.esm.js +22 -0
  165. package/build/SearchBarWrapperModal/index.esm.js.map +1 -0
  166. package/build/SearchBarWrapperModal/index.js +22 -0
  167. package/build/SearchBarWrapperModal/index.js.map +1 -0
  168. package/build/SearchBarWrapperModal/index.umd.js +22 -0
  169. package/build/SearchBarWrapperModal/index.umd.js.map +1 -0
  170. package/build/SearchBarWrapperModal/package.json +6 -0
  171. package/build/SkuListWrapper/index.css +1 -0
  172. package/build/SkuListWrapper/index.esm.js +22 -0
  173. package/build/SkuListWrapper/index.esm.js.map +1 -0
  174. package/build/SkuListWrapper/index.js +22 -0
  175. package/build/SkuListWrapper/index.js.map +1 -0
  176. package/build/SkuListWrapper/index.umd.js +22 -0
  177. package/build/SkuListWrapper/index.umd.js.map +1 -0
  178. package/build/SkuListWrapper/package.json +6 -0
  179. package/build/SpecificationSearch/index.css +1 -0
  180. package/build/SpecificationSearch/index.esm.js +8 -0
  181. package/build/SpecificationSearch/index.esm.js.map +1 -0
  182. package/build/SpecificationSearch/index.js +8 -0
  183. package/build/SpecificationSearch/index.js.map +1 -0
  184. package/build/SpecificationSearch/index.umd.js +8 -0
  185. package/build/SpecificationSearch/index.umd.js.map +1 -0
  186. package/build/SpecificationSearch/package.json +6 -0
  187. package/build/WsmFitmentSelectorWrapper/index.css +1 -0
  188. package/build/WsmFitmentSelectorWrapper/index.esm.js +22 -0
  189. package/build/WsmFitmentSelectorWrapper/index.esm.js.map +1 -0
  190. package/build/WsmFitmentSelectorWrapper/index.js +22 -0
  191. package/build/WsmFitmentSelectorWrapper/index.js.map +1 -0
  192. package/build/WsmFitmentSelectorWrapper/index.umd.js +22 -0
  193. package/build/WsmFitmentSelectorWrapper/index.umd.js.map +1 -0
  194. package/build/WsmFitmentSelectorWrapper/package.json +6 -0
  195. package/build/WsmProductListWrapper/index.css +1 -0
  196. package/build/WsmProductListWrapper/index.esm.js +22 -0
  197. package/build/WsmProductListWrapper/index.esm.js.map +1 -0
  198. package/build/WsmProductListWrapper/index.js +22 -0
  199. package/build/WsmProductListWrapper/index.js.map +1 -0
  200. package/build/WsmProductListWrapper/index.umd.js +22 -0
  201. package/build/WsmProductListWrapper/index.umd.js.map +1 -0
  202. package/build/WsmProductListWrapper/package.json +6 -0
  203. package/build/WsmSearchBarWithWrapperModal/index.css +1 -0
  204. package/build/WsmSearchBarWithWrapperModal/index.esm.js +8 -0
  205. package/build/WsmSearchBarWithWrapperModal/index.esm.js.map +1 -0
  206. package/build/WsmSearchBarWithWrapperModal/index.js +8 -0
  207. package/build/WsmSearchBarWithWrapperModal/index.js.map +1 -0
  208. package/build/WsmSearchBarWithWrapperModal/index.umd.js +8 -0
  209. package/build/WsmSearchBarWithWrapperModal/index.umd.js.map +1 -0
  210. package/build/WsmSearchBarWithWrapperModal/package.json +6 -0
  211. package/build/WsmSearchBarWrapper/index.css +1 -0
  212. package/build/WsmSearchBarWrapper/index.esm.js +22 -0
  213. package/build/WsmSearchBarWrapper/index.esm.js.map +1 -0
  214. package/build/WsmSearchBarWrapper/index.js +22 -0
  215. package/build/WsmSearchBarWrapper/index.js.map +1 -0
  216. package/build/WsmSearchBarWrapper/index.umd.js +22 -0
  217. package/build/WsmSearchBarWrapper/index.umd.js.map +1 -0
  218. package/build/WsmSearchBarWrapper/package.json +6 -0
  219. package/build/WsmSearchBarWrapperModal/index.css +1 -0
  220. package/build/WsmSearchBarWrapperModal/index.esm.js +22 -0
  221. package/build/WsmSearchBarWrapperModal/index.esm.js.map +1 -0
  222. package/build/WsmSearchBarWrapperModal/index.js +22 -0
  223. package/build/WsmSearchBarWrapperModal/index.js.map +1 -0
  224. package/build/WsmSearchBarWrapperModal/index.umd.js +22 -0
  225. package/build/WsmSearchBarWrapperModal/index.umd.js.map +1 -0
  226. package/build/WsmSearchBarWrapperModal/package.json +6 -0
  227. package/build/WsmSearchPage/index.css +1 -0
  228. package/build/WsmSearchPage/index.esm.js +22 -0
  229. package/build/WsmSearchPage/index.esm.js.map +1 -0
  230. package/build/WsmSearchPage/index.js +22 -0
  231. package/build/WsmSearchPage/index.js.map +1 -0
  232. package/build/WsmSearchPage/index.umd.js +22 -0
  233. package/build/WsmSearchPage/index.umd.js.map +1 -0
  234. package/build/WsmSearchPage/package.json +6 -0
  235. package/build/index.css +1 -0
  236. package/build/index.esm.js +8 -0
  237. package/build/index.esm.js.map +1 -0
  238. package/build/index.js +8 -0
  239. package/build/index.js.map +1 -0
  240. package/build/index.umd.js +8 -0
  241. package/build/index.umd.js.map +1 -0
  242. package/build/typings/common/CategoryItem/CategoryItem.d.ts +7 -0
  243. package/build/typings/common/CurrencyInput/CurrencyInput.d.ts +8 -0
  244. package/build/typings/common/FitmentSelectorWrapperModal/FitmentSelectorWrapperModal.d.ts +9 -0
  245. package/build/typings/common/Image/Image.d.ts +9 -0
  246. package/build/typings/common/List/List.d.ts +62 -0
  247. package/build/typings/common/Modal/Modal.d.ts +12 -0
  248. package/build/typings/common/ProductListItem/ProductListItem.d.ts +5 -0
  249. package/build/typings/common/ProductListItem/models.d.ts +13 -0
  250. package/build/typings/common/Rating/Rating.d.ts +7 -0
  251. package/build/typings/common/customHooks/useEventCallback.d.ts +9 -0
  252. package/build/typings/common/customHooks/useFetch.d.ts +36 -0
  253. package/build/typings/components/Alert/Alert.d.ts +4 -0
  254. package/build/typings/components/Alert/index.d.ts +1 -0
  255. package/build/typings/components/Alert/models.d.ts +76 -0
  256. package/build/typings/components/BreadCrumb/BreadCrumb.d.ts +4 -0
  257. package/build/typings/components/BreadCrumb/PathItem.d.ts +4 -0
  258. package/build/typings/components/BreadCrumb/index.d.ts +1 -0
  259. package/build/typings/components/BreadCrumb/models.d.ts +80 -0
  260. package/build/typings/components/CategoryCarousel/CategoryCarousel.d.ts +4 -0
  261. package/build/typings/components/CategoryCarousel/index.d.ts +1 -0
  262. package/build/typings/components/CategoryCarousel/models.d.ts +49 -0
  263. package/build/typings/components/CategoryCarouselWrapper/CategoryCarouselWrapper.d.ts +4 -0
  264. package/build/typings/components/CategoryCarouselWrapper/index.d.ts +1 -0
  265. package/build/typings/components/CategoryCarouselWrapper/models.d.ts +5 -0
  266. package/build/typings/components/CategoryList/CategoryList.d.ts +4 -0
  267. package/build/typings/components/CategoryList/index.d.ts +1 -0
  268. package/build/typings/components/CategoryList/models.d.ts +17 -0
  269. package/build/typings/components/CategoryListWrapper/CategoryListWrapper.d.ts +4 -0
  270. package/build/typings/components/CategoryListWrapper/index.d.ts +1 -0
  271. package/build/typings/components/CategoryListWrapper/models.d.ts +8 -0
  272. package/build/typings/components/FacetFilter/FacetFilter.d.ts +4 -0
  273. package/build/typings/components/FacetFilter/FacetSection.d.ts +4 -0
  274. package/build/typings/components/FacetFilter/index.d.ts +1 -0
  275. package/build/typings/components/FacetFilter/models.d.ts +90 -0
  276. package/build/typings/components/FitmentSelector/FitmentSelector.d.ts +15 -0
  277. package/build/typings/components/FitmentSelector/NativeSelect.d.ts +4 -0
  278. package/build/typings/components/FitmentSelector/index.d.ts +1 -0
  279. package/build/typings/components/FitmentSelector/models.d.ts +69 -0
  280. package/build/typings/components/FitmentSelector/utils.d.ts +4 -0
  281. package/build/typings/components/FitmentSelectorVerifier/FitmentSelectorVerifier.d.ts +5 -0
  282. package/build/typings/components/FitmentSelectorVerifier/index.d.ts +1 -0
  283. package/build/typings/components/FitmentSelectorVerifier/models.d.ts +105 -0
  284. package/build/typings/components/FitmentSelectorWrapper/FitmentSelectorWrapper.d.ts +11 -0
  285. package/build/typings/components/FitmentSelectorWrapper/index.d.ts +1 -0
  286. package/build/typings/components/FitmentSelectorWrapper/models.d.ts +142 -0
  287. package/build/typings/components/FitmentStoreWrapper/FitmentStorePopover.d.ts +6 -0
  288. package/build/typings/components/FitmentStoreWrapper/FitmentStoreWrapper.d.ts +4 -0
  289. package/build/typings/components/FitmentStoreWrapper/index.d.ts +1 -0
  290. package/build/typings/components/FitmentStoreWrapper/models.d.ts +59 -0
  291. package/build/typings/components/ListControls/ListControls.d.ts +4 -0
  292. package/build/typings/components/ListControls/index.d.ts +1 -0
  293. package/build/typings/components/ListControls/models.d.ts +47 -0
  294. package/build/typings/components/LoadingIndicator/LoadingIndicator.d.ts +7 -0
  295. package/build/typings/components/LoadingIndicator/index.d.ts +1 -0
  296. package/build/typings/components/Pagination/Pagination.d.ts +4 -0
  297. package/build/typings/components/Pagination/index.d.ts +1 -0
  298. package/build/typings/components/Pagination/models.d.ts +13 -0
  299. package/build/typings/components/PaginationWithRangeInfo/PaginationWithRangeInfo.d.ts +4 -0
  300. package/build/typings/components/PaginationWithRangeInfo/index.d.ts +1 -0
  301. package/build/typings/components/PaginationWithRangeInfo/models.d.ts +7 -0
  302. package/build/typings/components/ProductList/ProductList.d.ts +8 -0
  303. package/build/typings/components/ProductList/index.d.ts +1 -0
  304. package/build/typings/components/ProductList/models.d.ts +46 -0
  305. package/build/typings/components/ProductListWrapper/ProductListWrapper.d.ts +4 -0
  306. package/build/typings/components/ProductListWrapper/index.d.ts +1 -0
  307. package/build/typings/components/ProductListWrapper/models.d.ts +25 -0
  308. package/build/typings/components/ProductSelectorVerifier/ProductSelectorVerifier.d.ts +14 -0
  309. package/build/typings/components/ProductSelectorVerifier/index.d.ts +1 -0
  310. package/build/typings/components/SearchBar/SearchBar.d.ts +6 -0
  311. package/build/typings/components/SearchBar/SearchBarSuggestions.d.ts +4 -0
  312. package/build/typings/components/SearchBar/index.d.ts +1 -0
  313. package/build/typings/components/SearchBar/models.d.ts +172 -0
  314. package/build/typings/components/SearchBarWrapper/SearchBarWrapper.d.ts +6 -0
  315. package/build/typings/components/SearchBarWrapper/index.d.ts +1 -0
  316. package/build/typings/components/SearchBarWrapper/models.d.ts +22 -0
  317. package/build/typings/components/SearchBarWrapperModal/SearchBarWrapperModal.d.ts +4 -0
  318. package/build/typings/components/SearchBarWrapperModal/index.d.ts +1 -0
  319. package/build/typings/components/SearchBarWrapperModal/models.d.ts +5 -0
  320. package/build/typings/components/SkuListWrapper/SkuListWrapper.d.ts +4 -0
  321. package/build/typings/components/SkuListWrapper/index.d.ts +1 -0
  322. package/build/typings/components/SpecificationSearch/SpecificationSearch.d.ts +4 -0
  323. package/build/typings/components/SpecificationSearch/index.d.ts +1 -0
  324. package/build/typings/components/SpecificationSearch/models.d.ts +30 -0
  325. package/build/typings/components/WsmFitmentSelectorWrapper/WsmFitmentSelectorWrapper.d.ts +8 -0
  326. package/build/typings/components/WsmFitmentSelectorWrapper/index.d.ts +1 -0
  327. package/build/typings/components/WsmProductListWrapper/WsmProductListWrapper.d.ts +4 -0
  328. package/build/typings/components/WsmProductListWrapper/index.d.ts +1 -0
  329. package/build/typings/components/WsmSearchBarWithWrapperModal/WsmSearchBarWithWrapperModal.d.ts +8 -0
  330. package/build/typings/components/WsmSearchBarWithWrapperModal/index.d.ts +1 -0
  331. package/build/typings/components/WsmSearchBarWrapper/WsmSearchBarWrapper.d.ts +4 -0
  332. package/build/typings/components/WsmSearchBarWrapper/index.d.ts +1 -0
  333. package/build/typings/components/WsmSearchBarWrapper/models.d.ts +12 -0
  334. package/build/typings/components/WsmSearchBarWrapperModal/WsmSearchBarWrapperModal.d.ts +4 -0
  335. package/build/typings/components/WsmSearchBarWrapperModal/index.d.ts +1 -0
  336. package/build/typings/components/WsmSearchBarWrapperModal/models.d.ts +5 -0
  337. package/build/typings/components/WsmSearchPage/FacetFilterModal.d.ts +18 -0
  338. package/build/typings/components/WsmSearchPage/FitmentSelectorModal.d.ts +22 -0
  339. package/build/typings/components/WsmSearchPage/SearchPageProvider.d.ts +32 -0
  340. package/build/typings/components/WsmSearchPage/index.d.ts +29 -0
  341. package/build/typings/components/WsmSearchPage/utils.d.ts +25 -0
  342. package/build/typings/icons/Angle.d.ts +7 -0
  343. package/build/typings/icons/BanIcon.d.ts +7 -0
  344. package/build/typings/icons/CheckIcon.d.ts +3 -0
  345. package/build/typings/icons/CrossIcon.d.ts +7 -0
  346. package/build/typings/icons/Grid.d.ts +5 -0
  347. package/build/typings/icons/ImagePlaceHolder.d.ts +5 -0
  348. package/build/typings/icons/List.d.ts +6 -0
  349. package/build/typings/icons/MinusIcon.d.ts +6 -0
  350. package/build/typings/icons/PlusIcon.d.ts +6 -0
  351. package/build/typings/icons/SearchIcon.d.ts +7 -0
  352. package/build/typings/icons/SearchIconLight.d.ts +7 -0
  353. package/build/typings/icons/StarIcon.d.ts +6 -0
  354. package/build/typings/icons/TrashIcon.d.ts +7 -0
  355. package/build/typings/icons/WarningIcon.d.ts +3 -0
  356. package/build/typings/index.d.ts +60 -0
  357. package/build/typings/models/generic.d.ts +8 -0
  358. package/build/typings/models/search.d.ts +93 -0
  359. package/build/typings/static/icons/CrossIcon.d.ts +7 -0
  360. package/build/typings/static/icons/FunnelIcon.d.ts +3 -0
  361. package/build/typings/static/icons/VerifiedIcon.d.ts +3 -0
  362. package/build/typings/utils/constants.d.ts +7 -0
  363. package/build/typings/utils/fitmentUtils.d.ts +4 -0
  364. package/build/typings/utils/format.d.ts +3 -0
  365. package/build/typings/utils/queryUtils.d.ts +12 -0
  366. package/build/typings/utils/restFactory.d.ts +6 -0
  367. package/build/typings/utils/searchHistory.d.ts +3 -0
  368. package/build/typings/utils/wsmVisibleFieldsBuilder.d.ts +31 -0
  369. package/package.json +133 -0
@@ -0,0 +1 @@
1
+ .listControls_root__1XiZv{display:flex;justify-content:space-between;padding:.5rem}.listControls_iconContainer__EUUvE{padding:0;border:none;background-color:transparent;margin:0 0 0 .5rem;cursor:pointer;outline:none;display:flex;align-items:center;justify-content:center}.listControls_icon__3X_9L{width:1em;height:1em;color:var(--sui-secondary-color-dark)}.listControls_icon__3X_9L.listControls_selected__1We4P{color:var(--sui-primary-color)}.listControls_itemsPerPageContainer__1Jlp9{display:flex;align-items:center}.listControls_itemsPerPageContainer__1Jlp9 p{margin:0;padding-right:.5rem}.listControls_right__2YOEf{display:flex}.listControls_left__3yT59{display:flex;align-items:center}.listControls_left__3yT59 p{margin:0;padding-right:.5rem}.listControls_rootStyled__-WTs4{background-color:var(--sui-secondary-color)}.pagination_root__364lu{display:flex;align-items:center}.pagination_angleIcon__2UTcR,.pagination_angleIconRight__ysXch{display:flex;justify-content:center;align-items:center;width:1em;height:1em;font-size:1.25rem}.pagination_angleIconRight__ysXch{transform:rotate(180deg)}.pagination_pageLink__fl_OV{color:inherit;padding:0 .5rem;text-decoration:unset;border:none;background-color:transparent;cursor:pointer}.pagination_disabled__15wHQ{opacity:.5}.pagination_active__2LHHU{text-decoration:underline;opacity:1;font-weight:700}.loadingIndicator_root__npeKe{height:3px;width:100%;margin:0;background-color:var(--sui-primary-color-light);display:flex;position:absolute;top:-3px}.loadingIndicator_root__npeKe:before{background-color:var(--sui-primary-color);height:3px;width:100%;margin:0;content:"";-webkit-animation:loadingIndicator_running-progress__1LY3F 2s cubic-bezier(.4,0,.2,1) infinite;animation:loadingIndicator_running-progress__1LY3F 2s cubic-bezier(.4,0,.2,1) infinite}@keyframes loadingIndicator_running-progress__1LY3F{0%{margin-left:0;margin-right:100%}50%{margin-left:25%;margin-right:0}to{margin-left:100%;margin-right:0}}.loadingIndicator_sk-fading-circle__1TTJV{margin:auto;width:40px;height:40px;position:relative}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle__CwR68{width:100%;height:100%;position:absolute;left:0;top:0}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle__CwR68:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:#333;border-radius:100%;-webkit-animation:loadingIndicator_sk-circleFadeDelay__3VwzZ 1.2s ease-in-out infinite both;animation:loadingIndicator_sk-circleFadeDelay__3VwzZ 1.2s ease-in-out infinite both}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle2__1gpYo{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle3__2GoQv{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle4__1F1d-{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle5__1I-LA{-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle6__26mL6{-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle7__3BF0d{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle8__2ITYw{-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle9__2pFiT{-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle10__2Gk5Q{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle11__34lxl{-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle12__34fj1{-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle2__1gpYo:before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle3__2GoQv:before{-webkit-animation-delay:-1s;animation-delay:-1s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle4__1F1d-:before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle5__1I-LA:before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle6__26mL6:before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle7__3BF0d:before{-webkit-animation-delay:-.6s;animation-delay:-.6s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle8__2ITYw:before{-webkit-animation-delay:-.5s;animation-delay:-.5s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle9__2pFiT:before{-webkit-animation-delay:-.4s;animation-delay:-.4s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle10__2Gk5Q:before{-webkit-animation-delay:-.3s;animation-delay:-.3s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle11__34lxl:before{-webkit-animation-delay:-.2s;animation-delay:-.2s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle12__34fj1:before{-webkit-animation-delay:-.1s;animation-delay:-.1s}@-webkit-keyframes loadingIndicator_sk-circleFadeDelay__3VwzZ{0%,39%,to{opacity:0}40%{opacity:1}}@keyframes loadingIndicator_sk-circleFadeDelay__3VwzZ{0%,39%,to{opacity:0}40%{opacity:1}}.list_root__m2F7Y{display:grid;position:relative}.list_loadingIndicator__3R1aV{top:0}.list_listContainer__3UJa6{display:grid;grid-gap:.5rem;overflow-x:hidden}.list_listContainer__3UJa6:not(.list_listHorizontal__3sgr7){grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.list_isBusy__3F6sL{opacity:.5}.list_listHorizontal__3sgr7{grid-template-columns:1fr}.list_pagination__1pWk4{display:flex;justify-content:center}.list_listContainerStyled__38ZCr{padding-top:.5rem}:root{--sui-primary-color:#0071bc;--sui-primary-color-light:#8bcbf5;--sui-secondary-color:#efefef;--sui-secondary-color-light:#f8f9fa;--sui-secondary-color-dark:#afafaf;--sui-secondary-color-dark2:#6c757d;--sui-danger-color:#ff5353;--sui-danger-color-dark:#cb0201;--sui-muted-color:#6c757d;--sui-border-input:#aaa;--sui-border-input-hover:#888;--sui-success-color:#3baf7e;--sui-warning-color:#ffb90f;--sui-grey-light:#e6e6e6;--sui-link-color:#2d9bf0;--sui-input-height:2rem}.productListItem_root__xLXZA{display:grid;grid-template-columns:fit-content(20%) 3fr minmax(155px,1fr);gap:15px;padding:.5rem}.productListItem_root__xLXZA ul{list-style:none;margin:0;padding:0}.productListItem_text__2vbTm{margin:0;font-size:.8rem}a.productListItem_text__2vbTm{color:inherit;text-decoration:none}.productListItem_productImg__23A0z{max-width:75px;max-height:75px}.productListItem_imageContainer__paRx-{width:150px;text-align:center;display:flex;align-items:center;justify-content:center;height:auto}.productListItem_imageContainer__paRx- svg{width:100%}.productListItem_productImg__23A0z{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.productListItem_vertical__RuKVA{grid-template-columns:1fr;justify-items:left;border-radius:5px;border:1px solid var(--sui-secondary-color);padding-bottom:.5rem}.productListItem_vertical__RuKVA .productListItem_imageContainer__paRx-{max-width:unset;width:100%;height:160px;display:flex;align-items:center;justify-content:center}.productListItem_vertical__RuKVA .productListItem_productImg__23A0z{max-width:unset;max-height:100%;object-fit:contain;width:100%}.productListItem_styledSearchResultItem__2xWUG{border-bottom:1px solid var(--sui-secondary-color)}.productListItem_styledSearchResultItem__2xWUG .productListItem_text__2vbTm{font-size:1.3rem}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--title{font-size:1.6rem;font-weight:700;margin-top:0}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability{text-align:right;font-size:1rem;color:var(--sui-danger-color-dark);font-weight:700}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--brand_name,.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--tag{font-size:.8rem;font-weight:700;margin-top:0}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability_remarks,.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--remarks{color:var(--sui-success-color);font-size:.8rem;margin:.5rem 0;font-weight:600;text-align:right}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--price,.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--sale{font-size:1.6rem;font-weight:700;text-align:right}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--fitment_applicability{font-size:12px;padding:.5em 1em;border-radius:1em;border:none;outline:none}.productListItem_styledSearchResultItem__2xWUG .fitmentSpecific{background:var(--sui-primary-color-light)}.productListItem_styledSearchResultItem__2xWUG .universal{background:var(--sui-secondary-color-dark)}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem-Container--fitment_applicability{margin-top:10px;margin-bottom:10px}.productListItem_styledSearchResultItem__2xWUG .red{color:var(--sui-danger-color-dark)}.productListItem_styledSearchResultItem__2xWUG .old-price{color:var(--sui-muted-color);text-decoration:line-through;font-weight:400;font-size:1.4rem}.productListItem_styledSearchResultItem__2xWUG .bold{font-weight:700}.productListItem_styledSearchResultItem__2xWUG .productListItem_link__QvazJ{font-weight:700;color:var(--sui-link-color);text-decoration:none;font-size:1.2rem;text-align:right;display:block}.productListItem_styledSearchResultItem__2xWUG .productListItem_right__1cPgQ{padding-top:19px;padding-right:1rem}.productListItem_styledSearchResultItem__2xWUG .mb-1{margin-bottom:1px}.productListItem_styledSearchResultItem__2xWUG .mb-2{margin-bottom:2px}.productListItem_styledSearchResultItem__2xWUG .mb-3{margin-bottom:3px}.productListItem_styledSearchResultItem__2xWUG .mb-4{margin-bottom:4px}.productListItem_styledSearchResultItem__2xWUG .mb-5{margin-bottom:5px}.productListItem_styledSearchResultItem__2xWUG .mb-6{margin-bottom:6px}.productListItem_styledSearchResultItem__2xWUG .mb-7{margin-bottom:7px}.productListItem_styledSearchResultItem__2xWUG .mb-8{margin-bottom:8px}.productListItem_styledSearchResultItem__2xWUG .mb-9{margin-bottom:9px}.productListItem_styledSearchResultItem__2xWUG .mb-10{margin-bottom:10px}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .productListItem_text__2vbTm{font-size:1.3rem}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .productListItem_link__QvazJ{text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--title{font-size:1.6rem}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--dealerid{margin-bottom:8px}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--price,.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--sale{font-size:1.6rem;text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .old-price{font-size:1.4rem}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--availability{font-size:1rem;text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--availability_remarks,.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--remarks{text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .productListItem_right__1cPgQ{padding-top:0;width:100%}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA.productListItem_root__xLXZA{gap:0}@media (max-width:500px){.productListItem_root__xLXZA{grid-template-columns:1fr;justify-items:left;border-radius:5px;border:1px solid var(--sui-secondary-color);padding-bottom:.5rem}.productListItem_root__xLXZA .productListItem_imageContainer__paRx-{max-width:unset;width:100%;height:160px;display:flex;align-items:center;justify-content:center}.productListItem_root__xLXZA .productListItem_productImg__23A0z{max-width:unset;max-height:100%;object-fit:contain;width:100%}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .productListItem_text__2vbTm{font-size:1.3rem}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .productListItem_link__QvazJ{text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--title{font-size:1.6rem}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--dealerid{margin-bottom:8px}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--price,.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--sale{font-size:1.6rem;text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .old-price{font-size:1.4rem}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability{font-size:1rem;text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability_remarks,.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--remarks{text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .productListItem_right__1cPgQ{padding-top:0;width:100%}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG.productListItem_root__xLXZA{gap:0}}.productListItem_optionAvailableBtnContainer__2wxwf{text-align:right}.productListItem_optionsAvailableBtn__1rmDf{background:#efefef;padding:5px 10px;text-decoration:none;color:#343434;text-transform:capitalize}.productListItem_priceFromLabel__pMQzO{font-weight:400}.productList_resultItemStyledInGrid__12GNR{box-shadow:none;display:flex;flex-direction:column}.productList_styledListContainer__156EZ .Sui-List--horizontal{gap:2.5rem}.productList_styledListContainer__156EZ .Sui-List--container{grid-gap:1rem .5rem}
@@ -0,0 +1,22 @@
1
+ import e,{createElement as t,Fragment as n,useState as r,useEffect as i}from"react";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function l(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var s=a((function(e){
2
+ /*!
3
+ Copyright (c) 2017 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */
7
+ !function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)&&i.length){var a=n.apply(null,i);a&&e.push(a)}else if("object"===o)for(var l in i)t.call(i,l)&&i[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()})),c=function(e){var n=e.className;return t("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"border-all",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",className:n},t("path",{fill:"currentColor",d:"M416 32H32A32 32 0 0 0 0 64v384a32 32 0 0 0 32 32h384a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32zm-32 64v128H256V96zm-192 0v128H64V96zM64 416V288h128v128zm192 0V288h128v128z"}))},u=function(e){var n=e.className,r=e.size,i=void 0===r?20:r;return t("svg",{width:i,height:i,"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"list",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:n},t("path",{fill:"currentColor",d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"}))},d="listControls_root__1XiZv",p="listControls_iconContainer__EUUvE",h="listControls_icon__3X_9L",f="listControls_selected__1We4P",m="listControls_itemsPerPageContainer__1Jlp9",g="listControls_right__2YOEf",v="listControls_left__3yT59",y="listControls_rootStyled__-WTs4",k=function(e){var n,r,i,o=e.orientation,a=e.onLayoutChange,l=e.onItemsPerPageChange,k=e.itemsPerPage,b=e.styled,x=e.className,_=e.itemsPerPageOptions,w=void 0===_?[5,10,20,50,100]:_,C=e.sortOptions,N=e.selectedSort,S=e.onSortChange;return t("div",{className:s(d,(n={},n[y]=b,n),"Sui-ListControls--container",x)},C?t("div",{className:v},t("p",null,"Sort: "),t("select",{onChange:function(e){return null==S?void 0:S(e.currentTarget.value)},role:"listbox",value:N||0,"aria-label":"sortDropDown"},C.map((function(e){return t("option",{role:"option",key:e.value,value:e.value,"aria-selected":e.value===N},e.label)})))):null,t("div",{className:g},t("div",{className:m},t("p",null,"View: "),t("select",{onChange:function(e){return l(Number(e.currentTarget.value))},role:"listbox",value:k},w.map((function(e){return t("option",{role:"option",key:e,value:e,"aria-selected":k===e},e)})))),t("button",{className:p,onClick:function(){return a("vertical")},"aria-label":"grid layout"},t(c,{className:s(h,(r={},r[f]="vertical"===o,r))})),t("button",{className:p,onClick:function(){return a("horizontal")},"aria-label":"list layout"},t(u,{className:s(h,(i={},i[f]="horizontal"===o,i))}))))},b=function(e){var n=e.className,r=void 0===n?"":n,i=e.size,o=void 0===i?20:i;return t("svg",{width:o,height:o,className:r,focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"},t("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}))},x="pagination_root__364lu",_="pagination_angleIcon__2UTcR",w="pagination_angleIconRight__ysXch",C="pagination_pageLink__fl_OV",N="pagination_disabled__15wHQ",S="pagination_active__2LHHU",I=function(e){var n,r=e.disabled,i=e.children,o=e.onClick,a=void 0===o?function(){return null}:o,l=e.className;return t("button",{className:s(l,(n={},n[N]=r,n)),onClick:a,disabled:r,role:"button"},i)},P=function(e){var r=e.totalPages,i=e.currentPage,o=e.className,a=void 0===o?"":o,l=e.onChangePage,c=void 0===l?function(){return null}:l,u=r>7&&i>3.5?Math.ceil(i-1-3.5):0,d=r>7&&i<Math.ceil(r-3.5)?u+7:r;r>7&&d===r&&d-u<7&&(u=d-7);var p=(d+=1)-(u+=1),h=Array.from({length:p}).map((function(e,t){var n=t+u;return n>=2&&0===t?1:n>2&&1===t||t===p-2&&n<=r-2?-1:t===p-1?r:n}));return r<=1?null:t("div",{className:s(x,a),"data-testid":"pagination"},t(I,{className:s(C,"Sui-Pagination--prev-page"),onClick:function(){return c(i-1)},disabled:1===i},t(b,{className:_})),h.map((function(e,r){return t(n,{key:r},e<0?t(I,{className:C,disabled:!0},"..."):function(e){var n;return t(I,{className:s(C,(n={},n[S]=i===e,n),"Sui-Pagination--page-number"),onClick:function(){return c(e)},disabled:i===e},e)}(e))})),t(I,{className:s(C,"Sui-Pagination--next-page"),onClick:function(){return c(i+1)},disabled:i===r},t(b,{className:w})))},L={root:"loadingIndicator_root__npeKe","running-progress":"loadingIndicator_running-progress__1LY3F","sk-fading-circle":"loadingIndicator_sk-fading-circle__1TTJV","sk-circle":"loadingIndicator_sk-circle__CwR68","sk-circleFadeDelay":"loadingIndicator_sk-circleFadeDelay__3VwzZ","sk-circle2":"loadingIndicator_sk-circle2__1gpYo","sk-circle3":"loadingIndicator_sk-circle3__2GoQv","sk-circle4":"loadingIndicator_sk-circle4__1F1d-","sk-circle5":"loadingIndicator_sk-circle5__1I-LA","sk-circle6":"loadingIndicator_sk-circle6__26mL6","sk-circle7":"loadingIndicator_sk-circle7__3BF0d","sk-circle8":"loadingIndicator_sk-circle8__2ITYw","sk-circle9":"loadingIndicator_sk-circle9__2pFiT","sk-circle10":"loadingIndicator_sk-circle10__2Gk5Q","sk-circle11":"loadingIndicator_sk-circle11__34lxl","sk-circle12":"loadingIndicator_sk-circle12__34fj1"},E=function(e){var n=e.type,r=e.className;return"linear"===n?t("div",{className:s(L.root,void 0===r?"":r)}):t("div",{className:L["sk-fading-circle"]},t("div",{className:s(L["sk-circle"])}),Array.from({length:11}).map((function(e,n){return t("div",{key:n,className:s(L["sk-circle"+(n+2)],L["sk-circle"])})})))},T="list_root__m2F7Y",A="list_loadingIndicator__3R1aV",O="list_listContainer__3UJa6",F="list_listHorizontal__3sgr7",M="list_isBusy__3F6sL",R="list_pagination__1pWk4",z="list_listContainerStyled__38ZCr";function D(e){var r,i=e.children,o=e.list,a=e.totalPages,l=void 0===a?1:a,c=e.currentPage,u=void 0===c?1:c,d=e.onPageChanged,p=void 0===d?function(){return null}:d,h=e.className,f=void 0===h?"":h,m=e.styled,g=e.orientation,v=void 0===g?"horizontal":g,y=e.onLayoutChange,b=e.showPagination,x=void 0!==b&&b,_=e.showLoadingIndicator,w=void 0!==_&&_,C=e.renderNoResults,N=e.isLoading,S=e.showControls,I=e.itemsPerPage,L=e.onItemsPerPageChange,D=e.onSortChange,H=e.sortOptions,B=e.selectedSort;return t("div",{className:s(T,f)},S?t(k,{orientation:v,onLayoutChange:y,onItemsPerPageChange:function(e){return L(e)},itemsPerPage:I,styled:m,sortOptions:H,onSortChange:D,selectedSort:B}):null,w&&m&&N?t(E,{type:"linear",className:A}):null,o.length?t(n,null,t("div",{className:s(O,(r={},r[M]=m&&N,r[F]="horizontal"===v,r[z]=m,r["Sui-List--horizontal"]="horizontal"===v,r),"Sui-List--container"),"data-testid":"listContainer"},i),x?t(P,{className:R,totalPages:l,currentPage:u,onChangePage:p}):null):N?null:C?C():t("h1",{className:"Sui-List--no-results"},"No results"))}
8
+ /*! *****************************************************************************
9
+ Copyright (c) Microsoft Corporation.
10
+
11
+ Permission to use, copy, modify, and/or distribute this software for any
12
+ purpose with or without fee is hereby granted.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
+ PERFORMANCE OF THIS SOFTWARE.
21
+ ***************************************************************************** */var H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function B(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,l=o.length;a<l;a++,i++)r[i]=o[a];return r}function U(e,t,n){return void 0===t&&(t="en-US"),void 0===n&&(n="USD"),Number.isNaN(e)?"":new Intl.NumberFormat(t,{currency:n,style:"currency"}).format(e)}var V=function(e){var n=e.className;return t("svg",{version:"1.1",viewBox:"0 0 600 400",enableBackground:"new 0 0 600 400",xmlSpace:"preserve",className:void 0===n?"":n},t("rect",{x:"0",fill:"#EDECEB",width:"600",height:"400"}),t("path",{fill:"#FFFFFF",d:"M234.539,148.5v103h130.922v-103H234.539z M354.908,240.33H245.707v-80.661h109.201V240.33L354.908,240.33z"}),t("polygon",{fill:"#FFFFFF",points:"251.58,231.643 274.088,207.984 282.521,211.633 309.13,183.308 319.604,195.836 324.329,192.982 349.898,231.643 "}),t("circle",{fill:"#FFFFFF",cx:"277.582",cy:"180.18",r:"9.83"}))},j=function(e){var n=e.className,i=e.alt,o=e.url,a=e.noImageUrl,l=r(!0),s=l[0],c=l[1];return s&&o?t("img",{className:n,src:o,alt:i,onError:function(){return c(!1)}}):a?t("img",{src:a,alt:i}):t(V,{className:n})},q="productListItem_root__xLXZA",W="productListItem_text__2vbTm",X="productListItem_productImg__23A0z",G="productListItem_imageContainer__paRx-",Y="productListItem_vertical__RuKVA",Z="productListItem_styledSearchResultItem__2xWUG",Q="productListItem_link__QvazJ",$="productListItem_right__1cPgQ",K="productListItem_optionAvailableBtnContainer__2wxwf",J="productListItem_optionsAvailableBtn__1rmDf",ee="productListItem_priceFromLabel__pMQzO",te={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},ne=a((function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});function i(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){o[e]=new i(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=n(e,2),r=t[0],a=t[1];o[r]=new i(r,1,!1,a,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){o[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){o[e]=new i(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){o[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){o[e]=new i(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){o[e]=new i(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){o[e]=new i(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){o[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)}));var a=/[\-\:]([a-z])/g,l=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(a,l);o[t]=new i(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(a,l);o[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(a,l);o[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}));o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)}));var s=te.CAMELCASE,c=te.SAME,u=te.possibleStandardNames,d=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),p=Object.keys(u).reduce((function(e,t){var n=u[t];return n===c?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=d,t.possibleStandardNames=p})),re=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ie=/\n/g,oe=/^\s*/,ae=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,le=/^:\s*/,se=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ce=/^[;\s]*/,ue=/^\s+|\s+$/g;function de(e){return e?e.replace(ue,""):""}var pe=function(e,t){var n,r=null;if(!e||"string"!=typeof e)return r;for(var i,o,a=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(e){var t=e.match(ie);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function o(){var e={line:n,column:r};return function(t){return t.position=new a(e),c(),t}}function a(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function l(i){var o=new Error(t.source+":"+n+":"+r+": "+i);if(o.reason=i,o.filename=t.source,o.line=n,o.column=r,o.source=e,!t.silent)throw o}function s(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function c(){s(oe)}function u(e){var t;for(e=e||[];t=d();)!1!==t&&e.push(t);return e}function d(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var a=e.slice(2,n-2);return r+=2,i(a),e=e.slice(n),r+=2,t({type:"comment",comment:a})}}function p(){var e=o(),t=s(ae);if(t){if(d(),!s(le))return l("property missing ':'");var n=s(se),r=e({type:"declaration",property:de(t[0].replace(re,"")),value:n?de(n[0].replace(re,"")):""});return s(ce),r}}return a.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=p();)!1!==e&&(t.push(e),u(t));return t}()}(e),l="function"==typeof t,s=0,c=a.length;s<c;s++)i=(n=a[s]).property,o=n.value,l?t(i,o,n):o&&(r||(r={}),r[i]=o);return r},he=a((function(e,t){t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,s):e.replace(o,s)).replace(r,l))}})),fe=a((function(e,t){var n=o&&o.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var r=n(pe);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,he.camelCase)(e,t)]=r)})),n):n}})).default;var me={reactCompat:!0};var ge=e.version.split(".")[0]>=16,ve=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var ye={PRESERVE_CUSTOM_ATTRIBUTES:ge,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e)r=e[n],i&&(o=t(n,r))&&2===o.length?a[o[0]]=o[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=fe(e,me)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!ve.has(e.name)},elementsWithNoTextChildren:ve},ke=function(e){var t,n,r,i,o,a={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(r=e[t],ne.isCustomAttribute(t))a[t]=r;else if(i=be(n=t.toLowerCase()))switch(o=ne.getPropertyInfo(i),"checked"!==i&&"value"!==i||l||(i=be("default"+n)),a[i]=r,o&&o.type){case ne.BOOLEAN:a[i]=!0;break;case ne.OVERLOADED_BOOLEAN:""===r&&(a[i]=!0)}else ye.PRESERVE_CUSTOM_ATTRIBUTES&&(a[t]=r);return ye.setStyleProp(e.style,a),a};function be(e){return ne.possibleStandardNames[e]}var xe=ye.setStyleProp,_e=ye.canTextBeChildOfNode;function we(e){return ye.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&ye.isCustomComponent(e.name,e.attribs)}var Ce=function t(n,r){for(var i,o,a,l,s,c=(r=r||{}).library||e,u=c.cloneElement,d=c.createElement,p=c.isValidElement,h=[],f="function"==typeof r.replace,m=r.trim,g=0,v=n.length;g<v;g++)if(i=n[g],f&&p(a=r.replace(i)))v>1&&(a=u(a,{key:a.key||g})),h.push(a);else if("text"!==i.type){switch(l=i.attribs,we(i)?xe(l.style,l):l&&(l=ke(l)),s=null,i.type){case"script":case"style":i.children[0]&&(l.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?l.defaultValue=i.children[0].data:i.children&&i.children.length&&(s=t(i.children,r));break;default:continue}v>1&&(l.key=g),h.push(d(i.name,l,s))}else{if((o=!i.data.trim().length)&&i.parent&&!_e(i.parent))continue;if(m&&o)continue;h.push(i.data)}return 1===h.length?h[0]:h},Ne=/<([a-zA-Z]+[0-9]?)/,Se=/<head[^]*>/i,Ie=/<body[^]*>/i,Pe=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},Le=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var Ee=new window.DOMParser;Pe=Le=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),Ee.parseFromString(e,"text/html")}}if(document.implementation){var Te=document.implementation.createHTMLDocument();Pe=function(e,t){return t?(Te.documentElement.querySelector(t).innerHTML=e,Te):(Te.documentElement.innerHTML=e,Te)}}var Ae,Oe=document.createElement("template");Oe.content&&(Ae=function(e){return Oe.innerHTML=e,Oe.content.childNodes});var Fe,Me=function(e){var t,n,r,i,o=e.match(Ne);switch(o&&o[1]&&(t=o[1].toLowerCase()),t){case"html":return n=Le(e),Se.test(e)||(r=n.querySelector("head"))&&r.parentNode.removeChild(r),Ie.test(e)||(r=n.querySelector("body"))&&r.parentNode.removeChild(r),n.querySelectorAll("html");case"head":case"body":return i=(n=Pe(e)).querySelectorAll(t),Ie.test(e)&&Se.test(e)?i[0].parentNode.childNodes:i;default:return Ae?Ae(e):(r=Pe(e,"body").querySelector("body")).childNodes}};!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(Fe||(Fe={}));Fe.Root,Fe.Text,Fe.Directive,Fe.Comment,Fe.Script,Fe.Style,Fe.Tag,Fe.CDATA,Fe.Doctype;class Re{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return $e(this,e)}}class ze extends Re{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class De extends ze{constructor(){super(...arguments),this.type=Fe.Text}get nodeType(){return 3}}class He extends ze{constructor(){super(...arguments),this.type=Fe.Comment}get nodeType(){return 8}}class Be extends ze{constructor(e,t){super(t),this.name=e,this.type=Fe.Directive}get nodeType(){return 1}}class Ue extends Re{constructor(e){super(),this.children=e}get firstChild(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class Ve extends Ue{constructor(){super(...arguments),this.type=Fe.CDATA}get nodeType(){return 4}}class je extends Ue{constructor(){super(...arguments),this.type=Fe.Root}get nodeType(){return 9}}class qe extends Ue{constructor(e,t,n=[],r=("script"===e?Fe.Script:"style"===e?Fe.Style:Fe.Tag)){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map((e=>{var t,n;return{name:e,value:this.attribs[e],namespace:null===(t=this["x-attribsNamespace"])||void 0===t?void 0:t[e],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[e]}}))}}function We(e){return(t=e).type===Fe.Tag||t.type===Fe.Script||t.type===Fe.Style;var t}function Xe(e){return e.type===Fe.CDATA}function Ge(e){return e.type===Fe.Text}function Ye(e){return e.type===Fe.Comment}function Ze(e){return e.type===Fe.Directive}function Qe(e){return e.type===Fe.Root}function $e(e,t=!1){let n;if(Ge(e))n=new De(e.data);else if(Ye(e))n=new He(e.data);else if(We(e)){const r=t?Ke(e.children):[],i=new qe(e.name,{...e.attribs},r);r.forEach((e=>e.parent=i)),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=i}else if(Xe(e)){const r=t?Ke(e.children):[],i=new Ve(r);r.forEach((e=>e.parent=i)),n=i}else if(Qe(e)){const r=t?Ke(e.children):[],i=new je(r);r.forEach((e=>e.parent=i)),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else{if(!Ze(e))throw new Error(`Not implemented yet: ${e.type}`);{const t=new Be(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Ke(e){const t=e.map((e=>$e(e,!0)));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}const Je={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class et{constructor(e,t,n){this.dom=[],this.root=new je(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=Je),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:Je,this.elementCB=null!=n?n:null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new je(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const n=this.options.xmlMode?Fe.Tag:void 0,r=new qe(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)}ontext(e){const{lastNode:t}=this;if(t&&t.type===Fe.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const t=new De(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===Fe.Comment)return void(this.lastNode.data+=e);const t=new He(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new De(""),t=new Ve([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const n=new Be(e,t);this.addNode(n)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}}for(var tt,nt=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],rt=l(Object.freeze({__proto__:null,DomHandler:et,default:et,Node:Re,DataNode:ze,Text:De,Comment:He,ProcessingInstruction:Be,NodeWithChildren:Ue,CDATA:Ve,Document:je,Element:qe,isTag:We,isCDATA:Xe,isText:Ge,isComment:Ye,isDirective:Ze,isDocument:Qe,hasChildren:function(e){return Object.prototype.hasOwnProperty.call(e,"children")},cloneNode:$e})),it=nt,ot=rt.Comment,at=rt.Element,lt=rt.ProcessingInstruction,st=rt.Text,ct={},ut=0,dt=it.length;ut<dt;ut++)tt=it[ut],ct[tt.toLowerCase()]=tt;function pt(e){for(var t,n={},r=0,i=e.length;r<i;r++)n[(t=e[r]).name]=t.value;return n}function ht(e){var t=function(e){return ct[e]}(e=e.toLowerCase());return t||e}var ft={formatAttributes:pt,formatDOM:function e(t,n,r){n=n||null;for(var i=[],o=0,a=t.length;o<a;o++){var l,s=t[o];switch(s.nodeType){case 1:(l=new at(ht(s.nodeName),pt(s.attributes))).children=e(s.childNodes,l);break;case 3:l=new st(s.nodeValue);break;case 8:l=new ot(s.nodeValue);break;default:continue}var c=i[o-1]||null;c&&(c.next=l),l.parent=n,l.prev=c,l.next=null,i.push(l)}return r&&((l=new lt(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=i[0]||null,l.parent=n,i.unshift(l),i[1]&&(i[1].prev=i[0])),i}}.formatDOM,mt=/<(![a-zA-Z\s]+)>/;var gt=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(mt);return n&&n[1]&&(t=n[1]),ft(Me(e),null,t)},vt=l(Object.freeze({__proto__:null,default:gt}));vt="function"==typeof vt.default?vt.default:vt;var yt={lowerCaseAttributeNames:!1};function kt(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:Ce(vt(e,(t=t||{}).htmlparser2||yt),t)}kt.domToReact=Ce,kt.htmlToDOM=vt,kt.attributesToProps=ke,kt.Element=rt.Element;var bt=kt,xt=kt;bt.default=xt;var _t=function(e){var n=e.label,r=e.value,i=e.className;return r||n?t("p",{className:i},n?t("span",null,n):null,r):null},wt=function(e){var n=e.item,r=e.Link,i=e.linkProps,o=e.value,a=e.onClick;switch(n.prop){case"url":return t(r,H({},i,{className:Q,onClick:a}),"View to see price");case"title":return t(r,H({},i,{className:s(W,""+Ct+n.prop,n.className),onClick:a}),o);case"has_options":return o?t("div",{className:K},t(r,H({},i,{className:s(J,""+Ct+n.prop)}),"Options available")):null;case"fitment_applicability":return o?t("span",{className:s(W,""+Ct+n.prop,"Fitment-Specific"===o?"fitmentSpecific":"universal")},o):null;case"dealerid":case"stockid":return t(r,H({},i,{onClick:a,className:s("Sui-ProductListItem--"+n.prop+"-link")}),t(_t,{className:s(W,""+Ct+n.prop,n.className),label:n.label,value:o}));default:return t(_t,{className:s(W,""+Ct+n.prop,n.className),label:n.label,value:o})}},Ct="Sui-ProductListItem--",Nt=[{position:"center",prop:"brand_name"},{position:"center",prop:"title"},{position:"center",prop:"tag"},{label:"SKU: ",position:"center",prop:"stockid"},{label:"PART #: ",position:"center",prop:"dealerid"},{position:"right",prop:"availability"},{position:"right",prop:"sale"},{position:"right",prop:"price"},{position:"right",prop:"remarks"},{position:"right",prop:"availability_remarks"}],St=function(e){var n,r=e.data,i=e.styled,o=e.visibleFields,a=void 0===o?Nt:o,l=e.className,c=void 0===l?"":l,u=e.orientation,d=void 0===u?"horizontal":u,p=e.noImageUrl,h=e.linkEl,f=void 0===h?"a":h,m=e.onItemClick,g=r.url?f:"div",v=r.url?{href:r.url}:{},y=(Array.isArray(a)?a:Nt).reduce((function(e,t){if(void 0===r[t.prop]||null===r[t.prop])return e;switch(t.position){case"center":return H(H({},e),{center:B(e.center,[t])});case"right":return H(H({},e),{right:B(e.right,[t])});default:return e}}),{center:[],right:[]});return t("section",{className:s(q,(n={},n[Z]=i,n[Y]="vertical"===d,n),Ct+"root",c),role:"listitem"},t(g,H({className:s(G,Ct+"image"),onClick:function(e){return null==m?void 0:m(e,r)}},v),t(j,{alt:"Search reult",className:X,url:r.image_url,noImageUrl:p})),t("ul",null,y.center.map((function(e){return t("li",{key:e.prop,className:"Sui-ProductListItem-Container--"+e.prop,role:"listitem"},t(wt,{item:e,Link:g,linkProps:v,value:It(e.prop,r[e.prop],r.has_product_series),onClick:function(e){return null==m?void 0:m(e,r)}}))}))),t("ul",{className:$},y.right.map((function(e){return t("li",{key:e.prop,className:"Sui-ProductListItem-Container--"+e.prop,role:"listitem"},t(wt,{item:e,Link:g,linkProps:v,value:It(e.prop,r[e.prop],r.has_product_series),onClick:function(e){return null==m?void 0:m(e,r)}}))}))))};function It(e,r,i){switch(e){case"price":if(r){var o=U(r);return i?t(n,null,t("span",{className:s(ee,"Sui-ProductListItem-Container--"+e+"-label-from")},"From:")," ",o):o}return r;case"sale":return r?U(r):r;case"tag":case"availability_remarks":case"remarks":return bt(r);default:return r}}var Pt="productList_resultItemStyledInGrid__12GNR",Lt="productList_styledListContainer__156EZ",Et=[{label:"Recommended",value:""},{label:"Price: Low to High",value:"price:asc"},{label:"Price: High to Low",value:"price:desc"}],Tt=function(e){var n=e.renderList,r=e.data,i=e.styled,o=e.orientation,a=e.visibleFields,l=e.noImageUrl,c=e.linkEl,u=e.onItemClick,d=e.producListMetaData;return n?n(r,d):r.map((function(e){var n;return t(St,{key:e.id,className:s((n={},n[Pt]=i&&"vertical"===o,n)),data:e,styled:i,orientation:o,visibleFields:a,noImageUrl:l,linkEl:c,onItemClick:u})}))};export default function(e){var n,o=e.list,a=e.totalPages,l=void 0===a?1:a,c=e.currentPage,u=void 0===c?1:c,d=e.onPageChanged,p=void 0===d?function(){return null}:d,h=e.className,f=void 0===h?"":h,m=e.styled,g=e.orientation,v=void 0===g?"horizontal":g,y=e.showPagination,k=void 0!==y&&y,b=e.showLoadingIndicator,x=void 0!==b&&b,_=e.visibleFields,w=e.renderList,C=e.renderNoResults,N=e.isLoading,S=e.noImageUrl,I=e.linkEl,P=e.showControls,L=e.itemsPerPage,E=e.onItemsPerPageChange,T=e.onLayoutChange,A=e.onItemClick,O=e.onSortChange,F=e.sortOptions,M=e.selectedSort,R=e.producListMetaData,z=I||"a",H=r(L),B=H[0],U=H[1],V=r(v),j=V[0],q=V[1],W=r(M),X=W[0],G=W[1];return i((function(){q(v)}),[v]),i((function(){U(L)}),[L]),i((function(){G(M)}),[M]),t(D,{list:o,totalPages:l,currentPage:u,onPageChanged:p,className:s((n={},n[Lt]=m,n),f),orientation:j,showPagination:k,showLoadingIndicator:x,renderNoResults:C,isLoading:N,showControls:P,itemsPerPage:B,onItemsPerPageChange:function(e){null==E||E(e),U(e)},onLayoutChange:function(e){q(e),null==T||T(e)},styled:m,sortOptions:F||Et,onSortChange:function(e){null==O||O(e),G(e)},selectedSort:X},t(Tt,{renderList:w,data:o,styled:m,orientation:j,visibleFields:_,noImageUrl:S,linkEl:z,onItemClick:A,producListMetaData:R}))}
22
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../../node_modules/classnames/index.js","../../src/icons/Grid.tsx","../../src/icons/List.tsx","../../src/components/ListControls/ListControls.tsx","../../src/icons/Angle.tsx","../../src/components/Pagination/Pagination.tsx","../../src/components/LoadingIndicator/LoadingIndicator.tsx","../../src/common/List/List.tsx","../../node_modules/tslib/tslib.es6.js","../../src/utils/format.ts","../../src/icons/ImagePlaceHolder.tsx","../../src/common/Image/Image.tsx","../../node_modules/react-property/lib/possibleStandardNamesOptimized.js","../../node_modules/react-property/lib/index.js","../../node_modules/inline-style-parser/index.js","../../node_modules/style-to-object/index.js","../../node_modules/style-to-js/cjs/utilities.js","../../node_modules/html-react-parser/lib/utilities.js","../../node_modules/style-to-js/cjs/index.js","../../node_modules/html-react-parser/lib/attributes-to-props.js","../../node_modules/html-react-parser/lib/dom-to-react.js","../../node_modules/html-dom-parser/lib/client/domparser.js","../../node_modules/domhandler/node_modules/domelementtype/lib/esm/index.js","../../node_modules/domhandler/lib/esm/node.js","../../node_modules/domhandler/lib/esm/index.js","../../node_modules/html-dom-parser/lib/client/utilities.js","../../node_modules/html-dom-parser/lib/client/constants.js","../../node_modules/html-dom-parser/lib/client/html-to-dom.js","../../node_modules/html-react-parser/index.js","../../src/common/ProductListItem/ProductListItem.tsx","../../src/components/ProductList/ProductList.tsx"],"sourcesContent":["/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/* eslint-disable max-len */\nimport * as React from 'react';\n\nconst Grid = ({ className }: { className: string }) => (\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n data-prefix=\"fas\"\n data-icon=\"border-all\"\n role=\"img\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 448 512\"\n className={className}\n >\n <path\n fill=\"currentColor\"\n d=\"M416 32H32A32 32 0 0 0 0 64v384a32 32 0 0 0 32 32h384a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32zm-32 64v128H256V96zm-192 0v128H64V96zM64 416V288h128v128zm192 0V288h128v128z\"\n ></path>\n </svg>\n);\n\nexport default Grid;\n","/* eslint-disable max-len */\nimport * as React from 'react';\n\nconst List = ({\n className,\n size = 20,\n}: {\n className?: string;\n size?: number;\n}) => (\n <svg\n width={size}\n height={size}\n aria-hidden=\"true\"\n focusable=\"false\"\n data-prefix=\"fas\"\n data-icon=\"list\"\n role=\"img\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 512 512\"\n className={className}\n >\n <path\n fill=\"currentColor\"\n d=\"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z\"\n ></path>\n </svg>\n);\n\nexport default List;\n","import classnames from 'classnames';\nimport * as React from 'react';\nimport GridIcon from '../../icons/Grid';\nimport ListIcon from '../../icons/List';\nimport { ListControlsProps } from '../ListControls/models';\nimport styles from './listControls.scss';\n\nconst ListControls = ({\n orientation,\n onLayoutChange,\n onItemsPerPageChange,\n itemsPerPage,\n styled,\n className,\n itemsPerPageOptions = [5, 10, 20, 50, 100],\n sortOptions,\n selectedSort,\n onSortChange,\n}: ListControlsProps) => {\n return (\n <div\n className={classnames(\n styles.root,\n { [styles.rootStyled]: styled },\n 'Sui-ListControls--container',\n className\n )}\n >\n {sortOptions ? (\n <div className={styles.left}>\n <p>Sort: </p>\n <select\n onChange={(e) => onSortChange?.(e.currentTarget.value)}\n role=\"listbox\"\n value={selectedSort || 0}\n aria-label=\"sortDropDown\"\n >\n {sortOptions.map((option) => (\n <option\n role=\"option\"\n key={option.value}\n value={option.value}\n aria-selected={option.value === selectedSort}\n >\n {option.label}\n </option>\n ))}\n </select>\n </div>\n ) : null}\n\n <div className={styles.right}>\n <div className={styles.itemsPerPageContainer}>\n <p>View: </p>\n <select\n onChange={(e) =>\n onItemsPerPageChange(Number(e.currentTarget.value))\n }\n role=\"listbox\"\n value={itemsPerPage}\n >\n {itemsPerPageOptions.map((option) => (\n <option\n role=\"option\"\n key={option}\n value={option}\n aria-selected={itemsPerPage === option}\n >\n {option}\n </option>\n ))}\n </select>\n </div>\n <button\n className={styles.iconContainer}\n onClick={() => onLayoutChange('vertical')}\n aria-label=\"grid layout\"\n >\n <GridIcon\n className={classnames(styles.icon, {\n [styles.selected]: orientation === 'vertical',\n })}\n />\n </button>\n <button\n className={styles.iconContainer}\n onClick={() => onLayoutChange('horizontal')}\n aria-label=\"list layout\"\n >\n <ListIcon\n className={classnames(styles.icon, {\n [styles.selected]: orientation === 'horizontal',\n })}\n />\n </button>\n </div>\n </div>\n );\n};\n\nexport default ListControls;\n","import * as React from 'react';\n\ninterface AngleIconProps {\n className?: string;\n size?: number;\n}\n\nconst Angle = ({ className = '', size = 20 }: AngleIconProps) => (\n <svg\n width={size}\n height={size}\n className={className}\n focusable=\"false\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\"\n >\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"></path>\n </svg>\n);\n\nexport default Angle;\n","import classnames from 'classnames';\nimport * as React from 'react';\nimport Angle from '../../icons/Angle';\nimport { PageNumberContainerProps, PaginationProps } from './models';\nimport styles from './pagination.scss';\n\nconst PageNumberContainer = ({\n disabled,\n children,\n onClick = () => null,\n className,\n}: PageNumberContainerProps) => {\n return (\n <button\n className={classnames(className, {\n [styles.disabled]: disabled,\n })}\n onClick={onClick}\n disabled={disabled}\n role=\"button\"\n >\n {children}\n </button>\n );\n};\n\nconst LIMIT_VISIBLE_PAGE_NUMBER = 7;\n\nconst Pagination = ({\n totalPages,\n currentPage,\n className = '',\n onChangePage = () => null,\n}: PaginationProps) => {\n /*\n We render pages with 3 dots when needed. So this logic configures an array\n of visible pages and then we make the math to check if 3 dots (...) should be rendered\n after first page and/or before last page.\n Examples:\n < 1 2 3 4 5 6 >\n < 1 2 3 4 5 ... 10 >\n < 1 ... 5 6 7 ... 10 >\n < 1 ... 6 7 8 9 10 >\n */\n let from =\n totalPages > LIMIT_VISIBLE_PAGE_NUMBER &&\n currentPage > LIMIT_VISIBLE_PAGE_NUMBER / 2\n ? Math.ceil(currentPage - 1 - LIMIT_VISIBLE_PAGE_NUMBER / 2)\n : 0;\n\n let to =\n totalPages > LIMIT_VISIBLE_PAGE_NUMBER &&\n currentPage < Math.ceil(totalPages - LIMIT_VISIBLE_PAGE_NUMBER / 2)\n ? from + LIMIT_VISIBLE_PAGE_NUMBER\n : totalPages;\n\n /*\n When rendering the last pages and 3 dots after the first page,\n we want to render always the same amount of pages, so here we \n overwrite the from value to render this:\n < 1 ... 6 7 8 9 10 > \n instead of:\n < 1 ...9 10 > when one of the last pages is selected.\n */\n if (\n totalPages > LIMIT_VISIBLE_PAGE_NUMBER &&\n to === totalPages &&\n to - from < LIMIT_VISIBLE_PAGE_NUMBER\n ) {\n from = to - LIMIT_VISIBLE_PAGE_NUMBER;\n }\n\n from += 1;\n to += 1;\n const visiblePagesLength = to - from;\n const pages = Array.from({ length: visiblePagesLength }).map((_, index) => {\n const pageNumber = index + from;\n // Force render first page number\n if (pageNumber >= 2 && index === 0) {\n return 1;\n }\n // Force render 3 dots after first page and/or before last page\n if (\n (pageNumber > 2 && index === 1) ||\n (index === visiblePagesLength - 2 && pageNumber <= totalPages - 2)\n ) {\n return -1;\n }\n // Force render last page number\n if (index === visiblePagesLength - 1) {\n return totalPages;\n }\n return pageNumber;\n });\n\n const renderPageNumber = (page) => (\n <PageNumberContainer\n className={classnames(\n styles.pageLink,\n {\n [styles.active]: currentPage === page,\n },\n 'Sui-Pagination--page-number'\n )}\n onClick={() => onChangePage(page)}\n disabled={currentPage === page}\n >\n {page}\n </PageNumberContainer>\n );\n\n const renderDots = () => (\n <PageNumberContainer className={styles.pageLink} disabled={true}>\n ...\n </PageNumberContainer>\n );\n\n if (totalPages <= 1) {\n return null;\n }\n\n return (\n <div\n className={classnames(styles.root, className)}\n data-testid=\"pagination\"\n >\n <PageNumberContainer\n className={classnames(styles.pageLink, 'Sui-Pagination--prev-page')}\n onClick={() => onChangePage(currentPage - 1)}\n disabled={currentPage === 1}\n >\n <Angle className={styles.angleIcon} />\n </PageNumberContainer>\n\n {pages.map((item, index) => (\n <React.Fragment key={index}>\n {item < 0 ? renderDots() : renderPageNumber(item)}\n </React.Fragment>\n ))}\n\n <PageNumberContainer\n className={classnames(styles.pageLink, 'Sui-Pagination--next-page')}\n onClick={() => onChangePage(currentPage + 1)}\n disabled={currentPage === totalPages}\n >\n <Angle className={styles.angleIconRight} />\n </PageNumberContainer>\n </div>\n );\n};\n\nexport default Pagination;\n","/* eslint-disable css-modules/no-unused-class */\nimport * as React from 'react';\nimport classnames from 'classnames';\nimport styles from './loadingIndicator.scss';\n\ninterface LoadingIndicatorProps {\n type: 'linear' | 'circular';\n className?: string;\n}\n\nconst LoadingIndicator = ({ type, className = '' }: LoadingIndicatorProps) =>\n type === 'linear' ? (\n <div className={classnames(styles.root, className)} />\n ) : (\n <div className={styles['sk-fading-circle']}>\n <div className={classnames(styles['sk-circle'])}></div>\n {Array.from({ length: 11 }).map((_, index) => (\n <div\n key={index}\n className={classnames(\n styles[`sk-circle${index + 2}`],\n styles['sk-circle']\n )}\n ></div>\n ))}\n </div>\n );\n\nexport default LoadingIndicator;\n","import classnames from 'classnames';\nimport * as React from 'react';\nimport ListControls from '../../components/ListControls';\nimport { ListControlsProps } from '../../components/ListControls/models';\nimport Pagination from '../../components/Pagination';\nimport LoadingIndicator from '../../components/LoadingIndicator/LoadingIndicator';\nimport styles from './list.scss';\n/**\n * These properties might be present on the\n * product list response, depending on per\n * customer configuration or query result\n * like the exact part match\n */\nexport interface ProductListMetadata {\n showSimilarPartNumberMatch?: boolean;\n exactMatchInResult?: boolean;\n exactPartMatch?: boolean;\n}\nexport interface ListProps<T>\n extends Omit<ListControlsProps, 'itemsPerPageOptions'> {\n /**\n * The list to be rendered.\n */\n list: Array<T>;\n /**\n * Element to be rednered as list\n */\n children: React.ReactNode;\n /**\n * The selected page.\n */\n currentPage?: number;\n /**\n * Total pages when pagination is enabled, this number must be sent when `showPagination` property is TRUE.\n */\n totalPages?: number;\n /**\n * If you want to show the pagination component, send this flag as TRUE.\n */\n showPagination?: boolean;\n\n /**\n * Callback fired when the page is changed after clicking a page number in the pagination component.\n */\n onPageChanged?: (page: number) => void;\n /**\n * To show a loading indicator when `styled` and `isLoading` properties are TRUE.\n */\n showLoadingIndicator?: boolean;\n /**\n * Callback to render any component when there are no results (when the list is empty).\n */\n renderNoResults?: () => JSX.Element;\n /**\n * Flag to indicate when the list is loading data from API.\n */\n isLoading?: boolean;\n /**\n * Flag to show the list controls.\n */\n showControls?: boolean;\n /**\n * Callback fired when user clicks a list item.\n */\n onItemClick?: (\n event: React.MouseEvent<HTMLElement, MouseEvent>,\n data: T\n ) => void;\n\n producListMetaData?: ProductListMetadata;\n}\n\nfunction List<T>({\n children,\n list,\n totalPages = 1,\n currentPage = 1,\n onPageChanged = () => null,\n className = '',\n styled,\n orientation = 'horizontal',\n onLayoutChange,\n showPagination = false,\n showLoadingIndicator = false,\n renderNoResults,\n isLoading,\n showControls,\n itemsPerPage,\n onItemsPerPageChange,\n onSortChange,\n sortOptions,\n selectedSort,\n}: ListProps<T>) {\n const noResults = () => {\n if (!isLoading) {\n return renderNoResults ? (\n renderNoResults()\n ) : (\n <h1 className=\"Sui-List--no-results\">No results</h1>\n );\n }\n\n return null;\n };\n\n return (\n <div className={classnames(styles.root, className)}>\n {showControls ? (\n <ListControls\n orientation={orientation}\n onLayoutChange={onLayoutChange}\n onItemsPerPageChange={(value) => onItemsPerPageChange(value)}\n itemsPerPage={itemsPerPage}\n styled={styled}\n sortOptions={sortOptions}\n onSortChange={onSortChange}\n selectedSort={selectedSort}\n />\n ) : null}\n {showLoadingIndicator && styled && isLoading ? (\n <LoadingIndicator type=\"linear\" className={styles.loadingIndicator} />\n ) : null}\n\n {list.length ? (\n <>\n <div\n className={classnames(\n styles.listContainer,\n {\n [styles.isBusy]: styled && isLoading,\n [styles.listHorizontal]: orientation === 'horizontal',\n [styles.listContainerStyled]: styled,\n 'Sui-List--horizontal': orientation === 'horizontal',\n },\n 'Sui-List--container'\n )}\n data-testid=\"listContainer\"\n >\n {children}\n </div>\n {showPagination ? (\n <Pagination\n className={styles.pagination}\n totalPages={totalPages}\n currentPage={currentPage}\n onChangePage={onPageChanged}\n />\n ) : null}\n </>\n ) : (\n noResults()\n )}\n </div>\n );\n}\n\nexport default List;\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","export function toCurrency(value: number, locale = 'en-US', currency = 'USD') {\n if (Number.isNaN(value)) {\n return '';\n }\n return new Intl.NumberFormat(locale, {\n currency,\n style: 'currency',\n }).format(value);\n}\n\nexport function toLocaleNumber(value: number, locale = 'en-US') {\n return new Intl.NumberFormat(locale).format(Number(value));\n}\n\nexport const escapeRegExp = (string) => {\n return string?.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\n};\n","import * as React from 'react';\n\nconst PlaceHolderImage = ({ className = '' }) => (\n <svg\n version=\"1.1\"\n viewBox=\"0 0 600 400\"\n enableBackground=\"new 0 0 600 400\"\n xmlSpace=\"preserve\"\n className={className}\n >\n <rect x=\"0\" fill=\"#EDECEB\" width=\"600\" height=\"400\" />\n <path\n fill=\"#FFFFFF\"\n d=\"M234.539,148.5v103h130.922v-103H234.539z M354.908,240.33H245.707v-80.661h109.201V240.33L354.908,240.33z\"\n />\n <polygon\n fill=\"#FFFFFF\"\n // eslint-disable-next-line max-len\n points=\"251.58,231.643 274.088,207.984 282.521,211.633 309.13,183.308 319.604,195.836 324.329,192.982 349.898,231.643 \"\n />\n <circle fill=\"#FFFFFF\" cx=\"277.582\" cy=\"180.18\" r=\"9.83\" />\n </svg>\n);\n\nexport default PlaceHolderImage;\n","import * as React from 'react';\nimport PlaceHolderImage from '../../icons/ImagePlaceHolder';\n\ninterface ImageProps {\n alt: string;\n url: string;\n className?: string;\n noImageUrl?: string;\n}\n\nconst Image = ({ className, alt, url, noImageUrl }: ImageProps) => {\n const [isImageOk, setIsImageOk] = React.useState(true);\n\n return isImageOk && url ? (\n <img\n className={className}\n src={url}\n alt={alt}\n onError={() => setIsImageOk(false)}\n />\n ) : noImageUrl ? (\n <img src={noImageUrl} alt={alt} />\n ) : (\n <PlaceHolderImage className={className} />\n );\n};\n\nexport default Image;\n","// An attribute in which the DOM/SVG standard name is the same as the React prop name (e.g., 'accept').\nvar SAME = 0;\nexports.SAME = SAME;\n\n// An attribute in which the React prop name is the camelcased version of the DOM/SVG standard name (e.g., 'acceptCharset').\nvar CAMELCASE = 1;\nexports.CAMELCASE = CAMELCASE;\n\nexports.possibleStandardNames = {\n accept: 0,\n acceptCharset: 1,\n 'accept-charset': 'acceptCharset',\n accessKey: 1,\n action: 0,\n allowFullScreen: 1,\n alt: 0,\n as: 0,\n async: 0,\n autoCapitalize: 1,\n autoComplete: 1,\n autoCorrect: 1,\n autoFocus: 1,\n autoPlay: 1,\n autoSave: 1,\n capture: 0,\n cellPadding: 1,\n cellSpacing: 1,\n challenge: 0,\n charSet: 1,\n checked: 0,\n children: 0,\n cite: 0,\n class: 'className',\n classID: 1,\n className: 1,\n cols: 0,\n colSpan: 1,\n content: 0,\n contentEditable: 1,\n contextMenu: 1,\n controls: 0,\n controlsList: 1,\n coords: 0,\n crossOrigin: 1,\n dangerouslySetInnerHTML: 1,\n data: 0,\n dateTime: 1,\n default: 0,\n defaultChecked: 1,\n defaultValue: 1,\n defer: 0,\n dir: 0,\n disabled: 0,\n disablePictureInPicture: 1,\n disableRemotePlayback: 1,\n download: 0,\n draggable: 0,\n encType: 1,\n enterKeyHint: 1,\n for: 'htmlFor',\n form: 0,\n formMethod: 1,\n formAction: 1,\n formEncType: 1,\n formNoValidate: 1,\n formTarget: 1,\n frameBorder: 1,\n headers: 0,\n height: 0,\n hidden: 0,\n high: 0,\n href: 0,\n hrefLang: 1,\n htmlFor: 1,\n httpEquiv: 1,\n 'http-equiv': 'httpEquiv',\n icon: 0,\n id: 0,\n innerHTML: 1,\n inputMode: 1,\n integrity: 0,\n is: 0,\n itemID: 1,\n itemProp: 1,\n itemRef: 1,\n itemScope: 1,\n itemType: 1,\n keyParams: 1,\n keyType: 1,\n kind: 0,\n label: 0,\n lang: 0,\n list: 0,\n loop: 0,\n low: 0,\n manifest: 0,\n marginWidth: 1,\n marginHeight: 1,\n max: 0,\n maxLength: 1,\n media: 0,\n mediaGroup: 1,\n method: 0,\n min: 0,\n minLength: 1,\n multiple: 0,\n muted: 0,\n name: 0,\n noModule: 1,\n nonce: 0,\n noValidate: 1,\n open: 0,\n optimum: 0,\n pattern: 0,\n placeholder: 0,\n playsInline: 1,\n poster: 0,\n preload: 0,\n profile: 0,\n radioGroup: 1,\n readOnly: 1,\n referrerPolicy: 1,\n rel: 0,\n required: 0,\n reversed: 0,\n role: 0,\n rows: 0,\n rowSpan: 1,\n sandbox: 0,\n scope: 0,\n scoped: 0,\n scrolling: 0,\n seamless: 0,\n selected: 0,\n shape: 0,\n size: 0,\n sizes: 0,\n span: 0,\n spellCheck: 1,\n src: 0,\n srcDoc: 1,\n srcLang: 1,\n srcSet: 1,\n start: 0,\n step: 0,\n style: 0,\n summary: 0,\n tabIndex: 1,\n target: 0,\n title: 0,\n type: 0,\n useMap: 1,\n value: 0,\n width: 0,\n wmode: 0,\n wrap: 0,\n about: 0,\n accentHeight: 1,\n 'accent-height': 'accentHeight',\n accumulate: 0,\n additive: 0,\n alignmentBaseline: 1,\n 'alignment-baseline': 'alignmentBaseline',\n allowReorder: 1,\n alphabetic: 0,\n amplitude: 0,\n arabicForm: 1,\n 'arabic-form': 'arabicForm',\n ascent: 0,\n attributeName: 1,\n attributeType: 1,\n autoReverse: 1,\n azimuth: 0,\n baseFrequency: 1,\n baselineShift: 1,\n 'baseline-shift': 'baselineShift',\n baseProfile: 1,\n bbox: 0,\n begin: 0,\n bias: 0,\n by: 0,\n calcMode: 1,\n capHeight: 1,\n 'cap-height': 'capHeight',\n clip: 0,\n clipPath: 1,\n 'clip-path': 'clipPath',\n clipPathUnits: 1,\n clipRule: 1,\n 'clip-rule': 'clipRule',\n color: 0,\n colorInterpolation: 1,\n 'color-interpolation': 'colorInterpolation',\n colorInterpolationFilters: 1,\n 'color-interpolation-filters': 'colorInterpolationFilters',\n colorProfile: 1,\n 'color-profile': 'colorProfile',\n colorRendering: 1,\n 'color-rendering': 'colorRendering',\n contentScriptType: 1,\n contentStyleType: 1,\n cursor: 0,\n cx: 0,\n cy: 0,\n d: 0,\n datatype: 0,\n decelerate: 0,\n descent: 0,\n diffuseConstant: 1,\n direction: 0,\n display: 0,\n divisor: 0,\n dominantBaseline: 1,\n 'dominant-baseline': 'dominantBaseline',\n dur: 0,\n dx: 0,\n dy: 0,\n edgeMode: 1,\n elevation: 0,\n enableBackground: 1,\n 'enable-background': 'enableBackground',\n end: 0,\n exponent: 0,\n externalResourcesRequired: 1,\n fill: 0,\n fillOpacity: 1,\n 'fill-opacity': 'fillOpacity',\n fillRule: 1,\n 'fill-rule': 'fillRule',\n filter: 0,\n filterRes: 1,\n filterUnits: 1,\n floodOpacity: 1,\n 'flood-opacity': 'floodOpacity',\n floodColor: 1,\n 'flood-color': 'floodColor',\n focusable: 0,\n fontFamily: 1,\n 'font-family': 'fontFamily',\n fontSize: 1,\n 'font-size': 'fontSize',\n fontSizeAdjust: 1,\n 'font-size-adjust': 'fontSizeAdjust',\n fontStretch: 1,\n 'font-stretch': 'fontStretch',\n fontStyle: 1,\n 'font-style': 'fontStyle',\n fontVariant: 1,\n 'font-variant': 'fontVariant',\n fontWeight: 1,\n 'font-weight': 'fontWeight',\n format: 0,\n from: 0,\n fx: 0,\n fy: 0,\n g1: 0,\n g2: 0,\n glyphName: 1,\n 'glyph-name': 'glyphName',\n glyphOrientationHorizontal: 1,\n 'glyph-orientation-horizontal': 'glyphOrientationHorizontal',\n glyphOrientationVertical: 1,\n 'glyph-orientation-vertical': 'glyphOrientationVertical',\n glyphRef: 1,\n gradientTransform: 1,\n gradientUnits: 1,\n hanging: 0,\n horizAdvX: 1,\n 'horiz-adv-x': 'horizAdvX',\n horizOriginX: 1,\n 'horiz-origin-x': 'horizOriginX',\n ideographic: 0,\n imageRendering: 1,\n 'image-rendering': 'imageRendering',\n in2: 0,\n in: 0,\n inlist: 0,\n intercept: 0,\n k1: 0,\n k2: 0,\n k3: 0,\n k4: 0,\n k: 0,\n kernelMatrix: 1,\n kernelUnitLength: 1,\n kerning: 0,\n keyPoints: 1,\n keySplines: 1,\n keyTimes: 1,\n lengthAdjust: 1,\n letterSpacing: 1,\n 'letter-spacing': 'letterSpacing',\n lightingColor: 1,\n 'lighting-color': 'lightingColor',\n limitingConeAngle: 1,\n local: 0,\n markerEnd: 1,\n 'marker-end': 'markerEnd',\n markerHeight: 1,\n markerMid: 1,\n 'marker-mid': 'markerMid',\n markerStart: 1,\n 'marker-start': 'markerStart',\n markerUnits: 1,\n markerWidth: 1,\n mask: 0,\n maskContentUnits: 1,\n maskUnits: 1,\n mathematical: 0,\n mode: 0,\n numOctaves: 1,\n offset: 0,\n opacity: 0,\n operator: 0,\n order: 0,\n orient: 0,\n orientation: 0,\n origin: 0,\n overflow: 0,\n overlinePosition: 1,\n 'overline-position': 'overlinePosition',\n overlineThickness: 1,\n 'overline-thickness': 'overlineThickness',\n paintOrder: 1,\n 'paint-order': 'paintOrder',\n panose1: 0,\n 'panose-1': 'panose1',\n pathLength: 1,\n patternContentUnits: 1,\n patternTransform: 1,\n patternUnits: 1,\n pointerEvents: 1,\n 'pointer-events': 'pointerEvents',\n points: 0,\n pointsAtX: 1,\n pointsAtY: 1,\n pointsAtZ: 1,\n prefix: 0,\n preserveAlpha: 1,\n preserveAspectRatio: 1,\n primitiveUnits: 1,\n property: 0,\n r: 0,\n radius: 0,\n refX: 1,\n refY: 1,\n renderingIntent: 1,\n 'rendering-intent': 'renderingIntent',\n repeatCount: 1,\n repeatDur: 1,\n requiredExtensions: 1,\n requiredFeatures: 1,\n resource: 0,\n restart: 0,\n result: 0,\n results: 0,\n rotate: 0,\n rx: 0,\n ry: 0,\n scale: 0,\n security: 0,\n seed: 0,\n shapeRendering: 1,\n 'shape-rendering': 'shapeRendering',\n slope: 0,\n spacing: 0,\n specularConstant: 1,\n specularExponent: 1,\n speed: 0,\n spreadMethod: 1,\n startOffset: 1,\n stdDeviation: 1,\n stemh: 0,\n stemv: 0,\n stitchTiles: 1,\n stopColor: 1,\n 'stop-color': 'stopColor',\n stopOpacity: 1,\n 'stop-opacity': 'stopOpacity',\n strikethroughPosition: 1,\n 'strikethrough-position': 'strikethroughPosition',\n strikethroughThickness: 1,\n 'strikethrough-thickness': 'strikethroughThickness',\n string: 0,\n stroke: 0,\n strokeDasharray: 1,\n 'stroke-dasharray': 'strokeDasharray',\n strokeDashoffset: 1,\n 'stroke-dashoffset': 'strokeDashoffset',\n strokeLinecap: 1,\n 'stroke-linecap': 'strokeLinecap',\n strokeLinejoin: 1,\n 'stroke-linejoin': 'strokeLinejoin',\n strokeMiterlimit: 1,\n 'stroke-miterlimit': 'strokeMiterlimit',\n strokeWidth: 1,\n 'stroke-width': 'strokeWidth',\n strokeOpacity: 1,\n 'stroke-opacity': 'strokeOpacity',\n suppressContentEditableWarning: 1,\n suppressHydrationWarning: 1,\n surfaceScale: 1,\n systemLanguage: 1,\n tableValues: 1,\n targetX: 1,\n targetY: 1,\n textAnchor: 1,\n 'text-anchor': 'textAnchor',\n textDecoration: 1,\n 'text-decoration': 'textDecoration',\n textLength: 1,\n textRendering: 1,\n 'text-rendering': 'textRendering',\n to: 0,\n transform: 0,\n typeof: 0,\n u1: 0,\n u2: 0,\n underlinePosition: 1,\n 'underline-position': 'underlinePosition',\n underlineThickness: 1,\n 'underline-thickness': 'underlineThickness',\n unicode: 0,\n unicodeBidi: 1,\n 'unicode-bidi': 'unicodeBidi',\n unicodeRange: 1,\n 'unicode-range': 'unicodeRange',\n unitsPerEm: 1,\n 'units-per-em': 'unitsPerEm',\n unselectable: 0,\n vAlphabetic: 1,\n 'v-alphabetic': 'vAlphabetic',\n values: 0,\n vectorEffect: 1,\n 'vector-effect': 'vectorEffect',\n version: 0,\n vertAdvY: 1,\n 'vert-adv-y': 'vertAdvY',\n vertOriginX: 1,\n 'vert-origin-x': 'vertOriginX',\n vertOriginY: 1,\n 'vert-origin-y': 'vertOriginY',\n vHanging: 1,\n 'v-hanging': 'vHanging',\n vIdeographic: 1,\n 'v-ideographic': 'vIdeographic',\n viewBox: 1,\n viewTarget: 1,\n visibility: 0,\n vMathematical: 1,\n 'v-mathematical': 'vMathematical',\n vocab: 0,\n widths: 0,\n wordSpacing: 1,\n 'word-spacing': 'wordSpacing',\n writingMode: 1,\n 'writing-mode': 'writingMode',\n x1: 0,\n x2: 0,\n x: 0,\n xChannelSelector: 1,\n xHeight: 1,\n 'x-height': 'xHeight',\n xlinkActuate: 1,\n 'xlink:actuate': 'xlinkActuate',\n xlinkArcrole: 1,\n 'xlink:arcrole': 'xlinkArcrole',\n xlinkHref: 1,\n 'xlink:href': 'xlinkHref',\n xlinkRole: 1,\n 'xlink:role': 'xlinkRole',\n xlinkShow: 1,\n 'xlink:show': 'xlinkShow',\n xlinkTitle: 1,\n 'xlink:title': 'xlinkTitle',\n xlinkType: 1,\n 'xlink:type': 'xlinkType',\n xmlBase: 1,\n 'xml:base': 'xmlBase',\n xmlLang: 1,\n 'xml:lang': 'xmlLang',\n xmlns: 0,\n 'xml:space': 'xmlSpace',\n xmlnsXlink: 1,\n 'xmlns:xlink': 'xmlnsXlink',\n xmlSpace: 1,\n y1: 0,\n y2: 0,\n y: 0,\n yChannelSelector: 1,\n z: 0,\n zoomAndPan: 1\n};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n// A reserved attribute.\n// It is handled by React separately and shouldn't be written to the DOM.\nvar RESERVED = 0; // A simple string attribute.\n// Attributes that aren't in the filter are presumed to have this type.\n\nvar STRING = 1; // A string attribute that accepts booleans in React. In HTML, these are called\n// \"enumerated\" attributes with \"true\" and \"false\" as possible values.\n// When true, it should be set to a \"true\" string.\n// When false, it should be set to a \"false\" string.\n\nvar BOOLEANISH_STRING = 2; // A real boolean attribute.\n// When true, it should be present (set either to an empty string or its name).\n// When false, it should be omitted.\n\nvar BOOLEAN = 3; // An attribute that can be used as a flag as well as with a value.\n// When true, it should be present (set either to an empty string or its name).\n// When false, it should be omitted.\n// For any other value, should be present with that value.\n\nvar OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a numeric.\n// When falsy, it should be removed.\n\nvar NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.\n// When falsy, it should be removed.\n\nvar POSITIVE_NUMERIC = 6;\nfunction getPropertyInfo(name) {\n return properties.hasOwnProperty(name) ? properties[name] : null;\n}\n\nfunction PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {\n this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;\n this.attributeName = attributeName;\n this.attributeNamespace = attributeNamespace;\n this.mustUseProperty = mustUseProperty;\n this.propertyName = name;\n this.type = type;\n this.sanitizeURL = sanitizeURL;\n this.removeEmptyString = removeEmptyString;\n} // When adding attributes to this list, be sure to also add them to\n// the `possibleStandardNames` module to ensure casing and incorrect\n// name warnings.\n\n\nvar properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.\n\nvar reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular\n// elements (not just inputs). Now that ReactDOMInput assigns to the\n// defaultValue property -- do we need this?\n'defaultValue', 'defaultChecked', 'innerHTML', 'suppressContentEditableWarning', 'suppressHydrationWarning', 'style'];\nreservedProps.forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // A few React string attributes have a different name.\n// This is a mapping from React prop names to the attribute names.\n\n[['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n name = _ref2[0],\n attributeName = _ref2[1];\n\n properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty\n attributeName, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are \"enumerated\" HTML attributes that accept \"true\" and \"false\".\n// In React, we let users pass `true` and `false` even though technically\n// these aren't boolean attributes (they are coerced to strings).\n\n['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are \"enumerated\" SVG attributes that accept \"true\" and \"false\".\n// In React, we let users pass `true` and `false` even though technically\n// these aren't boolean attributes (they are coerced to strings).\n// Since these are SVG attributes, their attribute names are case-sensitive.\n\n['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are HTML boolean attributes.\n\n['allowFullScreen', 'async', // Note: there is a special case that prevents it from being written to the DOM\n// on the client side because the browsers are inconsistent. Instead we call focus().\n'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata\n'itemScope'].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are the few React props that we set as DOM properties\n// rather than attributes. These are all booleans.\n\n['checked', // Note: `option.selected` is not updated if `select.multiple` is\n// disabled with `removeAttribute`. We have special logic for handling this.\n'multiple', 'muted', 'selected' // NOTE: if you add a camelCased prop to this list,\n// you'll need to set attributeName to name.toLowerCase()\n// instead in the assignment below.\n].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are HTML attributes that are \"overloaded booleans\": they behave like\n// booleans, but can also accept a string value.\n\n['capture', 'download' // NOTE: if you add a camelCased prop to this list,\n// you'll need to set attributeName to name.toLowerCase()\n// instead in the assignment below.\n].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are HTML attributes that must be positive numbers.\n\n['cols', 'rows', 'size', 'span' // NOTE: if you add a camelCased prop to this list,\n// you'll need to set attributeName to name.toLowerCase()\n// instead in the assignment below.\n].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These are HTML attributes that must be numbers.\n\n['rowSpan', 'start'].forEach(function (name) {\n properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n});\nvar CAMELIZE = /[\\-\\:]([a-z])/g;\n\nvar capitalize = function capitalize(token) {\n return token[1].toUpperCase();\n}; // This is a list of all SVG attributes that need special casing, namespacing,\n// or boolean value assignment. Regular attributes that just accept strings\n// and have the same names are omitted, just like in the HTML attribute filter.\n// Some of these attributes can be hard to find. This list was created by\n// scraping the MDN documentation.\n\n\n['accent-height', 'alignment-baseline', 'arabic-form', 'baseline-shift', 'cap-height', 'clip-path', 'clip-rule', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'dominant-baseline', 'enable-background', 'fill-opacity', 'fill-rule', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'glyph-name', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'horiz-adv-x', 'horiz-origin-x', 'image-rendering', 'letter-spacing', 'lighting-color', 'marker-end', 'marker-mid', 'marker-start', 'overline-position', 'overline-thickness', 'paint-order', 'panose-1', 'pointer-events', 'rendering-intent', 'shape-rendering', 'stop-color', 'stop-opacity', 'strikethrough-position', 'strikethrough-thickness', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'text-anchor', 'text-decoration', 'text-rendering', 'underline-position', 'underline-thickness', 'unicode-bidi', 'unicode-range', 'units-per-em', 'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'vector-effect', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'word-spacing', 'writing-mode', 'xmlns:xlink', 'x-height' // NOTE: if you add a camelCased prop to this list,\n// you'll need to set attributeName to name.toLowerCase()\n// instead in the assignment below.\n].forEach(function (attributeName) {\n var name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty\n attributeName, null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // String SVG attributes with the xlink namespace.\n\n['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type' // NOTE: if you add a camelCased prop to this list,\n// you'll need to set attributeName to name.toLowerCase()\n// instead in the assignment below.\n].forEach(function (attributeName) {\n var name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty\n attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL\n false);\n}); // String SVG attributes with the xml namespace.\n\n['xml:base', 'xml:lang', 'xml:space' // NOTE: if you add a camelCased prop to this list,\n// you'll need to set attributeName to name.toLowerCase()\n// instead in the assignment below.\n].forEach(function (attributeName) {\n var name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty\n attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL\n false);\n}); // These attribute exists both in HTML and SVG.\n// The attribute name is case-sensitive in SVG so we can't just use\n// the React name like we do for attributes that exist only in HTML.\n\n['tabIndex', 'crossOrigin'].forEach(function (attributeName) {\n properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty\n attributeName.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false);\n}); // These attributes accept URLs. These must not allow javascript: URLS.\n// These will also need to accept Trusted Types object in the future.\n\nvar xlinkHref = 'xlinkHref';\nproperties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty\n'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL\nfalse);\n['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {\n properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty\n attributeName.toLowerCase(), // attributeName\n null, // attributeNamespace\n true, // sanitizeURL\n true);\n});\n\nvar _require = require('../lib/possibleStandardNamesOptimized'),\n CAMELCASE = _require.CAMELCASE,\n SAME = _require.SAME,\n possibleStandardNamesOptimized = _require.possibleStandardNames;\n\nvar ATTRIBUTE_NAME_START_CHAR = \":A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\";\nvar ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + \"\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040\";\n/**\n * Checks whether a property name is a custom attribute.\n *\n * @see {@link https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25}\n *\n * @param {string}\n * @return {boolean}\n */\n\nvar isCustomAttribute = RegExp.prototype.test.bind( // eslint-disable-next-line no-misleading-character-class\nnew RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$'));\nvar possibleStandardNames = Object.keys(possibleStandardNamesOptimized).reduce(function (accumulator, standardName) {\n var propName = possibleStandardNamesOptimized[standardName];\n\n if (propName === SAME) {\n accumulator[standardName] = standardName;\n } else if (propName === CAMELCASE) {\n accumulator[standardName.toLowerCase()] = standardName;\n } else {\n accumulator[standardName] = propName;\n }\n\n return accumulator;\n}, {});\n\nexports.BOOLEAN = BOOLEAN;\nexports.BOOLEANISH_STRING = BOOLEANISH_STRING;\nexports.NUMERIC = NUMERIC;\nexports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN;\nexports.POSITIVE_NUMERIC = POSITIVE_NUMERIC;\nexports.RESERVED = RESERVED;\nexports.STRING = STRING;\nexports.getPropertyInfo = getPropertyInfo;\nexports.isCustomAttribute = isCustomAttribute;\nexports.possibleStandardNames = possibleStandardNames;\n","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function(style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function(node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n var errorsList = [];\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) {\n errorsList.push(err);\n } else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","var parse = require('inline-style-parser');\n\n/**\n * Parses inline style to object.\n *\n * @example\n * // returns { 'line-height': '42' }\n * StyleToObject('line-height: 42;');\n *\n * @param {String} style - The inline style.\n * @param {Function} [iterator] - The iterator function.\n * @return {null|Object}\n */\nfunction StyleToObject(style, iterator) {\n var output = null;\n if (!style || typeof style !== 'string') {\n return output;\n }\n\n var declaration;\n var declarations = parse(style);\n var hasIterator = typeof iterator === 'function';\n var property;\n var value;\n\n for (var i = 0, len = declarations.length; i < len; i++) {\n declaration = declarations[i];\n property = declaration.property;\n value = declaration.value;\n\n if (hasIterator) {\n iterator(property, value, declaration);\n } else if (value) {\n output || (output = {});\n output[property] = value;\n }\n }\n\n return output;\n}\n\nmodule.exports = StyleToObject;\n","\"use strict\";\nexports.__esModule = true;\nexports.camelCase = void 0;\nvar CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/;\nvar HYPHEN_REGEX = /-([a-z])/g;\nvar NO_HYPHEN_REGEX = /^[^-]+$/;\nvar VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;\nvar MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;\nvar skipCamelCase = function (property) {\n return !property ||\n NO_HYPHEN_REGEX.test(property) ||\n CUSTOM_PROPERTY_REGEX.test(property);\n};\nvar capitalize = function (match, character) {\n return character.toUpperCase();\n};\nvar trimHyphen = function (match, prefix) { return \"\".concat(prefix, \"-\"); };\nvar camelCase = function (property, options) {\n if (options === void 0) { options = {}; }\n if (skipCamelCase(property)) {\n return property;\n }\n property = property.toLowerCase();\n if (options.reactCompat) {\n property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);\n }\n else {\n property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);\n }\n return property.replace(HYPHEN_REGEX, capitalize);\n};\nexports.camelCase = camelCase;\n","var React = require('react');\nvar styleToJS = require('style-to-js').default;\n\n/**\n * Swap key with value in an object.\n *\n * @param {object} obj - The object.\n * @param {Function} [override] - The override method.\n * @returns - The inverted object.\n */\nfunction invertObject(obj, override) {\n if (!obj || typeof obj !== 'object') {\n throw new TypeError('First argument must be an object');\n }\n\n var key;\n var value;\n var isOverridePresent = typeof override === 'function';\n var overrides = {};\n var result = {};\n\n for (key in obj) {\n value = obj[key];\n\n if (isOverridePresent) {\n overrides = override(key, value);\n if (overrides && overrides.length === 2) {\n result[overrides[0]] = overrides[1];\n continue;\n }\n }\n\n if (typeof value === 'string') {\n result[value] = key;\n }\n }\n\n return result;\n}\n\n/**\n * Check if a given tag is a custom component.\n *\n * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js}\n *\n * @param {string} tagName - The name of the html tag.\n * @param {object} props - The props being passed to the element.\n * @returns - Whether tag is custom component.\n */\nfunction isCustomComponent(tagName, props) {\n if (tagName.indexOf('-') === -1) {\n return props && typeof props.is === 'string';\n }\n\n switch (tagName) {\n // These are reserved SVG and MathML elements.\n // We don't mind this whitelist too much because we expect it to never grow.\n // The alternative is to track the namespace in a few places which is convoluted.\n // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts\n case 'annotation-xml':\n case 'color-profile':\n case 'font-face':\n case 'font-face-src':\n case 'font-face-uri':\n case 'font-face-format':\n case 'font-face-name':\n case 'missing-glyph':\n return false;\n default:\n return true;\n }\n}\n\nvar styleToJSOptions = { reactCompat: true };\n\n/**\n * Sets style prop.\n *\n * @param {null|undefined|string} style\n * @param {object} props\n */\nfunction setStyleProp(style, props) {\n if (style === null || style === undefined) {\n return;\n }\n try {\n props.style = styleToJS(style, styleToJSOptions);\n } catch (err) {\n props.style = {};\n }\n}\n\n/**\n * @constant {boolean}\n * @see {@link https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html}\n */\nvar PRESERVE_CUSTOM_ATTRIBUTES = React.version.split('.')[0] >= 16;\n\n// Taken from\n// https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213\nvar elementsWithNoTextChildren = new Set([\n 'tr',\n 'tbody',\n 'thead',\n 'tfoot',\n 'colgroup',\n 'table',\n 'head',\n 'html',\n 'frameset'\n]);\n\n/**\n * Checks if the given node can contain text nodes\n *\n * @param {DomElement} node - Node.\n * @returns - Whether node can contain text nodes.\n */\nfunction canTextBeChildOfNode(node) {\n return !elementsWithNoTextChildren.has(node.name);\n}\n\nmodule.exports = {\n PRESERVE_CUSTOM_ATTRIBUTES: PRESERVE_CUSTOM_ATTRIBUTES,\n invertObject: invertObject,\n isCustomComponent: isCustomComponent,\n setStyleProp: setStyleProp,\n canTextBeChildOfNode: canTextBeChildOfNode,\n elementsWithNoTextChildren: elementsWithNoTextChildren\n};\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nvar style_to_object_1 = __importDefault(require(\"style-to-object\"));\nvar utilities_1 = require(\"./utilities\");\nfunction StyleToJS(style, options) {\n var output = {};\n if (!style || typeof style !== 'string') {\n return output;\n }\n (0, style_to_object_1[\"default\"])(style, function (property, value) {\n if (property && value) {\n output[(0, utilities_1.camelCase)(property, options)] = value;\n }\n });\n return output;\n}\nexports[\"default\"] = StyleToJS;\n","var reactProperty = require('react-property');\nvar utilities = require('./utilities');\n\n/**\n * Converts HTML/SVG DOM attributes to React props.\n *\n * @param {object} [attributes={}] - HTML/SVG DOM attributes.\n * @returns - React props.\n */\nmodule.exports = function attributesToProps(attributes) {\n attributes = attributes || {};\n\n var valueOnlyInputs = {\n reset: true,\n submit: true\n };\n\n var attributeName;\n var attributeNameLowerCased;\n var attributeValue;\n var propName;\n var propertyInfo;\n var props = {};\n var inputIsValueOnly = attributes.type && valueOnlyInputs[attributes.type];\n\n for (attributeName in attributes) {\n attributeValue = attributes[attributeName];\n\n // ARIA (aria-*) or custom data (data-*) attribute\n if (reactProperty.isCustomAttribute(attributeName)) {\n props[attributeName] = attributeValue;\n continue;\n }\n\n // convert HTML/SVG attribute to React prop\n attributeNameLowerCased = attributeName.toLowerCase();\n propName = getPropName(attributeNameLowerCased);\n\n if (propName) {\n propertyInfo = reactProperty.getPropertyInfo(propName);\n\n // convert attribute to uncontrolled component prop (e.g., `value` to `defaultValue`)\n // https://reactjs.org/docs/uncontrolled-components.html\n if (\n (propName === 'checked' || propName === 'value') &&\n !inputIsValueOnly\n ) {\n propName = getPropName('default' + attributeNameLowerCased);\n }\n\n props[propName] = attributeValue;\n\n switch (propertyInfo && propertyInfo.type) {\n case reactProperty.BOOLEAN:\n props[propName] = true;\n break;\n case reactProperty.OVERLOADED_BOOLEAN:\n if (attributeValue === '') {\n props[propName] = true;\n }\n break;\n }\n continue;\n }\n\n // preserve custom attribute if React >=16\n if (utilities.PRESERVE_CUSTOM_ATTRIBUTES) {\n props[attributeName] = attributeValue;\n }\n }\n\n // transform inline style to object\n utilities.setStyleProp(attributes.style, props);\n\n return props;\n};\n\n/**\n * Gets prop name from lowercased attribute name.\n *\n * @param {string} attributeName - Lowercased attribute name.\n * @returns - Prop name.\n */\nfunction getPropName(attributeName) {\n return reactProperty.possibleStandardNames[attributeName];\n}\n","var React = require('react');\nvar attributesToProps = require('./attributes-to-props');\nvar utilities = require('./utilities');\n\nvar setStyleProp = utilities.setStyleProp;\nvar canTextBeChildOfNode = utilities.canTextBeChildOfNode;\n\n/**\n * Converts DOM nodes to JSX element(s).\n *\n * @param {DomElement[]} nodes - DOM nodes.\n * @param {object} [options={}] - Options.\n * @param {Function} [options.replace] - Replacer.\n * @param {object} [options.library] - Library (React, Preact, etc.).\n * @returns - String or JSX element(s).\n */\nfunction domToReact(nodes, options) {\n options = options || {};\n\n var library = options.library || React;\n var cloneElement = library.cloneElement;\n var createElement = library.createElement;\n var isValidElement = library.isValidElement;\n\n var result = [];\n var node;\n var isWhitespace;\n var hasReplace = typeof options.replace === 'function';\n var replaceElement;\n var props;\n var children;\n var trim = options.trim;\n\n for (var i = 0, len = nodes.length; i < len; i++) {\n node = nodes[i];\n\n // replace with custom React element (if present)\n if (hasReplace) {\n replaceElement = options.replace(node);\n\n if (isValidElement(replaceElement)) {\n // set \"key\" prop for sibling elements\n // https://fb.me/react-warning-keys\n if (len > 1) {\n replaceElement = cloneElement(replaceElement, {\n key: replaceElement.key || i\n });\n }\n result.push(replaceElement);\n continue;\n }\n }\n\n if (node.type === 'text') {\n isWhitespace = !node.data.trim().length;\n\n if (isWhitespace && node.parent && !canTextBeChildOfNode(node.parent)) {\n // We have a whitespace node that can't be nested in its parent\n // so skip it\n continue;\n }\n\n if (trim && isWhitespace) {\n // Trim is enabled and we have a whitespace node\n // so skip it\n continue;\n }\n\n // We have a text node that's not whitespace and it can be nested\n // in its parent so add it to the results\n result.push(node.data);\n continue;\n }\n\n props = node.attribs;\n if (skipAttributesToProps(node)) {\n setStyleProp(props.style, props);\n } else if (props) {\n props = attributesToProps(props);\n }\n\n children = null;\n\n switch (node.type) {\n case 'script':\n case 'style':\n // prevent text in <script> or <style> from being escaped\n // https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml\n if (node.children[0]) {\n props.dangerouslySetInnerHTML = {\n __html: node.children[0].data\n };\n }\n break;\n\n case 'tag':\n // setting textarea value in children is an antipattern in React\n // https://reactjs.org/docs/forms.html#the-textarea-tag\n if (node.name === 'textarea' && node.children[0]) {\n props.defaultValue = node.children[0].data;\n } else if (node.children && node.children.length) {\n // continue recursion of creating React elements (if applicable)\n children = domToReact(node.children, options);\n }\n break;\n\n // skip all other cases (e.g., comment)\n default:\n continue;\n }\n\n // set \"key\" prop for sibling elements\n // https://fb.me/react-warning-keys\n if (len > 1) {\n props.key = i;\n }\n\n result.push(createElement(node.name, props, children));\n }\n\n return result.length === 1 ? result[0] : result;\n}\n\n/**\n * Determines whether DOM element attributes should be transformed to props.\n * Web Components should not have their attributes transformed except for `style`.\n *\n * @param {DomElement} node\n * @returns - Whether node attributes should be converted to props.\n */\nfunction skipAttributesToProps(node) {\n return (\n utilities.PRESERVE_CUSTOM_ATTRIBUTES &&\n node.type === 'tag' &&\n utilities.isCustomComponent(node.name, node.attribs)\n );\n}\n\nmodule.exports = domToReact;\n","// constants\nvar HTML = 'html';\nvar HEAD = 'head';\nvar BODY = 'body';\nvar FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1>\n// match-all-characters in case of newlines (DOTALL)\nvar HEAD_TAG_REGEX = /<head[^]*>/i;\nvar BODY_TAG_REGEX = /<body[^]*>/i;\n\n// falls back to `parseFromString` if `createHTMLDocument` cannot be used\nvar parseFromDocument = function () {\n throw new Error(\n 'This browser does not support `document.implementation.createHTMLDocument`'\n );\n};\n\nvar parseFromString = function () {\n throw new Error(\n 'This browser does not support `DOMParser.prototype.parseFromString`'\n );\n};\n\n/**\n * DOMParser (performance: slow).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document\n */\nif (typeof window.DOMParser === 'function') {\n var domParser = new window.DOMParser();\n var mimeType = 'text/html';\n\n /**\n * Creates an HTML document using `DOMParser.parseFromString`.\n *\n * @param {string} html - The HTML string.\n * @param {string} [tagName] - The element to render the HTML (with 'body' as fallback).\n * @return {HTMLDocument}\n */\n parseFromString = function (html, tagName) {\n if (tagName) {\n html = '<' + tagName + '>' + html + '</' + tagName + '>';\n }\n\n return domParser.parseFromString(html, mimeType);\n };\n\n parseFromDocument = parseFromString;\n}\n\n/**\n * DOMImplementation (performance: fair).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument\n */\nif (document.implementation) {\n var doc = document.implementation.createHTMLDocument();\n\n /**\n * Use HTML document created by `document.implementation.createHTMLDocument`.\n *\n * @param {string} html - The HTML string.\n * @param {string} [tagName] - The element to render the HTML (with 'body' as fallback).\n * @return {HTMLDocument}\n */\n parseFromDocument = function (html, tagName) {\n if (tagName) {\n var element = doc.documentElement.querySelector(tagName);\n element.innerHTML = html;\n return doc;\n }\n\n doc.documentElement.innerHTML = html;\n return doc;\n };\n}\n\n/**\n * Template (performance: fast).\n *\n * @see https://developer.mozilla.org/docs/Web/HTML/Element/template\n */\nvar template = document.createElement('template');\nvar parseFromTemplate;\n\nif (template.content) {\n /**\n * Uses a template element (content fragment) to parse HTML.\n *\n * @param {string} html - The HTML string.\n * @return {NodeList}\n */\n parseFromTemplate = function (html) {\n template.innerHTML = html;\n return template.content.childNodes;\n };\n}\n\n/**\n * Parses HTML string to DOM nodes.\n *\n * @param {string} html - HTML markup.\n * @return {NodeList}\n */\nfunction domparser(html) {\n var firstTagName;\n var match = html.match(FIRST_TAG_REGEX);\n\n if (match && match[1]) {\n firstTagName = match[1].toLowerCase();\n }\n\n var doc;\n var element;\n var elements;\n\n switch (firstTagName) {\n case HTML:\n doc = parseFromString(html);\n\n // the created document may come with filler head/body elements,\n // so make sure to remove them if they don't actually exist\n if (!HEAD_TAG_REGEX.test(html)) {\n element = doc.querySelector(HEAD);\n if (element) {\n element.parentNode.removeChild(element);\n }\n }\n\n if (!BODY_TAG_REGEX.test(html)) {\n element = doc.querySelector(BODY);\n if (element) {\n element.parentNode.removeChild(element);\n }\n }\n\n return doc.querySelectorAll(HTML);\n\n case HEAD:\n case BODY:\n doc = parseFromDocument(html);\n elements = doc.querySelectorAll(firstTagName);\n\n // if there's a sibling element, then return both elements\n if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) {\n return elements[0].parentNode.childNodes;\n }\n return elements;\n\n // low-level tag or text\n default:\n if (parseFromTemplate) {\n return parseFromTemplate(html);\n }\n element = parseFromDocument(html, BODY).querySelector(BODY);\n return element.childNodes;\n }\n}\n\nmodule.exports = domparser;\n","/** Types of elements found in htmlparser2's DOM */\nexport var ElementType;\n(function (ElementType) {\n /** Type for the root element of a document */\n ElementType[\"Root\"] = \"root\";\n /** Type for Text */\n ElementType[\"Text\"] = \"text\";\n /** Type for <? ... ?> */\n ElementType[\"Directive\"] = \"directive\";\n /** Type for <!-- ... --> */\n ElementType[\"Comment\"] = \"comment\";\n /** Type for <script> tags */\n ElementType[\"Script\"] = \"script\";\n /** Type for <style> tags */\n ElementType[\"Style\"] = \"style\";\n /** Type for Any tag */\n ElementType[\"Tag\"] = \"tag\";\n /** Type for <![CDATA[ ... ]]> */\n ElementType[\"CDATA\"] = \"cdata\";\n /** Type for <!doctype ...> */\n ElementType[\"Doctype\"] = \"doctype\";\n})(ElementType || (ElementType = {}));\n/**\n * Tests whether an element is a tag or not.\n *\n * @param elem Element to test\n */\nexport function isTag(elem) {\n return (elem.type === ElementType.Tag ||\n elem.type === ElementType.Script ||\n elem.type === ElementType.Style);\n}\n// Exports for backwards compatibility\n/** Type for the root element of a document */\nexport const Root = ElementType.Root;\n/** Type for Text */\nexport const Text = ElementType.Text;\n/** Type for <? ... ?> */\nexport const Directive = ElementType.Directive;\n/** Type for <!-- ... --> */\nexport const Comment = ElementType.Comment;\n/** Type for <script> tags */\nexport const Script = ElementType.Script;\n/** Type for <style> tags */\nexport const Style = ElementType.Style;\n/** Type for Any tag */\nexport const Tag = ElementType.Tag;\n/** Type for <![CDATA[ ... ]]> */\nexport const CDATA = ElementType.CDATA;\n/** Type for <!doctype ...> */\nexport const Doctype = ElementType.Doctype;\n","import { ElementType, isTag as isTagRaw } from \"domelementtype\";\n/**\n * This object will be used as the prototype for Nodes when creating a\n * DOM-Level-1-compliant structure.\n */\nexport class Node {\n constructor() {\n /** Parent of the node */\n this.parent = null;\n /** Previous sibling */\n this.prev = null;\n /** Next sibling */\n this.next = null;\n /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */\n this.startIndex = null;\n /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */\n this.endIndex = null;\n }\n // Read-write aliases for properties\n /**\n * Same as {@link parent}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get parentNode() {\n return this.parent;\n }\n set parentNode(parent) {\n this.parent = parent;\n }\n /**\n * Same as {@link prev}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get previousSibling() {\n return this.prev;\n }\n set previousSibling(prev) {\n this.prev = prev;\n }\n /**\n * Same as {@link next}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get nextSibling() {\n return this.next;\n }\n set nextSibling(next) {\n this.next = next;\n }\n /**\n * Clone this node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\n cloneNode(recursive = false) {\n return cloneNode(this, recursive);\n }\n}\n/**\n * A node that contains some data.\n */\nexport class DataNode extends Node {\n /**\n * @param data The content of the data node\n */\n constructor(data) {\n super();\n this.data = data;\n }\n /**\n * Same as {@link data}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get nodeValue() {\n return this.data;\n }\n set nodeValue(data) {\n this.data = data;\n }\n}\n/**\n * Text within the document.\n */\nexport class Text extends DataNode {\n constructor() {\n super(...arguments);\n this.type = ElementType.Text;\n }\n get nodeType() {\n return 3;\n }\n}\n/**\n * Comments within the document.\n */\nexport class Comment extends DataNode {\n constructor() {\n super(...arguments);\n this.type = ElementType.Comment;\n }\n get nodeType() {\n return 8;\n }\n}\n/**\n * Processing instructions, including doc types.\n */\nexport class ProcessingInstruction extends DataNode {\n constructor(name, data) {\n super(data);\n this.name = name;\n this.type = ElementType.Directive;\n }\n get nodeType() {\n return 1;\n }\n}\n/**\n * A `Node` that can have children.\n */\nexport class NodeWithChildren extends Node {\n /**\n * @param children Children of the node. Only certain node types can have children.\n */\n constructor(children) {\n super();\n this.children = children;\n }\n // Aliases\n /** First child of the node. */\n get firstChild() {\n var _a;\n return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;\n }\n /** Last child of the node. */\n get lastChild() {\n return this.children.length > 0\n ? this.children[this.children.length - 1]\n : null;\n }\n /**\n * Same as {@link children}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get childNodes() {\n return this.children;\n }\n set childNodes(children) {\n this.children = children;\n }\n}\nexport class CDATA extends NodeWithChildren {\n constructor() {\n super(...arguments);\n this.type = ElementType.CDATA;\n }\n get nodeType() {\n return 4;\n }\n}\n/**\n * The root node of the document.\n */\nexport class Document extends NodeWithChildren {\n constructor() {\n super(...arguments);\n this.type = ElementType.Root;\n }\n get nodeType() {\n return 9;\n }\n}\n/**\n * An element within the DOM.\n */\nexport class Element extends NodeWithChildren {\n /**\n * @param name Name of the tag, eg. `div`, `span`.\n * @param attribs Object mapping attribute names to attribute values.\n * @param children Children of the node.\n */\n constructor(name, attribs, children = [], type = name === \"script\"\n ? ElementType.Script\n : name === \"style\"\n ? ElementType.Style\n : ElementType.Tag) {\n super(children);\n this.name = name;\n this.attribs = attribs;\n this.type = type;\n }\n get nodeType() {\n return 1;\n }\n // DOM Level 1 aliases\n /**\n * Same as {@link name}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get tagName() {\n return this.name;\n }\n set tagName(name) {\n this.name = name;\n }\n get attributes() {\n return Object.keys(this.attribs).map((name) => {\n var _a, _b;\n return ({\n name,\n value: this.attribs[name],\n namespace: (_a = this[\"x-attribsNamespace\"]) === null || _a === void 0 ? void 0 : _a[name],\n prefix: (_b = this[\"x-attribsPrefix\"]) === null || _b === void 0 ? void 0 : _b[name],\n });\n });\n }\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node is a `Element`, `false` otherwise.\n */\nexport function isTag(node) {\n return isTagRaw(node);\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `CDATA`, `false` otherwise.\n */\nexport function isCDATA(node) {\n return node.type === ElementType.CDATA;\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Text`, `false` otherwise.\n */\nexport function isText(node) {\n return node.type === ElementType.Text;\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Comment`, `false` otherwise.\n */\nexport function isComment(node) {\n return node.type === ElementType.Comment;\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nexport function isDirective(node) {\n return node.type === ElementType.Directive;\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nexport function isDocument(node) {\n return node.type === ElementType.Root;\n}\n/**\n * @param node Node to check.\n * @returns `true` if the node has children, `false` otherwise.\n */\nexport function hasChildren(node) {\n return Object.prototype.hasOwnProperty.call(node, \"children\");\n}\n/**\n * Clone a node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\nexport function cloneNode(node, recursive = false) {\n let result;\n if (isText(node)) {\n result = new Text(node.data);\n }\n else if (isComment(node)) {\n result = new Comment(node.data);\n }\n else if (isTag(node)) {\n const children = recursive ? cloneChildren(node.children) : [];\n const clone = new Element(node.name, { ...node.attribs }, children);\n children.forEach((child) => (child.parent = clone));\n if (node.namespace != null) {\n clone.namespace = node.namespace;\n }\n if (node[\"x-attribsNamespace\"]) {\n clone[\"x-attribsNamespace\"] = { ...node[\"x-attribsNamespace\"] };\n }\n if (node[\"x-attribsPrefix\"]) {\n clone[\"x-attribsPrefix\"] = { ...node[\"x-attribsPrefix\"] };\n }\n result = clone;\n }\n else if (isCDATA(node)) {\n const children = recursive ? cloneChildren(node.children) : [];\n const clone = new CDATA(children);\n children.forEach((child) => (child.parent = clone));\n result = clone;\n }\n else if (isDocument(node)) {\n const children = recursive ? cloneChildren(node.children) : [];\n const clone = new Document(children);\n children.forEach((child) => (child.parent = clone));\n if (node[\"x-mode\"]) {\n clone[\"x-mode\"] = node[\"x-mode\"];\n }\n result = clone;\n }\n else if (isDirective(node)) {\n const instruction = new ProcessingInstruction(node.name, node.data);\n if (node[\"x-name\"] != null) {\n instruction[\"x-name\"] = node[\"x-name\"];\n instruction[\"x-publicId\"] = node[\"x-publicId\"];\n instruction[\"x-systemId\"] = node[\"x-systemId\"];\n }\n result = instruction;\n }\n else {\n throw new Error(`Not implemented yet: ${node.type}`);\n }\n result.startIndex = node.startIndex;\n result.endIndex = node.endIndex;\n if (node.sourceCodeLocation != null) {\n result.sourceCodeLocation = node.sourceCodeLocation;\n }\n return result;\n}\nfunction cloneChildren(childs) {\n const children = childs.map((child) => cloneNode(child, true));\n for (let i = 1; i < children.length; i++) {\n children[i].prev = children[i - 1];\n children[i - 1].next = children[i];\n }\n return children;\n}\n","import { ElementType } from \"domelementtype\";\nimport { Element, Text, Comment, CDATA, Document, ProcessingInstruction, } from \"./node.js\";\nexport * from \"./node.js\";\n// Default options\nconst defaultOpts = {\n withStartIndices: false,\n withEndIndices: false,\n xmlMode: false,\n};\nexport class DomHandler {\n /**\n * @param callback Called once parsing has completed.\n * @param options Settings for the handler.\n * @param elementCB Callback whenever a tag is closed.\n */\n constructor(callback, options, elementCB) {\n /** The elements of the DOM */\n this.dom = [];\n /** The root element for the DOM */\n this.root = new Document(this.dom);\n /** Indicated whether parsing has been completed. */\n this.done = false;\n /** Stack of open tags. */\n this.tagStack = [this.root];\n /** A data node that is still being written to. */\n this.lastNode = null;\n /** Reference to the parser instance. Used for location information. */\n this.parser = null;\n // Make it possible to skip arguments, for backwards-compatibility\n if (typeof options === \"function\") {\n elementCB = options;\n options = defaultOpts;\n }\n if (typeof callback === \"object\") {\n options = callback;\n callback = undefined;\n }\n this.callback = callback !== null && callback !== void 0 ? callback : null;\n this.options = options !== null && options !== void 0 ? options : defaultOpts;\n this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;\n }\n onparserinit(parser) {\n this.parser = parser;\n }\n // Resets the handler back to starting state\n onreset() {\n this.dom = [];\n this.root = new Document(this.dom);\n this.done = false;\n this.tagStack = [this.root];\n this.lastNode = null;\n this.parser = null;\n }\n // Signals the handler that parsing is done\n onend() {\n if (this.done)\n return;\n this.done = true;\n this.parser = null;\n this.handleCallback(null);\n }\n onerror(error) {\n this.handleCallback(error);\n }\n onclosetag() {\n this.lastNode = null;\n const elem = this.tagStack.pop();\n if (this.options.withEndIndices) {\n elem.endIndex = this.parser.endIndex;\n }\n if (this.elementCB)\n this.elementCB(elem);\n }\n onopentag(name, attribs) {\n const type = this.options.xmlMode ? ElementType.Tag : undefined;\n const element = new Element(name, attribs, undefined, type);\n this.addNode(element);\n this.tagStack.push(element);\n }\n ontext(data) {\n const { lastNode } = this;\n if (lastNode && lastNode.type === ElementType.Text) {\n lastNode.data += data;\n if (this.options.withEndIndices) {\n lastNode.endIndex = this.parser.endIndex;\n }\n }\n else {\n const node = new Text(data);\n this.addNode(node);\n this.lastNode = node;\n }\n }\n oncomment(data) {\n if (this.lastNode && this.lastNode.type === ElementType.Comment) {\n this.lastNode.data += data;\n return;\n }\n const node = new Comment(data);\n this.addNode(node);\n this.lastNode = node;\n }\n oncommentend() {\n this.lastNode = null;\n }\n oncdatastart() {\n const text = new Text(\"\");\n const node = new CDATA([text]);\n this.addNode(node);\n text.parent = node;\n this.lastNode = text;\n }\n oncdataend() {\n this.lastNode = null;\n }\n onprocessinginstruction(name, data) {\n const node = new ProcessingInstruction(name, data);\n this.addNode(node);\n }\n handleCallback(error) {\n if (typeof this.callback === \"function\") {\n this.callback(error, this.dom);\n }\n else if (error) {\n throw error;\n }\n }\n addNode(node) {\n const parent = this.tagStack[this.tagStack.length - 1];\n const previousSibling = parent.children[parent.children.length - 1];\n if (this.options.withStartIndices) {\n node.startIndex = this.parser.startIndex;\n }\n if (this.options.withEndIndices) {\n node.endIndex = this.parser.endIndex;\n }\n parent.children.push(node);\n if (previousSibling) {\n node.prev = previousSibling;\n previousSibling.next = node;\n }\n node.parent = parent;\n this.lastNode = null;\n }\n}\nexport default DomHandler;\n","var domhandler = require('domhandler');\nvar constants = require('./constants');\n\nvar CASE_SENSITIVE_TAG_NAMES = constants.CASE_SENSITIVE_TAG_NAMES;\n\nvar Comment = domhandler.Comment;\nvar Element = domhandler.Element;\nvar ProcessingInstruction = domhandler.ProcessingInstruction;\nvar Text = domhandler.Text;\n\nvar caseSensitiveTagNamesMap = {};\nvar tagName;\n\nfor (var i = 0, len = CASE_SENSITIVE_TAG_NAMES.length; i < len; i++) {\n tagName = CASE_SENSITIVE_TAG_NAMES[i];\n caseSensitiveTagNamesMap[tagName.toLowerCase()] = tagName;\n}\n\n/**\n * Gets case-sensitive tag name.\n *\n * @param {string} tagName - Tag name in lowercase.\n * @returns {string|undefined} - Case-sensitive tag name.\n */\nfunction getCaseSensitiveTagName(tagName) {\n return caseSensitiveTagNamesMap[tagName];\n}\n\n/**\n * Formats DOM attributes to a hash map.\n *\n * @param {NamedNodeMap} attributes - List of attributes.\n * @returns {object} - Map of attribute name to value.\n */\nfunction formatAttributes(attributes) {\n var result = {};\n var attribute;\n // `NamedNodeMap` is array-like\n for (var i = 0, len = attributes.length; i < len; i++) {\n attribute = attributes[i];\n result[attribute.name] = attribute.value;\n }\n return result;\n}\n\n/**\n * Corrects the tag name if it is case-sensitive (SVG).\n * Otherwise, returns the lowercase tag name (HTML).\n *\n * @param {string} tagName - Lowercase tag name.\n * @returns {string} - Formatted tag name.\n */\nfunction formatTagName(tagName) {\n tagName = tagName.toLowerCase();\n var caseSensitiveTagName = getCaseSensitiveTagName(tagName);\n if (caseSensitiveTagName) {\n return caseSensitiveTagName;\n }\n return tagName;\n}\n\n/**\n * Transforms DOM nodes to `domhandler` nodes.\n *\n * @param {NodeList} nodes - DOM nodes.\n * @param {Element|null} [parent=null] - Parent node.\n * @param {string} [directive] - Directive.\n * @returns {Array<Comment|Element|ProcessingInstruction|Text>}\n */\nfunction formatDOM(nodes, parent, directive) {\n parent = parent || null;\n var result = [];\n\n for (var index = 0, len = nodes.length; index < len; index++) {\n var node = nodes[index];\n var current;\n\n // set the node data given the type\n switch (node.nodeType) {\n case 1:\n // script, style, or tag\n current = new Element(\n formatTagName(node.nodeName),\n formatAttributes(node.attributes)\n );\n current.children = formatDOM(node.childNodes, current);\n break;\n\n case 3:\n current = new Text(node.nodeValue);\n break;\n\n case 8:\n current = new Comment(node.nodeValue);\n break;\n\n default:\n continue;\n }\n\n // set previous node next\n var prev = result[index - 1] || null;\n if (prev) {\n prev.next = current;\n }\n\n // set properties for current node\n current.parent = parent;\n current.prev = prev;\n current.next = null;\n\n result.push(current);\n }\n\n if (directive) {\n current = new ProcessingInstruction(\n directive.substring(0, directive.indexOf(' ')).toLowerCase(),\n directive\n );\n current.next = result[0] || null;\n current.parent = parent;\n result.unshift(current);\n\n if (result[1]) {\n result[1].prev = result[0];\n }\n }\n\n return result;\n}\n\nexports.formatAttributes = formatAttributes;\nexports.formatDOM = formatDOM;\n","/**\n * SVG elements are case-sensitive.\n *\n * @see {@link https://developer.mozilla.org/docs/Web/SVG/Element#svg_elements_a_to_z}\n */\nexports.CASE_SENSITIVE_TAG_NAMES = [\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussainBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'linearGradient',\n 'radialGradient',\n 'textPath'\n];\n","var domparser = require('./domparser');\nvar formatDOM = require('./utilities').formatDOM;\n\nvar DIRECTIVE_REGEX = /<(![a-zA-Z\\s]+)>/; // e.g., <!doctype html>\n\n/**\n * Parses HTML string to DOM nodes in browser.\n *\n * @param {string} html - HTML markup.\n * @return {DomElement[]} - DOM elements.\n */\nfunction HTMLDOMParser(html) {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (html === '') {\n return [];\n }\n\n // match directive\n var match = html.match(DIRECTIVE_REGEX);\n var directive;\n\n if (match && match[1]) {\n directive = match[1];\n }\n\n return formatDOM(domparser(html), null, directive);\n}\n\nmodule.exports = HTMLDOMParser;\n","var domToReact = require('./lib/dom-to-react');\nvar attributesToProps = require('./lib/attributes-to-props');\nvar htmlToDOM = require('html-dom-parser');\n\n// support backwards compatibility for ES Module\nhtmlToDOM =\n /* istanbul ignore next */\n typeof htmlToDOM.default === 'function' ? htmlToDOM.default : htmlToDOM;\n\nvar domParserOptions = { lowerCaseAttributeNames: false };\n\n/**\n * Converts HTML string to React elements.\n *\n * @param {string} html - HTML string.\n * @param {object} [options] - Parser options.\n * @param {object} [options.htmlparser2] - htmlparser2 options.\n * @param {object} [options.library] - Library for React, Preact, etc.\n * @param {Function} [options.replace] - Replace method.\n * @returns {JSX.Element|JSX.Element[]|string} - React element(s), empty array, or string.\n */\nfunction HTMLReactParser(html, options) {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n if (html === '') {\n return [];\n }\n options = options || {};\n return domToReact(\n htmlToDOM(html, options.htmlparser2 || domParserOptions),\n options\n );\n}\n\nHTMLReactParser.domToReact = domToReact;\nHTMLReactParser.htmlToDOM = htmlToDOM;\nHTMLReactParser.attributesToProps = attributesToProps;\nHTMLReactParser.Element = require('domhandler').Element;\n\n// support CommonJS and ES Modules\nmodule.exports = HTMLReactParser;\nmodule.exports.default = HTMLReactParser;\n","import classnames from 'classnames';\nimport * as React from 'react';\nimport { VisibleFieldsSections } from '../../components/SearchBar/models';\nimport { Product, VisibleField } from '../../models/search';\nimport { toCurrency } from '../../utils/format';\nimport Image from '../Image/Image';\nimport { ProductListItemProps } from './models';\nimport styles from './productListItem.scss';\nimport htmlReactParser from 'html-react-parser';\n\ntype ProductValue = string | number | boolean | React.ReactNode;\n\nconst Label = ({\n label,\n value,\n className,\n}: {\n label: string;\n value: ProductValue;\n className: string;\n}) =>\n value || label ? (\n <p className={className}>\n {label ? <span>{label}</span> : null}\n {value}\n </p>\n ) : null;\n\nconst ProductData = ({\n item,\n Link,\n linkProps,\n value,\n onClick,\n}: {\n item: VisibleField<Product>;\n Link: React.ElementType;\n linkProps: React.DetailedHTMLProps<\n React.AnchorHTMLAttributes<HTMLAnchorElement>,\n HTMLAnchorElement\n >;\n value: ProductValue;\n onClick: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;\n}) => {\n switch (item.prop) {\n case 'url':\n return (\n <Link {...linkProps} className={styles.link} onClick={onClick}>\n View to see price\n </Link>\n );\n case 'title':\n return (\n <Link\n {...linkProps}\n className={classnames(\n styles.text,\n `${PROP_CLASS_NAME}${item.prop}`,\n item.className\n )}\n onClick={onClick}\n >\n {value}\n </Link>\n );\n\n case 'has_options':\n return value ? (\n <div className={styles.optionAvailableBtnContainer}>\n <Link\n {...linkProps}\n className={classnames(\n styles.optionsAvailableBtn,\n `${PROP_CLASS_NAME}${item.prop}`\n )}\n >\n Options available\n </Link>\n </div>\n ) : null;\n\n case 'fitment_applicability':\n return value ? (\n <span\n className={classnames(\n styles.text,\n `${PROP_CLASS_NAME}${item.prop}`,\n value === 'Fitment-Specific' ? 'fitmentSpecific' : 'universal'\n )}\n >\n {value}\n </span>\n ) : null;\n case 'dealerid':\n case 'stockid':\n return (\n <Link\n {...linkProps}\n onClick={onClick}\n className={classnames(`Sui-ProductListItem--${item.prop}-link`)}\n >\n <Label\n className={classnames(\n styles.text,\n `${PROP_CLASS_NAME}${item.prop}`,\n item.className\n )}\n label={item.label}\n value={value}\n />\n </Link>\n );\n default:\n return (\n <Label\n className={classnames(\n styles.text,\n `${PROP_CLASS_NAME}${item.prop}`,\n item.className\n )}\n label={item.label}\n value={value}\n />\n );\n }\n};\n\nconst PROP_CLASS_NAME = 'Sui-ProductListItem--';\nexport const DEFAULT_VISIBLE_FIELDS: ProductListItemProps['visibleFields'] = [\n { position: 'center', prop: 'brand_name' },\n { position: 'center', prop: 'title' },\n { position: 'center', prop: 'tag' },\n { label: 'SKU: ', position: 'center', prop: 'stockid' },\n { label: 'PART #: ', position: 'center', prop: 'dealerid' },\n { position: 'right', prop: 'availability' },\n { position: 'right', prop: 'sale' },\n { position: 'right', prop: 'price' },\n { position: 'right', prop: 'remarks' },\n { position: 'right', prop: 'availability_remarks' },\n];\n\nconst ProductListItem = ({\n data,\n styled,\n visibleFields = DEFAULT_VISIBLE_FIELDS,\n className = '',\n orientation = 'horizontal',\n noImageUrl,\n linkEl = 'a',\n onItemClick,\n}: ProductListItemProps) => {\n const Link = data.url ? linkEl : 'div';\n const linkProps = data.url ? { href: data.url } : {};\n const fieldsToReduce = Array.isArray(visibleFields)\n ? visibleFields\n : DEFAULT_VISIBLE_FIELDS;\n const fieldsInSections: VisibleFieldsSections = fieldsToReduce.reduce(\n (acc, item) => {\n if (data[item.prop] === undefined || data[item.prop] === null) {\n return acc;\n }\n switch (item.position) {\n case 'center':\n return { ...acc, center: [...acc.center, item] };\n case 'right':\n return { ...acc, right: [...acc.right, item] };\n default:\n return acc;\n }\n },\n { center: [], right: [] }\n );\n\n return (\n <section\n className={classnames(\n styles.root,\n {\n [styles.styledSearchResultItem]: styled,\n [styles.vertical]: orientation === 'vertical',\n },\n `${PROP_CLASS_NAME}root`,\n className\n )}\n role=\"listitem\"\n >\n <Link\n className={classnames(styles.imageContainer, `${PROP_CLASS_NAME}image`)}\n onClick={(e) => onItemClick?.(e, data)}\n {...linkProps}\n >\n <Image\n alt=\"Search reult\"\n className={styles.productImg}\n url={data.image_url}\n noImageUrl={noImageUrl}\n />\n </Link>\n <ul>\n {fieldsInSections.center.map((item) => (\n <li\n key={item.prop}\n className={`Sui-ProductListItem-Container--${item.prop}`}\n role=\"listitem\"\n >\n <ProductData\n item={item}\n Link={Link}\n linkProps={linkProps}\n value={formatFieldValue(\n item.prop,\n data[item.prop],\n data.has_product_series\n )}\n onClick={(e) => onItemClick?.(e, data)}\n />\n </li>\n ))}\n </ul>\n <ul className={styles.right}>\n {fieldsInSections.right.map((item) => (\n <li\n key={item.prop}\n className={`Sui-ProductListItem-Container--${item.prop}`}\n role=\"listitem\"\n >\n <ProductData\n item={item}\n Link={Link}\n linkProps={linkProps}\n value={formatFieldValue(\n item.prop,\n data[item.prop],\n data.has_product_series\n )}\n onClick={(e) => onItemClick?.(e, data)}\n />\n </li>\n ))}\n </ul>\n </section>\n );\n};\n\nexport default ProductListItem;\n\nfunction formatFieldValue(\n key: keyof Product,\n value: Product[keyof Product],\n hasProductSeries: boolean\n) {\n switch (key) {\n case 'price':\n if (value) {\n const parsedValue = toCurrency(value as Product['price' | 'sale']);\n return hasProductSeries ? (\n <>\n <span\n className={classnames(\n styles.priceFromLabel,\n `Sui-ProductListItem-Container--${key}-label-from`\n )}\n >\n From:\n </span>{' '}\n {parsedValue}\n </>\n ) : (\n parsedValue\n );\n }\n return value;\n case 'sale':\n return value ? toCurrency(value as Product['price' | 'sale']) : value;\n case 'tag':\n case 'availability_remarks':\n case 'remarks':\n return htmlReactParser(\n value as Product['tag' | 'availability_remarks' | 'remarks']\n );\n default:\n return value;\n }\n}\n","import classnames from 'classnames';\nimport * as React from 'react';\nimport List from '../../common/List/List';\nimport ProductListItem from '../../common/ProductListItem/ProductListItem';\nimport { ProductListProps } from './models';\nimport styles from './styles/productList.scss';\n\nexport const DEFAULT_SORT_OPTIONS = [\n { label: 'Recommended', value: '' },\n { label: 'Price: Low to High', value: 'price:asc' },\n { label: 'Price: High to Low', value: 'price:desc' },\n];\n\nconst ListItems = ({\n renderList,\n data,\n styled,\n orientation,\n visibleFields,\n noImageUrl,\n linkEl,\n onItemClick,\n producListMetaData,\n}) => {\n return renderList\n ? renderList(data, producListMetaData)\n : data.map((item) => {\n return (\n <ProductListItem\n key={item.id}\n className={classnames({\n [styles.resultItemStyledInGrid]:\n styled && orientation === 'vertical',\n })}\n data={item}\n styled={styled}\n orientation={orientation}\n visibleFields={visibleFields}\n noImageUrl={noImageUrl}\n linkEl={linkEl}\n onItemClick={onItemClick}\n />\n );\n });\n};\n\nconst ProductList = ({\n list,\n totalPages = 1,\n currentPage = 1,\n onPageChanged = () => null,\n className = '',\n styled,\n orientation = 'horizontal',\n showPagination = false,\n showLoadingIndicator = false,\n visibleFields,\n renderList,\n renderNoResults,\n isLoading,\n noImageUrl,\n linkEl,\n showControls,\n itemsPerPage,\n onItemsPerPageChange,\n onLayoutChange,\n onItemClick,\n onSortChange,\n sortOptions,\n selectedSort,\n producListMetaData,\n}: ProductListProps) => {\n const Link = linkEl || 'a';\n const [itemsPerPageInternal, setItemsPerPage] = React.useState(itemsPerPage);\n const [orientationInternal, setOrientation] = React.useState(orientation);\n const [selectedSortInternal, setSelectedSortInternal] = React.useState(\n selectedSort\n );\n\n React.useEffect(() => {\n setOrientation(orientation);\n }, [orientation]);\n\n React.useEffect(() => {\n setItemsPerPage(itemsPerPage);\n }, [itemsPerPage]);\n\n React.useEffect(() => {\n setSelectedSortInternal(selectedSort);\n }, [selectedSort]);\n\n return (\n <List\n list={list}\n totalPages={totalPages}\n currentPage={currentPage}\n onPageChanged={onPageChanged}\n className={classnames(\n { [styles.styledListContainer]: styled },\n className\n )}\n orientation={orientationInternal}\n showPagination={showPagination}\n showLoadingIndicator={showLoadingIndicator}\n renderNoResults={renderNoResults}\n isLoading={isLoading}\n showControls={showControls}\n itemsPerPage={itemsPerPageInternal}\n onItemsPerPageChange={(value) => {\n onItemsPerPageChange?.(value);\n setItemsPerPage(value);\n }}\n onLayoutChange={(value) => {\n setOrientation(value);\n onLayoutChange?.(value);\n }}\n styled={styled}\n sortOptions={sortOptions || DEFAULT_SORT_OPTIONS}\n onSortChange={(value) => {\n onSortChange?.(value);\n setSelectedSortInternal(value);\n }}\n selectedSort={selectedSortInternal}\n >\n <ListItems\n renderList={renderList}\n data={list}\n styled={styled}\n orientation={orientationInternal}\n visibleFields={visibleFields}\n noImageUrl={noImageUrl}\n linkEl={Link}\n onItemClick={onItemClick}\n producListMetaData={producListMetaData}\n />\n </List>\n );\n};\n\nexport default ProductList;\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","key","call","join","module","exports","default","window","Grid","_a","className","React.createElement","focusable","role","xmlns","viewBox","fill","d","List","_b","size","width","height","ListControls","orientation","onLayoutChange","onItemsPerPageChange","itemsPerPage","styled","_e","itemsPerPageOptions","sortOptions","selectedSort","onSortChange","classnames","styles","onChange","e","currentTarget","value","map","option","label","Number","onClick","GridIcon","_c","ListIcon","_d","Angle","PageNumberContainer","disabled","children","Pagination","totalPages","currentPage","onChangePage","from","LIMIT_VISIBLE_PAGE_NUMBER","Math","ceil","to","visiblePagesLength","pages","_","index","pageNumber","item","React.Fragment","page","renderPageNumber","LoadingIndicator","type","root","list","onPageChanged","_f","_g","_h","showPagination","_j","showLoadingIndicator","renderNoResults","isLoading","showControls","__assign","Object","assign","t","s","n","p","prototype","this","__spreadArrays","il","r","k","a","j","jl","toCurrency","locale","currency","isNaN","Intl","NumberFormat","style","format","PlaceHolderImage","version","enableBackground","xmlSpace","x","points","cx","cy","Image","alt","url","noImageUrl","React.useState","isImageOk","setIsImageOk","src","onError","accept","acceptCharset","accept-charset","accessKey","action","allowFullScreen","as","async","autoCapitalize","autoComplete","autoCorrect","autoFocus","autoPlay","autoSave","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","class","classID","cols","colSpan","content","contentEditable","contextMenu","controls","controlsList","coords","crossOrigin","dangerouslySetInnerHTML","data","dateTime","defaultChecked","defaultValue","defer","dir","disablePictureInPicture","disableRemotePlayback","download","draggable","encType","enterKeyHint","for","form","formMethod","formAction","formEncType","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","htmlFor","httpEquiv","http-equiv","icon","id","innerHTML","inputMode","integrity","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","kind","lang","loop","low","manifest","marginWidth","marginHeight","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noModule","nonce","noValidate","open","optimum","pattern","placeholder","playsInline","poster","preload","profile","radioGroup","readOnly","referrerPolicy","rel","required","reversed","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","sizes","span","spellCheck","srcDoc","srcLang","srcSet","start","step","summary","tabIndex","target","title","useMap","wmode","wrap","about","accentHeight","accent-height","accumulate","additive","alignmentBaseline","alignment-baseline","allowReorder","alphabetic","amplitude","arabicForm","arabic-form","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseline-shift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","cap-height","clip","clipPath","clip-path","clipPathUnits","clipRule","clip-rule","color","colorInterpolation","color-interpolation","colorInterpolationFilters","color-interpolation-filters","colorProfile","color-profile","colorRendering","color-rendering","contentScriptType","contentStyleType","cursor","datatype","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dominant-baseline","dur","dx","dy","edgeMode","elevation","enable-background","end","exponent","externalResourcesRequired","fillOpacity","fill-opacity","fillRule","fill-rule","filter","filterRes","filterUnits","floodOpacity","flood-opacity","floodColor","flood-color","fontFamily","font-family","fontSize","font-size","fontSizeAdjust","font-size-adjust","fontStretch","font-stretch","fontStyle","font-style","fontVariant","font-variant","fontWeight","font-weight","fx","fy","g1","g2","glyphName","glyph-name","glyphOrientationHorizontal","glyph-orientation-horizontal","glyphOrientationVertical","glyph-orientation-vertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horiz-adv-x","horizOriginX","horiz-origin-x","ideographic","imageRendering","image-rendering","in2","in","inlist","intercept","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","letter-spacing","lightingColor","lighting-color","limitingConeAngle","local","markerEnd","marker-end","markerHeight","markerMid","marker-mid","markerStart","marker-start","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","origin","overflow","overlinePosition","overline-position","overlineThickness","overline-thickness","paintOrder","paint-order","panose1","panose-1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointer-events","pointsAtX","pointsAtY","pointsAtZ","prefix","preserveAlpha","preserveAspectRatio","primitiveUnits","property","radius","refX","refY","renderingIntent","rendering-intent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","resource","restart","result","results","rotate","rx","ry","scale","security","seed","shapeRendering","shape-rendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stop-color","stopOpacity","stop-opacity","strikethroughPosition","strikethrough-position","strikethroughThickness","strikethrough-thickness","string","stroke","strokeDasharray","stroke-dasharray","strokeDashoffset","stroke-dashoffset","strokeLinecap","stroke-linecap","strokeLinejoin","stroke-linejoin","strokeMiterlimit","stroke-miterlimit","strokeWidth","stroke-width","strokeOpacity","stroke-opacity","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","text-anchor","textDecoration","text-decoration","textLength","textRendering","text-rendering","transform","typeof","u1","u2","underlinePosition","underline-position","underlineThickness","underline-thickness","unicode","unicodeBidi","unicode-bidi","unicodeRange","unicode-range","unitsPerEm","units-per-em","unselectable","vAlphabetic","v-alphabetic","values","vectorEffect","vector-effect","vertAdvY","vert-adv-y","vertOriginX","vert-origin-x","vertOriginY","vert-origin-y","vHanging","v-hanging","vIdeographic","v-ideographic","viewTarget","visibility","vMathematical","v-mathematical","vocab","widths","wordSpacing","word-spacing","writingMode","writing-mode","x1","x2","xChannelSelector","xHeight","x-height","xlinkActuate","xlink:actuate","xlinkArcrole","xlink:arcrole","xlinkHref","xlink:href","xlinkRole","xlink:role","xlinkShow","xlink:show","xlinkTitle","xlink:title","xlinkType","xlink:type","xmlBase","xml:base","xmlLang","xml:lang","xml:space","xmlnsXlink","xmlns:xlink","y1","y2","y","yChannelSelector","z","zoomAndPan","_slicedToArray","arr","_arrayWithHoles","_i","Symbol","iterator","_s","_arr","_n","next","done","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","toString","slice","constructor","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","defineProperty","PropertyInfoRecord","mustUseProperty","attributeNamespace","sanitizeURL","removeEmptyString","acceptsBooleans","propertyName","properties","forEach","_ref","_ref2","toLowerCase","CAMELIZE","capitalize","token","toUpperCase","replace","CAMELCASE","_require","SAME","possibleStandardNamesOptimized","possibleStandardNames","isCustomAttribute","RegExp","bind","keys","reduce","accumulator","standardName","propName","COMMENT_REGEX","NEWLINE_REGEX","WHITESPACE_REGEX","PROPERTY_REGEX","COLON_REGEX","VALUE_REGEX","SEMICOLON_REGEX","TRIM_REGEX","trim","str","declaration","output","declarations","options","lineno","column","updatePosition","lines","match","lastIndexOf","position","line","node","Position","whitespace","source","error","msg","Error","reason","filename","silent","re","m","exec","comments","rules","c","comment","pos","charAt","prop","val","ret","decl","decls","parse","hasIterator","CUSTOM_PROPERTY_REGEX","HYPHEN_REGEX","NO_HYPHEN_REGEX","VENDOR_PREFIX_REGEX","MS_VENDOR_PREFIX_REGEX","character","trimHyphen","concat","skipCamelCase","reactCompat","styleToJS","__importDefault","mod","__esModule","style_to_object_1","require$$0","utilities_1","camelCase","styleToJSOptions","PRESERVE_CUSTOM_ATTRIBUTES","React","split","elementsWithNoTextChildren","Set","invertObject","obj","override","isOverridePresent","overrides","isCustomComponent","tagName","props","indexOf","setStyleProp","canTextBeChildOfNode","has","attributes","attributeNameLowerCased","attributeValue","propertyInfo","inputIsValueOnly","reset","submit","reactProperty","getPropName","getPropertyInfo","BOOLEAN","OVERLOADED_BOOLEAN","utilities","skipAttributesToProps","attribs","domToReact","nodes","isWhitespace","replaceElement","library","cloneElement","createElement","isValidElement","hasReplace","attributesToProps","__html","parent","FIRST_TAG_REGEX","HEAD_TAG_REGEX","BODY_TAG_REGEX","parseFromDocument","parseFromString","DOMParser","domParser","html","document","implementation","doc","createHTMLDocument","documentElement","querySelector","parseFromTemplate","template","childNodes","ElementType","firstTagName","element","elements","parentNode","removeChild","querySelectorAll","Root","Text","Directive","Comment","Script","Style","Tag","CDATA","Doctype","Node","[object Object]","prev","startIndex","endIndex","previousSibling","nextSibling","recursive","cloneNode","DataNode","super","nodeValue","nodeType","ProcessingInstruction","NodeWithChildren","firstChild","lastChild","Document","Element","namespace","isTag","elem","isCDATA","isText","isComment","isDirective","isDocument","cloneChildren","clone","child","instruction","sourceCodeLocation","childs","defaultOpts","withStartIndices","withEndIndices","xmlMode","DomHandler","callback","elementCB","dom","tagStack","lastNode","parser","undefined","handleCallback","pop","addNode","text","CASE_SENSITIVE_TAG_NAMES","constants","domhandler","caseSensitiveTagNamesMap","formatAttributes","attribute","formatTagName","caseSensitiveTagName","getCaseSensitiveTagName","formatDOM","directive","current","nodeName","substring","unshift","DIRECTIVE_REGEX","domparser","htmlToDOM","domParserOptions","lowerCaseAttributeNames","HTMLReactParser","htmlparser2","require$$1","Label","ProductData","Link","linkProps","PROP_CLASS_NAME","DEFAULT_VISIBLE_FIELDS","ProductListItem","visibleFields","linkEl","onItemClick","fieldsInSections","acc","center","right","image_url","formatFieldValue","has_product_series","hasProductSeries","parsedValue","htmlReactParser","DEFAULT_SORT_OPTIONS","ListItems","renderList","producListMetaData","_k","itemsPerPageInternal","setItemsPerPage","_l","orientationInternal","setOrientation","_m","selectedSortInternal","setSelectedSortInternal","React.useEffect"],"mappings":";;;;;;CAOC,WAGA,IAAIA,EAAS,GAAGC,eAEhB,SAASC,IAGR,IAFA,IAAIC,EAAU,GAELC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,IAAIG,EAAMF,UAAUD,GACpB,GAAKG,EAAL,CAEA,IAAIC,SAAiBD,EAErB,GAAgB,WAAZC,GAAoC,WAAZA,EAC3BL,EAAQM,KAAKF,QACP,GAAIG,MAAMC,QAAQJ,IAAQA,EAAID,OAAQ,CAC5C,IAAIM,EAAQV,EAAWW,MAAM,KAAMN,GAC/BK,GACHT,EAAQM,KAAKG,QAER,GAAgB,WAAZJ,EACV,IAAK,IAAIM,KAAOP,EACXP,EAAOe,KAAKR,EAAKO,IAAQP,EAAIO,IAChCX,EAAQM,KAAKK,IAMjB,OAAOX,EAAQa,KAAK,KAGgBC,EAAOC,SAC3ChB,EAAWiB,QAAUjB,EACrBe,UAAiBf,GAOjBkB,OAAOlB,WAAaA,EA1CtB,MCJMmB,EAAO,SAACC,OAAEC,cAAuC,OACrDC,uBACc,OACZC,UAAU,sBACE,kBACF,aACVC,KAAK,MACLC,MAAM,6BACNC,QAAQ,cACRL,UAAWA,GAEXC,UACEK,KAAK,eACLC,EAAE,gLCbFC,EAAO,SAACT,OACZC,cACAS,SAAAC,aAAO,KAIH,OACJT,SACEU,MAAOD,EACPE,OAAQF,gBACI,OACZR,UAAU,sBACE,kBACF,OACVC,KAAK,MACLC,MAAM,6BACNC,QAAQ,cACRL,UAAWA,GAEXC,UACEK,KAAK,eACLC,EAAE,k0BCjBFM,EAAe,SAACd,aACpBe,gBACAC,mBACAC,yBACAC,iBACAC,WACAlB,cACAmB,wBAAAC,aAAsB,CAAC,EAAG,GAAI,GAAI,GAAI,OACtCC,gBACAC,iBACAC,iBAEA,OACEtB,SACED,UAAWwB,EAC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