vviinn-widgets 2.156.2 → 2.156.4

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 (65) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{package-60ac24b4.js → package-703f8658.js} +1 -1
  3. package/dist/cjs/{search.store-791ee66d.js → search.store-77f78656.js} +49 -100
  4. package/dist/cjs/{v4-1186e321.js → v4-8aa5d657.js} +2 -13
  5. package/dist/cjs/vviinn-camera_12.cjs.entry.js +16 -20
  6. package/dist/cjs/vviinn-carousel_9.cjs.entry.js +3 -3
  7. package/dist/cjs/vviinn-detected-object_7.cjs.entry.js +2 -2
  8. package/dist/cjs/vviinn-selected-filters.cjs.entry.js +1 -1
  9. package/dist/cjs/vviinn-text-search.cjs.entry.js +2 -2
  10. package/dist/cjs/vviinn-widgets.cjs.js +1 -1
  11. package/dist/collection/components/vviinn-cropper/vviinn-cropper.js +7 -11
  12. package/dist/collection/components/vviinn-results/vviinn-results.js +5 -4
  13. package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +1 -1
  14. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +1 -1
  15. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +1 -1
  16. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +1 -1
  17. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +3 -6
  18. package/dist/collection/recommendation/index.js +2 -13
  19. package/dist/collection/searchSession/searchSession.js +2 -18
  20. package/dist/collection/store/search.store.js +33 -27
  21. package/dist/collection/utils/collections/collectionUtils.test.js +21 -1
  22. package/dist/collection/utils/collections/collectionsUtils.js +10 -3
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/esm/{package-570cd5c7.js → package-6a360ad3.js} +1 -1
  25. package/dist/esm/{search.store-e299eb16.js → search.store-a66e5e22.js} +48 -99
  26. package/dist/esm/{v4-d98d87d4.js → v4-c76bc401.js} +2 -13
  27. package/dist/esm/vviinn-camera_12.entry.js +16 -20
  28. package/dist/esm/vviinn-carousel_9.entry.js +3 -3
  29. package/dist/esm/vviinn-detected-object_7.entry.js +2 -2
  30. package/dist/esm/vviinn-selected-filters.entry.js +1 -1
  31. package/dist/esm/vviinn-text-search.entry.js +2 -2
  32. package/dist/esm/vviinn-widgets.js +1 -1
  33. package/dist/types/components/vviinn-cropper/vviinn-cropper.d.ts +0 -2
  34. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +1 -1
  35. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-widget.d.ts +1 -1
  36. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +1 -1
  37. package/dist/types/components.d.ts +8 -8
  38. package/dist/types/searchSession/searchSession.d.ts +1 -1
  39. package/dist/types/store/search.store.d.ts +11 -8
  40. package/dist/types/utils/collections/collectionsUtils.d.ts +3 -1
  41. package/dist/vviinn-widgets/{p-dd127bda.entry.js → p-10a8ffc1.entry.js} +1 -1
  42. package/dist/vviinn-widgets/{p-a811abae.js → p-257cf34e.js} +1 -1
  43. package/dist/vviinn-widgets/{p-a8f7667c.entry.js → p-3545ea9e.entry.js} +1 -1
  44. package/dist/vviinn-widgets/p-4548f8f6.js +1 -0
  45. package/dist/vviinn-widgets/{p-a6c42777.entry.js → p-4ae7ceef.entry.js} +1 -1
  46. package/dist/vviinn-widgets/p-ad2c02e8.entry.js +11 -0
  47. package/dist/vviinn-widgets/p-c36662e3.js +1 -0
  48. package/dist/vviinn-widgets/{p-31722a2b.entry.js → p-c89ce9de.entry.js} +1 -1
  49. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  50. package/package.json +1 -1
  51. package/www/build/{p-dd127bda.entry.js → p-10a8ffc1.entry.js} +1 -1
  52. package/www/build/{p-a811abae.js → p-257cf34e.js} +1 -1
  53. package/www/build/{p-a8f7667c.entry.js → p-3545ea9e.entry.js} +1 -1
  54. package/www/build/p-4548f8f6.js +1 -0
  55. package/www/build/{p-a6c42777.entry.js → p-4ae7ceef.entry.js} +1 -1
  56. package/www/build/p-ad2c02e8.entry.js +11 -0
  57. package/www/build/p-c36662e3.js +1 -0
  58. package/www/build/{p-31722a2b.entry.js → p-c89ce9de.entry.js} +1 -1
  59. package/www/build/vviinn-widgets.esm.js +1 -1
  60. package/dist/vviinn-widgets/p-1bf8ddc9.entry.js +0 -11
  61. package/dist/vviinn-widgets/p-6eb0cbe1.js +0 -1
  62. package/dist/vviinn-widgets/p-9b711be1.js +0 -1
  63. package/www/build/p-1bf8ddc9.entry.js +0 -11
  64. package/www/build/p-6eb0cbe1.js +0 -1
  65. package/www/build/p-9b711be1.js +0 -1
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy(JSON.parse("[[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"priceCustomFilter\":[32]}]]],[\"vviinn-error.cjs\",[[1,\"vviinn-error\"]]],[\"vviinn-carousel_9.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"apiPath\":[1,\"api-path\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"recommendationsLoading\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToWishlist\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]]],[0,\"vviinn-carousel\",{\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"sourceProduct\":[16],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16],\"setModeDiscountsArray\":[16],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"]]],[1,\"vviinn-extended-filters\",{\"filters\":[1040],\"mode\":[1],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"innerFilters\":[32],\"selectedFilter\":[32],\"requestFilters\":[32]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"showFooterArrow\":[4,\"show-footer-arrow\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]]],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16],\"selectedInterval\":[16],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"]}]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"useCarousel\":[4,\"use-carousel\"],\"apiPath\":[1,\"api-path\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"showInModal\":[4,\"show-in-modal\"],\"sidebarState\":[32],\"sourceProduct\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"]]],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"vviinn-detected-object_7.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16],\"appendSidebarTo\":[1,\"append-sidebar-to\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"targetAppendSidebarTo\":[32]}],[1,\"vviinn-empty-results\",{\"handler\":[16]}],[1,\"vviinn-wrong-aspect-ratio\",{\"handler\":[16]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16],\"selectedDetectedObject\":[16],\"basicEventData\":[16],\"imageBounds\":[16],\"showInWidget\":[4,\"show-in-widget\"],\"position\":[32]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]}],[1,\"vviinn-overlay\"],[1,\"vviinn-preloader\"]]],[\"vviinn-camera_12.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"useComponentsStore\":[4,\"use-components-store\"],\"slidePosition\":[32],\"uploadSource\":[32],\"stream\":[32],\"products\":[32],\"searchQuery\":[32],\"requestId\":[32],\"isCameraInitializing\":[32],\"isCameraEnabled\":[32],\"isCameraButtonClicked\":[32],\"showAspectRatioError\":[32],\"wrongImageFormat\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"cropAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackImageSearchFilterSelected\"]]],[1,\"vviinn-results\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"pricePrefix\":[1,\"price-prefix\"],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1025,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"resetState\":[16],\"replaceSlotsContentInWidget\":[16],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"useInnerState\":[4,\"use-inner-state\"],\"textSearchRequestId\":[1,\"text-search-request-id\"],\"innerTextSearchQuery\":[32],\"innerTextSearchRequestId\":[32],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"isTextSearch\":[32],\"innerResults\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToFavorite\"]]],[1,\"vviinn-cropper\",{\"saveImageMode\":[1,\"save-image-mode\"],\"detectedObjectsString\":[1025,\"detected-objects-string\"],\"url\":[1025],\"width\":[1026],\"apiPath\":[1,\"api-path\"],\"height\":[1026],\"basicEventData\":[1040],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"detectedObjects\":[32],\"cropper\":[32],\"selectedDetectedObject\":[32],\"imageBounds\":[32],\"searchArea\":[32],\"imageElement\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"storeName\":[1,\"store-name\"]}],[1,\"vviinn-server-error\",{\"handler\":[16]}],[1,\"vviinn-wrong-format\",{\"handler\":[16]}],[1,\"vviinn-camera\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16],\"srcObject\":[16],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"useComponentsStore\":[4,\"use-components-store\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]}],[1,\"vviinn-teaser\"]]],[\"vviinn-text-search.cjs\",[[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"saveImageMode\":[1,\"save-image-mode\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"campaignId\":[1,\"campaign-id\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"useComponentsStore\":[4,\"use-components-store\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]]]"), options);
17
+ return index.bootstrapLazy(JSON.parse("[[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"priceCustomFilter\":[32]}]]],[\"vviinn-error.cjs\",[[1,\"vviinn-error\"]]],[\"vviinn-carousel_9.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"apiPath\":[1,\"api-path\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"recommendationsLoading\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToWishlist\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]]],[0,\"vviinn-carousel\",{\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"sourceProduct\":[16],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16],\"setModeDiscountsArray\":[16],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"]]],[1,\"vviinn-extended-filters\",{\"filters\":[1040],\"mode\":[1],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"innerFilters\":[32],\"selectedFilter\":[32],\"requestFilters\":[32]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"showFooterArrow\":[4,\"show-footer-arrow\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]]],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16],\"selectedInterval\":[16],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"]}]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"useCarousel\":[4,\"use-carousel\"],\"apiPath\":[1,\"api-path\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"showInModal\":[4,\"show-in-modal\"],\"sidebarState\":[32],\"sourceProduct\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"]]],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"vviinn-detected-object_7.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16],\"appendSidebarTo\":[1,\"append-sidebar-to\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"targetAppendSidebarTo\":[32]}],[1,\"vviinn-empty-results\",{\"handler\":[16]}],[1,\"vviinn-wrong-aspect-ratio\",{\"handler\":[16]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16],\"selectedDetectedObject\":[16],\"basicEventData\":[16],\"imageBounds\":[16],\"showInWidget\":[4,\"show-in-widget\"],\"position\":[32]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]}],[1,\"vviinn-overlay\"],[1,\"vviinn-preloader\"]]],[\"vviinn-camera_12.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"useComponentsStore\":[4,\"use-components-store\"],\"slidePosition\":[32],\"uploadSource\":[32],\"stream\":[32],\"products\":[32],\"searchQuery\":[32],\"requestId\":[32],\"isCameraInitializing\":[32],\"isCameraEnabled\":[32],\"isCameraButtonClicked\":[32],\"showAspectRatioError\":[32],\"wrongImageFormat\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"cropAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackImageSearchFilterSelected\"]]],[1,\"vviinn-results\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"pricePrefix\":[1,\"price-prefix\"],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1025,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"resetState\":[16],\"replaceSlotsContentInWidget\":[16],\"replaceSlotsContentInButton\":[16],\"parentSlots\":[16],\"useInnerState\":[4,\"use-inner-state\"],\"textSearchRequestId\":[1,\"text-search-request-id\"],\"innerTextSearchQuery\":[32],\"innerTextSearchRequestId\":[32],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"isTextSearch\":[32],\"innerResults\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToFavorite\"]]],[1,\"vviinn-cropper\",{\"saveImageMode\":[1,\"save-image-mode\"],\"detectedObjectsString\":[1025,\"detected-objects-string\"],\"url\":[1025],\"width\":[1026],\"apiPath\":[1,\"api-path\"],\"height\":[1026],\"basicEventData\":[1040],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"detectedObjects\":[32],\"cropper\":[32],\"selectedDetectedObject\":[32],\"imageElement\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"storeName\":[1,\"store-name\"]}],[1,\"vviinn-server-error\",{\"handler\":[16]}],[1,\"vviinn-wrong-format\",{\"handler\":[16]}],[1,\"vviinn-camera\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16],\"srcObject\":[16],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"useComponentsStore\":[4,\"use-components-store\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]}],[1,\"vviinn-teaser\"]]],[\"vviinn-text-search.cjs\",[[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"saveImageMode\":[1,\"save-image-mode\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"campaignId\":[1,\"campaign-id\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"useComponentsStore\":[4,\"use-components-store\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]]]"), options);
18
18
  });
