hasting-swatchcart-module 0.0.7 → 0.0.9
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.
- package/dist/assets/SwatchesModule.css +1 -0
- package/dist/components/SwatchesModule.js +23440 -24
- package/dist/components/Test.js +5 -0
- package/dist/lib/components/Test.d.ts +1 -0
- package/dist/main.js +0 -1
- package/dist/{src/shared/constants/props.js → rootReducer-BqfJd5QI.js} +1913 -3
- package/dist/store/LibraryProvider.js +3 -4
- package/dist/store/rootReducer.js +2 -10
- package/dist/store/store.js +5 -15
- package/dist/store-BZ_1BK_I.js +382 -0
- package/package.json +1 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/index.js +0 -7
- package/dist/_virtual/index2.js +0 -7
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -4
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -4
- package/dist/_virtual/utilities.js +0 -4
- package/dist/_virtual/with-selector.js +0 -5
- package/dist/_virtual/with-selector2.js +0 -4
- package/dist/assets/src/shared/ui/CustomSidebar/CustomSidebar.module.css +0 -1
- package/dist/assets/src/shared/ui/Markdown/MDWithAccordion.module.css +0 -1
- package/dist/assets/styles/index.css +0 -0
- package/dist/main.d.ts +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -256
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -231
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +0 -877
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -35
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -497
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +0 -62
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +0 -11
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +0 -106
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -13
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
- package/dist/node_modules/bail/index.js +0 -7
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/comma-separated-tokens/index.js +0 -20
- package/dist/node_modules/decode-named-character-reference/index.dom.js +0 -14
- package/dist/node_modules/devlop/lib/default.js +0 -8
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +0 -7
- package/dist/node_modules/extend/index.js +0 -43
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +0 -145
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +0 -20
- package/dist/node_modules/hast-util-raw/lib/index.js +0 -217
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +0 -302
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +0 -118
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.js +0 -12
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js +0 -61
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js +0 -33
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js +0 -368
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js +0 -6
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js +0 -566
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js +0 -22
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js +0 -27
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js +0 -23
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js +0 -11
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js +0 -17
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js +0 -14
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js +0 -19
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js +0 -11
- package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js +0 -11
- package/dist/node_modules/hast-util-whitespace/lib/index.js +0 -10
- package/dist/node_modules/hastscript/lib/create-h.js +0 -112
- package/dist/node_modules/hastscript/lib/index.js +0 -8
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -44
- package/dist/node_modules/html-url-attributes/lib/index.js +0 -26
- package/dist/node_modules/html-void-elements/index.js +0 -25
- package/dist/node_modules/immer/dist/immer.js +0 -467
- package/dist/node_modules/inline-style-parser/index.js +0 -93
- package/dist/node_modules/is-plain-obj/index.js +0 -9
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -40
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -27
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -20
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -19
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +0 -581
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +0 -90
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -15
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -28
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -9
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -14
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -10
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -58
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -14
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -19
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -15
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -42
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -21
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -7
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -13
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -21
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -32
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -12
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +0 -10
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +0 -13
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +0 -104
- package/dist/node_modules/mdast-util-to-string/lib/index.js +0 -29
- package/dist/node_modules/micromark/lib/constructs.js +0 -85
- package/dist/node_modules/micromark/lib/create-tokenizer.js +0 -223
- package/dist/node_modules/micromark/lib/initialize/content.js +0 -37
- package/dist/node_modules/micromark/lib/initialize/document.js +0 -126
- package/dist/node_modules/micromark/lib/initialize/flow.js +0 -33
- package/dist/node_modules/micromark/lib/initialize/text.js +0 -95
- package/dist/node_modules/micromark/lib/parse.js +0 -32
- package/dist/node_modules/micromark/lib/postprocess.js +0 -9
- package/dist/node_modules/micromark/lib/preprocess.js +0 -39
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +0 -83
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +0 -43
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -42
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -17
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -30
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -94
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -43
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +0 -45
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +0 -50
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +0 -80
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -17
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -46
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -144
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +0 -102
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +0 -152
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -22
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -19
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +0 -90
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -57
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -25
- package/dist/node_modules/micromark-factory-destination/index.js +0 -31
- package/dist/node_modules/micromark-factory-label/index.js +0 -28
- package/dist/node_modules/micromark-factory-space/index.js +0 -15
- package/dist/node_modules/micromark-factory-title/index.js +0 -26
- package/dist/node_modules/micromark-factory-whitespace/index.js +0 -12
- package/dist/node_modules/micromark-util-character/index.js +0 -39
- package/dist/node_modules/micromark-util-chunked/index.js +0 -16
- package/dist/node_modules/micromark-util-classify-character/index.js +0 -10
- package/dist/node_modules/micromark-util-combine-extensions/index.js +0 -36
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -16
- package/dist/node_modules/micromark-util-decode-string/index.js +0 -18
- package/dist/node_modules/micromark-util-html-tag-name/index.js +0 -68
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +0 -6
- package/dist/node_modules/micromark-util-resolve-all/index.js +0 -12
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +0 -23
- package/dist/node_modules/micromark-util-subtokenize/index.js +0 -55
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -175
- package/dist/node_modules/parse5/dist/common/doctype.js +0 -98
- package/dist/node_modules/parse5/dist/common/error-codes.js +0 -7
- package/dist/node_modules/parse5/dist/common/foreign-content.js +0 -210
- package/dist/node_modules/parse5/dist/common/html.js +0 -250
- package/dist/node_modules/parse5/dist/common/token.js +0 -14
- package/dist/node_modules/parse5/dist/common/unicode.js +0 -73
- package/dist/node_modules/parse5/dist/parser/formatting-element-list.js +0 -84
- package/dist/node_modules/parse5/dist/parser/index.js +0 -2271
- package/dist/node_modules/parse5/dist/parser/open-element-stack.js +0 -240
- package/dist/node_modules/parse5/dist/serializer/index.js +0 -2
- package/dist/node_modules/parse5/dist/tokenizer/index.js +0 -1940
- package/dist/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -88
- package/dist/node_modules/parse5/dist/tree-adapters/default.js +0 -162
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -38
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -245
- package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
- package/dist/node_modules/property-information/index.js +0 -12
- package/dist/node_modules/property-information/lib/aria.js +0 -61
- package/dist/node_modules/property-information/lib/find.js +0 -33
- package/dist/node_modules/property-information/lib/hast-to-react.js +0 -22
- package/dist/node_modules/property-information/lib/html.js +0 -368
- package/dist/node_modules/property-information/lib/normalize.js +0 -6
- package/dist/node_modules/property-information/lib/svg.js +0 -566
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +0 -7
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
- package/dist/node_modules/property-information/lib/util/create.js +0 -19
- package/dist/node_modules/property-information/lib/util/defined-info.js +0 -36
- package/dist/node_modules/property-information/lib/util/info.js +0 -28
- package/dist/node_modules/property-information/lib/util/merge.js +0 -10
- package/dist/node_modules/property-information/lib/util/schema.js +0 -21
- package/dist/node_modules/property-information/lib/util/types.js +0 -14
- package/dist/node_modules/property-information/lib/xlink.js +0 -19
- package/dist/node_modules/property-information/lib/xml.js +0 -11
- package/dist/node_modules/property-information/lib/xmlns.js +0 -11
- package/dist/node_modules/react-markdown/lib/index.js +0 -102
- package/dist/node_modules/react-redux/dist/react-redux.js +0 -246
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
- package/dist/node_modules/redux/dist/redux.js +0 -258
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +0 -8
- package/dist/node_modules/rehype-raw/lib/index.js +0 -12
- package/dist/node_modules/remark-parse/lib/index.js +0 -19
- package/dist/node_modules/remark-rehype/lib/index.js +0 -18
- package/dist/node_modules/reselect/dist/reselect.js +0 -244
- package/dist/node_modules/space-separated-tokens/index.js +0 -11
- package/dist/node_modules/style-to-js/cjs/index.js +0 -20
- package/dist/node_modules/style-to-js/cjs/utilities.js +0 -19
- package/dist/node_modules/style-to-object/cjs/index.js +0 -28
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2731
- package/dist/node_modules/trim-lines/index.js +0 -28
- package/dist/node_modules/trough/lib/index.js +0 -60
- package/dist/node_modules/tslib/tslib.es6.js +0 -27
- package/dist/node_modules/unified/lib/callable-instance.js +0 -25
- package/dist/node_modules/unified/lib/index.js +0 -529
- package/dist/node_modules/unist-util-is/lib/index.js +0 -84
- package/dist/node_modules/unist-util-position/lib/index.js +0 -23
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +0 -15
- package/dist/node_modules/unist-util-visit/lib/index.js +0 -16
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +0 -6
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +0 -56
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -66
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -65
- package/dist/node_modules/use-sync-external-store/with-selector.js +0 -10
- package/dist/node_modules/vfile/lib/index.js +0 -406
- package/dist/node_modules/vfile/lib/minpath.browser.js +0 -112
- package/dist/node_modules/vfile/lib/minproc.browser.js +0 -7
- package/dist/node_modules/vfile/lib/minurl.browser.js +0 -41
- package/dist/node_modules/vfile/lib/minurl.shared.js +0 -7
- package/dist/node_modules/vfile-location/lib/index.js +0 -42
- package/dist/node_modules/vfile-message/lib/index.js +0 -91
- package/dist/node_modules/web-namespaces/index.js +0 -11
- package/dist/node_modules/zwitch/index.js +0 -18
- package/dist/src/app/assets/images/product_thumb.png.js +0 -4
- package/dist/src/app/assets/svg/ArrowIconSVG.js +0 -25
- package/dist/src/app/assets/svg/CheckMarkIconSVG.js +0 -25
- package/dist/src/app/assets/svg/CloseIconSVG.js +0 -25
- package/dist/src/app/assets/svg/MinusIconSVG.js +0 -24
- package/dist/src/app/assets/svg/PlusIconSVG.js +0 -24
- package/dist/src/app/assets/svg/SearchIconSVG.js +0 -37
- package/dist/src/app/assets/svg/TrashIconSVG.js +0 -24
- package/dist/src/app/store/rootReducer.js +0 -12
- package/dist/src/app/store/store.js +0 -14
- package/dist/src/features/Cart/lib/CartCervices.js +0 -8
- package/dist/src/features/Cart/model/cartSlice.js +0 -58
- package/dist/src/features/Cart/model/selectors.js +0 -18
- package/dist/src/features/Cart/ui/CartHeader/CartHeader.js +0 -53
- package/dist/src/features/Cart/ui/CartList/CartList.js +0 -29
- package/dist/src/features/Cart/ui/CartListItem/CartListItem.js +0 -41
- package/dist/src/features/Cart/ui/CartPrice/CartPrice.js +0 -23
- package/dist/src/features/Cart/ui/CartWrapper/CartWrapper.js +0 -38
- package/dist/src/features/Cart/ui/Counter/Counter.js +0 -46
- package/dist/src/features/DataAdapter/lib/DataAdapterServices.js +0 -102
- package/dist/src/features/DataAdapter/utils/types.js +0 -8
- package/dist/src/features/MultiProduct/lib/MultiProductCartServices.js +0 -34
- package/dist/src/features/MultiProduct/model/API/api.js +0 -18
- package/dist/src/features/MultiProduct/model/multiProductCartSlice.js +0 -83
- package/dist/src/features/MultiProduct/model/selectors.js +0 -7
- package/dist/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.js +0 -21
- package/dist/src/features/MultiProduct/ui/CustomModal/CustomModal.js +0 -28
- package/dist/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.js +0 -27
- package/dist/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.js +0 -60
- package/dist/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.js +0 -71
- package/dist/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.js +0 -19
- package/dist/src/features/MultiProduct/ui/ProductList/ProductList.js +0 -138
- package/dist/src/features/MultiProduct/ui/ProductListItem/ProductListItem.js +0 -51
- package/dist/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.js +0 -55
- package/dist/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.js +0 -46
- package/dist/src/features/MultiProduct/utils/constants.js +0 -16
- package/dist/src/features/MultiProduct/utils/randomList.js +0 -41
- package/dist/src/features/swatches/lib/AttributeHelper.js +0 -21
- package/dist/src/features/swatches/lib/SwatchesServices.js +0 -54
- package/dist/src/features/swatches/model/selectors.js +0 -12
- package/dist/src/features/swatches/model/swatchesSlice.js +0 -108
- package/dist/src/features/swatches/model/thunks.js +0 -22
- package/dist/src/features/swatches/model/types.js +0 -6
- package/dist/src/features/swatches/ui/Filters/ColorsFilter.js +0 -45
- package/dist/src/features/swatches/ui/Filters/LooksFilter.js +0 -45
- package/dist/src/features/swatches/ui/Filters/MaterialsFilter.js +0 -47
- package/dist/src/features/swatches/ui/Filters/index.js +0 -12
- package/dist/src/features/swatches/ui/HexGridZoom/HexGridZoom.js +0 -50
- package/dist/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.js +0 -45
- package/dist/src/features/swatches/ui/MaterialList/index.js +0 -39
- package/dist/src/features/swatches/ui/MaterialListItem/MaterialListItem.js +0 -51
- package/dist/src/features/swatches/ui/ProductElement/index.js +0 -65
- package/dist/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.js +0 -62
- package/dist/src/features/swatches/ui/Swatches.js +0 -51
- package/dist/src/features/swatches/ui/SwatchesList/SwatchesList.js +0 -67
- package/dist/src/features/swatches/utils/constants.js +0 -8
- package/dist/src/shared/constants/selectedMaterials.js +0 -4
- package/dist/src/shared/types/activeTab.js +0 -7
- package/dist/src/shared/ui/Checkbox/Checkbox.js +0 -31
- package/dist/src/shared/ui/CustomButton/CustomButton.js +0 -16
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.js +0 -59
- package/dist/src/shared/ui/CustomSidebar/CustomSidebar.module.scss.js +0 -13
- package/dist/src/shared/ui/Dialog/Dialog.js +0 -81
- package/dist/src/shared/ui/Label/Label.js +0 -27
- package/dist/src/shared/ui/Markdown/MDWithAccordion.js +0 -36
- package/dist/src/shared/ui/Markdown/MDWithAccordion.module.scss.js +0 -9
- package/dist/src/shared/ui/MaterialItem/MaterialItem.js +0 -36
- package/dist/src/shared/ui/MultiSelect/MultiSelect.js +0 -150
- package/dist/src/shared/ui/PopoverTooltip/InfoIcon.js +0 -35
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.js +0 -37
- package/dist/src/shared/ui/PopoverTooltip/PopoverTooltip.module.scss.js +0 -4
- package/dist/src/shared/ui/Slider/Slider.js +0 -117
- package/dist/src/shared/utils/cn.js +0 -8
- package/dist/src/shared/utils/uniqueList.js +0 -4
- /package/dist/{components → lib/components}/SwatchesModule.d.ts +0 -0
- /package/dist/{store → lib/store}/LibraryProvider.d.ts +0 -0
- /package/dist/{store → lib/store}/rootReducer.d.ts +0 -0
- /package/dist/{store → lib/store}/store.d.ts +0 -0
- /package/dist/{store → lib/store}/withStore.d.ts +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
const i = (
|
|
2
|
-
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
3
|
-
/**
|
|
4
|
-
* @type {(
|
|
5
|
-
* (<Condition extends string>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &
|
|
6
|
-
* (<Condition extends Props>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &
|
|
7
|
-
* (<Condition extends TestFunction>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &
|
|
8
|
-
* ((test?: null | undefined) => (node?: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &
|
|
9
|
-
* ((test?: Test) => Check)
|
|
10
|
-
* )}
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @param {Test} [test]
|
|
14
|
-
* @returns {Check}
|
|
15
|
-
*/
|
|
16
|
-
(function(n) {
|
|
17
|
-
if (n == null)
|
|
18
|
-
return p;
|
|
19
|
-
if (typeof n == "function")
|
|
20
|
-
return c(n);
|
|
21
|
-
if (typeof n == "object")
|
|
22
|
-
return Array.isArray(n) ? f(n) : y(n);
|
|
23
|
-
if (typeof n == "string")
|
|
24
|
-
return l(n);
|
|
25
|
-
throw new Error("Expected function, string, or object as test");
|
|
26
|
-
})
|
|
27
|
-
);
|
|
28
|
-
function f(n) {
|
|
29
|
-
const e = [];
|
|
30
|
-
let r = -1;
|
|
31
|
-
for (; ++r < n.length; )
|
|
32
|
-
e[r] = i(n[r]);
|
|
33
|
-
return c(t);
|
|
34
|
-
function t(...u) {
|
|
35
|
-
let o = -1;
|
|
36
|
-
for (; ++o < e.length; )
|
|
37
|
-
if (e[o].apply(this, u)) return !0;
|
|
38
|
-
return !1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
function y(n) {
|
|
42
|
-
const e = (
|
|
43
|
-
/** @type {Record<string, unknown>} */
|
|
44
|
-
n
|
|
45
|
-
);
|
|
46
|
-
return c(r);
|
|
47
|
-
function r(t) {
|
|
48
|
-
const u = (
|
|
49
|
-
/** @type {Record<string, unknown>} */
|
|
50
|
-
/** @type {unknown} */
|
|
51
|
-
t
|
|
52
|
-
);
|
|
53
|
-
let o;
|
|
54
|
-
for (o in n)
|
|
55
|
-
if (u[o] !== e[o]) return !1;
|
|
56
|
-
return !0;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function l(n) {
|
|
60
|
-
return c(e);
|
|
61
|
-
function e(r) {
|
|
62
|
-
return r && r.type === n;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
function c(n) {
|
|
66
|
-
return e;
|
|
67
|
-
function e(r, t, u) {
|
|
68
|
-
return !!(a(r) && n.call(
|
|
69
|
-
this,
|
|
70
|
-
r,
|
|
71
|
-
typeof t == "number" ? t : void 0,
|
|
72
|
-
u || void 0
|
|
73
|
-
));
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
function p() {
|
|
77
|
-
return !0;
|
|
78
|
-
}
|
|
79
|
-
function a(n) {
|
|
80
|
-
return n !== null && typeof n == "object" && "type" in n;
|
|
81
|
-
}
|
|
82
|
-
export {
|
|
83
|
-
i as convert
|
|
84
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const f = e("end"), s = e("start");
|
|
2
|
-
function e(o) {
|
|
3
|
-
return i;
|
|
4
|
-
function i(t) {
|
|
5
|
-
const n = t && t.position && t.position[o] || {};
|
|
6
|
-
if (typeof n.line == "number" && n.line > 0 && typeof n.column == "number" && n.column > 0)
|
|
7
|
-
return {
|
|
8
|
-
line: n.line,
|
|
9
|
-
column: n.column,
|
|
10
|
-
offset: typeof n.offset == "number" && n.offset > -1 ? n.offset : void 0
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
function u(o) {
|
|
15
|
-
const i = s(o), t = f(o);
|
|
16
|
-
if (i && t)
|
|
17
|
-
return { start: i, end: t };
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
f as pointEnd,
|
|
21
|
-
s as pointStart,
|
|
22
|
-
u as position
|
|
23
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function o(n) {
|
|
2
|
-
return !n || typeof n != "object" ? "" : "position" in n || "type" in n ? t(n.position) : "start" in n || "end" in n ? t(n) : "line" in n || "column" in n ? i(n) : "";
|
|
3
|
-
}
|
|
4
|
-
function i(n) {
|
|
5
|
-
return r(n && n.line) + ":" + r(n && n.column);
|
|
6
|
-
}
|
|
7
|
-
function t(n) {
|
|
8
|
-
return i(n && n.start) + "-" + i(n && n.end);
|
|
9
|
-
}
|
|
10
|
-
function r(n) {
|
|
11
|
-
return n && typeof n == "number" ? n : 1;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
o as stringifyPosition
|
|
15
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { visitParents as m } from "../../unist-util-visit-parents/lib/index.js";
|
|
2
|
-
import { CONTINUE as y, EXIT as E, SKIP as N } from "../../unist-util-visit-parents/lib/index.js";
|
|
3
|
-
function I(l, n, e, u) {
|
|
4
|
-
let t, f, o;
|
|
5
|
-
typeof n == "function" && typeof e != "function" ? (f = void 0, o = n, t = e) : (f = n, o = e, t = u), m(l, f, p, t);
|
|
6
|
-
function p(c, d) {
|
|
7
|
-
const i = d[d.length - 1], x = i ? i.children.indexOf(c) : void 0;
|
|
8
|
-
return o(c, x, i);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
y as CONTINUE,
|
|
13
|
-
E as EXIT,
|
|
14
|
-
N as SKIP,
|
|
15
|
-
I as visit
|
|
16
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { color as A } from "./color.js";
|
|
2
|
-
import { convert as I } from "../../unist-util-is/lib/index.js";
|
|
3
|
-
const g = [], j = !0, a = !1, k = "skip";
|
|
4
|
-
function w(t, o, u, s) {
|
|
5
|
-
let p;
|
|
6
|
-
typeof o == "function" && typeof u != "function" ? (s = u, u = o) : p = o;
|
|
7
|
-
const b = I(p), y = s ? -1 : 1;
|
|
8
|
-
m(t, void 0, [])();
|
|
9
|
-
function m(n, N, l) {
|
|
10
|
-
const i = (
|
|
11
|
-
/** @type {Record<string, unknown>} */
|
|
12
|
-
n && typeof n == "object" ? n : {}
|
|
13
|
-
);
|
|
14
|
-
if (typeof i.type == "string") {
|
|
15
|
-
const e = (
|
|
16
|
-
// `hast`
|
|
17
|
-
typeof i.tagName == "string" ? i.tagName : (
|
|
18
|
-
// `xast`
|
|
19
|
-
typeof i.name == "string" ? i.name : void 0
|
|
20
|
-
)
|
|
21
|
-
);
|
|
22
|
-
Object.defineProperty(h, "name", {
|
|
23
|
-
value: "node (" + A(n.type + (e ? "<" + e + ">" : "")) + ")"
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return h;
|
|
27
|
-
function h() {
|
|
28
|
-
let e = g, f, r, d;
|
|
29
|
-
if ((!o || b(n, N, l[l.length - 1] || void 0)) && (e = E(u(n, l)), e[0] === a))
|
|
30
|
-
return e;
|
|
31
|
-
if ("children" in n && n.children) {
|
|
32
|
-
const c = (
|
|
33
|
-
/** @type {UnistParent} */
|
|
34
|
-
n
|
|
35
|
-
);
|
|
36
|
-
if (c.children && e[0] !== k)
|
|
37
|
-
for (r = (s ? c.children.length : -1) + y, d = l.concat(c); r > -1 && r < c.children.length; ) {
|
|
38
|
-
const P = c.children[r];
|
|
39
|
-
if (f = m(P, r, d)(), f[0] === a)
|
|
40
|
-
return f;
|
|
41
|
-
r = typeof f[1] == "number" ? f[1] : r + y;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return e;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function E(t) {
|
|
49
|
-
return Array.isArray(t) ? t : typeof t == "number" ? [j, t] : t == null ? g : [t];
|
|
50
|
-
}
|
|
51
|
-
export {
|
|
52
|
-
j as CONTINUE,
|
|
53
|
-
a as EXIT,
|
|
54
|
-
k as SKIP,
|
|
55
|
-
w as visitParents
|
|
56
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as f from "react";
|
|
2
|
-
import { assignRef as o } from "./assignRef.js";
|
|
3
|
-
import { useCallbackRef as l } from "./useRef.js";
|
|
4
|
-
var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
function v(e, m) {
|
|
6
|
-
var t = l(null, function(n) {
|
|
7
|
-
return e.forEach(function(u) {
|
|
8
|
-
return o(u, n);
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
return s(function() {
|
|
12
|
-
var n = c.get(t);
|
|
13
|
-
if (n) {
|
|
14
|
-
var u = new Set(n), r = new Set(e), i = t.current;
|
|
15
|
-
u.forEach(function(a) {
|
|
16
|
-
r.has(a) || o(a, null);
|
|
17
|
-
}), r.forEach(function(a) {
|
|
18
|
-
u.has(a) || o(a, i);
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
c.set(t, e);
|
|
22
|
-
}, [e]), t;
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
v as useMergeRefs
|
|
26
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { useState as u } from "react";
|
|
2
|
-
function n(c, r) {
|
|
3
|
-
var e = u(function() {
|
|
4
|
-
return {
|
|
5
|
-
// value
|
|
6
|
-
value: c,
|
|
7
|
-
// last callback
|
|
8
|
-
callback: r,
|
|
9
|
-
// "memoized" public interface
|
|
10
|
-
facade: {
|
|
11
|
-
get current() {
|
|
12
|
-
return e.value;
|
|
13
|
-
},
|
|
14
|
-
set current(a) {
|
|
15
|
-
var t = e.value;
|
|
16
|
-
t !== a && (e.value = a, e.callback(a, t));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
})[0];
|
|
21
|
-
return e.callback = r, e.facade;
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
n as useCallbackRef
|
|
25
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __rest as o, __assign as d } from "../../../tslib/tslib.es6.js";
|
|
2
|
-
import * as n from "react";
|
|
3
|
-
var i = function(r) {
|
|
4
|
-
var e = r.sideCar, a = o(r, ["sideCar"]);
|
|
5
|
-
if (!e)
|
|
6
|
-
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
7
|
-
var t = e.read();
|
|
8
|
-
if (!t)
|
|
9
|
-
throw new Error("Sidecar medium not found");
|
|
10
|
-
return n.createElement(t, d({}, a));
|
|
11
|
-
};
|
|
12
|
-
i.isSideCarExport = !0;
|
|
13
|
-
function p(r, e) {
|
|
14
|
-
return r.useMedium(e), i;
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
p as exportSidecar
|
|
18
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { __assign as d } from "../../../tslib/tslib.es6.js";
|
|
2
|
-
function l(r) {
|
|
3
|
-
return r;
|
|
4
|
-
}
|
|
5
|
-
function h(r, t) {
|
|
6
|
-
t === void 0 && (t = l);
|
|
7
|
-
var e = [], o = !1, c = {
|
|
8
|
-
read: function() {
|
|
9
|
-
if (o)
|
|
10
|
-
throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
11
|
-
return e.length ? e[e.length - 1] : r;
|
|
12
|
-
},
|
|
13
|
-
useMedium: function(u) {
|
|
14
|
-
var n = t(u, o);
|
|
15
|
-
return e.push(n), function() {
|
|
16
|
-
e = e.filter(function(i) {
|
|
17
|
-
return i !== n;
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
},
|
|
21
|
-
assignSyncMedium: function(u) {
|
|
22
|
-
for (o = !0; e.length; ) {
|
|
23
|
-
var n = e;
|
|
24
|
-
e = [], n.forEach(u);
|
|
25
|
-
}
|
|
26
|
-
e = {
|
|
27
|
-
push: function(i) {
|
|
28
|
-
return u(i);
|
|
29
|
-
},
|
|
30
|
-
filter: function() {
|
|
31
|
-
return e;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
assignMedium: function(u) {
|
|
36
|
-
o = !0;
|
|
37
|
-
var n = [];
|
|
38
|
-
if (e.length) {
|
|
39
|
-
var i = e;
|
|
40
|
-
e = [], i.forEach(u), n = e;
|
|
41
|
-
}
|
|
42
|
-
var s = function() {
|
|
43
|
-
var f = n;
|
|
44
|
-
n = [], f.forEach(u);
|
|
45
|
-
}, a = function() {
|
|
46
|
-
return Promise.resolve().then(s);
|
|
47
|
-
};
|
|
48
|
-
a(), e = {
|
|
49
|
-
push: function(f) {
|
|
50
|
-
n.push(f), a();
|
|
51
|
-
},
|
|
52
|
-
filter: function(f) {
|
|
53
|
-
return n = n.filter(f), e;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
return c;
|
|
59
|
-
}
|
|
60
|
-
function v(r) {
|
|
61
|
-
r === void 0 && (r = {});
|
|
62
|
-
var t = h(null);
|
|
63
|
-
return t.options = d({ async: !0, ssr: !1 }, r), t;
|
|
64
|
-
}
|
|
65
|
-
export {
|
|
66
|
-
v as createSidecarMedium
|
|
67
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { __exports as d } from "../../../_virtual/use-sync-external-store-with-selector.development.js";
|
|
2
|
-
import p from "react";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* use-sync-external-store-with-selector.development.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var s;
|
|
13
|
-
function b() {
|
|
14
|
-
return s ? d : (s = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
15
|
-
function S(r, u) {
|
|
16
|
-
return r === u && (r !== 0 || 1 / r === 1 / u) || r !== r && u !== u;
|
|
17
|
-
}
|
|
18
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
19
|
-
var o = p, A = typeof Object.is == "function" ? Object.is : S, R = o.useSyncExternalStore, T = o.useRef, V = o.useEffect, y = o.useMemo, D = o.useDebugValue;
|
|
20
|
-
d.useSyncExternalStoreWithSelector = function(r, u, a, c, f) {
|
|
21
|
-
var t = T(null);
|
|
22
|
-
if (t.current === null) {
|
|
23
|
-
var _ = { hasValue: !1, value: null };
|
|
24
|
-
t.current = _;
|
|
25
|
-
} else _ = t.current;
|
|
26
|
-
t = y(
|
|
27
|
-
function() {
|
|
28
|
-
function E(e) {
|
|
29
|
-
if (!v) {
|
|
30
|
-
if (v = !0, i = e, e = c(e), f !== void 0 && _.hasValue) {
|
|
31
|
-
var n = _.value;
|
|
32
|
-
if (f(n, e))
|
|
33
|
-
return O = n;
|
|
34
|
-
}
|
|
35
|
-
return O = e;
|
|
36
|
-
}
|
|
37
|
-
if (n = O, A(i, e))
|
|
38
|
-
return n;
|
|
39
|
-
var m = c(e);
|
|
40
|
-
return f !== void 0 && f(n, m) ? (i = e, n) : (i = e, O = m);
|
|
41
|
-
}
|
|
42
|
-
var v = !1, i, O, L = a === void 0 ? null : a;
|
|
43
|
-
return [
|
|
44
|
-
function() {
|
|
45
|
-
return E(u());
|
|
46
|
-
},
|
|
47
|
-
L === null ? void 0 : function() {
|
|
48
|
-
return E(L());
|
|
49
|
-
}
|
|
50
|
-
];
|
|
51
|
-
},
|
|
52
|
-
[u, a, c, f]
|
|
53
|
-
);
|
|
54
|
-
var l = R(r, t[0], t[1]);
|
|
55
|
-
return V(
|
|
56
|
-
function() {
|
|
57
|
-
_.hasValue = !0, _.value = l;
|
|
58
|
-
},
|
|
59
|
-
[l]
|
|
60
|
-
), D(l), l;
|
|
61
|
-
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
62
|
-
})(), d);
|
|
63
|
-
}
|
|
64
|
-
export {
|
|
65
|
-
b as __require
|
|
66
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { __exports as d } from "../../../_virtual/use-sync-external-store-with-selector.production.js";
|
|
2
|
-
import D from "react";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* use-sync-external-store-with-selector.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var y;
|
|
13
|
-
function G() {
|
|
14
|
-
if (y) return d;
|
|
15
|
-
y = 1;
|
|
16
|
-
var i = D;
|
|
17
|
-
function V(r, u) {
|
|
18
|
-
return r === u && (r !== 0 || 1 / r === 1 / u) || r !== r && u !== u;
|
|
19
|
-
}
|
|
20
|
-
var E = typeof Object.is == "function" ? Object.is : V, S = i.useSyncExternalStore, W = i.useRef, j = i.useEffect, z = i.useMemo, M = i.useDebugValue;
|
|
21
|
-
return d.useSyncExternalStoreWithSelector = function(r, u, v, m, l) {
|
|
22
|
-
var t = W(null);
|
|
23
|
-
if (t.current === null) {
|
|
24
|
-
var o = { hasValue: !1, value: null };
|
|
25
|
-
t.current = o;
|
|
26
|
-
} else o = t.current;
|
|
27
|
-
t = z(
|
|
28
|
-
function() {
|
|
29
|
-
function s(e) {
|
|
30
|
-
if (!_) {
|
|
31
|
-
if (_ = !0, a = e, e = m(e), l !== void 0 && o.hasValue) {
|
|
32
|
-
var f = o.value;
|
|
33
|
-
if (l(f, e))
|
|
34
|
-
return c = f;
|
|
35
|
-
}
|
|
36
|
-
return c = e;
|
|
37
|
-
}
|
|
38
|
-
if (f = c, E(a, e)) return f;
|
|
39
|
-
var R = m(e);
|
|
40
|
-
return l !== void 0 && l(f, R) ? (a = e, f) : (a = e, c = R);
|
|
41
|
-
}
|
|
42
|
-
var _ = !1, a, c, b = v === void 0 ? null : v;
|
|
43
|
-
return [
|
|
44
|
-
function() {
|
|
45
|
-
return s(u());
|
|
46
|
-
},
|
|
47
|
-
b === null ? void 0 : function() {
|
|
48
|
-
return s(b());
|
|
49
|
-
}
|
|
50
|
-
];
|
|
51
|
-
},
|
|
52
|
-
[u, v, m, l]
|
|
53
|
-
);
|
|
54
|
-
var n = S(r, t[0], t[1]);
|
|
55
|
-
return j(
|
|
56
|
-
function() {
|
|
57
|
-
o.hasValue = !0, o.value = n;
|
|
58
|
-
},
|
|
59
|
-
[n]
|
|
60
|
-
), M(n), n;
|
|
61
|
-
}, d;
|
|
62
|
-
}
|
|
63
|
-
export {
|
|
64
|
-
G as __require
|
|
65
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { __module as e } from "../../_virtual/with-selector2.js";
|
|
2
|
-
import { __require as t } from "./cjs/use-sync-external-store-with-selector.production.js";
|
|
3
|
-
import { __require as o } from "./cjs/use-sync-external-store-with-selector.development.js";
|
|
4
|
-
var r;
|
|
5
|
-
function n() {
|
|
6
|
-
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = t() : e.exports = o(), e.exports);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
n as __require
|
|
10
|
-
};
|