fast-simon-sdk 1.6.122 → 1.6.124
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/sections/eventReporter/utils.js +47 -5
- package/lib/sections/eventReporter/utils.js.map +1 -1
- package/lib/services/delayedReports.d.ts +6 -0
- package/lib/services/delayedReports.js +87 -0
- package/lib/services/delayedReports.js.map +1 -0
- package/lib/services/reporting.d.ts +16 -0
- package/lib/services/reporting.js +37 -1
- package/lib/services/reporting.js.map +1 -1
- package/lib/utils/delayedReportEnrichment.d.ts +4 -0
- package/lib/utils/delayedReportEnrichment.js +96 -0
- package/lib/utils/delayedReportEnrichment.js.map +1 -0
- package/lib/utils/ensureReportingScript.d.ts +1 -1
- package/lib/utils/ensureReportingScript.js +14 -30
- package/lib/utils/ensureReportingScript.js.map +1 -1
- package/package.json +3 -7
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +0 -138
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +0 -126
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +0 -241
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +0 -54
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +0 -26
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +0 -399
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +0 -302
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +0 -156
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +0 -122
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +0 -1
- 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 +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +0 -32
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +0 -28
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +0 -332
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +0 -33
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +0 -171
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +0 -111
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +0 -72
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +0 -1
- 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 +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +0 -48
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +0 -113
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +0 -28
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +0 -94
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +0 -98
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +0 -59
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +0 -70
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +0 -32
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +0 -142
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +0 -33
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +0 -233
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +0 -26
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +0 -141
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +0 -43
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +0 -1014
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +0 -1182
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +0 -169
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +0 -2377
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +0 -2369
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +0 -340
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +0 -463
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +0 -226
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +0 -118
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +0 -172
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +0 -97
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +0 -94
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +0 -103
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +0 -175
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +0 -55
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +0 -51
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +0 -179
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +0 -522
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +0 -81
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +0 -55
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +0 -80
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +0 -80
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +0 -35
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +0 -78
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +0 -85
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +0 -155
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +0 -686
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +0 -686
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +0 -355
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +0 -506
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +0 -82
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +0 -87
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +0 -178
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +0 -377
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +0 -97
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +0 -81
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +0 -77
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +0 -111
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +0 -108
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +0 -507
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +0 -8519
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +0 -397
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +0 -113
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +0 -188
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +0 -44
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +0 -131
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +0 -108
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +0 -483
- package/node_modules/@fast-simon/fast-simon-reporting/package.json +0 -39
package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js
DELETED
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
import { Report, ReportingUpType } from "../../services/reporting";
|
|
2
|
-
import { getProductPageID } from "@fast-simon/common";
|
|
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
|
-
// Cross-package contract: the config producers (autocomplete load handler /
|
|
31
|
-
// fast_config consumers in serving & SSR) write this exact key. Named after the
|
|
32
|
-
// existing swatch-data convention (`fast_swatches_css`).
|
|
33
|
-
export const FS_SWATCH_SWITCH_CONFIG_LS_KEY = "fast_swatch_switch";
|
|
34
|
-
const BREADCRUMB_SS_KEY = "fs-swatch-switch-from";
|
|
35
|
-
const DEFAULT_TTL_MS = 15000;
|
|
36
|
-
// Ship-defaults for the survey-verified launch sites, keyed by site UUID —
|
|
37
|
-
// selectors live-verified in Chrome on real multi-color PDPs (2026-07-16; see
|
|
38
|
-
// the registry table on PR #12161). These sites activate with NO dashboard or
|
|
39
|
-
// /load provisioning. A /load-provisioned config still wins — including an
|
|
40
|
-
// explicit {enabled:false}, which kills a static site without a bundle
|
|
41
|
-
// redeploy. Sites not listed here stay off unless /load provisions them.
|
|
42
|
-
const SM_SWATCH_SELECTOR = ".color-swatch-wrapper .color-swatch-ele";
|
|
43
|
-
const STATIC_SITE_CONFIGS = {
|
|
44
|
-
/* Steve Madden US */ "777f83f8-820e-45d0-a08b-08c6b432b87a": { enabled: true, selectors: [SM_SWATCH_SELECTOR] },
|
|
45
|
-
/* Steve Madden CA */ "7a1a5dec-8c69-4574-b79c-d1228f9f534d": { enabled: true, selectors: [SM_SWATCH_SELECTOR] },
|
|
46
|
-
/* Steve Madden ZA */ "c4fb8caf-d6fa-4dc5-9619-e9c0b7c5e98f": { enabled: true, selectors: [SM_SWATCH_SELECTOR] },
|
|
47
|
-
/* John Elliott */ "02ceb780-079f-4c87-8342-114eca54a89b": { enabled: true, selectors: ["[js-dropdown-menu-related-colors] a"] },
|
|
48
|
-
/* Bruno Magli */ "b23994c6-1e6a-4e4b-9d99-6778f5aa102b": { enabled: true, selectors: [".jmmProductSwatchesDiv a"] },
|
|
49
|
-
// White Fox US — sibling swatches are anchors (`a.product__siblings_swatch`,
|
|
50
|
-
// active color is a span → correctly inert). Static entry required: WF's
|
|
51
|
-
// autocomplete uses the new settings/autocomplete flow, which doesn't carry
|
|
52
|
-
// the /load swatch_switch config. Live-verified 2026-07-16 with a manual
|
|
53
|
-
// config: white→chocolate click emitted 58 (8793992986684→8917943058492).
|
|
54
|
-
/* White Fox US */ "0dff41a9-8fbc-4e90-bea0-9ac0c88ebc8a": { enabled: true, selectors: [".product__siblings_swatch"] },
|
|
55
|
-
// Stride Rite — sibling swatches are anchors (a.product-form__sibling-option
|
|
56
|
-
// with href + data-handle; the selected color is an inert label). The theme
|
|
57
|
-
// swaps siblings IN PLACE (pushState, no page load — verified live), so this
|
|
58
|
-
// site emits via the Layer 2 same-document watcher.
|
|
59
|
-
/* Stride Rite */ "9ac2929c-f807-4f3e-bc07-f00621b4576c": { enabled: true, selectors: [".product-form__sibling-option"] },
|
|
60
|
-
};
|
|
61
|
-
function getConfig(siteUUID) {
|
|
62
|
-
var _a;
|
|
63
|
-
try {
|
|
64
|
-
let cfg;
|
|
65
|
-
const raw = localStorage.getItem(FS_SWATCH_SWITCH_CONFIG_LS_KEY);
|
|
66
|
-
if (raw) {
|
|
67
|
-
try {
|
|
68
|
-
cfg = JSON.parse(raw);
|
|
69
|
-
}
|
|
70
|
-
catch (e) {
|
|
71
|
-
// corrupt key → self-heal it and fall through to the window fallback,
|
|
72
|
-
// preserving the documented priority order.
|
|
73
|
-
localStorage.removeItem(FS_SWATCH_SWITCH_CONFIG_LS_KEY);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
cfg = cfg !== null && cfg !== void 0 ? cfg : (_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.swatchSwitch;
|
|
77
|
-
// Static ship-default LAST: any explicit config above — enabled or not —
|
|
78
|
-
// takes precedence, so {enabled:false} from /load disables a static site.
|
|
79
|
-
cfg = cfg !== null && cfg !== void 0 ? cfg : (siteUUID ? STATIC_SITE_CONFIGS[siteUUID] : undefined);
|
|
80
|
-
if ((cfg === null || cfg === void 0 ? void 0 : cfg.enabled) && Array.isArray(cfg.selectors) && cfg.selectors.length > 0) {
|
|
81
|
-
return cfg;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
catch (e) {
|
|
85
|
-
// storage unavailable → treat as disabled
|
|
86
|
-
}
|
|
87
|
-
return undefined;
|
|
88
|
-
}
|
|
89
|
-
// Extract the destination product handle from a click inside a swatch zone: the
|
|
90
|
-
// zone element itself or its nearest product anchor. Survey-verified shapes carry
|
|
91
|
-
// either data-handle, or an anchor href containing /products/<handle>.
|
|
92
|
-
// The anchor wins when both exist: it is the literal navigation target, while
|
|
93
|
-
// data-handle is theme-defined and not always a product handle (Steve Madden CA
|
|
94
|
-
// puts the color slug there — "black-leather" — where the US store puts the full
|
|
95
|
-
// sibling handle; resolving the slug would fail the landing match and silently
|
|
96
|
-
// drop every event on that store).
|
|
97
|
-
function resolveDestHandle(zone) {
|
|
98
|
-
var _a, _b, _c, _d;
|
|
99
|
-
const link = ((_a = zone.closest('a[href*="/products/"]')) !== null && _a !== void 0 ? _a : zone.querySelector('a[href*="/products/"]'));
|
|
100
|
-
const match = (_b = link === null || link === void 0 ? void 0 : link.getAttribute("href")) === null || _b === void 0 ? void 0 : _b.match(/\/products\/([^/?#]+)/);
|
|
101
|
-
if (match === null || match === void 0 ? void 0 : match[1]) {
|
|
102
|
-
return match[1];
|
|
103
|
-
}
|
|
104
|
-
const withHandle = (_c = zone.closest("[data-handle]")) !== null && _c !== void 0 ? _c : zone.querySelector("[data-handle]");
|
|
105
|
-
return (_d = withHandle === null || withHandle === void 0 ? void 0 : withHandle.getAttribute("data-handle")) !== null && _d !== void 0 ? _d : undefined;
|
|
106
|
-
}
|
|
107
|
-
function currentPageHandle() {
|
|
108
|
-
var _a;
|
|
109
|
-
return (_a = window.location.pathname.match(/\/products\/([^/?#]+)/)) === null || _a === void 0 ? void 0 : _a[1];
|
|
110
|
-
}
|
|
111
|
-
// Landing half: a fresh, single-use breadcrumb + we landed on the intended sibling
|
|
112
|
-
// + its product id resolves and differs from the source → emit prev_up_type=58.
|
|
113
|
-
function reportLandingIfSwitched(getBase, platform, ttlMs) {
|
|
114
|
-
const raw = sessionStorage.getItem(BREADCRUMB_SS_KEY);
|
|
115
|
-
if (!raw) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
sessionStorage.removeItem(BREADCRUMB_SS_KEY); // single-use, even when invalid
|
|
119
|
-
let crumb;
|
|
120
|
-
try {
|
|
121
|
-
crumb = JSON.parse(raw);
|
|
122
|
-
}
|
|
123
|
-
catch (e) {
|
|
124
|
-
return; // corrupt breadcrumb → discard silently, never block the origin half
|
|
125
|
-
}
|
|
126
|
-
// Number.isFinite guards a corrupt/missing ts: NaN comparisons are always
|
|
127
|
-
// false, which would otherwise make the breadcrumb pass the TTL check.
|
|
128
|
-
if (!(crumb === null || crumb === void 0 ? void 0 : crumb.from_product) || !crumb.dest_handle || !Number.isFinite(crumb.ts) || Date.now() - crumb.ts > ttlMs) {
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
if (currentPageHandle() !== crumb.dest_handle) {
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
const landedID = getProductPageID(platform);
|
|
135
|
-
if (!landedID || String(landedID) === String(crumb.from_product)) {
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
// Same prev_up_type=58 contract as the PLP grid (Serp.productSwatchSwitch);
|
|
139
|
-
// Pick<> ties us to the shared shape. The grid-only context (pos, pagenum,
|
|
140
|
-
// surface fields) intentionally doesn't exist on a merchant-theme PDP.
|
|
141
|
-
Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: { id: String(landedID), from_product: String(crumb.from_product) } }));
|
|
142
|
-
}
|
|
143
|
-
// Origin half: one capture-phase delegated listener; a click inside a declared
|
|
144
|
-
// swatch zone that targets a DIFFERENT product handle writes the breadcrumb.
|
|
145
|
-
// No network activity here — the emit happens on the landing (full page load,
|
|
146
|
-
// or Layer 2's same-document watcher below).
|
|
147
|
-
function installOriginListener(source, selectors) {
|
|
148
|
-
// Sanitize + validate the selector ONCE at install: a malformed or empty
|
|
149
|
-
// selector list must fail closed here, never throw inside the per-click path.
|
|
150
|
-
const selector = selectors.filter(s => typeof s === "string" && s.trim().length > 0).join(",");
|
|
151
|
-
if (!selector) {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
try {
|
|
155
|
-
document.createDocumentFragment().querySelector(selector);
|
|
156
|
-
}
|
|
157
|
-
catch (e) {
|
|
158
|
-
return; // invalid CSS selector in config → detection off for this page
|
|
159
|
-
}
|
|
160
|
-
document.addEventListener("click", (e) => {
|
|
161
|
-
try {
|
|
162
|
-
if (!source.id || !source.handle) {
|
|
163
|
-
return; // current product unknown (unattributed in-place nav) → fail closed
|
|
164
|
-
}
|
|
165
|
-
// Clicks can target a Text node (synthetic dispatch); resolve to its
|
|
166
|
-
// parent element so the swatch zone is still found.
|
|
167
|
-
const target = e.target;
|
|
168
|
-
const el = target instanceof Element ? target : target === null || target === void 0 ? void 0 : target.parentElement;
|
|
169
|
-
const zone = el === null || el === void 0 ? void 0 : el.closest(selector);
|
|
170
|
-
if (!zone) {
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
const destHandle = resolveDestHandle(zone);
|
|
174
|
-
if (!destHandle || destHandle === source.handle) {
|
|
175
|
-
return; // unresolvable or self-switch → no breadcrumb
|
|
176
|
-
}
|
|
177
|
-
const crumb = { from_product: source.id, dest_handle: destHandle, ts: Date.now() };
|
|
178
|
-
sessionStorage.setItem(BREADCRUMB_SS_KEY, JSON.stringify(crumb));
|
|
179
|
-
}
|
|
180
|
-
catch (err) {
|
|
181
|
-
// detection must never interfere with the theme's own click handling
|
|
182
|
-
}
|
|
183
|
-
}, true);
|
|
184
|
-
}
|
|
185
|
-
// Layer 2 — same-document landings (#12003). Some themes swap the sibling
|
|
186
|
-
// product IN PLACE (history.pushState + DOM swap, no page load — verified live
|
|
187
|
-
// on Stride Rite), so the full-load landing half never runs. This watcher hooks
|
|
188
|
-
// history changes on the SAME document and applies the identical breadcrumb
|
|
189
|
-
// contract: exact dest-handle match, TTL, product actually changed. The landed
|
|
190
|
-
// id is resolved from Shopify's product JSON because swapped-in DOM keeps stale
|
|
191
|
-
// analytics meta (verified: ShopifyAnalytics still reported the origin product
|
|
192
|
-
// after Stride Rite's swap). At most ONE network request per genuine,
|
|
193
|
-
// breadcrumb-validated switch; unattributed in-place navigations just mark the
|
|
194
|
-
// source unknown (fail closed) without any request.
|
|
195
|
-
function installInPlaceLandingWatcher(getBase, platform, ttlMs, source) {
|
|
196
|
-
let lastHandle = currentPageHandle();
|
|
197
|
-
const onUrlChange = () => {
|
|
198
|
-
try {
|
|
199
|
-
const handle = currentPageHandle();
|
|
200
|
-
if (!handle || handle === lastHandle) {
|
|
201
|
-
return; // same product (e.g. ?variant= replaceState churn) → ignore
|
|
202
|
-
}
|
|
203
|
-
lastHandle = handle;
|
|
204
|
-
// Identity flips to "unknown" SYNCHRONOUSLY (Copilot review): a swatch
|
|
205
|
-
// click racing the id fetch below must fail closed (no breadcrumb)
|
|
206
|
-
// rather than write the PREVIOUS product as from_product.
|
|
207
|
-
source.handle = handle;
|
|
208
|
-
source.id = null;
|
|
209
|
-
const raw = sessionStorage.getItem(BREADCRUMB_SS_KEY);
|
|
210
|
-
sessionStorage.removeItem(BREADCRUMB_SS_KEY); // single-use, even when invalid
|
|
211
|
-
let crumb;
|
|
212
|
-
try {
|
|
213
|
-
crumb = raw ? JSON.parse(raw) : undefined;
|
|
214
|
-
}
|
|
215
|
-
catch (e) {
|
|
216
|
-
crumb = undefined;
|
|
217
|
-
}
|
|
218
|
-
const valid = !!crumb && !!crumb.from_product && crumb.dest_handle === handle
|
|
219
|
-
&& Number.isFinite(crumb.ts) && Date.now() - crumb.ts <= ttlMs;
|
|
220
|
-
// The id resolves in the background on EVERY product change (Copilot
|
|
221
|
-
// review): an unattributed navigation (back/forward, in-theme routing)
|
|
222
|
-
// recovers the identity instead of disabling detection for the rest of
|
|
223
|
-
// the document lifetime. Bound: one request per in-place PRODUCT
|
|
224
|
-
// navigation, only on config-active PDPs.
|
|
225
|
-
fetch(`/products/${handle}.js`)
|
|
226
|
-
.then(r => (r.ok ? r.json() : null))
|
|
227
|
-
.then((p) => {
|
|
228
|
-
const landedID = p === null || p === void 0 ? void 0 : p.id;
|
|
229
|
-
// Late-resolution guard: navigations can resolve out of order —
|
|
230
|
-
// only adopt the id while this handle is still the current one.
|
|
231
|
-
if (landedID && lastHandle === handle) {
|
|
232
|
-
source.id = String(landedID);
|
|
233
|
-
}
|
|
234
|
-
// The emit itself is hop-frozen (crumb + this handle's id), so
|
|
235
|
-
// it stays correct even when it resolves after a further hop.
|
|
236
|
-
if (!valid || !landedID || String(landedID) === String(crumb.from_product)) {
|
|
237
|
-
return;
|
|
238
|
-
}
|
|
239
|
-
Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: { id: String(landedID), from_product: String(crumb.from_product) } }));
|
|
240
|
-
})
|
|
241
|
-
.catch(() => {
|
|
242
|
-
// id stays unknown for this handle; the next product change retries
|
|
243
|
-
});
|
|
244
|
-
}
|
|
245
|
-
catch (e) {
|
|
246
|
-
// never break the theme's own routing
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
// setTimeout(0) lets the theme finish its swap before we read the URL.
|
|
250
|
-
const schedule = () => { window.setTimeout(onUrlChange, 0); };
|
|
251
|
-
try {
|
|
252
|
-
const origPush = history.pushState.bind(history);
|
|
253
|
-
history.pushState = function (data, unused, url) {
|
|
254
|
-
const r = origPush(data, unused, url);
|
|
255
|
-
schedule();
|
|
256
|
-
return r;
|
|
257
|
-
};
|
|
258
|
-
const origReplace = history.replaceState.bind(history);
|
|
259
|
-
history.replaceState = function (data, unused, url) {
|
|
260
|
-
const r = origReplace(data, unused, url);
|
|
261
|
-
schedule();
|
|
262
|
-
return r;
|
|
263
|
-
};
|
|
264
|
-
window.addEventListener("popstate", schedule);
|
|
265
|
-
}
|
|
266
|
-
catch (e) {
|
|
267
|
-
// locked-down history object → Layer 2 unavailable; Layer 1 unaffected
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
export function runPdpSwatchSwitch(getBase, platform) {
|
|
271
|
-
try {
|
|
272
|
-
if (platform !== "Shopify") {
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
const config = getConfig(getBase().uuid);
|
|
276
|
-
if (!config) {
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
|
-
const sourceID = getProductPageID(platform);
|
|
280
|
-
const sourceHandle = currentPageHandle();
|
|
281
|
-
if (!sourceID || !sourceHandle) {
|
|
282
|
-
return; // not a PDP → nothing to observe
|
|
283
|
-
}
|
|
284
|
-
const source = { id: String(sourceID), handle: sourceHandle };
|
|
285
|
-
// TTL must be a finite positive number — NaN passes a typeof check
|
|
286
|
-
// (e.g. via __fast_options) and NaN compares are always false, which
|
|
287
|
-
// would make the breadcrumb immortal.
|
|
288
|
-
const ttlMs = typeof config.ttlMs === "number" && Number.isFinite(config.ttlMs) && config.ttlMs > 0
|
|
289
|
-
? config.ttlMs
|
|
290
|
-
: DEFAULT_TTL_MS;
|
|
291
|
-
// Origin listener first: a landing-half failure must never cost this
|
|
292
|
-
// page its origin detection. Then Layer 2's same-document watcher, then
|
|
293
|
-
// the full-load landing check.
|
|
294
|
-
installOriginListener(source, config.selectors);
|
|
295
|
-
installInPlaceLandingWatcher(getBase, platform, ttlMs, source);
|
|
296
|
-
reportLandingIfSwitched(getBase, platform, ttlMs);
|
|
297
|
-
}
|
|
298
|
-
catch (e) {
|
|
299
|
-
console.log(`%c⚠️ Fast Simon Reporting Warning | Swatch-switch detection failed`, "font-weight: bold; font-size: 12px; color: orange", e);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
//# sourceMappingURL=pdpSwatchSwitch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pdpSwat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C,IAAI,MAAM,CAAC,KAAK,GAAG,CAAC;YAC/F,CAAC,CAAC,MAAM,CAAC,KAAK;YACd,CAAC,CAAC,cAAc,CAAC;QACrB,qEAAqE;QACrE,wEAAwE;QACxE,+BAA+B;QAC/B,qBAAqB,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;QAChD,4BAA4B,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;QAC/D,uBAAuB,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;KACrD;IAAC,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,GAAG,CAAC,oEAAoE,EAAE,mDAAmD,EAAE,CAAC,CAAC,CAAC;KAC7I;AACL,CAAC"}
|
package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FastSimonReportingProps } from "../../@types/reporting";
|
|
2
|
-
/**
|
|
3
|
-
* Detector-only entry point for hosts that must NOT run the full reporting
|
|
4
|
-
* library (#12003). Pure-SDK storefronts (e.g. Ally Fashion) perform their own
|
|
5
|
-
* init post_load and product-view reporting — initializing FastSimonReporting
|
|
6
|
-
* there (ensureReportingScript / getFastSimonReporting) would double-report
|
|
7
|
-
* those events. This runs ONLY the PDP swatch-switch detector, building base
|
|
8
|
-
* props from the same shared storage the full library uses (session token,
|
|
9
|
-
* user session, cart token), so the emitted event joins the shopper's other
|
|
10
|
-
* analytics under the same identifiers.
|
|
11
|
-
*
|
|
12
|
-
* Inert unless the site has a swatch-switch config (localStorage from /load,
|
|
13
|
-
* __fast_options, or the static launch-site registry) — the detector's own
|
|
14
|
-
* gate. Never throws into the host.
|
|
15
|
-
*/
|
|
16
|
-
export declare function runPdpSwatchSwitchStandalone({ uuid, storeID, platform }: FastSimonReportingProps): void;
|
package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Cart } from "../../services/cart";
|
|
2
|
-
import getSessionToken from "../../utils/getSessionToken";
|
|
3
|
-
import getUserSession from "../../utils/getUserSession";
|
|
4
|
-
import { runPdpSwatchSwitch } from "./pdpSwatchSwitch";
|
|
5
|
-
/**
|
|
6
|
-
* Detector-only entry point for hosts that must NOT run the full reporting
|
|
7
|
-
* library (#12003). Pure-SDK storefronts (e.g. Ally Fashion) perform their own
|
|
8
|
-
* init post_load and product-view reporting — initializing FastSimonReporting
|
|
9
|
-
* there (ensureReportingScript / getFastSimonReporting) would double-report
|
|
10
|
-
* those events. This runs ONLY the PDP swatch-switch detector, building base
|
|
11
|
-
* props from the same shared storage the full library uses (session token,
|
|
12
|
-
* user session, cart token), so the emitted event joins the shopper's other
|
|
13
|
-
* analytics under the same identifiers.
|
|
14
|
-
*
|
|
15
|
-
* Inert unless the site has a swatch-switch config (localStorage from /load,
|
|
16
|
-
* __fast_options, or the static launch-site registry) — the detector's own
|
|
17
|
-
* gate. Never throws into the host.
|
|
18
|
-
*/
|
|
19
|
-
export function runPdpSwatchSwitchStandalone({ uuid, storeID, platform }) {
|
|
20
|
-
try {
|
|
21
|
-
const getBase = () => {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
return ({
|
|
24
|
-
uuid,
|
|
25
|
-
storeID,
|
|
26
|
-
platform,
|
|
27
|
-
userSession: (_a = getUserSession()) !== null && _a !== void 0 ? _a : "",
|
|
28
|
-
sessionToken: getSessionToken(),
|
|
29
|
-
cartToken: (_b = Cart.getToken(platform)) !== null && _b !== void 0 ? _b : ""
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
runPdpSwatchSwitch(getBase, platform);
|
|
33
|
-
}
|
|
34
|
-
catch (e) {
|
|
35
|
-
// never block the host SDK
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=standalone.js.map
|
package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standalone.js","sourceRoot":"","sources":["../../../src/components/swatchSwitch/standalone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,qBAAqB,CAAC;AAEzC,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAErD;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,4BAA4B,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAA0B;IAC3F,IAAI;QACA,MAAM,OAAO,GAAG,GAAoB,EAAE;;YAAC,OAAA,CAAC;gBACpC,IAAI;gBACJ,OAAO;gBACP,QAAQ;gBACR,WAAW,EAAE,MAAA,cAAc,EAAE,mCAAI,EAAE;gBACnC,YAAY,EAAE,eAAe,EAAE;gBAC/B,SAAS,EAAE,MAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,mCAAI,EAAE;aAC3C,CAAC,CAAA;SAAA,CAAC;QACH,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;KACzC;IAAC,OAAO,CAAC,EAAE;QACR,2BAA2B;KAC9B;AACL,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ImpressionMetadata, ImpressionRecord } from "../../@types/viewportImpressions";
|
|
2
|
-
export interface ViewportImpressionTrackerConfig {
|
|
3
|
-
threshold?: number;
|
|
4
|
-
backupInterval?: number;
|
|
5
|
-
onImpression?: (record: ImpressionRecord) => void;
|
|
6
|
-
onReport?: (impressions: ImpressionRecord[]) => Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
export declare class ViewportImpressionTracker {
|
|
9
|
-
private impressions;
|
|
10
|
-
private observers;
|
|
11
|
-
private observerMetadata;
|
|
12
|
-
private reportingTimer;
|
|
13
|
-
private hasReportedOnPageLeave;
|
|
14
|
-
private config;
|
|
15
|
-
private pageLeaveCleanup;
|
|
16
|
-
constructor(config?: ViewportImpressionTrackerConfig);
|
|
17
|
-
track(element: Element, metadata: ImpressionMetadata): void;
|
|
18
|
-
untrack(element: Element): void;
|
|
19
|
-
reportNow(): Promise<void>;
|
|
20
|
-
destroy(): void;
|
|
21
|
-
private handleIntersection;
|
|
22
|
-
private setupBackupTimer;
|
|
23
|
-
private setupPageLeaveHandlers;
|
|
24
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
export class ViewportImpressionTracker {
|
|
11
|
-
constructor(config = {}) {
|
|
12
|
-
var _a, _b, _c, _d;
|
|
13
|
-
this.impressions = new Map();
|
|
14
|
-
this.observers = new Map();
|
|
15
|
-
this.observerMetadata = new Map();
|
|
16
|
-
this.reportingTimer = null;
|
|
17
|
-
this.hasReportedOnPageLeave = false;
|
|
18
|
-
this.pageLeaveCleanup = null;
|
|
19
|
-
this.config = {
|
|
20
|
-
threshold: (_a = config.threshold) !== null && _a !== void 0 ? _a : 0.7,
|
|
21
|
-
backupInterval: (_b = config.backupInterval) !== null && _b !== void 0 ? _b : 120000,
|
|
22
|
-
onImpression: (_c = config.onImpression) !== null && _c !== void 0 ? _c : (() => { }),
|
|
23
|
-
onReport: (_d = config.onReport) !== null && _d !== void 0 ? _d : (() => Promise.resolve())
|
|
24
|
-
};
|
|
25
|
-
this.setupBackupTimer();
|
|
26
|
-
this.setupPageLeaveHandlers();
|
|
27
|
-
}
|
|
28
|
-
track(element, metadata) {
|
|
29
|
-
// Don't track the same element twice
|
|
30
|
-
if (this.observers.has(element)) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
// If we already tracked this ID, skip
|
|
34
|
-
if (this.impressions.has(metadata.elementID)) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
const observer = new IntersectionObserver((entries) => this.handleIntersection(entries), { threshold: this.config.threshold });
|
|
38
|
-
observer.observe(element);
|
|
39
|
-
this.observers.set(element, observer);
|
|
40
|
-
this.observerMetadata.set(element, metadata);
|
|
41
|
-
}
|
|
42
|
-
untrack(element) {
|
|
43
|
-
const observer = this.observers.get(element);
|
|
44
|
-
if (observer) {
|
|
45
|
-
observer.disconnect();
|
|
46
|
-
this.observers.delete(element);
|
|
47
|
-
this.observerMetadata.delete(element);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
reportNow() {
|
|
51
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
const impressionsToReport = Array.from(this.impressions.values())
|
|
53
|
-
.filter(record => !record.isReported);
|
|
54
|
-
if (impressionsToReport.length === 0) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
// Mark as reported before sending to prevent duplicates
|
|
58
|
-
impressionsToReport.forEach(record => {
|
|
59
|
-
record.isReported = true;
|
|
60
|
-
});
|
|
61
|
-
try {
|
|
62
|
-
yield this.config.onReport(impressionsToReport);
|
|
63
|
-
// Clear reported impressions
|
|
64
|
-
this.impressions.clear();
|
|
65
|
-
}
|
|
66
|
-
catch (error) {
|
|
67
|
-
// Revert isReported flag on error
|
|
68
|
-
impressionsToReport.forEach(record => {
|
|
69
|
-
record.isReported = false;
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
destroy() {
|
|
75
|
-
// Clear all observers
|
|
76
|
-
this.observers.forEach((observer) => observer.disconnect());
|
|
77
|
-
this.observers.clear();
|
|
78
|
-
// Clear timer
|
|
79
|
-
if (this.reportingTimer !== null) {
|
|
80
|
-
clearInterval(this.reportingTimer);
|
|
81
|
-
this.reportingTimer = null;
|
|
82
|
-
}
|
|
83
|
-
// Remove page leave handlers
|
|
84
|
-
if (this.pageLeaveCleanup) {
|
|
85
|
-
this.pageLeaveCleanup();
|
|
86
|
-
this.pageLeaveCleanup = null;
|
|
87
|
-
}
|
|
88
|
-
// Clear impressions
|
|
89
|
-
this.impressions.clear();
|
|
90
|
-
}
|
|
91
|
-
handleIntersection(entries) {
|
|
92
|
-
entries.forEach(entry => {
|
|
93
|
-
if (entry.isIntersecting) {
|
|
94
|
-
const metadata = this.observerMetadata.get(entry.target);
|
|
95
|
-
if (!metadata || this.impressions.has(metadata.elementID)) {
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
const record = Object.assign(Object.assign({}, metadata), { timestamp: Date.now(), isReported: false });
|
|
99
|
-
this.impressions.set(metadata.elementID, record);
|
|
100
|
-
this.config.onImpression(record);
|
|
101
|
-
// Disconnect and clean up observer after first impression
|
|
102
|
-
const observer = this.observers.get(entry.target);
|
|
103
|
-
if (observer) {
|
|
104
|
-
observer.disconnect();
|
|
105
|
-
this.observers.delete(entry.target);
|
|
106
|
-
this.observerMetadata.delete(entry.target);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
setupBackupTimer() {
|
|
112
|
-
this.reportingTimer = window.setInterval(() => {
|
|
113
|
-
this.reportNow().catch(error => {
|
|
114
|
-
console.error('Backup timer reporting failed:', error);
|
|
115
|
-
});
|
|
116
|
-
}, this.config.backupInterval);
|
|
117
|
-
}
|
|
118
|
-
setupPageLeaveHandlers() {
|
|
119
|
-
const handlePageLeave = () => {
|
|
120
|
-
if (this.hasReportedOnPageLeave)
|
|
121
|
-
return;
|
|
122
|
-
this.hasReportedOnPageLeave = true;
|
|
123
|
-
// Synchronous reporting for page leave
|
|
124
|
-
const impressionsToReport = Array.from(this.impressions.values())
|
|
125
|
-
.filter(record => !record.isReported);
|
|
126
|
-
if (impressionsToReport.length > 0) {
|
|
127
|
-
// Fire and forget - we can't wait for the promise
|
|
128
|
-
this.config.onReport(impressionsToReport).catch(() => {
|
|
129
|
-
// Ignore errors during page leave
|
|
130
|
-
});
|
|
131
|
-
// Clear impressions
|
|
132
|
-
this.impressions.clear();
|
|
133
|
-
}
|
|
134
|
-
};
|
|
135
|
-
const handleVisibilityChange = () => {
|
|
136
|
-
if (document.visibilityState === 'hidden') {
|
|
137
|
-
handlePageLeave();
|
|
138
|
-
}
|
|
139
|
-
else if (document.visibilityState === 'visible') {
|
|
140
|
-
// Reset the flag when page becomes visible again
|
|
141
|
-
this.hasReportedOnPageLeave = false;
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
// Register events
|
|
145
|
-
window.addEventListener('beforeunload', handlePageLeave);
|
|
146
|
-
document.addEventListener('visibilitychange', handleVisibilityChange);
|
|
147
|
-
window.addEventListener('pagehide', handlePageLeave);
|
|
148
|
-
// Store cleanup function
|
|
149
|
-
this.pageLeaveCleanup = () => {
|
|
150
|
-
window.removeEventListener('beforeunload', handlePageLeave);
|
|
151
|
-
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
152
|
-
window.removeEventListener('pagehide', handlePageLeave);
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
//# sourceMappingURL=ViewportImpressionTracker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ViewportImpressionTracker.js","sourceRoot":"","sources":["../../../src/components/viewportImpressions/ViewportImpressionTracker.ts"],"names":[],"mappings":";;;;;;;;;AASA,MAAM,OAAO,yBAAyB;IASlC,YAAY,SAA0C,EAAE;;QACpD,IAAI,CAAC,WAAW,GAAG,IAAI,GAAG,EAAE,CAAC;Q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AAI,QAAQ,CAAC,eAAe,KAAK,SAAS,EAAE;gBAC/C,iDAAiD;gBACjD,IAAI,CAAC,sBAAsB,GAAG,KAAK,CAAC;aACvC;QACL,CAAC,CAAC;QAEF,kBAAkB;QAClB,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;QACzD,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC;QACtE,MAAM,CAAC,gBAAgB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;QAErD,yBAAyB;QACzB,IAAI,CAAC,gBAAgB,GAAG,GAAG,EAAE;YACzB,MAAM,CAAC,mBAAmB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;YAC5D,QAAQ,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC;YACzE,MAAM,CAAC,mBAAmB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;QAC5D,CAAC,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReportBaseProps } from "../../@types/reporting";
|
|
2
|
-
import { ImpressionMetadata } from "../../@types/viewportImpressions";
|
|
3
|
-
export declare function ViewportImpressions(getBase: () => ReportBaseProps): {
|
|
4
|
-
trackElement: (element: Element, metadata: ImpressionMetadata) => void;
|
|
5
|
-
untrackElement: (element: Element) => void;
|
|
6
|
-
onContextChange: () => Promise<void>;
|
|
7
|
-
reportNow: () => Promise<void>;
|
|
8
|
-
destroy: () => void;
|
|
9
|
-
};
|