19
19
  };
20
20
 
@@ -14,7 +14,7 @@ function fromString(s) {
14
14
  return s === "VPR" ? { _tag: "VPR" } : { _tag: "VCS" };
15
15
  }
16
16
 
17
- const version = "2.156.2";
17
+ const version = "2.156.4";
18
18
 
19
19
  exports.campaignTypeNames = campaignTypeNames;
20
20
  exports.fold = fold;
@@ -10076,7 +10076,7 @@ var isLeft = isLeft$1;
10076
10076
  * @category pattern matching
10077
10077
  * @since 2.10.0
10078
10078
  */
10079
- var matchW$1 = function (onLeft, onRight) {
10079
+ var matchW = function (onLeft, onRight) {
10080
10080
  return function (ma) {
10081
10081
  return isLeft(ma) ? onLeft(ma.left) : onRight(ma.right);
10082
10082
  };
@@ -10115,7 +10115,7 @@ var matchW$1 = function (onLeft, onRight) {
10115
10115
  * @category pattern matching
10116
10116
  * @since 2.10.0
10117
10117
  */
10118
- var match$1 = matchW$1;
10118
+ var match = matchW;
10119
10119
  /**
10120
10120
  * Less strict version of [`getOrElse`](#getorelse).
10121
10121
  *
@@ -10186,15 +10186,21 @@ var chain$1 = flatMap$3;
10186
10186
  const isEmpty = (x) => x.length === 0;
10187
10187
  const checkEmpty = (x) => isEmpty(x) ? left("entity is empty") : right(x);
10188
10188
  const existAndNotEmpty = (x) => pipe(x, fromNullable$1("entity not exist"), chain$1(checkEmpty));
10189
- const arrayToQueryString = (params) => params.length ? `?${params.join("&")}` : "";
10190
- const parseExcludedToParams = (value) => value
10189
+ const parseStringToExcluded = (value) => value
10191
10190
  .split(";")
10192
- .map((value) => (value ? `excluded[]=${value}` : ""))
10193
- .join("&");
10191
+ .map((value) => {
10192
+ const [column, values] = value.split(":");
10193
+ return {
10194
+ column,
10195
+ values: values ? values.split(",") : [],
10196
+ };
10197
+ })
10198
+ .filter(({ column }) => !!column);
10194
10199
  const addIfDefined = (key, value) => value !== null && value !== undefined ? { [key]: value } : {};
10195
10200
  const addIfNotEmpty = (key, value) => value && (Array.isArray(value) ? value.length : Object.keys(value).length)
10196
10201
  ? { [key]: value }
10197
10202
  : {};
10203
+ const addNestedIfNotEmpty = (key, nested) => nested && Object.keys(nested).length > 0 ? { [key]: nested } : {};
10198
10204
 
10199
10205
  /**
10200
10206
  * If a type `A` can form a `Semigroup` it has an **associative** binary operation.
@@ -10544,54 +10550,6 @@ var getMonoid = function (S) { return ({
10544
10550
  * @since 2.0.0
10545
10551
  */
10546
10552
  var isNone = function (fa) { return fa._tag === 'None'; };
10547
- /**
10548
- * Less strict version of [`match`](#match).
10549
- *
10550
- * The `W` suffix (short for **W**idening) means that the handler return types will be merged.
10551
- *
10552
- * @category pattern matching
10553
- * @since 2.10.0
10554
- */
10555
- var matchW = function (onNone, onSome) {
10556
- return function (ma) {
10557
- return isNone(ma) ? onNone() : onSome(ma.value);
10558
- };
10559
- };
10560
- /**
10561
- * Takes a (lazy) default value, a function, and an `Option` value, if the `Option` value is `None` the default value is
10562
- * returned, otherwise the function is applied to the value inside the `Some` and the result is returned.
10563
- *
10564
- * @example
10565
- * import { some, none, match } from 'fp-ts/Option'
10566
- * import { pipe } from 'fp-ts/function'
10567
- *
10568
- * assert.strictEqual(
10569
- * pipe(
10570
- * some(1),
10571
- * match(() => 'a none', a => `a some containing ${a}`)
10572
- * ),
10573
- * 'a some containing 1'
10574
- * )
10575
- *
10576
- * assert.strictEqual(
10577
- * pipe(
10578
- * none,
10579
- * match(() => 'a none', a => `a some containing ${a}`)
10580
- * ),
10581
- * 'a none'
10582
- * )
10583
- *
10584
- * @category pattern matching
10585
- * @since 2.10.0
10586
- */
10587
- var match = matchW;
10588
- /**
10589
- * Alias of [`match`](#match).
10590
- *
10591
- * @category pattern matching
10592
- * @since 2.0.0
10593
- */
10594
- var fold = match;
10595
10553
  /**
10596
10554
  * Less strict version of [`getOrElse`](#getorelse).
10597
10555
  *
@@ -10697,7 +10655,7 @@ function mapError$1(F) {
10697
10655
  return function (self, f) { return F.map(self, mapLeft$1(f)); };
10698
10656
  }
10699
10657
  function getOrElse$1(M) {
10700
- return function (onLeft) { return function (ma) { return M.chain(ma, match$1(onLeft, M.of)); }; };
10658
+ return function (onLeft) { return function (ma) { return M.chain(ma, match(onLeft, M.of)); }; };
10701
10659
  }
10702
10660
 
10703
10661
  /**
@@ -20460,23 +20418,8 @@ const detectedObjectEq = {
20460
20418
  x.height === y.height &&
20461
20419
  x.width === y.width,
20462
20420
  };
20463
- const visualSearchSessionClient = (initialData, campaignId, excludedFilters, apiPath) => {
20464
- const searchUrl = "visual-search";
20465
- const requestUrl = _function.pipe(fromNullable(campaignId), fold(() => {
20466
- const params = [];
20467
- if (excludedFilters)
20468
- params.push(excludedFilters);
20469
- const queryString = arrayToQueryString(params);
20470
- return `${searchUrl}${queryString}`;
20471
- }, (campaignId) => {
20472
- const params = [];
20473
- if (campaignId)
20474
- params.push(`campaign-id=${campaignId}`);
20475
- if (excludedFilters)
20476
- params.push(excludedFilters);
20477
- const queryString = arrayToQueryString(params);
20478
- return `${searchUrl}${queryString}`;
20479
- }));
20421
+ const visualSearchSessionClient = (initialData, apiPath) => {
20422
+ const requestUrl = "visual-search";
20480
20423
  const apiPathOrError = apiPath
20481
20424
  ? _function.pipe(fromNullable(apiPath), fromOption(() => emptyApiPathError))
20482
20425
  : getApiPath();
@@ -21053,16 +20996,21 @@ const encodeToBase64UTF8 = (str) => {
21053
20996
  };
21054
20997
 
21055
20998
  const storeDefaults = {
20999
+ token: null,
21000
+ excluded: null,
21056
21001
  campaignId: "",
21057
- excluded: "",
21058
21002
  selfSearchId: null,
21003
+ searchType: null,
21004
+ resultLoaded: false,
21005
+ resultViewed: false,
21006
+ image: null,
21007
+ imageBounds: null,
21008
+ searchArea: null,
21009
+ requestFilters: [],
21059
21010
  results: [],
21060
21011
  sourceProduct: null,
21061
21012
  dynamicFilters: [],
21062
21013
  detectedObjects: [],
21063
- resultLoaded: false,
21064
- resultViewed: false,
21065
- image: null,
21066
21014
  serverError: false,
21067
21015
  loading: false,
21068
21016
  };
@@ -21089,7 +21037,7 @@ const updateImageState = (store) => (file) => pipe(fromTask(imageFromFileTask(fi
21089
21037
  }), map(() => file));
21090
21038
  const processVisualSearch = (store, body, fetchDetectedObjects = true) => {
21091
21039
  const state = useStore(store);
21092
- return pipe(getTokenWithBody(globalState.token, body), setBodyAndHeaders, fromEither, chain((request) => visualSearchSessionClient(request, state.campaignId, state.excluded)), map((sessionResponse) => {
21040
+ return pipe(getTokenWithBody(globalState.token, body), setBodyAndHeaders, fromEither, chain((request) => visualSearchSessionClient(request)), map((sessionResponse) => {
21093
21041
  updateVisualSearchState(store, fetchDetectedObjects)(sessionResponse);
21094
21042
  return sessionResponse;
21095
21043
  }), mapLeft((error) => {
@@ -21098,14 +21046,17 @@ const processVisualSearch = (store, body, fetchDetectedObjects = true) => {
21098
21046
  return error;
21099
21047
  }));
21100
21048
  };
21101
- const uploadImageFile = (store, imageType = "image", fetchDetectedObjects = true, searchId) => (file) => pipe(fromEither(checkFileWithExtention(file)), chainTaskK(resizeFileTo(imageType)), chain((resizedFile) => updateImageState(store)(resizedFile)), chain((resizedFile) => pipe(tryCatch(async () => (Object.assign({ query: {
21102
- [imageType]: (await fileToB64(resizedFile)).split(",")[1],
21103
- }, objectDetection: {
21104
- include: imageType === "image",
21105
- } }, addIfDefined("requestId", searchId))), (error) => ({
21106
- kind: "network error",
21107
- inner: error,
21108
- })), chain((body) => processVisualSearch(store, body, fetchDetectedObjects)))));
21049
+ const uploadImageFile = (store, imageType = "image", fetchDetectedObjects = true, searchId) => (file) => {
21050
+ const state = useStore(store);
21051
+ return pipe(fromEither(checkFileWithExtention(file)), chainTaskK(resizeFileTo(imageType)), chain((resizedFile) => updateImageState(store)(resizedFile)), chain((resizedFile) => pipe(tryCatch(async () => (Object.assign(Object.assign(Object.assign({ query: {
21052
+ [imageType]: (await fileToB64(resizedFile)).split(",")[1],
21053
+ }, objectDetection: {
21054
+ include: imageType === "image",
21055
+ } }, addNestedIfNotEmpty("staticFilters", Object.assign({}, addIfNotEmpty("excluded", state.excluded)))), addIfDefined("requestId", searchId)), addIfNotEmpty("campaign", state.campaignId))), (error) => ({
21056
+ kind: "network error",
21057
+ inner: error,
21058
+ })), chain((body) => processVisualSearch(store, body, fetchDetectedObjects)))));
21059
+ };
21109
21060
  const makeUploadFileRequest = (store) => async (file) => {
21110
21061
  var _a;
21111
21062
  const state = useStore(store);
@@ -21128,29 +21079,27 @@ const makeUploadFileRequest = (store) => async (file) => {
21128
21079
  }))();
21129
21080
  return session;
21130
21081
  };
21131
- const makeVisualSearchRequest = async (store, searchId, dynamicFilters, searchArea, imageBounds) => {
21082
+ const makeVisualSearchRequest = async (store, searchId) => {
21132
21083
  const state = useStore(store);
21133
21084
  state.searchType = "image";
21134
21085
  state.loading = true;
21135
21086
  let searchRectangle;
21136
- if (imageBounds) {
21137
- const scaled = Rectangle.divideOnSized(imageBounds)(searchArea);
21138
- searchRectangle = {
21139
- width: scaled.width,
21140
- height: scaled.height,
21141
- left: scaled.left,
21142
- top: scaled.top,
21143
- };
21144
- }
21145
- const body = Object.assign(Object.assign({ requestId: searchId !== null && searchId !== void 0 ? searchId : state.selfSearchId }, addIfNotEmpty("dynamicFilters", dynamicFilters)), { query: Object.assign({}, addIfDefined("searchArea", searchRectangle)) });
21087
+ const scaled = Rectangle.divideOnSized(state.imageBounds)(state.searchArea);
21088
+ searchRectangle = {
21089
+ width: scaled.width,
21090
+ height: scaled.height,
21091
+ left: scaled.left,
21092
+ top: scaled.top,
21093
+ };
21094
+ const body = Object.assign(Object.assign(Object.assign(Object.assign({ requestId: searchId !== null && searchId !== void 0 ? searchId : state.selfSearchId }, addIfNotEmpty("campaign", state.campaignId)), addIfNotEmpty("dynamicFilters", state.requestFilters)), { query: Object.assign({}, addIfDefined("searchArea", searchRectangle)) }), addNestedIfNotEmpty("staticFilters", Object.assign({}, addIfNotEmpty("excluded", state.excluded))));
21146
21095
  return processVisualSearch(store, body, false)();
21147
21096
  };
21148
- const makeTextSearchRequest = async (store, query, dynamicFilters, requestId, resultsCount) => {
21097
+ const makeTextSearchRequest = async (store, query, requestId, resultsCount) => {
21149
21098
  const state = useStore(store);
21150
21099
  state.searchType = "text";
21151
21100
  state.loading = true;
21152
21101
  const body = Object.assign(Object.assign(Object.assign({ query,
21153
- requestId }, addIfDefined("resultsCount", resultsCount)), addIfNotEmpty("dynamicFilters", dynamicFilters)), addIfNotEmpty("campaign", state.campaignId));
21102
+ requestId }, addIfDefined("resultsCount", resultsCount)), addIfNotEmpty("dynamicFilters", state.requestFilters)), addNestedIfNotEmpty("staticFilters", Object.assign({}, addIfNotEmpty("excluded", state.excluded))));
21154
21103
  return pipe(getTokenWithBody(globalState.token, body), setBodyAndHeaders, fromEither, chain((request) => textSearchSessionClient(request)), map((sessionResponse) => {
21155
21104
  var _a, _b, _c, _d;
21156
21105
  state.results = (_b = (_a = sessionResponse === null || sessionResponse === void 0 ? void 0 : sessionResponse.data) === null || _a === void 0 ? void 0 : _a.products) !== null && _b !== void 0 ? _b : [];
@@ -21228,8 +21177,8 @@ exports.makeRequest = makeRequest;
21228
21177
  exports.makeTextSearchRequest = makeTextSearchRequest;
21229
21178
  exports.makeUploadFileRequest = makeUploadFileRequest;
21230
21179
  exports.makeVisualSearchRequest = makeVisualSearchRequest;
21231
- exports.match = match$1;
21232
- exports.parseExcludedToParams = parseExcludedToParams;
21180
+ exports.match = match;
21181
+ exports.parseStringToExcluded = parseStringToExcluded;
21233
21182
  exports.pipe = pipe;
21234
21183
  exports.resetStore = resetStore;
21235
21184
  exports.searchState = searchState;
@@ -1,22 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1a40d6c9.js');
4
- const search_store = require('./search.store-791ee66d.js');
4
+ const search_store = require('./search.store-77f78656.js');
5
5
 
6
6
  const PlusIcon = () => (index.h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "plus-icon" },
7
7
  index.h("path", { d: "M14.6667 17.3333H8.00001C7.62223 17.3333 7.30556 17.2056 7.05001 16.95C6.79445 16.6944 6.66667 16.3778 6.66667 16C6.66667 15.6222 6.79445 15.3056 7.05001 15.05C7.30556 14.7944 7.62223 14.6667 8.00001 14.6667H14.6667V8.00001C14.6667 7.62223 14.7944 7.30556 15.05 7.05001C15.3056 6.79445 15.6222 6.66667 16 6.66667C16.3778 6.66667 16.6944 6.79445 16.95 7.05001C17.2056 7.30556 17.3333 7.62223 17.3333 8.00001V14.6667H24C24.3778 14.6667 24.6944 14.7944 24.95 15.05C25.2056 15.3056 25.3333 15.6222 25.3333 16C25.3333 16.3778 25.2056 16.6944 24.95 16.95C24.6944 17.2056 24.3778 17.3333 24 17.3333H17.3333V24C17.3333 24.3778 17.2056 24.6944 16.95 24.95C16.6944 25.2056 16.3778 25.3333 16 25.3333C15.6222 25.3333 15.3056 25.2056 15.05 24.95C14.7944 24.6944 14.6667 24.3778 14.6667 24V17.3333Z", fill: "currentColor" })));
8
8
 
9
- const parseExcluded = (excluded) => {
10
- if (!excluded.length)
11
- return "";
12
- return excluded.split(";").map((item) => {
13
- const [column, values] = item.split(":");
14
- return {
15
- column,
16
- values: [values],
17
- };
18
- });
19
- };
20
9
  const parseCampaigns = (campaigns) => {
21
10
  if (!campaigns.length)
22
11
  return "";
@@ -28,7 +17,7 @@ const parseCampaigns = (campaigns) => {
28
17
  });
29
18
  };
30
19
  const getRecommendationsBody = ({ productId, campaigns, color, excluded, dynamicFilters = [], }) => {
31
- const staticFilters = Object.assign(Object.assign({}, search_store.addIfNotEmpty("color", color)), search_store.addIfNotEmpty("excluded", parseExcluded(excluded)));
20
+ const staticFilters = Object.assign(Object.assign({}, search_store.addIfNotEmpty("color", color)), search_store.addIfNotEmpty("excluded", search_store.parseStringToExcluded(excluded)));
32
21
  return Object.assign(Object.assign(Object.assign({ productId }, search_store.addIfNotEmpty("dynamicFilters", dynamicFilters)), search_store.addIfNotEmpty("campaigns", parseCampaigns(campaigns))), search_store.addIfNotEmpty("staticFilters", staticFilters));
33
22
  };
34
23
  const getCustomLabels = (recommendation) => {
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1a40d6c9.js');
6
- const search_store = require('./search.store-791ee66d.js');
6
+ const search_store = require('./search.store-77f78656.js');
7
7
  const customizedSlots = require('./customized-slots-174c1053.js');
8
- const v4 = require('./v4-1186e321.js');
8
+ const v4 = require('./v4-8aa5d657.js');
9
9
  const Rectangle = require('./Rectangle-c0460315.js');
10
- const _package = require('./package-60ac24b4.js');
10
+ const _package = require('./package-703f8658.js');
11
11
  const index$1 = require('./index-4c7242d9.js');
12
12
  const index$2 = require('./index-08c5c086.js');
13
13
  const resources = require('./resources-79dac054.js');
@@ -3551,8 +3551,8 @@ const VviinnCropper = class {
3551
3551
  height: height - height * INITIAL_CROP_AREA_OFFSET,
3552
3552
  };
3553
3553
  this.vviinnCropperLoadImage.emit({ imageBounds, searchArea });
3554
- this.imageBounds = imageBounds;
3555
- this.searchArea = searchArea;
3554
+ this.state.imageBounds = imageBounds;
3555
+ this.state.searchArea = searchArea;
3556
3556
  if (width / height < SUPPORTED_ASPECT_RATIO ||
3557
3557
  height / width < SUPPORTED_ASPECT_RATIO) {
3558
3558
  this.vviinnCropperAspectRatioError.emit(true);
@@ -3568,8 +3568,8 @@ const VviinnCropper = class {
3568
3568
  this.cropEnd = () => {
3569
3569
  const cropboxData = this.getCropboxData();
3570
3570
  this.vviinnCropperCropEnd.emit(cropboxData);
3571
- this.searchArea = cropboxData;
3572
- search_store.makeVisualSearchRequest(this.storeName, null, null, this.searchArea, this.imageBounds);
3571
+ this.state.searchArea = cropboxData;
3572
+ search_store.makeVisualSearchRequest(this.storeName, null);
3573
3573
  this.selectedDetectedObject = undefined;
3574
3574
  this.vviinnImageCrop.emit({
3575
3575
  isTriggeredByVpsWidget: this.showInWidget,
@@ -3590,8 +3590,6 @@ const VviinnCropper = class {
3590
3590
  this.detectedObjects = [];
3591
3591
  this.cropper = null;
3592
3592
  this.selectedDetectedObject = undefined;
3593
- this.imageBounds = undefined;
3594
- this.searchArea = undefined;
3595
3593
  this.imageElement = undefined;
3596
3594
  }
3597
3595
  connectedCallback() {
@@ -3623,7 +3621,7 @@ const VviinnCropper = class {
3623
3621
  }
3624
3622
  selectDetectedObject({ detail }) {
3625
3623
  this.selectedDetectedObject = detail.detectedObject;
3626
- this.searchArea = detail.searchArea;
3624
+ this.state.searchArea = detail.searchArea;
3627
3625
  const { top, left, width, height } = detail.detectedObject;
3628
3626
  const data = this.cropper.getImageData();
3629
3627
  const cropBoxData = {
@@ -3636,7 +3634,7 @@ const VviinnCropper = class {
3636
3634
  this.vviinnImageCrop.emit({
3637
3635
  isTriggeredByVpsWidget: this.showInWidget,
3638
3636
  });
3639
- search_store.makeVisualSearchRequest(this.storeName, null, null, this.searchArea, this.imageBounds);
3637
+ search_store.makeVisualSearchRequest(this.storeName, null);
3640
3638
  }
3641
3639
  getCropboxData() {
3642
3640
  const { left, top, width, height } = this.cropper.getCropBoxData();
@@ -3656,7 +3654,7 @@ const VviinnCropper = class {
3656
3654
  return (index.h(index.Host, { class: {
3657
3655
  "show-in-widget": this.showInWidget,
3658
3656
  active: !!this.imageElement,
3659
- } }, index.h("div", { class: "container" }, index.h("div", { class: "image-container", style: { width: `${this.width.toString()}px`, overflow: "hidden" } }, index.h("img", { decoding: "async", width: this.width, height: this.height, src: this.url, draggable: false, onLoad: this.loadImage }), this.getDetectedObjects().map((object) => (index.h("vviinn-detected-object", { detectedObject: object, selectedDetectedObject: this.selectedDetectedObject, basicEventData: this.basicEventData, imageBounds: this.imageBounds, showInWidget: this.showInWidget })))), this.showPreloader() && (index.h("div", { class: "image-preloader" }, index.h("vviinn-preloader", null))))));
3657
+ } }, index.h("div", { class: "container" }, index.h("div", { class: "image-container", style: { width: `${this.width.toString()}px`, overflow: "hidden" } }, index.h("img", { decoding: "async", width: this.width, height: this.height, src: this.url, draggable: false, onLoad: this.loadImage }), this.getDetectedObjects().map((object) => (index.h("vviinn-detected-object", { detectedObject: object, selectedDetectedObject: this.selectedDetectedObject, basicEventData: this.basicEventData, imageBounds: this.state.imageBounds, showInWidget: this.showInWidget })))), this.showPreloader() && (index.h("div", { class: "image-preloader" }, index.h("vviinn-preloader", null))))));
3660
3658
  }
3661
3659
  get el() { return index.getElement(this); }
3662
3660
  static get watchers() { return {
@@ -3821,11 +3819,12 @@ const VviinnResults = class {
3821
3819
  this.getResultsByCategory(filters);
3822
3820
  return;
3823
3821
  }
3822
+ this.state.requestFilters = filters;
3824
3823
  if (this.isTextSearch) {
3825
- this.getTextSearchResults(this.innerTextSearchQuery, filters, this.innerTextSearchRequestId);
3824
+ this.getTextSearchResults(this.innerTextSearchQuery, this.innerTextSearchRequestId);
3826
3825
  }
3827
3826
  else {
3828
- search_store.makeVisualSearchRequest(this.storeName, this.searchId, filters);
3827
+ search_store.makeVisualSearchRequest(this.storeName, this.searchId);
3829
3828
  }
3830
3829
  };
3831
3830
  this.filterTriggeredHandler = ({ detail, }) => {
@@ -3944,11 +3943,11 @@ const VviinnResults = class {
3944
3943
  ? this.replaceSlotsContentInWidget(this.el)
3945
3944
  : this.replaceSlotsContent();
3946
3945
  }
3947
- async getTextSearchResults(query, filters, requestId) {
3946
+ async getTextSearchResults(query, requestId) {
3948
3947
  if (!query)
3949
3948
  return;
3950
3949
  this.setTextSearch(true);
3951
- return search_store._function.pipe(await search_store.makeTextSearchRequest(this.storeName, query, filters, requestId, this.resultsCount), search_store.getOrElse(() => null));
3950
+ return search_store._function.pipe(await search_store.makeTextSearchRequest(this.storeName, query, requestId, this.resultsCount), search_store.getOrElse(() => null));
3952
3951
  }
3953
3952
  async getResultsByCategory(dynamicFilters) {
3954
3953
  if (!this.filterColumn || !this.filterValue || this.showInWidget)
@@ -4500,11 +4499,8 @@ const VviinnVpsWidget = class {
4500
4499
  this.state = this.useComponentsStore ? search_store.componentsState : search_store.searchState;
4501
4500
  this.cameraAvailable =
4502
4501
  !!navigator.mediaDevices && !!navigator.mediaDevices.getUserMedia;
4503
- if (this.excluded) {
4504
- this.excluded = search_store.parseExcludedToParams(this.excluded);
4505
- }
4506
4502
  this.state.campaignId = this.campaignId;
4507
- this.state.excluded = this.excluded;
4503
+ this.state.excluded = search_store.parseStringToExcluded(this.excluded);
4508
4504
  this.uiSessionId = v4.v4();
4509
4505
  this.widgetElementId = this.el.id;
4510
4506
  document.addEventListener("vviinnCropperAspectRatioError", this.handleAspectRatioError);
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1a40d6c9.js');
6
- const search_store = require('./search.store-791ee66d.js');
7
- const _package = require('./package-60ac24b4.js');
8
- const v4 = require('./v4-1186e321.js');
6
+ const search_store = require('./search.store-77f78656.js');
7
+ const _package = require('./package-703f8658.js');
8
+ const v4 = require('./v4-8aa5d657.js');
9
9
  const index$1 = require('./index-08c5c086.js');
10
10
  const customizedSlots = require('./customized-slots-174c1053.js');
11
11
  const triggerFilter = require('./triggerFilter-41cce3ec.js');
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1a40d6c9.js');
6
- const search_store = require('./search.store-791ee66d.js');
6
+ const search_store = require('./search.store-77f78656.js');
7
7
  const Rectangle = require('./Rectangle-c0460315.js');
8
8
  const index$1 = require('./index-08c5c086.js');
9
9
  const WarningIcon = require('./WarningIcon-db443b71.js');
10
10
  const customizedSlots = require('./customized-slots-174c1053.js');
11
- const _package = require('./package-60ac24b4.js');
11
+ const _package = require('./package-703f8658.js');
12
12
 
13
13
  const SecondaryActionIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
14
14
  index.h("path", { d: "M7.82499 13L12.725 17.9C12.925 18.1 13.0208 18.3333 13.0125 18.6C13.0042 18.8667 12.9 19.1 12.7 19.3C12.5 19.4833 12.2667 19.5792 12 19.5875C11.7333 19.5958 11.5 19.5 11.3 19.3L4.69999 12.7C4.59999 12.6 4.52915 12.4917 4.48749 12.375C4.44582 12.2583 4.42499 12.1333 4.42499 12C4.42499 11.8667 4.44582 11.7417 4.48749 11.625C4.52915 11.5083 4.59999 11.4 4.69999 11.3L11.3 4.69999C11.4833 4.51665 11.7125 4.42499 11.9875 4.42499C12.2625 4.42499 12.5 4.51665 12.7 4.69999C12.9 4.89999 13 5.13749 13 5.41249C13 5.68749 12.9 5.92499 12.7 6.12499L7.82499 11H19C19.2833 11 19.5208 11.0958 19.7125 11.2875C19.9042 11.4792 20 11.7167 20 12C20 12.2833 19.9042 12.5208 19.7125 12.7125C19.5208 12.9042 19.2833 13 19 13H7.82499Z", fill: "currentColor" })));
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1a40d6c9.js');
6
6
  const triggerFilter = require('./triggerFilter-41cce3ec.js');
7
- const search_store = require('./search.store-791ee66d.js');
7
+ const search_store = require('./search.store-77f78656.js');
8
8
  require('./Rectangle-c0460315.js');
9
9
 
10
10
  const TextIcon = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-1a40d6c9.js');
6
- const search_store = require('./search.store-791ee66d.js');
6
+ const search_store = require('./search.store-77f78656.js');
7
7
  const customizedSlots = require('./customized-slots-174c1053.js');
8
8
  const index$1 = require('./index-08c5c086.js');
9
9
  const resources = require('./resources-79dac054.js');
@@ -250,7 +250,7 @@ const VviinnTextSearch = class {
250
250
  }
251
251
  }
252
252
  render() {
253
- return (index.h(index.Host, { exportparts: index$1.searchBarParts }, index.h("div", { class: "text-search-container", part: "text-search-container" }, index.h("input", { class: "text-search-input", part: "text-search-input", type: "text", placeholder: this.getPlaceholderText(), value: this.searchQuery, onInput: (event) => this.handleInputChange(event), onKeyUp: (event) => this.handleKeyPress(event) }), this.mode === "extended" && (index.h("vviinn-vps-button", { token: search_store.globalState.token, locale: search_store.globalState.locale, apiPath: search_store.globalState.apiPath, addStyle: false, useComponentsStore: true })), this.mode === "basic" && (index.h("slot", { name: "vviinn-text-search-actions" })), (this.mode === "extended" || this.showInWidget) &&
253
+ return (index.h(index.Host, { exportparts: index$1.searchBarParts }, index.h("div", { class: "text-search-container", part: "text-search-container" }, index.h("input", { class: "text-search-input", part: "text-search-input", type: "text", placeholder: this.getPlaceholderText(), value: this.searchQuery, onInput: (event) => this.handleInputChange(event), onKeyUp: (event) => this.handleKeyPress(event) }), this.mode === "extended" && (index.h("vviinn-vps-button", { token: search_store.globalState.token, locale: search_store.globalState.locale, apiPath: search_store.globalState.apiPath, addStyle: false, useComponentsStore: true, exportparts: "vviinn-button" })), this.mode === "basic" && (index.h("slot", { name: "vviinn-text-search-actions" })), (this.mode === "extended" || this.showInWidget) &&
254
254
  this.recognition && (index.h("button", { class: "speech-button", part: "speech-button", onClick: () => this.handleSpeech() }, index.h(MicIcon, null), this.isShowRecording() && (index.h("span", { class: "recording-indicator" })))), index.h("button", { class: "text-search-button", part: "text-search-button", onClick: () => this.handleTextSearch(), disabled: this.state.loading }, this.isShowPreloader() ? (index.h("vviinn-preloader", null)) : (index.h("slot", { name: "vviinn-text-search-icon" }, index.h(TextSearchIcon, null))))), this.showTooltip && (index.h("p", { class: "text-search-tooltip", part: "text-search-tooltip" }, index$1.instance.t(this.tooltipText)))));
255
255
  }
256
256
  get el() { return index.getElement(this); }