hasting-swatchcart-module 0.0.41 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. package/README.md +237 -73
  2. package/dist/assets/index.css +1 -0
  3. package/dist/cdn/lib/components/SwatchesModule.d.ts +10 -0
  4. package/dist/cdn/lib/main.d.ts +4 -0
  5. package/dist/cdn/lib/store/LibraryProvider.d.ts +4 -0
  6. package/dist/cdn/lib/store/rootReducer.d.ts +11 -0
  7. package/dist/cdn/lib/store/store.d.ts +25 -0
  8. package/dist/cdn/lib/store/withStore.d.ts +2 -0
  9. package/dist/cdn/lib/vite-env.d.ts +1 -0
  10. package/dist/cdn/main.css +1 -0
  11. package/dist/cdn/main.js +48652 -0
  12. package/dist/cdn/src/app/App.d.ts +2 -0
  13. package/dist/cdn/src/app/assets/svg/ArrowIconSVG.d.ts +3 -0
  14. package/dist/cdn/src/app/assets/svg/CheckMarkIconSVG.d.ts +3 -0
  15. package/dist/cdn/src/app/assets/svg/CloseIconSVG.d.ts +3 -0
  16. package/dist/cdn/src/app/assets/svg/DarkWhiteIconSVG.d.ts +1 -0
  17. package/dist/cdn/src/app/assets/svg/MinusIconSVG.d.ts +3 -0
  18. package/dist/cdn/src/app/assets/svg/PlusIconSVG.d.ts +3 -0
  19. package/dist/cdn/src/app/assets/svg/SearchIconSVG.d.ts +3 -0
  20. package/dist/cdn/src/app/assets/svg/TrashIconSVG.d.ts +3 -0
  21. package/dist/cdn/src/app/assets/svg/WhiteWhiteIconSVG.d.ts +1 -0
  22. package/dist/cdn/src/app/main.d.ts +1 -0
  23. package/dist/cdn/src/app/providers/StoreProvider.d.ts +6 -0
  24. package/dist/cdn/src/app/store/rootReducer.d.ts +11 -0
  25. package/dist/cdn/src/app/store/store.d.ts +24 -0
  26. package/dist/cdn/src/features/Cart/lib/CartCervices.d.ts +5 -0
  27. package/dist/cdn/src/features/Cart/model/cartSlice.d.ts +13 -0
  28. package/dist/cdn/src/features/Cart/model/selectors.d.ts +223 -0
  29. package/dist/cdn/src/features/Cart/model/types.d.ts +7 -0
  30. package/dist/cdn/src/features/Cart/ui/CartHeader/CartHeader.d.ts +7 -0
  31. package/dist/cdn/src/features/Cart/ui/CartList/CartList.d.ts +1 -0
  32. package/dist/cdn/src/features/Cart/ui/CartListItem/CartListItem.d.ts +10 -0
  33. package/dist/cdn/src/features/Cart/ui/CartPrice/CartPrice.d.ts +5 -0
  34. package/dist/cdn/src/features/Cart/ui/CartWrapper/CartWrapper.d.ts +9 -0
  35. package/dist/cdn/src/features/Cart/ui/Counter/Counter.d.ts +9 -0
  36. package/dist/cdn/src/features/DataAdapter/lib/DataAdapterServices.d.ts +12 -0
  37. package/dist/cdn/src/features/DataAdapter/utils/types.d.ts +11 -0
  38. package/dist/cdn/src/features/MultiProduct/lib/MultiProductCartServices.d.ts +13 -0
  39. package/dist/cdn/src/features/MultiProduct/model/API/api.d.ts +3 -0
  40. package/dist/cdn/src/features/MultiProduct/model/API/routes.d.ts +4 -0
  41. package/dist/cdn/src/features/MultiProduct/model/multiProductCartSlice.d.ts +13 -0
  42. package/dist/cdn/src/features/MultiProduct/model/selectors.d.ts +35 -0
  43. package/dist/cdn/src/features/MultiProduct/model/types.d.ts +30 -0
  44. package/dist/cdn/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.d.ts +1 -0
  45. package/dist/cdn/src/features/MultiProduct/ui/CustomModal/CustomModal.d.ts +8 -0
  46. package/dist/cdn/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.d.ts +1 -0
  47. package/dist/cdn/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.d.ts +5 -0
  48. package/dist/cdn/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.d.ts +6 -0
  49. package/dist/cdn/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.d.ts +6 -0
  50. package/dist/cdn/src/features/MultiProduct/ui/ProductList/ProductList.d.ts +5 -0
  51. package/dist/cdn/src/features/MultiProduct/ui/ProductListItem/ProductListItem.d.ts +6 -0
  52. package/dist/cdn/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.d.ts +5 -0
  53. package/dist/cdn/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.d.ts +1 -0
  54. package/dist/cdn/src/features/MultiProduct/utils/constants.d.ts +8 -0
  55. package/dist/cdn/src/features/MultiProduct/utils/randomList.d.ts +2 -0
  56. package/dist/cdn/src/features/SwatchModule/SwatchModule/ui/SwatchModule.d.ts +11 -0
  57. package/dist/cdn/src/features/swatches/lib/AttributeHelper.d.ts +7 -0
  58. package/dist/cdn/src/features/swatches/lib/SwatchesServices.d.ts +11 -0
  59. package/dist/cdn/src/features/swatches/model/selectors.d.ts +12 -0
  60. package/dist/cdn/src/features/swatches/model/swatchesSlice.d.ts +26 -0
  61. package/dist/cdn/src/features/swatches/model/thunks.d.ts +12 -0
  62. package/dist/cdn/src/features/swatches/model/types.d.ts +137 -0
  63. package/dist/cdn/src/features/swatches/ui/Filters/ColorsFilter.d.ts +1 -0
  64. package/dist/cdn/src/features/swatches/ui/Filters/LooksFilter.d.ts +1 -0
  65. package/dist/cdn/src/features/swatches/ui/Filters/MaterialsFilter.d.ts +1 -0
  66. package/dist/cdn/src/features/swatches/ui/Filters/index.d.ts +5 -0
  67. package/dist/cdn/src/features/swatches/ui/HexGridZoom/HexGridZoom.d.ts +3 -0
  68. package/dist/cdn/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.d.ts +3 -0
  69. package/dist/cdn/src/features/swatches/ui/MaterialList/index.d.ts +7 -0
  70. package/dist/cdn/src/features/swatches/ui/MaterialListItem/MaterialListItem.d.ts +4 -0
  71. package/dist/cdn/src/features/swatches/ui/ProductElement/index.d.ts +6 -0
  72. package/dist/cdn/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.d.ts +8 -0
  73. package/dist/cdn/src/features/swatches/ui/Swatches.d.ts +11 -0
  74. package/dist/cdn/src/features/swatches/ui/SwatchesList/SwatchesList.d.ts +5 -0
  75. package/dist/cdn/src/features/swatches/utils/constants.d.ts +3 -0
  76. package/dist/cdn/src/features/swatches/utils/types.d.ts +22 -0
  77. package/dist/cdn/src/shared/constants/props.d.ts +1058 -0
  78. package/dist/cdn/src/shared/constants/select.d.ts +4 -0
  79. package/dist/cdn/src/shared/constants/selectedMaterials.d.ts +1 -0
  80. package/dist/cdn/src/shared/types/activeTab.d.ts +5 -0
  81. package/dist/cdn/src/shared/types/svg.d.ts +3 -0
  82. package/dist/cdn/src/shared/ui/Checkbox/Checkbox.d.ts +4 -0
  83. package/dist/cdn/src/shared/ui/CustomButton/CustomButton.d.ts +6 -0
  84. package/dist/cdn/src/shared/ui/CustomSidebar/CustomSidebar.d.ts +8 -0
  85. package/dist/cdn/src/shared/ui/Dialog/Dialog.d.ts +19 -0
  86. package/dist/cdn/src/shared/ui/Label/Label.d.ts +7 -0
  87. package/dist/cdn/src/shared/ui/Markdown/MDWithAccordion.d.ts +10 -0
  88. package/dist/cdn/src/shared/ui/MaterialItem/MaterialItem.d.ts +8 -0
  89. package/dist/cdn/src/shared/ui/MultiSelect/MultiSelect.d.ts +20 -0
  90. package/dist/cdn/src/shared/ui/PopoverTooltip/InfoIcon.d.ts +1 -0
  91. package/dist/cdn/src/shared/ui/PopoverTooltip/PopoverTooltip.d.ts +11 -0
  92. package/dist/cdn/src/shared/ui/Slider/Slider.d.ts +11 -0
  93. package/dist/cdn/src/shared/ui/popover.d.ts +9 -0
  94. package/dist/cdn/src/shared/utils/cn.d.ts +2 -0
  95. package/dist/cdn/src/shared/utils/uniqueList.d.ts +1 -0
  96. package/dist/cdn/vite.svg +1 -0
  97. package/dist/components/SwatchesModule.d.ts +1 -2
  98. package/dist/main.cjs +407 -0
  99. package/dist/main.cjs.map +1 -0
  100. package/dist/main.d.ts +4 -1
  101. package/dist/main.js +63812 -2
  102. package/dist/main.js.map +1 -0
  103. package/dist/store/LibraryProvider.d.ts +4 -0
  104. package/dist/store/rootReducer.d.ts +11 -0
  105. package/dist/store/store.d.ts +25 -0
  106. package/dist/store/withStore.d.ts +2 -0
  107. package/package.json +24 -14
  108. package/dist/_virtual/_commonjsHelpers.js +0 -6
  109. package/dist/_virtual/index.js +0 -7
  110. package/dist/_virtual/index2.js +0 -7
  111. package/dist/_virtual/index3.js +0 -4
  112. package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -4
  113. package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -4
  114. package/dist/_virtual/utilities.js +0 -4
  115. package/dist/_virtual/with-selector.js +0 -5
  116. package/dist/_virtual/with-selector2.js +0 -4
  117. package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +0 -1
  118. package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +0 -1
  119. package/dist/assets/src/shared/ui/PopoverTooltip/PopoverTooltip.module.css +0 -0
  120. package/dist/components/SwatchesModule.js +0 -32
  121. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  122. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  123. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  124. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  125. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  126. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  127. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  128. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
  129. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  130. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
  131. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -256
  132. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  133. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  134. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  135. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  136. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -231
  137. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  138. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  139. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  140. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  141. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  142. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  143. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  144. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  145. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  146. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
  147. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  148. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +0 -877
  149. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -35
  150. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -497
  151. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  152. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +0 -62
  153. package/dist/node_modules/@ungap/structured-clone/esm/index.js +0 -11
  154. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +0 -106
  155. package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -13
  156. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  157. package/dist/node_modules/bail/index.js +0 -7
  158. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  159. package/dist/node_modules/comma-separated-tokens/index.js +0 -20
  160. package/dist/node_modules/decode-named-character-reference/index.dom.js +0 -14
  161. package/dist/node_modules/devlop/lib/default.js +0 -8
  162. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +0 -7
  163. package/dist/node_modules/extend/index.js +0 -43
  164. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  165. package/dist/node_modules/hast-util-from-parse5/lib/index.js +0 -145
  166. package/dist/node_modules/hast-util-parse-selector/lib/index.js +0 -20
  167. package/dist/node_modules/hast-util-raw/lib/index.js +0 -217
  168. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +0 -302
  169. package/dist/node_modules/hast-util-to-parse5/lib/index.js +0 -118
  170. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +0 -12
  171. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +0 -61
  172. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +0 -33
  173. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +0 -368
  174. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +0 -6
  175. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +0 -566
  176. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  177. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  178. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +0 -22
  179. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +0 -27
  180. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +0 -23
  181. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +0 -11
  182. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +0 -17
  183. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +0 -14
  184. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +0 -19
  185. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +0 -11
  186. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +0 -11
  187. package/dist/node_modules/hast-util-whitespace/lib/index.js +0 -10
  188. package/dist/node_modules/hastscript/lib/create-h.js +0 -112
  189. package/dist/node_modules/hastscript/lib/index.js +0 -8
  190. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -44
  191. package/dist/node_modules/html-url-attributes/lib/index.js +0 -26
  192. package/dist/node_modules/html-void-elements/index.js +0 -25
  193. package/dist/node_modules/immer/dist/immer.js +0 -467
  194. package/dist/node_modules/inline-style-parser/index.js +0 -93
  195. package/dist/node_modules/is-plain-obj/index.js +0 -9
  196. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -40
  197. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -27
  198. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
  199. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -12
  200. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -12
  201. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -15
  202. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
  203. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +0 -581
  204. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -90
  205. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -12
  206. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -8
  207. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -15
  208. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -12
  209. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -12
  210. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -28
  211. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -12
  212. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -9
  213. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -14
  214. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -10
  215. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -58
  216. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -14
  217. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -19
  218. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -15
  219. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -42
  220. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -21
  221. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -12
  222. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -7
  223. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -12
  224. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -13
  225. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -21
  226. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -32
  227. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -8
  228. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -12
  229. package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -10
  230. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -13
  231. package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -104
  232. package/dist/node_modules/mdast-util-to-string/lib/index.js +0 -29
  233. package/dist/node_modules/micromark/lib/constructs.js +0 -85
  234. package/dist/node_modules/micromark/lib/create-tokenizer.js +0 -223
  235. package/dist/node_modules/micromark/lib/initialize/content.js +0 -37
  236. package/dist/node_modules/micromark/lib/initialize/document.js +0 -126
  237. package/dist/node_modules/micromark/lib/initialize/flow.js +0 -33
  238. package/dist/node_modules/micromark/lib/initialize/text.js +0 -95
  239. package/dist/node_modules/micromark/lib/parse.js +0 -32
  240. package/dist/node_modules/micromark/lib/postprocess.js +0 -9
  241. package/dist/node_modules/micromark/lib/preprocess.js +0 -39
  242. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +0 -83
  243. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +0 -43
  244. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
  245. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -42
  246. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -17
  247. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -30
  248. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -94
  249. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -43
  250. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +0 -45
  251. package/dist/node_modules/micromark-core-commonmark/lib/content.js +0 -50
  252. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +0 -80
  253. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -17
  254. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -46
  255. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -144
  256. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +0 -102
  257. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +0 -152
  258. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -22
  259. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -19
  260. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
  261. package/dist/node_modules/micromark-core-commonmark/lib/list.js +0 -90
  262. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -57
  263. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -25
  264. package/dist/node_modules/micromark-factory-destination/index.js +0 -31
  265. package/dist/node_modules/micromark-factory-label/index.js +0 -28
  266. package/dist/node_modules/micromark-factory-space/index.js +0 -15
  267. package/dist/node_modules/micromark-factory-title/index.js +0 -26
  268. package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
  269. package/dist/node_modules/micromark-util-character/index.js +0 -39
  270. package/dist/node_modules/micromark-util-chunked/index.js +0 -16
  271. package/dist/node_modules/micromark-util-classify-character/index.js +0 -10
  272. package/dist/node_modules/micromark-util-combine-extensions/index.js +0 -36
  273. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -16
  274. package/dist/node_modules/micromark-util-decode-string/index.js +0 -18
  275. package/dist/node_modules/micromark-util-html-tag-name/index.js +0 -68
  276. package/dist/node_modules/micromark-util-normalize-identifier/index.js +0 -6
  277. package/dist/node_modules/micromark-util-resolve-all/index.js +0 -12
  278. package/dist/node_modules/micromark-util-sanitize-uri/index.js +0 -23
  279. package/dist/node_modules/micromark-util-subtokenize/index.js +0 -55
  280. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -175
  281. package/dist/node_modules/parse5/dist/common/doctype.js +0 -98
  282. package/dist/node_modules/parse5/dist/common/error-codes.js +0 -7
  283. package/dist/node_modules/parse5/dist/common/foreign-content.js +0 -210
  284. package/dist/node_modules/parse5/dist/common/html.js +0 -250
  285. package/dist/node_modules/parse5/dist/common/token.js +0 -14
  286. package/dist/node_modules/parse5/dist/common/unicode.js +0 -73
  287. package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +0 -84
  288. package/dist/node_modules/parse5/dist/parser/index.js +0 -2271
  289. package/dist/node_modules/parse5/dist/parser/open-element-stack.js +0 -240
  290. package/dist/node_modules/parse5/dist/serializer/index.js +0 -2
  291. package/dist/node_modules/parse5/dist/tokenizer/index.js +0 -1940
  292. package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -88
  293. package/dist/node_modules/parse5/dist/tree-adapters/default.js +0 -162
  294. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -38
  295. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -245
  296. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
  297. package/dist/node_modules/property-information/index.js +0 -12
  298. package/dist/node_modules/property-information/lib/aria.js +0 -61
  299. package/dist/node_modules/property-information/lib/find.js +0 -33
  300. package/dist/node_modules/property-information/lib/hast-to-react.js +0 -22
  301. package/dist/node_modules/property-information/lib/html.js +0 -368
  302. package/dist/node_modules/property-information/lib/normalize.js +0 -6
  303. package/dist/node_modules/property-information/lib/svg.js +0 -566
  304. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
  305. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
  306. package/dist/node_modules/property-information/lib/util/create.js +0 -19
  307. package/dist/node_modules/property-information/lib/util/defined-info.js +0 -36
  308. package/dist/node_modules/property-information/lib/util/info.js +0 -28
  309. package/dist/node_modules/property-information/lib/util/merge.js +0 -10
  310. package/dist/node_modules/property-information/lib/util/schema.js +0 -21
  311. package/dist/node_modules/property-information/lib/util/types.js +0 -14
  312. package/dist/node_modules/property-information/lib/xlink.js +0 -19
  313. package/dist/node_modules/property-information/lib/xml.js +0 -11
  314. package/dist/node_modules/property-information/lib/xmlns.js +0 -11
  315. package/dist/node_modules/react-markdown/lib/index.js +0 -102
  316. package/dist/node_modules/react-redux/dist/react-redux.js +0 -246
  317. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  318. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
  319. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  320. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  321. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  322. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  323. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  324. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  325. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  326. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  327. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  328. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  329. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  330. package/dist/node_modules/redux/dist/redux.js +0 -258
  331. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +0 -8
  332. package/dist/node_modules/rehype-raw/lib/index.js +0 -12
  333. package/dist/node_modules/remark-parse/lib/index.js +0 -19
  334. package/dist/node_modules/remark-rehype/lib/index.js +0 -18
  335. package/dist/node_modules/reselect/dist/reselect.js +0 -244
  336. package/dist/node_modules/space-separated-tokens/index.js +0 -11
  337. package/dist/node_modules/style-to-js/cjs/index.js +0 -20
  338. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -19
  339. package/dist/node_modules/style-to-object/cjs/index.js +0 -28
  340. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2731
  341. package/dist/node_modules/trim-lines/index.js +0 -28
  342. package/dist/node_modules/trough/lib/index.js +0 -60
  343. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  344. package/dist/node_modules/unified/lib/callable-instance.js +0 -25
  345. package/dist/node_modules/unified/lib/index.js +0 -529
  346. package/dist/node_modules/unist-util-is/lib/index.js +0 -84
  347. package/dist/node_modules/unist-util-position/lib/index.js +0 -23
  348. package/dist/node_modules/unist-util-stringify-position/lib/index.js +0 -15
  349. package/dist/node_modules/unist-util-visit/lib/index.js +0 -16
  350. package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
  351. package/dist/node_modules/unist-util-visit-parents/lib/index.js +0 -56
  352. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  353. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  354. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  355. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  356. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
  357. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -66
  358. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -65
  359. package/dist/node_modules/use-sync-external-store/with-selector.js +0 -10
  360. package/dist/node_modules/vfile/lib/index.js +0 -406
  361. package/dist/node_modules/vfile/lib/minpath.browser.js +0 -112
  362. package/dist/node_modules/vfile/lib/minproc.browser.js +0 -7
  363. package/dist/node_modules/vfile/lib/minurl.browser.js +0 -41
  364. package/dist/node_modules/vfile/lib/minurl.shared.js +0 -7
  365. package/dist/node_modules/vfile-location/lib/index.js +0 -42
  366. package/dist/node_modules/vfile-message/lib/index.js +0 -91
  367. package/dist/node_modules/web-namespaces/index.js +0 -11
  368. package/dist/node_modules/zwitch/index.js +0 -18
  369. package/dist/src/app/assets/images/product_thumb.png.js +0 -4
  370. package/dist/src/app/assets/svg/ArrowIconSVG.js +0 -25
  371. package/dist/src/app/assets/svg/CheckMarkIconSVG.js +0 -25
  372. package/dist/src/app/assets/svg/CloseIconSVG.js +0 -25
  373. package/dist/src/app/assets/svg/MinusIconSVG.js +0 -24
  374. package/dist/src/app/assets/svg/PlusIconSVG.js +0 -24
  375. package/dist/src/app/assets/svg/SearchIconSVG.js +0 -37
  376. package/dist/src/app/assets/svg/TrashIconSVG.js +0 -24
  377. package/dist/src/app/providers/StoreProvider.js +0 -7
  378. package/dist/src/app/store/rootReducer.js +0 -12
  379. package/dist/src/app/store/store.js +0 -14
  380. package/dist/src/features/Cart/lib/CartCervices.js +0 -8
  381. package/dist/src/features/Cart/model/cartSlice.js +0 -58
  382. package/dist/src/features/Cart/model/selectors.js +0 -18
  383. package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +0 -53
  384. package/dist/src/features/Cart/ui/CartList/CartList.js +0 -29
  385. package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +0 -41
  386. package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +0 -23
  387. package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +0 -38
  388. package/dist/src/features/Cart/ui/Counter/Counter.js +0 -46
  389. package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +0 -102
  390. package/dist/src/features/DataAdapter/utils/types.js +0 -8
  391. package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +0 -34
  392. package/dist/src/features/MultiProduct/model/API/api.js +0 -18
  393. package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +0 -83
  394. package/dist/src/features/MultiProduct/model/selectors.js +0 -7
  395. package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +0 -21
  396. package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +0 -28
  397. package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +0 -27
  398. package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +0 -60
  399. package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +0 -71
  400. package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +0 -19
  401. package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +0 -138
  402. package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +0 -51
  403. package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +0 -55
  404. package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +0 -46
  405. package/dist/src/features/MultiProduct/utils/constants.js +0 -16
  406. package/dist/src/features/MultiProduct/utils/randomList.js +0 -41
  407. package/dist/src/features/swatches/lib/AttributeHelper.js +0 -21
  408. package/dist/src/features/swatches/lib/SwatchesServices.js +0 -54
  409. package/dist/src/features/swatches/model/selectors.js +0 -12
  410. package/dist/src/features/swatches/model/swatchesSlice.js +0 -108
  411. package/dist/src/features/swatches/model/thunks.js +0 -22
  412. package/dist/src/features/swatches/model/types.js +0 -6
  413. package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +0 -45
  414. package/dist/src/features/swatches/ui/Filters/LooksFilter.js +0 -45
  415. package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +0 -47
  416. package/dist/src/features/swatches/ui/Filters/index.js +0 -12
  417. package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +0 -50
  418. package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +0 -45
  419. package/dist/src/features/swatches/ui/MaterialList/index.js +0 -39
  420. package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +0 -51
  421. package/dist/src/features/swatches/ui/ProductElement/index.js +0 -65
  422. package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +0 -62
  423. package/dist/src/features/swatches/ui/Swatches.js +0 -51
  424. package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +0 -67
  425. package/dist/src/features/swatches/utils/constants.js +0 -8
  426. package/dist/src/shared/constants/props.js +0 -13337
  427. package/dist/src/shared/constants/selectedMaterials.js +0 -4
  428. package/dist/src/shared/types/activeTab.js +0 -7
  429. package/dist/src/shared/ui/Checkbox/Checkbox.js +0 -31
  430. package/dist/src/shared/ui/CustomButton/CustomButton.js +0 -16
  431. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +0 -59
  432. package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +0 -13
  433. package/dist/src/shared/ui/Dialog/Dialog.js +0 -81
  434. package/dist/src/shared/ui/Label/Label.js +0 -27
  435. package/dist/src/shared/ui/Markdown/MDWithAccordion.js +0 -36
  436. package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +0 -9
  437. package/dist/src/shared/ui/MaterialItem/MaterialItem.js +0 -36
  438. package/dist/src/shared/ui/MultiSelect/MultiSelect.js +0 -150
  439. package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +0 -35
  440. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +0 -37
  441. package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +0 -4
  442. package/dist/src/shared/ui/Slider/Slider.js +0 -117
  443. package/dist/src/shared/utils/cn.js +0 -8
  444. package/dist/src/shared/utils/uniqueList.js +0 -4
