fast-simon-sdk 1.6.119 → 1.6.121

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (660) hide show
  1. package/lib/models/autocomplete.d.ts +0 -5
  2. package/lib/models/common.d.ts +10 -2
  3. package/lib/models/common.js.map +1 -1
  4. package/lib/sections/index.js +15 -11
  5. package/lib/sections/index.js.map +1 -1
  6. package/lib/sections/initialization/index.js +0 -9
  7. package/lib/sections/initialization/index.js.map +1 -1
  8. package/lib/services/common.js +3 -1
  9. package/lib/services/common.js.map +1 -1
  10. package/lib/services/related.js +3 -1
  11. package/lib/services/related.js.map +1 -1
  12. package/lib/services/reporting.js +7 -1
  13. package/lib/services/reporting.js.map +1 -1
  14. package/lib/services/visualDiscoveryReporting.js +11 -5
  15. package/lib/services/visualDiscoveryReporting.js.map +1 -1
  16. package/lib/utils/callbackArg.d.ts +15 -0
  17. package/lib/utils/callbackArg.js +21 -0
  18. package/lib/utils/callbackArg.js.map +1 -0
  19. package/lib/utils/shopifyCustomerId.d.ts +8 -0
  20. package/lib/utils/shopifyCustomerId.js +25 -0
  21. package/lib/utils/shopifyCustomerId.js.map +1 -0
  22. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +27 -0
  23. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +2 -0
  24. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +1 -0
  25. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +1 -0
  26. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +2 -0
  27. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +1 -0
  28. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +18 -0
  29. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +2 -0
  30. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +1 -0
  31. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +23 -0
  32. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +2 -0
  33. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +1 -0
  34. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +138 -0
  35. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +2 -0
  36. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +1 -0
  37. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +126 -0
  38. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +2 -0
  39. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +1 -0
  40. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +34 -0
  41. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +2 -0
  42. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +1 -0
  43. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +75 -0
  44. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +8 -0
  45. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +1 -0
  46. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +86 -0
  47. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +241 -0
  48. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +1 -0
  49. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +13 -0
  50. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +71 -0
  51. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +1 -0
  52. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +14 -0
  53. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +62 -0
  54. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +1 -0
  55. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +1 -0
  56. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +21 -0
  57. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +1 -0
  58. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +9 -0
  59. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +54 -0
  60. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +1 -0
  61. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +26 -0
  62. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +399 -0
  63. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +1 -0
  64. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +13 -0
  65. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +84 -0
  66. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +1 -0
  67. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +31 -0
  68. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +302 -0
  69. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +1 -0
  70. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +16 -0
  71. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +38 -0
  72. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +1 -0
  73. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +24 -0
  74. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +156 -0
  75. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +1 -0
  76. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +9 -0
  77. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +122 -0
  78. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +1 -0
  79. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +14 -0
  80. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +36 -0
  81. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +1 -0
  82. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.d.ts +0 -0
  83. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js +2 -0
  84. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +1 -0
  85. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +13 -0
  86. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +10 -0
  87. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +1 -0
  88. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +20 -0
  89. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +32 -0
  90. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +1 -0
  91. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +28 -0
  92. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +332 -0
  93. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +1 -0
  94. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +33 -0
  95. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +171 -0
  96. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +1 -0
  97. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +20 -0
  98. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +27 -0
  99. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +1 -0
  100. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +60 -0
  101. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +111 -0
  102. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +1 -0
  103. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +8 -0
  104. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +72 -0
  105. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +1 -0
  106. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +2 -0
  107. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +16 -0
  108. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +1 -0
  109. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.d.ts +0 -0
  110. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js +2 -0
  111. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +1 -0
  112. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +1 -0
  113. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +9 -0
  114. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +1 -0
  115. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +13 -0
  116. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +60 -0
  117. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +1 -0
  118. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +1 -0
  119. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +14 -0
  120. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +1 -0
  121. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +22 -0
  122. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +29 -0
  123. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +1 -0
  124. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +2 -0
  125. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +11 -0
  126. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +1 -0
  127. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +3 -0
  128. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +25 -0
  129. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +1 -0
  130. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +9 -0
  131. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +25 -0
  132. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +1 -0
  133. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +2 -0
  134. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +41 -0
  135. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +1 -0
  136. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +1 -0
  137. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +16 -0
  138. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +1 -0
  139. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +2 -0
  140. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +48 -0
  141. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +1 -0
  142. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +1 -0
  143. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +11 -0
  144. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +1 -0
  145. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +2 -0
  146. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +18 -0
  147. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +1 -0
  148. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +2 -0
  149. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +11 -0
  150. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +1 -0
  151. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +9 -0
  152. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +68 -0
  153. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +1 -0
  154. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +8 -0
  155. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +25 -0
  156. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +1 -0
  157. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +4 -0
  158. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +113 -0
  159. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +1 -0
  160. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +1 -0
  161. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +17 -0
  162. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +1 -0
  163. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +1 -0
  164. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +9 -0
  165. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +1 -0
  166. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +10 -0
  167. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +76 -0
  168. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +1 -0
  169. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +2 -0
  170. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +13 -0
  171. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +1 -0
  172. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +1 -0
  173. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +10 -0
  174. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +1 -0
  175. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +1 -0
  176. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +28 -0
  177. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +1 -0
  178. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +18 -0
  179. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +94 -0
  180. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +1 -0
  181. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +10 -0
  182. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +31 -0
  183. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +1 -0
  184. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +53 -0
  185. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +98 -0
  186. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +1 -0
  187. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +4 -0
  188. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +16 -0
  189. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +1 -0
  190. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +25 -0
  191. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +59 -0
  192. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +1 -0
  193. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +6 -0
  194. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +17 -0
  195. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +1 -0
  196. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +1 -0
  197. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +8 -0
  198. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +1 -0
  199. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +4 -0
  200. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +16 -0
  201. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +1 -0
  202. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +7 -0
  203. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +21 -0
  204. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +1 -0
  205. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +1 -0
  206. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +11 -0
  207. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +1 -0
  208. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +10 -0
  209. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +86 -0
  210. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +1 -0
  211. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +13 -0
  212. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +53 -0
  213. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +1 -0
  214. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +4 -0
  215. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +8 -0
  216. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +1 -0
  217. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +36 -0
  218. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +70 -0
  219. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +1 -0
  220. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +2 -0
  221. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +100 -0
  222. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +1 -0
  223. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +1 -0
  224. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +17 -0
  225. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +1 -0
  226. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +10 -0
  227. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +86 -0
  228. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +1 -0
  229. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +2 -0
  230. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +19 -0
  231. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +1 -0
  232. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +2 -0
  233. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +12 -0
  234. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +1 -0
  235. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +1 -0
  236. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +4 -0
  237. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +1 -0
  238. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +4 -0
  239. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +23 -0
  240. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +1 -0
  241. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +4 -0
  242. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +32 -0
  243. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +1 -0
  244. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +5 -0
  245. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +19 -0
  246. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +1 -0
  247. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +10 -0
  248. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +84 -0
  249. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +1 -0
  250. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +24 -0
  251. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +25 -0
  252. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +1 -0
  253. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +34 -0
  254. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +42 -0
  255. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +2 -0
  256. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +1 -0
  257. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +2 -0
  258. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +2 -0
  259. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +1 -0
  260. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +142 -0
  261. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +2 -0
  262. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +1 -0
  263. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +4 -0
  264. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +2 -0
  265. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +1 -0
  266. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +4 -0
  267. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +2 -0
  268. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +1 -0
  269. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +4 -0
  270. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +2 -0
  271. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +1 -0
  272. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +1 -0
  273. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +2 -0
  274. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +1 -0
  275. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +75 -0
  276. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +2 -0
  277. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +1 -0
  278. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +11 -0
  279. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +2 -0
  280. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +1 -0
  281. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +41 -0
  282. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +2 -0
  283. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +1 -0
  284. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +40 -0
  285. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +2 -0
  286. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +1 -0
  287. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +40 -0
  288. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +2 -0
  289. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +1 -0
  290. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +1 -0
  291. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +2 -0
  292. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +1 -0
  293. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +41 -0
  294. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +2 -0
  295. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +1 -0
  296. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +15 -0
  297. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +2 -0
  298. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +1 -0
  299. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +33 -0
  300. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +21 -0
  301. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +233 -0
  302. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +76 -0
  303. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +6 -0
  304. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +29 -0
  305. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +34 -0
  306. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +26 -0
  307. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +75 -0
  308. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  309. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +25 -0
  310. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +25 -0
  311. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  312. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +37 -0
  313. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +141 -0
  314. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +29 -0
  315. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +63 -0
  316. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +43 -0
  317. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +17 -0
  318. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +75 -0
  319. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +21 -0
  320. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +1014 -0
  321. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +19 -0
  322. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +1182 -0
  323. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +5 -0
  324. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +169 -0
  325. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +19 -0
  326. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +22 -0
  327. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +2377 -0
  328. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +1 -0
  329. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +2 -0
  330. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +1 -0
  331. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +2369 -0
  332. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +1 -0
  333. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +2 -0
  334. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  335. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +340 -0
  336. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +1 -0
  337. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +37 -0
  338. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +463 -0
  339. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +226 -0
  340. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +68 -0
  341. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +118 -0
  342. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +24 -0
  343. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +5 -0
  344. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +172 -0
  345. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +97 -0
  346. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +63 -0
  347. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +8 -0
  348. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +20 -0
  349. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +94 -0
  350. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +103 -0
  351. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +25 -0
  352. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +23 -0
  353. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +175 -0
  354. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +7 -0
  355. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +3 -0
  356. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +2 -0
  357. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +3 -0
  358. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +42 -0
  359. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +7 -0
  360. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +7 -0
  361. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +55 -0
  362. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  363. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +53 -0
  364. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  365. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +71 -0
  366. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +51 -0
  367. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  368. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +13 -0
  369. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  370. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  371. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +2 -0
  372. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  373. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  374. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +27 -0
  375. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +179 -0
  376. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
  377. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +86 -0
  378. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  379. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  380. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +11 -0
  381. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +3 -0
  382. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  383. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +5 -0
  384. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +11 -0
  385. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +522 -0
  386. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +100 -0
  387. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +60 -0
  388. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +14 -0
  389. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +6 -0
  390. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  391. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  392. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  393. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  394. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  395. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +62 -0
  396. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  397. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  398. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  399. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  400. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  401. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  402. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  403. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  404. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  405. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +15 -0
  406. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +85 -0
  407. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  408. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  409. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  410. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  411. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +19 -0
  412. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +138 -0
  413. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +208 -0
  414. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +25 -0
  415. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +1 -0
  416. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +19 -0
  417. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +7 -0
  418. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +141 -0
  419. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  420. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +27 -0
  421. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +5 -0
  422. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  423. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +13 -0
  424. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +24 -0
  425. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +21 -0
  426. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +54 -0
  427. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +5 -0
  428. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +30 -0
  429. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +76 -0
  430. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +5 -0
  431. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +35 -0
  432. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +34 -0
  433. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +4 -0
  434. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +50 -0
  435. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +9 -0
  436. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +13 -0
  437. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  438. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +9 -0
  439. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +29 -0
  440. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +21 -0
  441. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +49 -0
  442. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +3 -0
  443. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +14 -0
  444. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +81 -0
  445. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +56 -0
  446. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +10 -0
  447. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +5 -0
  448. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +12 -0
  449. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +40 -0
  450. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +21 -0
  451. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +55 -0
  452. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +3 -0
  453. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +4 -0
  454. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +3 -0
  455. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +4 -0
  456. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +80 -0
  457. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +3 -0
  458. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +4 -0
  459. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +3 -0
  460. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +4 -0
  461. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +3 -0
  462. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +4 -0
  463. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +19 -0
  464. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +49 -0
  465. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +3 -0
  466. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +4 -0
  467. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +3 -0
  468. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +4 -0
  469. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +16 -0
  470. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  471. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  472. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +21 -0
  473. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +63 -0
  474. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  475. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  476. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  477. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +10 -0
  478. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +3 -0
  479. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +4 -0
  480. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +3 -0
  481. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +6 -0
  482. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +80 -0
  483. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +38 -0
  484. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +6 -0
  485. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +13 -0
  486. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +9 -0
  487. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  488. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +21 -0
  489. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +53 -0
  490. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +10 -0
  491. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +35 -0
  492. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +78 -0
  493. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +85 -0
  494. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  495. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +18 -0
  496. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +155 -0
  497. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +15 -0
  498. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +1 -0
  499. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +1 -0
  500. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +686 -0
  501. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +58 -0
  502. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +686 -0
  503. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +19 -0
  504. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +355 -0
  505. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +62 -0
  506. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +4 -0
  507. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +506 -0
  508. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +10 -0
  509. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +82 -0
  510. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +21 -0
  511. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +12 -0
  512. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +3 -0
  513. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +13 -0
  514. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +136 -0
  515. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +20 -0
  516. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +46 -0
  517. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +84 -0
  518. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +5 -0
  519. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +87 -0
  520. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +9 -0
  521. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +252 -0
  522. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +38 -0
  523. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  524. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +9 -0
  525. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +178 -0
  526. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +21 -0
  527. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +71 -0
  528. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +377 -0
  529. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +97 -0
  530. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  531. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +10 -0
  532. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +12 -0
  533. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +9 -0
  534. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +21 -0
  535. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +21 -0
  536. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  537. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  538. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +50 -0
  539. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  540. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  541. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +5 -0
  542. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +27 -0
  543. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +81 -0
  544. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +68 -0
  545. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +9 -0
  546. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +16 -0
  547. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +12 -0
  548. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +45 -0
  549. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +21 -0
  550. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +40 -0
  551. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +1 -0
  552. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +4 -0
  553. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +5 -0
  554. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +15 -0
  555. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +77 -0
  556. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +36 -0
  557. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +9 -0
  558. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +11 -0
  559. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  560. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +9 -0
  561. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +91 -0
  562. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +21 -0
  563. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +46 -0
  564. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +3 -0
  565. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +14 -0
  566. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +111 -0
  567. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +3 -0
  568. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +45 -0
  569. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +22 -0
  570. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +29 -0
  571. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  572. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +58 -0
  573. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +10 -0
  574. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +5 -0
  575. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  576. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +13 -0
  577. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  578. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +21 -0
  579. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +46 -0
  580. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +3 -0
  581. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +8 -0
  582. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +108 -0
  583. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +3 -0
  584. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +8 -0
  585. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +21 -0
  586. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  587. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  588. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +15 -0
  589. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +49 -0
  590. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +12 -0
  591. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +13 -0
  592. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +58 -0
  593. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +21 -0
  594. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +40 -0
  595. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +6 -0
  596. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +3 -0
  597. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +8 -0
  598. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +91 -0
  599. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +6 -0
  600. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +16 -0
  601. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  602. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  603. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +21 -0
  604. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +50 -0
  605. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +1 -0
  606. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +4 -0
  607. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  608. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  609. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  610. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  611. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  612. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  613. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +1 -0
  614. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +4 -0
  615. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  616. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +12 -0
  617. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  618. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +16 -0
  619. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  620. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +6 -0
  621. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  622. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  623. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +1 -0
  624. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +4 -0
  625. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +1 -0
  626. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +4 -0
  627. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +3 -0
  628. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +9 -0
  629. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +86 -0
  630. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +1 -0
  631. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +4 -0
  632. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +1 -0
  633. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +4 -0
  634. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +3 -0
  635. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +11 -0
  636. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +192 -0
  637. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +3 -0
  638. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +507 -0
  639. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +23 -0
  640. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +100 -0
  641. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +8519 -0
  642. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +12 -0
  643. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +60 -0
  644. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +397 -0
  645. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +23 -0
  646. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +113 -0
  647. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +188 -0
  648. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +44 -0
  649. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +29 -0
  650. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +10 -0
  651. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +20 -0
  652. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +131 -0
  653. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +108 -0
  654. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +34 -0
  655. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +483 -0
  656. package/node_modules/@fast-simon/fast-simon-reporting/package.json +39 -0
  657. package/package.json +7 -4
  658. package/lib/utils/runSwatchSwitchDetector.d.ts +0 -8
  659. package/lib/utils/runSwatchSwitchDetector.js +0 -54
  660. package/lib/utils/runSwatchSwitchDetector.js.map +0 -1
