fast-simon-sdk 1.6.119 → 1.6.121
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/lib/models/autocomplete.d.ts +0 -5
- package/lib/models/common.d.ts +10 -2
- package/lib/models/common.js.map +1 -1
- package/lib/sections/index.js +15 -11
- package/lib/sections/index.js.map +1 -1
- package/lib/sections/initialization/index.js +0 -9
- package/lib/sections/initialization/index.js.map +1 -1
- package/lib/services/common.js +3 -1
- package/lib/services/common.js.map +1 -1
- package/lib/services/related.js +3 -1
- package/lib/services/related.js.map +1 -1
- package/lib/services/reporting.js +7 -1
- package/lib/services/reporting.js.map +1 -1
- package/lib/services/visualDiscoveryReporting.js +11 -5
- package/lib/services/visualDiscoveryReporting.js.map +1 -1
- package/lib/utils/callbackArg.d.ts +15 -0
- package/lib/utils/callbackArg.js +21 -0
- package/lib/utils/callbackArg.js.map +1 -0
- package/lib/utils/shopifyCustomerId.d.ts +8 -0
- package/lib/utils/shopifyCustomerId.js +25 -0
- package/lib/utils/shopifyCustomerId.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +27 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +18 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +23 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +138 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +126 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +34 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +75 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +86 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +241 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +71 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +62 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +54 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +26 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +399 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +84 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +31 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +302 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +38 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +24 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +156 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +122 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +36 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.d.ts +0 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +20 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +32 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +28 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +332 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +33 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +171 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +20 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +27 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +60 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +111 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +72 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.d.ts +0 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +60 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +22 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +41 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +48 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +18 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +68 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +113 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +17 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +76 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +28 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +18 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +94 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +31 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +53 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +98 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +59 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +17 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +7 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +86 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +53 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +36 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +70 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +100 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +17 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +86 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +23 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +32 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +84 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +24 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +34 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +42 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +142 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +75 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +41 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +40 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +40 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +41 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +15 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +33 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +233 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +76 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +63 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +17 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +1014 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +1182 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +169 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +22 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +2377 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +2369 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +340 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +37 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +463 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +226 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +68 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +118 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +24 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +172 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +97 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +63 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +20 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +94 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +103 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +23 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +175 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +7 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +42 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +7 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +55 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +53 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +71 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +51 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +27 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +179 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +86 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +522 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +100 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +60 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +25 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +27 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +49 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +81 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +55 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +80 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +80 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +18 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +155 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +15 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +686 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +58 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +686 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +19 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +355 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +506 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +82 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +46 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +87 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +38 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +178 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +377 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +50 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +27 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +81 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +40 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +15 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +77 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +36 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +46 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +14 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +111 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +13 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +40 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +8 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +91 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +100 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +8519 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +12 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +60 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +113 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +188 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +44 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +29 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +10 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +20 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +131 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +108 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +34 -0
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +483 -0
- package/node_modules/@fast-simon/fast-simon-reporting/package.json +39 -0
- package/package.json +7 -4
- package/lib/utils/runSwatchSwitchDetector.d.ts +0 -8
- package/lib/utils/runSwatchSwitchDetector.js +0 -54
- package/lib/utils/runSwatchSwitchDetector.js.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ReportBaseProps } from "../../@types/reporting";
|
|
2
|
+
import { ProductHover, ReportCategoryPreformedProps, ReportPopUpSeenFromCategory, ReportPopUpSeenFromSearch, ReportProductAddedToCart, ReportProductClickedCategoryProps, ReportProductClickedLandingPageProps, ReportProductClickedSearchProps, ReportProductSwatchSwitchProps, ReportSearchPageViewedProps, ReportSearchPreformedProps, SourceType, VariantHover } from "../../@types/serp";
|
|
3
|
+
export declare const PRODUCT_FROM_SEARCH = "product-seen-from-search";
|
|
4
|
+
export declare const PRODUCT_FROM_CATEGORY = "product-seen-from-category";
|
|
5
|
+
export declare const PRODUCT_FROM_LANDING_PAGE = "product-seen-from-landing-page";
|
|
6
|
+
export declare function hasSvelteSERPDelayedReport(): boolean;
|
|
7
|
+
export declare function reformtNarrowForGA(narrow_by_filters: string): Record<string, string>;
|
|
8
|
+
export declare function reformtSortByForGA(sort_by: string): "Price Low To High" | "Price High To Low" | "Newest To Oldest" | "Oldest To Newest" | "Popularity" | "Ranking" | "Name A-Z" | "Name Z-A" | "Relevance" | undefined;
|
|
9
|
+
export declare const Serp: (getBase: () => ReportBaseProps) => {
|
|
10
|
+
reportSearchPreformed: (props: ReportSearchPreformedProps, src?: SourceType) => Promise<any>;
|
|
11
|
+
reportSmartNavigationPreformed: (props: ReportCategoryPreformedProps, src?: SourceType) => Promise<any>;
|
|
12
|
+
productClickedFromSearch: (props: ReportProductClickedSearchProps, src?: SourceType) => Promise<boolean>;
|
|
13
|
+
productClickedFromSmartNavigation: (props: ReportProductClickedCategoryProps, src?: SourceType) => Promise<boolean>;
|
|
14
|
+
productClickedFromLandingPage: (props: ReportProductClickedLandingPageProps) => Promise<boolean>;
|
|
15
|
+
quickViewUsedFromSearch: (props: ReportPopUpSeenFromSearch) => Promise<any>;
|
|
16
|
+
quickViewUsedFromSmartNavigation: (props: ReportPopUpSeenFromCategory) => Promise<any>;
|
|
17
|
+
LookALikeUsedFromSearch: (props: ReportPopUpSeenFromSearch) => Promise<any>;
|
|
18
|
+
LookALikeUsedFromSmartNavigation: (props: ReportPopUpSeenFromCategory) => Promise<any>;
|
|
19
|
+
reportProductAddedToCart: (props: ReportProductAddedToCart) => Promise<any>;
|
|
20
|
+
productHover: (props: ProductHover) => Promise<any>;
|
|
21
|
+
variantHover: (props: VariantHover) => Promise<any>;
|
|
22
|
+
productSwatchSwitch: (props: ReportProductSwatchSwitchProps) => Promise<any>;
|
|
23
|
+
promoTileClickedFromSearch: (props: ReportProductClickedSearchProps, src?: SourceType) => Promise<boolean>;
|
|
24
|
+
promoTileClickedFromSmartNavigation: (props: ReportProductClickedCategoryProps, src?: SourceType) => Promise<boolean>;
|
|
25
|
+
reportSearchPageViewed: (props: ReportSearchPageViewedProps, src?: SourceType) => Promise<boolean>;
|
|
26
|
+
};
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { Report, ReportingUpType } from "../../services/reporting";
|
|
2
|
+
import { DelayedReport, getDelayedKey } from "../delayedReport/delayedReport";
|
|
3
|
+
import { googleTagManager } from "../../utils/googleAnalytics";
|
|
4
|
+
import promisify from "../../utils/promisify";
|
|
5
|
+
export const PRODUCT_FROM_SEARCH = "product-seen-from-search";
|
|
6
|
+
export const PRODUCT_FROM_CATEGORY = "product-seen-from-category";
|
|
7
|
+
export const PRODUCT_FROM_LANDING_PAGE = "product-seen-from-landing-page";
|
|
8
|
+
export function hasSvelteSERPDelayedReport() {
|
|
9
|
+
return getDelayedKey(PRODUCT_FROM_SEARCH) in localStorage || getDelayedKey(PRODUCT_FROM_CATEGORY) in localStorage || getDelayedKey(PRODUCT_FROM_LANDING_PAGE) in localStorage;
|
|
10
|
+
}
|
|
11
|
+
export function reformtNarrowForGA(narrow_by_filters) {
|
|
12
|
+
const parsed = JSON.parse(narrow_by_filters);
|
|
13
|
+
const reformatted = {};
|
|
14
|
+
parsed.forEach(([key, values]) => {
|
|
15
|
+
reformatted[key] = values.join(',');
|
|
16
|
+
});
|
|
17
|
+
return reformatted;
|
|
18
|
+
}
|
|
19
|
+
export function reformtSortByForGA(sort_by) {
|
|
20
|
+
switch (sort_by) {
|
|
21
|
+
case 'price_min_to_max':
|
|
22
|
+
return 'Price Low To High';
|
|
23
|
+
case 'price_max_to_min':
|
|
24
|
+
return 'Price High To Low';
|
|
25
|
+
case 'creation_date':
|
|
26
|
+
return 'Newest To Oldest';
|
|
27
|
+
case 'creation_date_oldest':
|
|
28
|
+
return 'Oldest To Newest';
|
|
29
|
+
case 'popularity':
|
|
30
|
+
return 'Popularity';
|
|
31
|
+
case 'reviews':
|
|
32
|
+
return 'Ranking';
|
|
33
|
+
case 'a_to_z':
|
|
34
|
+
return 'Name A-Z';
|
|
35
|
+
case 'z_to_a':
|
|
36
|
+
return 'Name Z-A';
|
|
37
|
+
case 'relevency':
|
|
38
|
+
return 'Relevance';
|
|
39
|
+
case 'relevance':
|
|
40
|
+
return 'Relevance';
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export const Serp = (getBase) => ({
|
|
44
|
+
reportSearchPreformed: (props, src) => {
|
|
45
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
46
|
+
const isNoResults = props === null || props === void 0 ? void 0 : props.no_results;
|
|
47
|
+
const landingPage = props === null || props === void 0 ? void 0 : props.landing_page;
|
|
48
|
+
let gtagHasNarrow = null;
|
|
49
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_has_narrow) {
|
|
50
|
+
gtagHasNarrow = props.gtag_has_narrow;
|
|
51
|
+
delete props.gtag_has_narrow;
|
|
52
|
+
}
|
|
53
|
+
if ((props === null || props === void 0 ? void 0 : props.original_search_query) && src === "v-next-ssr") {
|
|
54
|
+
googleTagManager("event", "view_search_results", {
|
|
55
|
+
page: {
|
|
56
|
+
searchTerm: props === null || props === void 0 ? void 0 : props.original_search_query,
|
|
57
|
+
searchResults: props === null || props === void 0 ? void 0 : props.rescount
|
|
58
|
+
}
|
|
59
|
+
}, src);
|
|
60
|
+
}
|
|
61
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
62
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultViewItemListEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultViewItemListEvent) === true)) {
|
|
63
|
+
googleTagManager('event', 'view_item_list', Object.assign(Object.assign({ items: props.gtag_product_items }, (gtagHasNarrow ? { category: 'filter' } : {})), (props.narrow_by_filters || props.sort_by ? {
|
|
64
|
+
state: {
|
|
65
|
+
filters: props.narrow_by_filters ? reformtNarrowForGA(props.narrow_by_filters) : {},
|
|
66
|
+
orderBy: props.sort_by ? reformtSortByForGA(props.sort_by) : ''
|
|
67
|
+
}
|
|
68
|
+
} : {})), src);
|
|
69
|
+
}
|
|
70
|
+
try {
|
|
71
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.viewItemListCallback) === "function") {
|
|
72
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.viewItemListCallback) === null || _e === void 0 ? void 0 : _e.call(_d, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: 'filter' } : {})));
|
|
73
|
+
}
|
|
74
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.viewItemListCallback) === "function") {
|
|
75
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.viewItemListCallback) === null || _h === void 0 ? void 0 : _h.call(_g, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: 'filter' } : {})));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e) {
|
|
79
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in viewItemListCallback Method`, "font-weight: bold; font-size: 12px; color: red");
|
|
80
|
+
}
|
|
81
|
+
delete props.gtag_product_items;
|
|
82
|
+
}
|
|
83
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_promotions) {
|
|
84
|
+
if (!(((_j = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _j === void 0 ? void 0 : _j.avoidDefaultViewItemListEvent) === true) && !(((_k = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _k === void 0 ? void 0 : _k.avoidDefaultViewItemListEvent) === true)) {
|
|
85
|
+
googleTagManager('event', 'view_promotions', { items: props.gtag_product_promotions }, src);
|
|
86
|
+
}
|
|
87
|
+
delete props.gtag_product_promotions;
|
|
88
|
+
}
|
|
89
|
+
if (typeof (props === null || props === void 0 ? void 0 : props.no_results) !== 'undefined') {
|
|
90
|
+
delete props.no_results;
|
|
91
|
+
}
|
|
92
|
+
if (typeof (props === null || props === void 0 ? void 0 : props.landing_page) !== 'undefined') {
|
|
93
|
+
delete props.landing_page;
|
|
94
|
+
}
|
|
95
|
+
if (window === null || window === void 0 ? void 0 : window.fsPageViewedReportFired) {
|
|
96
|
+
window.fsPageViewedReportFired = false;
|
|
97
|
+
return Promise.resolve();
|
|
98
|
+
}
|
|
99
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: isNoResults ? ReportingUpType.searchPreformedNoResults
|
|
100
|
+
: landingPage ? ReportingUpType.landingPageSeen
|
|
101
|
+
: ReportingUpType.searchPreformed, params: props }));
|
|
102
|
+
},
|
|
103
|
+
reportSmartNavigationPreformed: (props, src) => {
|
|
104
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
105
|
+
let gtagHasNarrow = null;
|
|
106
|
+
let fromTurbolink = false;
|
|
107
|
+
let turbolinkSource = null;
|
|
108
|
+
let turbolinkTimestamp = null;
|
|
109
|
+
const MAX_TURBOLINK_STORAGE_AGE_MS = 5 * 60 * 1000; // 5 minutes - prevent stale data usage
|
|
110
|
+
// Helper function to clear turbolink data from localStorage
|
|
111
|
+
const clearTurbolinkData = () => {
|
|
112
|
+
try {
|
|
113
|
+
localStorage.removeItem("collectionClickedFromTurboLink");
|
|
114
|
+
localStorage.removeItem("collectionClickedFromTurboLink-Search-Query");
|
|
115
|
+
localStorage.removeItem("collectionClickedFromTurboLink-Timestamp");
|
|
116
|
+
localStorage.removeItem("collectionClickedFromTurboLink-Source");
|
|
117
|
+
}
|
|
118
|
+
catch (e) {
|
|
119
|
+
console.warn("Failed to clear turbolink data from localStorage:", e);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
let baseURLparts = (_c = (_b = (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href) === null || _b === void 0 ? void 0 : _b.split) === null || _c === void 0 ? void 0 : _c.call(_b, "?");
|
|
123
|
+
if (baseURLparts.length > 0) {
|
|
124
|
+
let baseURL = baseURLparts === null || baseURLparts === void 0 ? void 0 : baseURLparts[0];
|
|
125
|
+
// Extract just the pathname for comparison (without protocol, domain, or query params)
|
|
126
|
+
const currentPathname = window.location.pathname;
|
|
127
|
+
const storedTurbolinkPath = localStorage.getItem("collectionClickedFromTurboLink");
|
|
128
|
+
if (localStorage.getItem("collectionClickedFromTurboLink") && localStorage.getItem("collectionClickedFromTurboLink") == baseURL && localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) {
|
|
129
|
+
}
|
|
130
|
+
else if (storedTurbolinkPath && currentPathname && storedTurbolinkPath === currentPathname && localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) {
|
|
131
|
+
// Validate timestamp is recent to prevent using stale data
|
|
132
|
+
const storedTimestamp = parseInt(localStorage.getItem("collectionClickedFromTurboLink-Timestamp") || "0", 10);
|
|
133
|
+
const now = Date.now();
|
|
134
|
+
if (now - storedTimestamp <= MAX_TURBOLINK_STORAGE_AGE_MS) {
|
|
135
|
+
fromTurbolink = true;
|
|
136
|
+
props.original_search_query = (_d = localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) !== null && _d !== void 0 ? _d : undefined;
|
|
137
|
+
turbolinkTimestamp = localStorage.getItem("collectionClickedFromTurboLink-Timestamp");
|
|
138
|
+
turbolinkSource = localStorage.getItem("collectionClickedFromTurboLink-Source");
|
|
139
|
+
}
|
|
140
|
+
// Note: localStorage cleanup moved to after the report is sent
|
|
141
|
+
}
|
|
142
|
+
else if (localStorage.getItem("collectionClickedFromTurboLink")) {
|
|
143
|
+
// Note: localStorage cleanup moved to after the report is sent
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_has_narrow) {
|
|
147
|
+
gtagHasNarrow = props.gtag_has_narrow;
|
|
148
|
+
delete props.gtag_has_narrow;
|
|
149
|
+
}
|
|
150
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
151
|
+
if (!(((_e = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _e === void 0 ? void 0 : _e.avoidDefaultViewItemListEvent) === true) && !(((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.avoidDefaultViewItemListEvent) === true)) {
|
|
152
|
+
googleTagManager('event', 'view_item_list', Object.assign(Object.assign({ items: props.gtag_product_items }, (gtagHasNarrow ? { category: 'filter' } : {})), (props.narrow_by_filters || props.sort_by ? {
|
|
153
|
+
state: {
|
|
154
|
+
filters: props.narrow_by_filters ? reformtNarrowForGA(props.narrow_by_filters) : {},
|
|
155
|
+
orderBy: props.sort_by ? reformtSortByForGA(props.sort_by) : ''
|
|
156
|
+
}
|
|
157
|
+
} : {})), src);
|
|
158
|
+
}
|
|
159
|
+
try {
|
|
160
|
+
if (typeof ((_g = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _g === void 0 ? void 0 : _g.viewItemListCallback) === "function") {
|
|
161
|
+
(_j = (_h = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _h === void 0 ? void 0 : _h.viewItemListCallback) === null || _j === void 0 ? void 0 : _j.call(_h, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: "filter" } : {})));
|
|
162
|
+
}
|
|
163
|
+
else if (typeof ((_k = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _k === void 0 ? void 0 : _k.viewItemListCallback) === "function") {
|
|
164
|
+
(_m = (_l = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _l === void 0 ? void 0 : _l.viewItemListCallback) === null || _m === void 0 ? void 0 : _m.call(_l, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: "filter" } : {})));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
catch (e) {
|
|
168
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in viewItemListCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
169
|
+
}
|
|
170
|
+
delete props.gtag_product_items;
|
|
171
|
+
}
|
|
172
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_promotions) {
|
|
173
|
+
if (!(((_o = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _o === void 0 ? void 0 : _o.avoidDefaultViewItemListEvent) === true) && !(((_p = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _p === void 0 ? void 0 : _p.avoidDefaultViewItemListEvent) === true)) {
|
|
174
|
+
googleTagManager('event', 'view_promotions', { items: props.gtag_product_promotions }, src);
|
|
175
|
+
}
|
|
176
|
+
delete props.gtag_product_promotions;
|
|
177
|
+
}
|
|
178
|
+
if (window === null || window === void 0 ? void 0 : window.fsPageViewedReportFired) {
|
|
179
|
+
window.fsPageViewedReportFired = false;
|
|
180
|
+
return Promise.resolve();
|
|
181
|
+
}
|
|
182
|
+
// Send the report and clear turbolink data after report is sent
|
|
183
|
+
const reportPromise = Report(Object.assign(Object.assign({}, getBase()), { upType: fromTurbolink ? ReportingUpType.collectionPreformedFromTurbolink : ReportingUpType.collectionPreformed, params: props }));
|
|
184
|
+
// Clear turbolink data from localStorage after report is sent (parallel execution)
|
|
185
|
+
reportPromise.finally(() => {
|
|
186
|
+
clearTurbolinkData();
|
|
187
|
+
});
|
|
188
|
+
return reportPromise;
|
|
189
|
+
},
|
|
190
|
+
productClickedFromSearch: (props, src) => {
|
|
191
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
192
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
193
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
194
|
+
googleTagManager('event', 'select_item', { items: props.gtag_product_items }, src);
|
|
195
|
+
}
|
|
196
|
+
try {
|
|
197
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
198
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
199
|
+
}
|
|
200
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
201
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
catch (e) {
|
|
205
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
206
|
+
}
|
|
207
|
+
delete props.gtag_product_items;
|
|
208
|
+
}
|
|
209
|
+
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_SEARCH, params: props }));
|
|
210
|
+
},
|
|
211
|
+
productClickedFromSmartNavigation: (props, src) => {
|
|
212
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
213
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
214
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
215
|
+
googleTagManager('event', 'select_item', { items: props.gtag_product_items }, src);
|
|
216
|
+
}
|
|
217
|
+
try {
|
|
218
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
219
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
220
|
+
}
|
|
221
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
222
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
catch (e) {
|
|
226
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
227
|
+
}
|
|
228
|
+
delete props.gtag_product_items;
|
|
229
|
+
}
|
|
230
|
+
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_CATEGORY, params: props }));
|
|
231
|
+
},
|
|
232
|
+
productClickedFromLandingPage: (props) => {
|
|
233
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
234
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
235
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
236
|
+
googleTagManager('event', 'select_item', { items: props.gtag_product_items });
|
|
237
|
+
}
|
|
238
|
+
try {
|
|
239
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
240
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
241
|
+
}
|
|
242
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
243
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
catch (e) {
|
|
247
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
248
|
+
}
|
|
249
|
+
delete props.gtag_product_items;
|
|
250
|
+
}
|
|
251
|
+
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_LANDING_PAGE, upType: ReportingUpType.landingPageSeen, params: props }));
|
|
252
|
+
},
|
|
253
|
+
quickViewUsedFromSearch: (props) => {
|
|
254
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedQuickView, params: props }));
|
|
255
|
+
},
|
|
256
|
+
quickViewUsedFromSmartNavigation: (props) => {
|
|
257
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedQuickView, params: props }));
|
|
258
|
+
},
|
|
259
|
+
LookALikeUsedFromSearch: (props) => {
|
|
260
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedLookALike, params: props }));
|
|
261
|
+
},
|
|
262
|
+
LookALikeUsedFromSmartNavigation: (props) => {
|
|
263
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedLookALike, params: props }));
|
|
264
|
+
},
|
|
265
|
+
reportProductAddedToCart: (props) => {
|
|
266
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
267
|
+
props['cart'] = 1;
|
|
268
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
269
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultAddToCartEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultAddToCartEvent) === true)) {
|
|
270
|
+
googleTagManager('event', 'add_to_cart', { items: props.gtag_product_items });
|
|
271
|
+
}
|
|
272
|
+
try {
|
|
273
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.addToCartCallback) === "function") {
|
|
274
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.addToCartCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
275
|
+
}
|
|
276
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.addToCartCallback) === "function") {
|
|
277
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.addToCartCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
catch (e) {
|
|
281
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in addToCartCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
282
|
+
}
|
|
283
|
+
delete props.gtag_product_items;
|
|
284
|
+
}
|
|
285
|
+
// Track this post_load request for debouncing in web pixels
|
|
286
|
+
trackPostLoadRequest(props);
|
|
287
|
+
return Report(Object.assign(Object.assign({}, getBase()), { params: props }));
|
|
288
|
+
},
|
|
289
|
+
productHover: (props) => {
|
|
290
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.hoverOnProduct, params: props }));
|
|
291
|
+
},
|
|
292
|
+
variantHover: (props) => {
|
|
293
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.hoverOnProductVariant, params: props }));
|
|
294
|
+
},
|
|
295
|
+
// Sibling swatch attribution (#12003): a grid tile was swatched from sibling
|
|
296
|
+
// X (`from_product`) to sibling Y (`id`). Immediate Report (not DelayedReport):
|
|
297
|
+
// the tile swaps in place, no navigation. `from_product` rides the wire, and
|
|
298
|
+
// `Report` sends prev_up_type = 58. The caller must gate this to a genuine
|
|
299
|
+
// cross-product color click (see serving Product.svelte onSwatchClick guards).
|
|
300
|
+
productSwatchSwitch: (props) => {
|
|
301
|
+
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: props }));
|
|
302
|
+
},
|
|
303
|
+
promoTileClickedFromSearch: (props, src) => {
|
|
304
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
305
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
306
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectPromotionEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectPromotionEvent) === true)) {
|
|
307
|
+
googleTagManager('event', 'select_promotion', { items: props.gtag_product_items }, src);
|
|
308
|
+
}
|
|
309
|
+
try {
|
|
310
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectPromotionCallback) === "function") {
|
|
311
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectPromotionCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
312
|
+
}
|
|
313
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectPromotionCallback) === "function") {
|
|
314
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectPromotionCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
catch (e) {
|
|
318
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in selectPromotionCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
319
|
+
}
|
|
320
|
+
delete props.gtag_product_items;
|
|
321
|
+
}
|
|
322
|
+
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_SEARCH, params: props, upType: ReportingUpType.promoTileClicked }));
|
|
323
|
+
},
|
|
324
|
+
promoTileClickedFromSmartNavigation: (props, src) => {
|
|
325
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
326
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
327
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectPromotionEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectPromotionEvent) === true)) {
|
|
328
|
+
googleTagManager('event', 'select_promotion', { items: props.gtag_product_items }, src);
|
|
329
|
+
}
|
|
330
|
+
try {
|
|
331
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectPromotionCallback) === "function") {
|
|
332
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectPromotionCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
333
|
+
}
|
|
334
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectPromotionCallback) === "function") {
|
|
335
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectPromotionCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
catch (e) {
|
|
339
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in selectPromotionCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
340
|
+
}
|
|
341
|
+
delete props.gtag_product_items;
|
|
342
|
+
}
|
|
343
|
+
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_CATEGORY, params: props, upType: ReportingUpType.promoTileClicked }));
|
|
344
|
+
},
|
|
345
|
+
reportSearchPageViewed: (props, src) => {
|
|
346
|
+
if (props === null || props === void 0 ? void 0 : props.query) {
|
|
347
|
+
googleTagManager("event", "view_search_results", {
|
|
348
|
+
page: {
|
|
349
|
+
searchTerm: props === null || props === void 0 ? void 0 : props.query,
|
|
350
|
+
searchResults: props === null || props === void 0 ? void 0 : props.totalResults
|
|
351
|
+
}
|
|
352
|
+
}, src);
|
|
353
|
+
}
|
|
354
|
+
return promisify(() => true);
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
/**
|
|
358
|
+
* Tracks post_load requests for debouncing in web pixels
|
|
359
|
+
* Saves to localStorage for web pixels to check before sending duplicate requests
|
|
360
|
+
*/
|
|
361
|
+
function trackPostLoadRequest(props) {
|
|
362
|
+
const LS_KEY = "FS_ANALYTICS_post_load_tracked";
|
|
363
|
+
const DEBOUNCE_WINDOW_MS = 2000; // 2 second debounce window
|
|
364
|
+
try {
|
|
365
|
+
const productId = props === null || props === void 0 ? void 0 : props.cart_product;
|
|
366
|
+
if (!productId) {
|
|
367
|
+
return; // Skip tracking if no product ID
|
|
368
|
+
}
|
|
369
|
+
const now = Date.now();
|
|
370
|
+
let trackedRequests = [];
|
|
371
|
+
// Get existing tracked requests
|
|
372
|
+
const stored = localStorage.getItem(LS_KEY);
|
|
373
|
+
if (stored) {
|
|
374
|
+
try {
|
|
375
|
+
trackedRequests = JSON.parse(stored);
|
|
376
|
+
if (!Array.isArray(trackedRequests)) {
|
|
377
|
+
trackedRequests = [];
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
catch (e) {
|
|
381
|
+
// If parse fails, reset the array
|
|
382
|
+
trackedRequests = [];
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
// Remove old entries (older than debounce window)
|
|
386
|
+
trackedRequests = trackedRequests.filter(entry => now - entry.timestamp < DEBOUNCE_WINDOW_MS);
|
|
387
|
+
// Add the new request
|
|
388
|
+
trackedRequests.push({
|
|
389
|
+
productId: productId,
|
|
390
|
+
timestamp: now
|
|
391
|
+
});
|
|
392
|
+
// Save back to localStorage
|
|
393
|
+
localStorage.setItem(LS_KEY, JSON.stringify(trackedRequests));
|
|
394
|
+
}
|
|
395
|
+
catch (error) {
|
|
396
|
+
console.log(`%c⚠️ Fast Simon Reporting Warning | Error tracking post_load request`, "font-weight: bold; font-size: 12px; color: orange");
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
//# sourceMappingURL=serp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serp.js","sourceRoot":"","sources":["../../../src/components/serp/serp.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAejE,OAAO,EAAC,aAAa,EAAE,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAC7D,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAG9C,MAAM,CAAC,MAAM,mBAAmB,GAAG,0BAA0B,CAAA;AAC7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,4BAA4B,CAAA;AACjE,MAAM,CAAC,MAAM,yBAAyB,GAAG,gCAAgC,CAAA;AAEzE,MAAM,UAAU,0BAA0B;IACtC,OAAO,aAAa,CAAC,mBAAmB,CAAC,IAAI,YAAY,IAAI,aAAa,CAAC,qBAAqB,CAAC,IAAI,YAAY,IAAI,aAAa,CAAC,yBAAyB,CAAC,IAAI,YAAY,CAAC;AAClL,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,iBAAyB;IACtD,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAE7C,MAAM,WAAW,GAA2B,EAAE,CAAC;IAC/C,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,MAAM,CAAqB,EAAE,EAAE;QACnD,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC;AACz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GAAG,CAAC,sEAAsE,EAAE,mDAAmD,CAAC,CAAC;KAC5I;AACL,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReportBaseProps } from "../../@types/reporting";
|
|
2
|
+
import { ReportChatSuggestedProducts, ReportChatSessionStarted, ReportChatSessionEnded, ReportAssistantProductClicked, ReportAssistantProductAddedToCart, ReportHintShown, ReportHintClicked, ReportHintDismissed } from "../../@types/shopperAssistant";
|
|
3
|
+
export declare const PRODUCT_FROM_ASSISTANT = "product-seen-from-assistant";
|
|
4
|
+
export declare const ShopperAssistant: (getBase: () => ReportBaseProps) => {
|
|
5
|
+
reportChatSessionStarted: (props: ReportChatSessionStarted) => Promise<any>;
|
|
6
|
+
reportChatSessionEnded: (props: ReportChatSessionEnded) => Promise<any>;
|
|
7
|
+
reportChatResults: (props: ReportChatSuggestedProducts) => Promise<any>;
|
|
8
|
+
reportProductAddedToCart: (props: ReportAssistantProductAddedToCart) => Promise<any>;
|
|
9
|
+
reportProductClicked: (props: ReportAssistantProductClicked) => Promise<boolean>;
|
|
10
|
+
reportHintShown: (props: ReportHintShown) => Promise<any>;
|
|
11
|
+
reportHintClicked: (props: ReportHintClicked) => Promise<any>;
|
|
12
|
+
reportHintDismissed: (props: ReportHintDismissed) => Promise<any>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Report, ReportingEndpoint, ReportingUpType } from "../../services/reporting";
|
|
2
|
+
import { DelayedReport } from "../delayedReport/delayedReport";
|
|
3
|
+
import { googleTagManager } from "../../utils/googleAnalytics";
|
|
4
|
+
export const PRODUCT_FROM_ASSISTANT = "product-seen-from-assistant";
|
|
5
|
+
export const ShopperAssistant = (getBase) => ({
|
|
6
|
+
reportChatSessionStarted: (props) => {
|
|
7
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
8
|
+
// Forward a custom "assistant opened" event to the merchant's own GA4/GTM.
|
|
9
|
+
// GA4 has no standard event for this, so we use a namespaced custom event.
|
|
10
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultShopperAssistantOpenEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultShopperAssistantOpenEvent) === true)) {
|
|
11
|
+
googleTagManager('event', 'shopper_assistant_open', { ref: props.ref });
|
|
12
|
+
}
|
|
13
|
+
try {
|
|
14
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.shopperAssistantOpenCallback) === "function") {
|
|
15
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.shopperAssistantOpenCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { ref: props.ref });
|
|
16
|
+
}
|
|
17
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.shopperAssistantOpenCallback) === "function") {
|
|
18
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.shopperAssistantOpenCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { ref: props.ref });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
catch (e) {
|
|
22
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in shopperAssistantOpenCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
23
|
+
}
|
|
24
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatSessionStarted }, getBase()), { params: props }));
|
|
25
|
+
},
|
|
26
|
+
reportChatSessionEnded: (props) => {
|
|
27
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatSessionEnded }, getBase()), { params: props }));
|
|
28
|
+
},
|
|
29
|
+
reportChatResults: (props) => {
|
|
30
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatResults }, getBase()), { params: props }));
|
|
31
|
+
},
|
|
32
|
+
reportProductAddedToCart: (props) => {
|
|
33
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
34
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
35
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultAddToCartEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultAddToCartEvent) === true)) {
|
|
36
|
+
googleTagManager('event', 'add_to_cart', { items: props.gtag_product_items });
|
|
37
|
+
}
|
|
38
|
+
try {
|
|
39
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.addToCartCallback) === "function") {
|
|
40
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.addToCartCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
41
|
+
}
|
|
42
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.addToCartCallback) === "function") {
|
|
43
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.addToCartCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
catch (e) {
|
|
47
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in addToCartCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
48
|
+
}
|
|
49
|
+
delete props.gtag_product_items;
|
|
50
|
+
}
|
|
51
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantProductAddedToCartAttributed }, getBase()), { params: props }));
|
|
52
|
+
},
|
|
53
|
+
reportProductClicked: (props) => {
|
|
54
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
55
|
+
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
56
|
+
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
57
|
+
googleTagManager('event', 'select_item', { items: props.gtag_product_items });
|
|
58
|
+
}
|
|
59
|
+
try {
|
|
60
|
+
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
61
|
+
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
62
|
+
}
|
|
63
|
+
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
64
|
+
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
catch (e) {
|
|
68
|
+
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
69
|
+
}
|
|
70
|
+
delete props.gtag_product_items;
|
|
71
|
+
}
|
|
72
|
+
return DelayedReport(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantProductClickedAttributed }, getBase()), { params: props, prefix: PRODUCT_FROM_ASSISTANT }));
|
|
73
|
+
},
|
|
74
|
+
reportHintShown: (props) => {
|
|
75
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintShown }, getBase()), { params: props }));
|
|
76
|
+
},
|
|
77
|
+
reportHintClicked: (props) => {
|
|
78
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintClicked }, getBase()), { params: props }));
|
|
79
|
+
},
|
|
80
|
+
reportHintDismissed: (props) => {
|
|
81
|
+
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintDismissed }, getBase()), { params: props }));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
//# sourceMappingURL=shopperAssistant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shopperAssistant.js","sourceRoot":"","sources":["../../../src/components/shopperAssistant/shopperAssistant.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,MAAM,EAAE,iBAAiB,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7D,MAAM,CAAC,MAAM,sBAAsB,GAAG,6BAA6B,CAAC;AAEpE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,CAAC;IACjE,wBAAwB,EAAE,CAAC,KAA+B,EAAE,EAAE;;QAC1D,2EAA2E;QAC3E,2EAA2E;QAC3E,IAAI,CAAC,CAAC,CAAA,MAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,cAAc,0CAAE,qCAAqC,MAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA,MAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,aAAa,0CAAE,qCAAqC,MAAK,IAAI,CAAC,EAAE;Y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AAK,CAAC,kBAAkB,CAAC;SACnC;QACD,OAAO,aAAa,+BAChB,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,wCAAwC,IAC7D,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,EACb,MAAM,EAAE,sBAAsB,IAChC,CAAC;IACP,CAAC;IAED,eAAe,EAAE,CAAC,KAAsB,EAAE,EAAE;QACxC,OAAO,MAAM,+BACT,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,yBAAyB,IAC9C,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;IAED,iBAAiB,EAAE,CAAC,KAAwB,EAAE,EAAE;QAC5C,OAAO,MAAM,+BACT,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,2BAA2B,IAChD,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;IAED,mBAAmB,EAAE,CAAC,KAA0B,EAAE,EAAE;QAChD,OAAO,MAAM,+BACT,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,6BAA6B,IAClD,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReportBaseProps } from "../../@types/reporting";
|
|
2
|
+
import { Platform } from "../../@types/platfrom";
|
|
3
|
+
/**
|
|
4
|
+
* PDP sibling swatch-switch detection (#12003). Layer 1: Shopify full-navigation
|
|
5
|
+
* themes (breadcrumb completed on the landing page load). Layer 2: in-place-swap
|
|
6
|
+
* themes (pushState + DOM swap, e.g. Stride Rite) — the same breadcrumb contract
|
|
7
|
+
* completed by a same-document history watcher.
|
|
8
|
+
*
|
|
9
|
+
* On themes where each color is its own product and a PDP color swatch performs a
|
|
10
|
+
* full page navigation to the sibling, this captures the X→Y switch WITHOUT the
|
|
11
|
+
* (rejected) bare-referrer heuristic: a sessionStorage breadcrumb is written ONLY
|
|
12
|
+
* by a click inside a config-declared swatch zone, so ordinary product→product
|
|
13
|
+
* navigation (related products, cross-sell, back button) can never produce an event.
|
|
14
|
+
*
|
|
15
|
+
* OFF BY DEFAULT. Runs only when a per-site config exists, read in priority order:
|
|
16
|
+
* 1. localStorage[FS_SWATCH_SWITCH_CONFIG_LS_KEY] — written by the config
|
|
17
|
+
* producers (autocomplete load response / fast_config metafields). An
|
|
18
|
+
* explicit {enabled:false} here is the per-site KILL SWITCH: it beats the
|
|
19
|
+
* static ship-defaults below with no bundle redeploy.
|
|
20
|
+
* 2. window.__fast_options.swatchSwitch — manual fallback/override.
|
|
21
|
+
* 3. STATIC_SITE_CONFIGS — ship-defaults for survey-verified launch sites,
|
|
22
|
+
* keyed by site UUID, so those sites need no dashboard/config step at all.
|
|
23
|
+
* No config → zero listeners, zero storage reads beyond the single lookup, zero pings.
|
|
24
|
+
*
|
|
25
|
+
* Multi-hop topology (confirmed with data science): each full navigation is a fresh
|
|
26
|
+
* PDP impression, so A→B→C emits {from:A,id:B} then {from:B,id:C} — hop-by-hop, unlike
|
|
27
|
+
* the PLP grid's star (from = the impressed tile). Both topologies resolve to the
|
|
28
|
+
* impressed product under the SQL's transitive backward-walk and mix safely.
|
|
29
|
+
*/
|
|
30
|
+
export declare const FS_SWATCH_SWITCH_CONFIG_LS_KEY = "fast_swatch_switch";
|
|
31
|
+
export declare function runPdpSwatchSwitch(getBase: () => ReportBaseProps, platform: Platform): void;
|