@@ -1,71 +0,0 @@
1
- import * as d from "react";
2
- import { styleSingleton as f } from "../../../react-style-singleton/dist/es2015/component.js";
3
- import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./constants.js";
4
- import { getGapWidth as m } from "./utils.js";
5
- var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
- var r = n.left, i = n.top, s = n.right, c = n.gap;
7
- return o === void 0 && (o = "margin"), `
8
- .`.concat(p, ` {
9
- overflow: hidden `).concat(t, `;
10
- padding-right: `).concat(c, "px ").concat(t, `;
11
- }
12
- body[`).concat(e, `] {
13
- overflow: hidden `).concat(t, `;
14
- overscroll-behavior: contain;
15
- `).concat([
16
- a && "position: relative ".concat(t, ";"),
17
- o === "margin" && `
18
- padding-left: `.concat(r, `px;
19
- padding-top: `).concat(i, `px;
20
- padding-right: `).concat(s, `px;
21
- margin-left:0;
22
- margin-top:0;
23
- margin-right: `).concat(c, "px ").concat(t, `;
24
- `),
25
- o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
26
- ].filter(Boolean).join(""), `
27
- }
28
-
29
- .`).concat(g, ` {
30
- right: `).concat(c, "px ").concat(t, `;
31
- }
32
-
33
- .`).concat(l, ` {
34
- margin-right: `).concat(c, "px ").concat(t, `;
35
- }
36
-
37
- .`).concat(g, " .").concat(g, ` {
38
- right: 0 `).concat(t, `;
39
- }
40
-
41
- .`).concat(l, " .").concat(l, ` {
42
- margin-right: 0 `).concat(t, `;
43
- }
44
-
45
- body[`).concat(e, `] {
46
- `).concat(v, ": ").concat(c, `px;
47
- }
48
- `);
49
- }, u = function() {
50
- var n = parseInt(document.body.getAttribute(e) || "0", 10);
51
- return isFinite(n) ? n : 0;
52
- }, x = function() {
53
- d.useEffect(function() {
54
- return document.body.setAttribute(e, (u() + 1).toString()), function() {
55
- var n = u() - 1;
56
- n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
57
- };
58
- }, []);
59
- }, C = function(n) {
60
- var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
61
- x();
62
- var i = d.useMemo(function() {
63
- return m(r);
64
- }, [r]);
65
- return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
66
- };
67
- export {
68
- C as RemoveScrollBar,
69
- e as lockAttribute,
70
- x as useLockAttribute
71
- };
@@ -1,7 +0,0 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
- export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
7
- };
@@ -1,25 +0,0 @@
1
- var a = {
2
- left: 0,
3
- top: 0,
4
- right: 0,
5
- gap: 0
6
- }, e = function(t) {
7
- return parseInt(t || "", 10) || 0;
8
- }, o = function(t) {
9
- var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
- return [e(i), e(r), e(d)];
11
- }, f = function(t) {
12
- if (t === void 0 && (t = "margin"), typeof window > "u")
13
- return a;
14
- var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
- return {
16
- left: n[0],
17
- top: n[1],
18
- right: n[2],
19
- gap: Math.max(0, r - i + n[2] - n[0])
20
- };
21
- };
22
- export {
23
- f as getGapWidth,
24
- a as zeroGap
25
- };
@@ -1,11 +0,0 @@
1
- import { styleHookSingleton as o } from "./hook.js";
2
- var s = function() {
3
- var e = o(), n = function(t) {
4
- var r = t.styles, l = t.dynamic;
5
- return e(r, l), null;
6
- };
7
- return n;
8
- };
9
- export {
10
- s as styleSingleton
11
- };
@@ -1,15 +0,0 @@
1
- import * as o from "react";
2
- import { stylesheetSingleton as r } from "./singleton.js";
3
- var i = function() {
4
- var t = r();
5
- return function(e, n) {
6
- o.useEffect(function() {
7
- return t.add(e), function() {
8
- t.remove();
9
- };
10
- }, [e && n]);
11
- };
12
- };
13
- export {
14
- i as styleHookSingleton
15
- };
@@ -1,30 +0,0 @@
1
- import { getNonce as o } from "../../../get-nonce/dist/es2015/index.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
26
- };
27
- };
28
- export {
29
- c as stylesheetSingleton
30
- };
@@ -1,258 +0,0 @@
1
- function i(e) {
2
- return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
3
- }
4
- var S = typeof Symbol == "function" && Symbol.observable || "@@observable", _ = S, O = () => Math.random().toString(36).substring(7).split("").join("."), k = {
5
- INIT: `@@redux/INIT${/* @__PURE__ */ O()}`,
6
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ O()}`,
7
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${O()}`
8
- }, b = k;
9
- function v(e) {
10
- if (typeof e != "object" || e === null)
11
- return !1;
12
- let t = e;
13
- for (; Object.getPrototypeOf(t) !== null; )
14
- t = Object.getPrototypeOf(t);
15
- return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
16
- }
17
- function $(e) {
18
- if (e === void 0)
19
- return "undefined";
20
- if (e === null)
21
- return "null";
22
- const t = typeof e;
23
- switch (t) {
24
- case "boolean":
25
- case "string":
26
- case "number":
27
- case "symbol":
28
- case "function":
29
- return t;
30
- }
31
- if (Array.isArray(e))
32
- return "array";
33
- if (V(e))
34
- return "date";
35
- if (T(e))
36
- return "error";
37
- const r = j(e);
38
- switch (r) {
39
- case "Symbol":
40
- case "Promise":
41
- case "WeakMap":
42
- case "WeakSet":
43
- case "Map":
44
- case "Set":
45
- return r;
46
- }
47
- return Object.prototype.toString.call(e).slice(8, -1).toLowerCase().replace(/\s/g, "");
48
- }
49
- function j(e) {
50
- return typeof e.constructor == "function" ? e.constructor.name : null;
51
- }
52
- function T(e) {
53
- return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
54
- }
55
- function V(e) {
56
- return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
57
- }
58
- function y(e) {
59
- let t = typeof e;
60
- return process.env.NODE_ENV !== "production" && (t = $(e)), t;
61
- }
62
- function A(e, t, r) {
63
- if (typeof e != "function")
64
- throw new Error(process.env.NODE_ENV === "production" ? i(2) : `Expected the root reducer to be a function. Instead, received: '${y(e)}'`);
65
- if (typeof t == "function" && typeof r == "function" || typeof r == "function" && typeof arguments[3] == "function")
66
- throw new Error(process.env.NODE_ENV === "production" ? i(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
67
- if (typeof t == "function" && typeof r > "u" && (r = t, t = void 0), typeof r < "u") {
68
- if (typeof r != "function")
69
- throw new Error(process.env.NODE_ENV === "production" ? i(1) : `Expected the enhancer to be a function. Instead, received: '${y(r)}'`);
70
- return r(A)(e, t);
71
- }
72
- let a = e, d = t, u = /* @__PURE__ */ new Map(), o = u, s = 0, c = !1;
73
- function f() {
74
- o === u && (o = /* @__PURE__ */ new Map(), u.forEach((n, p) => {
75
- o.set(p, n);
76
- }));
77
- }
78
- function w() {
79
- if (c)
80
- throw new Error(process.env.NODE_ENV === "production" ? i(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
81
- return d;
82
- }
83
- function l(n) {
84
- if (typeof n != "function")
85
- throw new Error(process.env.NODE_ENV === "production" ? i(4) : `Expected the listener to be a function. Instead, received: '${y(n)}'`);
86
- if (c)
87
- throw new Error(process.env.NODE_ENV === "production" ? i(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
88
- let p = !0;
89
- f();
90
- const E = s++;
91
- return o.set(E, n), function() {
92
- if (p) {
93
- if (c)
94
- throw new Error(process.env.NODE_ENV === "production" ? i(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
95
- p = !1, f(), o.delete(E), u = null;
96
- }
97
- };
98
- }
99
- function h(n) {
100
- if (!v(n))
101
- throw new Error(process.env.NODE_ENV === "production" ? i(7) : `Actions must be plain objects. Instead, the actual type was: '${y(n)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
102
- if (typeof n.type > "u")
103
- throw new Error(process.env.NODE_ENV === "production" ? i(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
104
- if (typeof n.type != "string")
105
- throw new Error(process.env.NODE_ENV === "production" ? i(17) : `Action "type" property must be a string. Instead, the actual type was: '${y(n.type)}'. Value was: '${n.type}' (stringified)`);
106
- if (c)
107
- throw new Error(process.env.NODE_ENV === "production" ? i(9) : "Reducers may not dispatch actions.");
108
- try {
109
- c = !0, d = a(d, n);
110
- } finally {
111
- c = !1;
112
- }
113
- return (u = o).forEach((E) => {
114
- E();
115
- }), n;
116
- }
117
- function N(n) {
118
- if (typeof n != "function")
119
- throw new Error(process.env.NODE_ENV === "production" ? i(10) : `Expected the nextReducer to be a function. Instead, received: '${y(n)}`);
120
- a = n, h({
121
- type: b.REPLACE
122
- });
123
- }
124
- function g() {
125
- const n = l;
126
- return {
127
- /**
128
- * The minimal observable subscription method.
129
- * @param observer Any object that can be used as an observer.
130
- * The observer object should have a `next` method.
131
- * @returns An object with an `unsubscribe` method that can
132
- * be used to unsubscribe the observable from the store, and prevent further
133
- * emission of values from the observable.
134
- */
135
- subscribe(p) {
136
- if (typeof p != "object" || p === null)
137
- throw new Error(process.env.NODE_ENV === "production" ? i(11) : `Expected the observer to be an object. Instead, received: '${y(p)}'`);
138
- function E() {
139
- const x = p;
140
- x.next && x.next(w());
141
- }
142
- return E(), {
143
- unsubscribe: n(E)
144
- };
145
- },
146
- [_]() {
147
- return this;
148
- }
149
- };
150
- }
151
- return h({
152
- type: b.INIT
153
- }), {
154
- dispatch: h,
155
- subscribe: l,
156
- getState: w,
157
- replaceReducer: N,
158
- [_]: g
159
- };
160
- }
161
- function I(e) {
162
- typeof console < "u" && typeof console.error == "function" && console.error(e);
163
- try {
164
- throw new Error(e);
165
- } catch {
166
- }
167
- }
168
- function P(e, t, r, a) {
169
- const d = Object.keys(t), u = r && r.type === b.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
170
- if (d.length === 0)
171
- return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
172
- if (!v(e))
173
- return `The ${u} has unexpected type of "${y(e)}". Expected argument to be an object with the following keys: "${d.join('", "')}"`;
174
- const o = Object.keys(e).filter((s) => !t.hasOwnProperty(s) && !a[s]);
175
- if (o.forEach((s) => {
176
- a[s] = !0;
177
- }), !(r && r.type === b.REPLACE) && o.length > 0)
178
- return `Unexpected ${o.length > 1 ? "keys" : "key"} "${o.join('", "')}" found in ${u}. Expected to find one of the known reducer keys instead: "${d.join('", "')}". Unexpected keys will be ignored.`;
179
- }
180
- function R(e) {
181
- Object.keys(e).forEach((t) => {
182
- const r = e[t];
183
- if (typeof r(void 0, {
184
- type: b.INIT
185
- }) > "u")
186
- throw new Error(process.env.NODE_ENV === "production" ? i(12) : `The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);
187
- if (typeof r(void 0, {
188
- type: b.PROBE_UNKNOWN_ACTION()
189
- }) > "u")
190
- throw new Error(process.env.NODE_ENV === "production" ? i(13) : `The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${b.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`);
191
- });
192
- }
193
- function C(e) {
194
- const t = Object.keys(e), r = {};
195
- for (let o = 0; o < t.length; o++) {
196
- const s = t[o];
197
- process.env.NODE_ENV !== "production" && typeof e[s] > "u" && I(`No reducer provided for key "${s}"`), typeof e[s] == "function" && (r[s] = e[s]);
198
- }
199
- const a = Object.keys(r);
200
- let d;
201
- process.env.NODE_ENV !== "production" && (d = {});
202
- let u;
203
- try {
204
- R(r);
205
- } catch (o) {
206
- u = o;
207
- }
208
- return function(s = {}, c) {
209
- if (u)
210
- throw u;
211
- if (process.env.NODE_ENV !== "production") {
212
- const l = P(s, r, c, d);
213
- l && I(l);
214
- }
215
- let f = !1;
216
- const w = {};
217
- for (let l = 0; l < a.length; l++) {
218
- const h = a[l], N = r[h], g = s[h], m = N(g, c);
219
- if (typeof m > "u") {
220
- const n = c && c.type;
221
- throw new Error(process.env.NODE_ENV === "production" ? i(14) : `When called with an action of type ${n ? `"${String(n)}"` : "(unknown type)"}, the slice reducer for key "${h}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`);
222
- }
223
- w[h] = m, f = f || m !== g;
224
- }
225
- return f = f || a.length !== Object.keys(s).length, f ? w : s;
226
- };
227
- }
228
- function M(...e) {
229
- return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, r) => (...a) => t(r(...a)));
230
- }
231
- function K(...e) {
232
- return (t) => (r, a) => {
233
- const d = t(r, a);
234
- let u = () => {
235
- throw new Error(process.env.NODE_ENV === "production" ? i(15) : "Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");
236
- };
237
- const o = {
238
- getState: d.getState,
239
- dispatch: (c, ...f) => u(c, ...f)
240
- }, s = e.map((c) => c(o));
241
- return u = M(...s)(d.dispatch), {
242
- ...d,
243
- dispatch: u
244
- };
245
- };
246
- }
247
- function L(e) {
248
- return v(e) && "type" in e && typeof e.type == "string";
249
- }
250
- export {
251
- b as __DO_NOT_USE__ActionTypes,
252
- K as applyMiddleware,
253
- C as combineReducers,
254
- M as compose,
255
- A as createStore,
256
- L as isAction,
257
- v as isPlainObject
258
- };
@@ -1,8 +0,0 @@
1
- function e(t) {
2
- return ({ dispatch: n, getState: u }) => (d) => (r) => typeof r == "function" ? r(n, u, t) : d(r);
3
- }
4
- var i = e(), f = e;
5
- export {
6
- i as thunk,
7
- f as withExtraArgument
8
- };
@@ -1,12 +0,0 @@
1
- import { raw as n } from "../../hast-util-raw/lib/index.js";
2
- function a(r) {
3
- return function(t, e) {
4
- return (
5
- /** @type {Root} */
6
- n(t, { ...r, file: e })
7
- );
8
- };
9
- }
10
- export {
11
- a as default
12
- };
@@ -1,19 +0,0 @@
1
- import { fromMarkdown as a } from "../../mdast-util-from-markdown/lib/index.js";
2
- function e(s) {
3
- const r = this;
4
- r.parser = t;
5
- function t(n) {
6
- return a(n, {
7
- ...r.data("settings"),
8
- ...s,
9
- // Note: these options are not in the readme.
10
- // The goal is for them to be set by plugins on `data` instead of being
11
- // passed by users.
12
- extensions: r.data("micromarkExtensions") || [],
13
- mdastExtensions: r.data("fromMarkdownExtensions") || []
14
- });
15
- }
16
- }
17
- export {
18
- e as default
19
- };
@@ -1,18 +0,0 @@
1
- import { toHast as e } from "../../mdast-util-to-hast/lib/index.js";
2
- function f(r, t) {
3
- return r && "run" in r ? async function(n, u) {
4
- const a = (
5
- /** @type {HastRoot} */
6
- e(n, { file: u, ...t })
7
- );
8
- await r.run(a, u);
9
- } : function(n, u) {
10
- return (
11
- /** @type {HastRoot} */
12
- e(n, { file: u, ...r || t })
13
- );
14
- };
15
- }
16
- export {
17
- f as default
18
- };