@@ -0,0 +1,26 @@
1
+ import { ReportBaseProps } from "../../@types/reporting";
2
+ import { ProductHover, ReportCategoryPreformedProps, ReportPopUpSeenFromCategory, ReportPopUpSeenFromSearch, ReportProductAddedToCart, ReportProductClickedCategoryProps, ReportProductClickedLandingPageProps, ReportProductClickedSearchProps, ReportProductSwatchSwitchProps, ReportSearchPageViewedProps, ReportSearchPreformedProps, SourceType, VariantHover } from "../../@types/serp";
3
+ export declare const PRODUCT_FROM_SEARCH = "product-seen-from-search";
4
+ export declare const PRODUCT_FROM_CATEGORY = "product-seen-from-category";
5
+ export declare const PRODUCT_FROM_LANDING_PAGE = "product-seen-from-landing-page";
6
+ export declare function hasSvelteSERPDelayedReport(): boolean;
7
+ export declare function reformtNarrowForGA(narrow_by_filters: string): Record<string, string>;
8
+ export declare function reformtSortByForGA(sort_by: string): "Price Low To High" | "Price High To Low" | "Newest To Oldest" | "Oldest To Newest" | "Popularity" | "Ranking" | "Name A-Z" | "Name Z-A" | "Relevance" | undefined;
9
+ export declare const Serp: (getBase: () => ReportBaseProps) => {
10
+ reportSearchPreformed: (props: ReportSearchPreformedProps, src?: SourceType) => Promise<any>;
11
+ reportSmartNavigationPreformed: (props: ReportCategoryPreformedProps, src?: SourceType) => Promise<any>;
12
+ productClickedFromSearch: (props: ReportProductClickedSearchProps, src?: SourceType) => Promise<boolean>;
13
+ productClickedFromSmartNavigation: (props: ReportProductClickedCategoryProps, src?: SourceType) => Promise<boolean>;
14
+ productClickedFromLandingPage: (props: ReportProductClickedLandingPageProps) => Promise<boolean>;
15
+ quickViewUsedFromSearch: (props: ReportPopUpSeenFromSearch) => Promise<any>;
16
+ quickViewUsedFromSmartNavigation: (props: ReportPopUpSeenFromCategory) => Promise<any>;
17
+ LookALikeUsedFromSearch: (props: ReportPopUpSeenFromSearch) => Promise<any>;
18
+ LookALikeUsedFromSmartNavigation: (props: ReportPopUpSeenFromCategory) => Promise<any>;
19
+ reportProductAddedToCart: (props: ReportProductAddedToCart) => Promise<any>;
20
+ productHover: (props: ProductHover) => Promise<any>;
21
+ variantHover: (props: VariantHover) => Promise<any>;
22
+ productSwatchSwitch: (props: ReportProductSwatchSwitchProps) => Promise<any>;
23
+ promoTileClickedFromSearch: (props: ReportProductClickedSearchProps, src?: SourceType) => Promise<boolean>;
24
+ promoTileClickedFromSmartNavigation: (props: ReportProductClickedCategoryProps, src?: SourceType) => Promise<boolean>;
25
+ reportSearchPageViewed: (props: ReportSearchPageViewedProps, src?: SourceType) => Promise<boolean>;
26
+ };
@@ -0,0 +1,399 @@
1
+ import { Report, ReportingUpType } from "../../services/reporting";
2
+ import { DelayedReport, getDelayedKey } from "../delayedReport/delayedReport";
3
+ import { googleTagManager } from "../../utils/googleAnalytics";
4
+ import promisify from "../../utils/promisify";
5
+ export const PRODUCT_FROM_SEARCH = "product-seen-from-search";
6
+ export const PRODUCT_FROM_CATEGORY = "product-seen-from-category";
7
+ export const PRODUCT_FROM_LANDING_PAGE = "product-seen-from-landing-page";
8
+ export function hasSvelteSERPDelayedReport() {
9
+ return getDelayedKey(PRODUCT_FROM_SEARCH) in localStorage || getDelayedKey(PRODUCT_FROM_CATEGORY) in localStorage || getDelayedKey(PRODUCT_FROM_LANDING_PAGE) in localStorage;
10
+ }
11
+ export function reformtNarrowForGA(narrow_by_filters) {
12
+ const parsed = JSON.parse(narrow_by_filters);
13
+ const reformatted = {};
14
+ parsed.forEach(([key, values]) => {
15
+ reformatted[key] = values.join(',');
16
+ });
17
+ return reformatted;
18
+ }
19
+ export function reformtSortByForGA(sort_by) {
20
+ switch (sort_by) {
21
+ case 'price_min_to_max':
22
+ return 'Price Low To High';
23
+ case 'price_max_to_min':
24
+ return 'Price High To Low';
25
+ case 'creation_date':
26
+ return 'Newest To Oldest';
27
+ case 'creation_date_oldest':
28
+ return 'Oldest To Newest';
29
+ case 'popularity':
30
+ return 'Popularity';
31
+ case 'reviews':
32
+ return 'Ranking';
33
+ case 'a_to_z':
34
+ return 'Name A-Z';
35
+ case 'z_to_a':
36
+ return 'Name Z-A';
37
+ case 'relevency':
38
+ return 'Relevance';
39
+ case 'relevance':
40
+ return 'Relevance';
41
+ }
42
+ }
43
+ export const Serp = (getBase) => ({
44
+ reportSearchPreformed: (props, src) => {
45
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
46
+ const isNoResults = props === null || props === void 0 ? void 0 : props.no_results;
47
+ const landingPage = props === null || props === void 0 ? void 0 : props.landing_page;
48
+ let gtagHasNarrow = null;
49
+ if (props === null || props === void 0 ? void 0 : props.gtag_has_narrow) {
50
+ gtagHasNarrow = props.gtag_has_narrow;
51
+ delete props.gtag_has_narrow;
52
+ }
53
+ if ((props === null || props === void 0 ? void 0 : props.original_search_query) && src === "v-next-ssr") {
54
+ googleTagManager("event", "view_search_results", {
55
+ page: {
56
+ searchTerm: props === null || props === void 0 ? void 0 : props.original_search_query,
57
+ searchResults: props === null || props === void 0 ? void 0 : props.rescount
58
+ }
59
+ }, src);
60
+ }
61
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
62
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultViewItemListEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultViewItemListEvent) === true)) {
63
+ googleTagManager('event', 'view_item_list', Object.assign(Object.assign({ items: props.gtag_product_items }, (gtagHasNarrow ? { category: 'filter' } : {})), (props.narrow_by_filters || props.sort_by ? {
64
+ state: {
65
+ filters: props.narrow_by_filters ? reformtNarrowForGA(props.narrow_by_filters) : {},
66
+ orderBy: props.sort_by ? reformtSortByForGA(props.sort_by) : ''
67
+ }
68
+ } : {})), src);
69
+ }
70
+ try {
71
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.viewItemListCallback) === "function") {
72
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.viewItemListCallback) === null || _e === void 0 ? void 0 : _e.call(_d, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: 'filter' } : {})));
73
+ }
74
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.viewItemListCallback) === "function") {
75
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.viewItemListCallback) === null || _h === void 0 ? void 0 : _h.call(_g, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: 'filter' } : {})));
76
+ }
77
+ }
78
+ catch (e) {
79
+ console.log(`%c❌ Fast Simon Reporting Error | Error in viewItemListCallback Method`, "font-weight: bold; font-size: 12px; color: red");
80
+ }
81
+ delete props.gtag_product_items;
82
+ }
83
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_promotions) {
84
+ if (!(((_j = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _j === void 0 ? void 0 : _j.avoidDefaultViewItemListEvent) === true) && !(((_k = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _k === void 0 ? void 0 : _k.avoidDefaultViewItemListEvent) === true)) {
85
+ googleTagManager('event', 'view_promotions', { items: props.gtag_product_promotions }, src);
86
+ }
87
+ delete props.gtag_product_promotions;
88
+ }
89
+ if (typeof (props === null || props === void 0 ? void 0 : props.no_results) !== 'undefined') {
90
+ delete props.no_results;
91
+ }
92
+ if (typeof (props === null || props === void 0 ? void 0 : props.landing_page) !== 'undefined') {
93
+ delete props.landing_page;
94
+ }
95
+ if (window === null || window === void 0 ? void 0 : window.fsPageViewedReportFired) {
96
+ window.fsPageViewedReportFired = false;
97
+ return Promise.resolve();
98
+ }
99
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: isNoResults ? ReportingUpType.searchPreformedNoResults
100
+ : landingPage ? ReportingUpType.landingPageSeen
101
+ : ReportingUpType.searchPreformed, params: props }));
102
+ },
103
+ reportSmartNavigationPreformed: (props, src) => {
104
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
105
+ let gtagHasNarrow = null;
106
+ let fromTurbolink = false;
107
+ let turbolinkSource = null;
108
+ let turbolinkTimestamp = null;
109
+ const MAX_TURBOLINK_STORAGE_AGE_MS = 5 * 60 * 1000; // 5 minutes - prevent stale data usage
110
+ // Helper function to clear turbolink data from localStorage
111
+ const clearTurbolinkData = () => {
112
+ try {
113
+ localStorage.removeItem("collectionClickedFromTurboLink");
114
+ localStorage.removeItem("collectionClickedFromTurboLink-Search-Query");
115
+ localStorage.removeItem("collectionClickedFromTurboLink-Timestamp");
116
+ localStorage.removeItem("collectionClickedFromTurboLink-Source");
117
+ }
118
+ catch (e) {
119
+ console.warn("Failed to clear turbolink data from localStorage:", e);
120
+ }
121
+ };
122
+ let baseURLparts = (_c = (_b = (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href) === null || _b === void 0 ? void 0 : _b.split) === null || _c === void 0 ? void 0 : _c.call(_b, "?");
123
+ if (baseURLparts.length > 0) {
124
+ let baseURL = baseURLparts === null || baseURLparts === void 0 ? void 0 : baseURLparts[0];
125
+ // Extract just the pathname for comparison (without protocol, domain, or query params)
126
+ const currentPathname = window.location.pathname;
127
+ const storedTurbolinkPath = localStorage.getItem("collectionClickedFromTurboLink");
128
+ if (localStorage.getItem("collectionClickedFromTurboLink") && localStorage.getItem("collectionClickedFromTurboLink") == baseURL && localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) {
129
+ }
130
+ else if (storedTurbolinkPath && currentPathname && storedTurbolinkPath === currentPathname && localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) {
131
+ // Validate timestamp is recent to prevent using stale data
132
+ const storedTimestamp = parseInt(localStorage.getItem("collectionClickedFromTurboLink-Timestamp") || "0", 10);
133
+ const now = Date.now();
134
+ if (now - storedTimestamp <= MAX_TURBOLINK_STORAGE_AGE_MS) {
135
+ fromTurbolink = true;
136
+ props.original_search_query = (_d = localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) !== null && _d !== void 0 ? _d : undefined;
137
+ turbolinkTimestamp = localStorage.getItem("collectionClickedFromTurboLink-Timestamp");
138
+ turbolinkSource = localStorage.getItem("collectionClickedFromTurboLink-Source");
139
+ }
140
+ // Note: localStorage cleanup moved to after the report is sent
141
+ }
142
+ else if (localStorage.getItem("collectionClickedFromTurboLink")) {
143
+ // Note: localStorage cleanup moved to after the report is sent
144
+ }
145
+ }
146
+ if (props === null || props === void 0 ? void 0 : props.gtag_has_narrow) {
147
+ gtagHasNarrow = props.gtag_has_narrow;
148
+ delete props.gtag_has_narrow;
149
+ }
150
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
151
+ if (!(((_e = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _e === void 0 ? void 0 : _e.avoidDefaultViewItemListEvent) === true) && !(((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.avoidDefaultViewItemListEvent) === true)) {
152
+ googleTagManager('event', 'view_item_list', Object.assign(Object.assign({ items: props.gtag_product_items }, (gtagHasNarrow ? { category: 'filter' } : {})), (props.narrow_by_filters || props.sort_by ? {
153
+ state: {
154
+ filters: props.narrow_by_filters ? reformtNarrowForGA(props.narrow_by_filters) : {},
155
+ orderBy: props.sort_by ? reformtSortByForGA(props.sort_by) : ''
156
+ }
157
+ } : {})), src);
158
+ }
159
+ try {
160
+ if (typeof ((_g = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _g === void 0 ? void 0 : _g.viewItemListCallback) === "function") {
161
+ (_j = (_h = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _h === void 0 ? void 0 : _h.viewItemListCallback) === null || _j === void 0 ? void 0 : _j.call(_h, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: "filter" } : {})));
162
+ }
163
+ else if (typeof ((_k = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _k === void 0 ? void 0 : _k.viewItemListCallback) === "function") {
164
+ (_m = (_l = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _l === void 0 ? void 0 : _l.viewItemListCallback) === null || _m === void 0 ? void 0 : _m.call(_l, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: "filter" } : {})));
165
+ }
166
+ }
167
+ catch (e) {
168
+ console.log(`%c❌ Fast Simon Reporting Error | Error in viewItemListCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
169
+ }
170
+ delete props.gtag_product_items;
171
+ }
172
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_promotions) {
173
+ if (!(((_o = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _o === void 0 ? void 0 : _o.avoidDefaultViewItemListEvent) === true) && !(((_p = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _p === void 0 ? void 0 : _p.avoidDefaultViewItemListEvent) === true)) {
174
+ googleTagManager('event', 'view_promotions', { items: props.gtag_product_promotions }, src);
175
+ }
176
+ delete props.gtag_product_promotions;
177
+ }
178
+ if (window === null || window === void 0 ? void 0 : window.fsPageViewedReportFired) {
179
+ window.fsPageViewedReportFired = false;
180
+ return Promise.resolve();
181
+ }
182
+ // Send the report and clear turbolink data after report is sent
183
+ const reportPromise = Report(Object.assign(Object.assign({}, getBase()), { upType: fromTurbolink ? ReportingUpType.collectionPreformedFromTurbolink : ReportingUpType.collectionPreformed, params: props }));
184
+ // Clear turbolink data from localStorage after report is sent (parallel execution)
185
+ reportPromise.finally(() => {
186
+ clearTurbolinkData();
187
+ });
188
+ return reportPromise;
189
+ },
190
+ productClickedFromSearch: (props, src) => {
191
+ var _a, _b, _c, _d, _e, _f, _g, _h;
192
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
193
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
194
+ googleTagManager('event', 'select_item', { items: props.gtag_product_items }, src);
195
+ }
196
+ try {
197
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
198
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
199
+ }
200
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
201
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
202
+ }
203
+ }
204
+ catch (e) {
205
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
206
+ }
207
+ delete props.gtag_product_items;
208
+ }
209
+ return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_SEARCH, params: props }));
210
+ },
211
+ productClickedFromSmartNavigation: (props, src) => {
212
+ var _a, _b, _c, _d, _e, _f, _g, _h;
213
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
214
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
215
+ googleTagManager('event', 'select_item', { items: props.gtag_product_items }, src);
216
+ }
217
+ try {
218
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
219
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
220
+ }
221
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
222
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
223
+ }
224
+ }
225
+ catch (e) {
226
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
227
+ }
228
+ delete props.gtag_product_items;
229
+ }
230
+ return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_CATEGORY, params: props }));
231
+ },
232
+ productClickedFromLandingPage: (props) => {
233
+ var _a, _b, _c, _d, _e, _f, _g, _h;
234
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
235
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
236
+ googleTagManager('event', 'select_item', { items: props.gtag_product_items });
237
+ }
238
+ try {
239
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
240
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
241
+ }
242
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
243
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
244
+ }
245
+ }
246
+ catch (e) {
247
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
248
+ }
249
+ delete props.gtag_product_items;
250
+ }
251
+ return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_LANDING_PAGE, upType: ReportingUpType.landingPageSeen, params: props }));
252
+ },
253
+ quickViewUsedFromSearch: (props) => {
254
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedQuickView, params: props }));
255
+ },
256
+ quickViewUsedFromSmartNavigation: (props) => {
257
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedQuickView, params: props }));
258
+ },
259
+ LookALikeUsedFromSearch: (props) => {
260
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedLookALike, params: props }));
261
+ },
262
+ LookALikeUsedFromSmartNavigation: (props) => {
263
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedLookALike, params: props }));
264
+ },
265
+ reportProductAddedToCart: (props) => {
266
+ var _a, _b, _c, _d, _e, _f, _g, _h;
267
+ props['cart'] = 1;
268
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
269
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultAddToCartEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultAddToCartEvent) === true)) {
270
+ googleTagManager('event', 'add_to_cart', { items: props.gtag_product_items });
271
+ }
272
+ try {
273
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.addToCartCallback) === "function") {
274
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.addToCartCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
275
+ }
276
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.addToCartCallback) === "function") {
277
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.addToCartCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
278
+ }
279
+ }
280
+ catch (e) {
281
+ console.log(`%c❌ Fast Simon Reporting Error | Error in addToCartCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
282
+ }
283
+ delete props.gtag_product_items;
284
+ }
285
+ // Track this post_load request for debouncing in web pixels
286
+ trackPostLoadRequest(props);
287
+ return Report(Object.assign(Object.assign({}, getBase()), { params: props }));
288
+ },
289
+ productHover: (props) => {
290
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.hoverOnProduct, params: props }));
291
+ },
292
+ variantHover: (props) => {
293
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.hoverOnProductVariant, params: props }));
294
+ },
295
+ // Sibling swatch attribution (#12003): a grid tile was swatched from sibling
296
+ // X (`from_product`) to sibling Y (`id`). Immediate Report (not DelayedReport):
297
+ // the tile swaps in place, no navigation. `from_product` rides the wire, and
298
+ // `Report` sends prev_up_type = 58. The caller must gate this to a genuine
299
+ // cross-product color click (see serving Product.svelte onSwatchClick guards).
300
+ productSwatchSwitch: (props) => {
301
+ return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: props }));
302
+ },
303
+ promoTileClickedFromSearch: (props, src) => {
304
+ var _a, _b, _c, _d, _e, _f, _g, _h;
305
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
306
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectPromotionEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectPromotionEvent) === true)) {
307
+ googleTagManager('event', 'select_promotion', { items: props.gtag_product_items }, src);
308
+ }
309
+ try {
310
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectPromotionCallback) === "function") {
311
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectPromotionCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
312
+ }
313
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectPromotionCallback) === "function") {
314
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectPromotionCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
315
+ }
316
+ }
317
+ catch (e) {
318
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectPromotionCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
319
+ }
320
+ delete props.gtag_product_items;
321
+ }
322
+ return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_SEARCH, params: props, upType: ReportingUpType.promoTileClicked }));
323
+ },
324
+ promoTileClickedFromSmartNavigation: (props, src) => {
325
+ var _a, _b, _c, _d, _e, _f, _g, _h;
326
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
327
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectPromotionEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectPromotionEvent) === true)) {
328
+ googleTagManager('event', 'select_promotion', { items: props.gtag_product_items }, src);
329
+ }
330
+ try {
331
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectPromotionCallback) === "function") {
332
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectPromotionCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
333
+ }
334
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectPromotionCallback) === "function") {
335
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectPromotionCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
336
+ }
337
+ }
338
+ catch (e) {
339
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectPromotionCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
340
+ }
341
+ delete props.gtag_product_items;
342
+ }
343
+ return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_CATEGORY, params: props, upType: ReportingUpType.promoTileClicked }));
344
+ },
345
+ reportSearchPageViewed: (props, src) => {
346
+ if (props === null || props === void 0 ? void 0 : props.query) {
347
+ googleTagManager("event", "view_search_results", {
348
+ page: {
349
+ searchTerm: props === null || props === void 0 ? void 0 : props.query,
350
+ searchResults: props === null || props === void 0 ? void 0 : props.totalResults
351
+ }
352
+ }, src);
353
+ }
354
+ return promisify(() => true);
355
+ }
356
+ });
357
+ /**
358
+ * Tracks post_load requests for debouncing in web pixels
359
+ * Saves to localStorage for web pixels to check before sending duplicate requests
360
+ */
361
+ function trackPostLoadRequest(props) {
362
+ const LS_KEY = "FS_ANALYTICS_post_load_tracked";
363
+ const DEBOUNCE_WINDOW_MS = 2000; // 2 second debounce window
364
+ try {
365
+ const productId = props === null || props === void 0 ? void 0 : props.cart_product;
366
+ if (!productId) {
367
+ return; // Skip tracking if no product ID
368
+ }
369
+ const now = Date.now();
370
+ let trackedRequests = [];
371
+ // Get existing tracked requests
372
+ const stored = localStorage.getItem(LS_KEY);
373
+ if (stored) {
374
+ try {
375
+ trackedRequests = JSON.parse(stored);
376
+ if (!Array.isArray(trackedRequests)) {
377
+ trackedRequests = [];
378
+ }
379
+ }
380
+ catch (e) {
381
+ // If parse fails, reset the array
382
+ trackedRequests = [];
383
+ }
384
+ }
385
+ // Remove old entries (older than debounce window)
386
+ trackedRequests = trackedRequests.filter(entry => now - entry.timestamp < DEBOUNCE_WINDOW_MS);
387
+ // Add the new request
388
+ trackedRequests.push({
389
+ productId: productId,
390
+ timestamp: now
391
+ });
392
+ // Save back to localStorage
393
+ localStorage.setItem(LS_KEY, JSON.stringify(trackedRequests));
394
+ }
395
+ catch (error) {
396
+ console.log(`%c⚠️ Fast Simon Reporting Warning | Error tracking post_load request`, "font-weight: bold; font-size: 12px; color: orange");
397
+ }
398
+ }
399
+ //# sourceMappingURL=serp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serp.js","s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KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC;QACtC,IAAI,CAAC,SAAS,EAAE;YACZ,OAAO,CAAC,iCAAiC;SAC5C;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACvB,IAAI,eAAe,GAAkD,EAAE,CAAC;QAExE,gCAAgC;QAChC,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,MAAM,EAAE;YACR,IAAI;gBACA,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBACrC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE;oBACjC,eAAe,GAAG,EAAE,CAAC;iBACxB;aACJ;YAAC,OAAO,CAAC,EAAE;gBACR,kCAAkC;gBAClC,eAAe,GAAG,EAAE,CAAC;aACxB;SACJ;QAED,kDAAkD;QAClD,eAAe,GAAG,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,GAAG,KAAK,CAAC,SAAS,GAAG,kBAAkB,CAAC,CAAC;QAE9F,sBAAsB;QACtB,eAAe,CAAC,IAAI,CAAC;YACjB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,GAAG;SACjB,CAAC,CAAC;QAEH,4BAA4B;QAC5B,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC;KACjE;IAAC,OAAO,KAAK,EAAE;QACZ,OAAO,CAAC,GAAG,CAAC,sEAAsE,EAAE,mDAAmD,CAAC,CAAC;KAC5I;AACL,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { ReportBaseProps } from "../../@types/reporting";
2
+ import { ReportChatSuggestedProducts, ReportChatSessionStarted, ReportChatSessionEnded, ReportAssistantProductClicked, ReportAssistantProductAddedToCart, ReportHintShown, ReportHintClicked, ReportHintDismissed } from "../../@types/shopperAssistant";
3
+ export declare const PRODUCT_FROM_ASSISTANT = "product-seen-from-assistant";
4
+ export declare const ShopperAssistant: (getBase: () => ReportBaseProps) => {
5
+ reportChatSessionStarted: (props: ReportChatSessionStarted) => Promise<any>;
6
+ reportChatSessionEnded: (props: ReportChatSessionEnded) => Promise<any>;
7
+ reportChatResults: (props: ReportChatSuggestedProducts) => Promise<any>;
8
+ reportProductAddedToCart: (props: ReportAssistantProductAddedToCart) => Promise<any>;
9
+ reportProductClicked: (props: ReportAssistantProductClicked) => Promise<boolean>;
10
+ reportHintShown: (props: ReportHintShown) => Promise<any>;
11
+ reportHintClicked: (props: ReportHintClicked) => Promise<any>;
12
+ reportHintDismissed: (props: ReportHintDismissed) => Promise<any>;
13
+ };
@@ -0,0 +1,84 @@
1
+ import { Report, ReportingEndpoint, ReportingUpType } from "../../services/reporting";
2
+ import { DelayedReport } from "../delayedReport/delayedReport";
3
+ import { googleTagManager } from "../../utils/googleAnalytics";
4
+ export const PRODUCT_FROM_ASSISTANT = "product-seen-from-assistant";
5
+ export const ShopperAssistant = (getBase) => ({
6
+ reportChatSessionStarted: (props) => {
7
+ var _a, _b, _c, _d, _e, _f, _g, _h;
8
+ // Forward a custom "assistant opened" event to the merchant's own GA4/GTM.
9
+ // GA4 has no standard event for this, so we use a namespaced custom event.
10
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultShopperAssistantOpenEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultShopperAssistantOpenEvent) === true)) {
11
+ googleTagManager('event', 'shopper_assistant_open', { ref: props.ref });
12
+ }
13
+ try {
14
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.shopperAssistantOpenCallback) === "function") {
15
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.shopperAssistantOpenCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { ref: props.ref });
16
+ }
17
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.shopperAssistantOpenCallback) === "function") {
18
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.shopperAssistantOpenCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { ref: props.ref });
19
+ }
20
+ }
21
+ catch (e) {
22
+ console.log(`%c❌ Fast Simon Reporting Error | Error in shopperAssistantOpenCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
23
+ }
24
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatSessionStarted }, getBase()), { params: props }));
25
+ },
26
+ reportChatSessionEnded: (props) => {
27
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatSessionEnded }, getBase()), { params: props }));
28
+ },
29
+ reportChatResults: (props) => {
30
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatResults }, getBase()), { params: props }));
31
+ },
32
+ reportProductAddedToCart: (props) => {
33
+ var _a, _b, _c, _d, _e, _f, _g, _h;
34
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
35
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultAddToCartEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultAddToCartEvent) === true)) {
36
+ googleTagManager('event', 'add_to_cart', { items: props.gtag_product_items });
37
+ }
38
+ try {
39
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.addToCartCallback) === "function") {
40
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.addToCartCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
41
+ }
42
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.addToCartCallback) === "function") {
43
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.addToCartCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
44
+ }
45
+ }
46
+ catch (e) {
47
+ console.log(`%c❌ Fast Simon Reporting Error | Error in addToCartCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
48
+ }
49
+ delete props.gtag_product_items;
50
+ }
51
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantProductAddedToCartAttributed }, getBase()), { params: props }));
52
+ },
53
+ reportProductClicked: (props) => {
54
+ var _a, _b, _c, _d, _e, _f, _g, _h;
55
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
56
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
57
+ googleTagManager('event', 'select_item', { items: props.gtag_product_items });
58
+ }
59
+ try {
60
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
61
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
62
+ }
63
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
64
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
65
+ }
66
+ }
67
+ catch (e) {
68
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
69
+ }
70
+ delete props.gtag_product_items;
71
+ }
72
+ return DelayedReport(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantProductClickedAttributed }, getBase()), { params: props, prefix: PRODUCT_FROM_ASSISTANT }));
73
+ },
74
+ reportHintShown: (props) => {
75
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintShown }, getBase()), { params: props }));
76
+ },
77
+ reportHintClicked: (props) => {
78
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintClicked }, getBase()), { params: props }));
79
+ },
80
+ reportHintDismissed: (props) => {
81
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintDismissed }, getBase()), { params: props }));
82
+ }
83
+ });
84
+ //# sourceMappingURL=shopperAssistant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shopperAssistant.js","sourceRoot":"","sources":["../../../src/components/shopperAssistant/shopperAssistant.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,MAAM,EAAE,iBAAiB,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAE7D,MAAM,CAAC,MAAM,sBAAsB,GAAG,6BAA6B,CAAC;AAEpE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,CAAC;IACjE,wBAAwB,EAAE,CAAC,KAA+B,EAAE,EAAE;;QAC1D,2EAA2E;QAC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c,aAAd,MAAM,uBAAN,MAAM,CAAU,aAAa,0CAAE,kBAAkB,mDAAG,EAAE,KAAK,EAAE,KAAK,CAAC,kBAAkB,EAAE,CAAC,CAAC;iBAC7F;aACJ;YAAC,OAAO,CAAC,EAAE;gBACR,OAAO,CAAC,GAAG,CAAC,qEAAqE,EAAE,gDAAgD,CAAC,CAAC;aACxI;YACD,OAAO,KAAK,CAAC,kBAAkB,CAAC;SACnC;QACD,OAAO,aAAa,+BAChB,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,wCAAwC,IAC7D,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,EACb,MAAM,EAAE,sBAAsB,IAChC,CAAC;IACP,CAAC;IAED,eAAe,EAAE,CAAC,KAAsB,EAAE,EAAE;QACxC,OAAO,MAAM,+BACT,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,yBAAyB,IAC9C,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;IAED,iBAAiB,EAAE,CAAC,KAAwB,EAAE,EAAE;QAC5C,OAAO,MAAM,+BACT,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,2BAA2B,IAChD,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;IAED,mBAAmB,EAAE,CAAC,KAA0B,EAAE,EAAE;QAChD,OAAO,MAAM,+BACT,QAAQ,EAAE,iBAAiB,CAAC,OAAO,EACnC,MAAM,EAAE,eAAe,CAAC,6BAA6B,IAClD,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { ReportBaseProps } from "../../@types/reporting";
2
+ import { Platform } from "../../@types/platfrom";
3
+ /**
4
+ * PDP sibling swatch-switch detection (#12003). Layer 1: Shopify full-navigation
5
+ * themes (breadcrumb completed on the landing page load). Layer 2: in-place-swap
6
+ * themes (pushState + DOM swap, e.g. Stride Rite) — the same breadcrumb contract
7
+ * completed by a same-document history watcher.
8
+ *
9
+ * On themes where each color is its own product and a PDP color swatch performs a
10
+ * full page navigation to the sibling, this captures the X→Y switch WITHOUT the
11
+ * (rejected) bare-referrer heuristic: a sessionStorage breadcrumb is written ONLY
12
+ * by a click inside a config-declared swatch zone, so ordinary product→product
13
+ * navigation (related products, cross-sell, back button) can never produce an event.
14
+ *
15
+ * OFF BY DEFAULT. Runs only when a per-site config exists, read in priority order:
16
+ * 1. localStorage[FS_SWATCH_SWITCH_CONFIG_LS_KEY] — written by the config
17
+ * producers (autocomplete load response / fast_config metafields). An
18
+ * explicit {enabled:false} here is the per-site KILL SWITCH: it beats the
19
+ * static ship-defaults below with no bundle redeploy.
20
+ * 2. window.__fast_options.swatchSwitch — manual fallback/override.
21
+ * 3. STATIC_SITE_CONFIGS — ship-defaults for survey-verified launch sites,
22
+ * keyed by site UUID, so those sites need no dashboard/config step at all.
23
+ * No config → zero listeners, zero storage reads beyond the single lookup, zero pings.
24
+ *
25
+ * Multi-hop topology (confirmed with data science): each full navigation is a fresh
26
+ * PDP impression, so A→B→C emits {from:A,id:B} then {from:B,id:C} — hop-by-hop, unlike
27
+ * the PLP grid's star (from = the impressed tile). Both topologies resolve to the
28
+ * impressed product under the SQL's transitive backward-walk and mix safely.
29
+ */
30
+ export declare const FS_SWATCH_SWITCH_CONFIG_LS_KEY = "fast_swatch_switch";
31
+ export declare function runPdpSwatchSwitch(getBase: () => ReportBaseProps, platform: Platform): void;