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,302 @@
1
+ import { Report, ReportingUpType } from "../../services/reporting";
2
+ import { getProductPageID } from "@fast-simon/common";
3
+ /**
4
+ * PDP sibling swatch-switch detection (#12003). Layer 1: Shopify full-navigation
5
+ * themes (breadcrumb completed on the landing page load). Layer 2: in-place-swap
6
+ * themes (pushState + DOM swap, e.g. Stride Rite) — the same breadcrumb contract
7
+ * completed by a same-document history watcher.
8
+ *
9
+ * On themes where each color is its own product and a PDP color swatch performs a
10
+ * full page navigation to the sibling, this captures the X→Y switch WITHOUT the
11
+ * (rejected) bare-referrer heuristic: a sessionStorage breadcrumb is written ONLY
12
+ * by a click inside a config-declared swatch zone, so ordinary product→product
13
+ * navigation (related products, cross-sell, back button) can never produce an event.
14
+ *
15
+ * OFF BY DEFAULT. Runs only when a per-site config exists, read in priority order:
16
+ * 1. localStorage[FS_SWATCH_SWITCH_CONFIG_LS_KEY] — written by the config
17
+ * producers (autocomplete load response / fast_config metafields). An
18
+ * explicit {enabled:false} here is the per-site KILL SWITCH: it beats the
19
+ * static ship-defaults below with no bundle redeploy.
20
+ * 2. window.__fast_options.swatchSwitch — manual fallback/override.
21
+ * 3. STATIC_SITE_CONFIGS — ship-defaults for survey-verified launch sites,
22
+ * keyed by site UUID, so those sites need no dashboard/config step at all.
23
+ * No config → zero listeners, zero storage reads beyond the single lookup, zero pings.
24
+ *
25
+ * Multi-hop topology (confirmed with data science): each full navigation is a fresh
26
+ * PDP impression, so A→B→C emits {from:A,id:B} then {from:B,id:C} — hop-by-hop, unlike
27
+ * the PLP grid's star (from = the impressed tile). Both topologies resolve to the
28
+ * impressed product under the SQL's transitive backward-walk and mix safely.
29
+ */
30
+ // Cross-package contract: the config producers (autocomplete load handler /
31
+ // fast_config consumers in serving & SSR) write this exact key. Named after the
32
+ // existing swatch-data convention (`fast_swatches_css`).
33
+ export const FS_SWATCH_SWITCH_CONFIG_LS_KEY = "fast_swatch_switch";
34
+ const BREADCRUMB_SS_KEY = "fs-swatch-switch-from";
35
+ const DEFAULT_TTL_MS = 15000;
36
+ // Ship-defaults for the survey-verified launch sites, keyed by site UUID —
37
+ // selectors live-verified in Chrome on real multi-color PDPs (2026-07-16; see
38
+ // the registry table on PR #12161). These sites activate with NO dashboard or
39
+ // /load provisioning. A /load-provisioned config still wins — including an
40
+ // explicit {enabled:false}, which kills a static site without a bundle
41
+ // redeploy. Sites not listed here stay off unless /load provisions them.
42
+ const SM_SWATCH_SELECTOR = ".color-swatch-wrapper .color-swatch-ele";
43
+ const STATIC_SITE_CONFIGS = {
44
+ /* Steve Madden US */ "777f83f8-820e-45d0-a08b-08c6b432b87a": { enabled: true, selectors: [SM_SWATCH_SELECTOR] },
45
+ /* Steve Madden CA */ "7a1a5dec-8c69-4574-b79c-d1228f9f534d": { enabled: true, selectors: [SM_SWATCH_SELECTOR] },
46
+ /* Steve Madden ZA */ "c4fb8caf-d6fa-4dc5-9619-e9c0b7c5e98f": { enabled: true, selectors: [SM_SWATCH_SELECTOR] },
47
+ /* John Elliott */ "02ceb780-079f-4c87-8342-114eca54a89b": { enabled: true, selectors: ["[js-dropdown-menu-related-colors] a"] },
48
+ /* Bruno Magli */ "b23994c6-1e6a-4e4b-9d99-6778f5aa102b": { enabled: true, selectors: [".jmmProductSwatchesDiv a"] },
49
+ // White Fox US — sibling swatches are anchors (`a.product__siblings_swatch`,
50
+ // active color is a span → correctly inert). Static entry required: WF's
51
+ // autocomplete uses the new settings/autocomplete flow, which doesn't carry
52
+ // the /load swatch_switch config. Live-verified 2026-07-16 with a manual
53
+ // config: white→chocolate click emitted 58 (8793992986684→8917943058492).
54
+ /* White Fox US */ "0dff41a9-8fbc-4e90-bea0-9ac0c88ebc8a": { enabled: true, selectors: [".product__siblings_swatch"] },
55
+ // Stride Rite — sibling swatches are anchors (a.product-form__sibling-option
56
+ // with href + data-handle; the selected color is an inert label). The theme
57
+ // swaps siblings IN PLACE (pushState, no page load — verified live), so this
58
+ // site emits via the Layer 2 same-document watcher.
59
+ /* Stride Rite */ "9ac2929c-f807-4f3e-bc07-f00621b4576c": { enabled: true, selectors: [".product-form__sibling-option"] },
60
+ };
61
+ function getConfig(siteUUID) {
62
+ var _a;
63
+ try {
64
+ let cfg;
65
+ const raw = localStorage.getItem(FS_SWATCH_SWITCH_CONFIG_LS_KEY);
66
+ if (raw) {
67
+ try {
68
+ cfg = JSON.parse(raw);
69
+ }
70
+ catch (e) {
71
+ // corrupt key → self-heal it and fall through to the window fallback,
72
+ // preserving the documented priority order.
73
+ localStorage.removeItem(FS_SWATCH_SWITCH_CONFIG_LS_KEY);
74
+ }
75
+ }
76
+ cfg = cfg !== null && cfg !== void 0 ? cfg : (_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.swatchSwitch;
77
+ // Static ship-default LAST: any explicit config above — enabled or not —
78
+ // takes precedence, so {enabled:false} from /load disables a static site.
79
+ cfg = cfg !== null && cfg !== void 0 ? cfg : (siteUUID ? STATIC_SITE_CONFIGS[siteUUID] : undefined);
80
+ if ((cfg === null || cfg === void 0 ? void 0 : cfg.enabled) && Array.isArray(cfg.selectors) && cfg.selectors.length > 0) {
81
+ return cfg;
82
+ }
83
+ }
84
+ catch (e) {
85
+ // storage unavailable → treat as disabled
86
+ }
87
+ return undefined;
88
+ }
89
+ // Extract the destination product handle from a click inside a swatch zone: the
90
+ // zone element itself or its nearest product anchor. Survey-verified shapes carry
91
+ // either data-handle, or an anchor href containing /products/<handle>.
92
+ // The anchor wins when both exist: it is the literal navigation target, while
93
+ // data-handle is theme-defined and not always a product handle (Steve Madden CA
94
+ // puts the color slug there — "black-leather" — where the US store puts the full
95
+ // sibling handle; resolving the slug would fail the landing match and silently
96
+ // drop every event on that store).
97
+ function resolveDestHandle(zone) {
98
+ var _a, _b, _c, _d;
99
+ const link = ((_a = zone.closest('a[href*="/products/"]')) !== null && _a !== void 0 ? _a : zone.querySelector('a[href*="/products/"]'));
100
+ const match = (_b = link === null || link === void 0 ? void 0 : link.getAttribute("href")) === null || _b === void 0 ? void 0 : _b.match(/\/products\/([^/?#]+)/);
101
+ if (match === null || match === void 0 ? void 0 : match[1]) {
102
+ return match[1];
103
+ }
104
+ const withHandle = (_c = zone.closest("[data-handle]")) !== null && _c !== void 0 ? _c : zone.querySelector("[data-handle]");
105
+ return (_d = withHandle === null || withHandle === void 0 ? void 0 : withHandle.getAttribute("data-handle")) !== null && _d !== void 0 ? _d : undefined;
106
+ }
107
+ function currentPageHandle() {
108
+ var _a;
109
+ return (_a = window.location.pathname.match(/\/products\/([^/?#]+)/)) === null || _a === void 0 ? void 0 : _a[1];
110
+ }
111
+ // Landing half: a fresh, single-use breadcrumb + we landed on the intended sibling
112
+ // + its product id resolves and differs from the source → emit prev_up_type=58.
113
+ function reportLandingIfSwitched(getBase, platform, ttlMs) {
114
+ const raw = sessionStorage.getItem(BREADCRUMB_SS_KEY);
115
+ if (!raw) {
116
+ return;
117
+ }
118
+ sessionStorage.removeItem(BREADCRUMB_SS_KEY); // single-use, even when invalid
119
+ let crumb;
120
+ try {
121
+ crumb = JSON.parse(raw);
122
+ }
123
+ catch (e) {
124
+ return; // corrupt breadcrumb → discard silently, never block the origin half
125
+ }
126
+ // Number.isFinite guards a corrupt/missing ts: NaN comparisons are always
127
+ // false, which would otherwise make the breadcrumb pass the TTL check.
128
+ if (!(crumb === null || crumb === void 0 ? void 0 : crumb.from_product) || !crumb.dest_handle || !Number.isFinite(crumb.ts) || Date.now() - crumb.ts > ttlMs) {
129
+ return;
130
+ }
131
+ if (currentPageHandle() !== crumb.dest_handle) {
132
+ return;
133
+ }
134
+ const landedID = getProductPageID(platform);
135
+ if (!landedID || String(landedID) === String(crumb.from_product)) {
136
+ return;
137
+ }
138
+ // Same prev_up_type=58 contract as the PLP grid (Serp.productSwatchSwitch);
139
+ // Pick<> ties us to the shared shape. The grid-only context (pos, pagenum,
140
+ // surface fields) intentionally doesn't exist on a merchant-theme PDP.
141
+ Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: { id: String(landedID), from_product: String(crumb.from_product) } }));
142
+ }
143
+ // Origin half: one capture-phase delegated listener; a click inside a declared
144
+ // swatch zone that targets a DIFFERENT product handle writes the breadcrumb.
145
+ // No network activity here — the emit happens on the landing (full page load,
146
+ // or Layer 2's same-document watcher below).
147
+ function installOriginListener(source, selectors) {
148
+ // Sanitize + validate the selector ONCE at install: a malformed or empty
149
+ // selector list must fail closed here, never throw inside the per-click path.
150
+ const selector = selectors.filter(s => typeof s === "string" && s.trim().length > 0).join(",");
151
+ if (!selector) {
152
+ return;
153
+ }
154
+ try {
155
+ document.createDocumentFragment().querySelector(selector);
156
+ }
157
+ catch (e) {
158
+ return; // invalid CSS selector in config → detection off for this page
159
+ }
160
+ document.addEventListener("click", (e) => {
161
+ try {
162
+ if (!source.id || !source.handle) {
163
+ return; // current product unknown (unattributed in-place nav) → fail closed
164
+ }
165
+ // Clicks can target a Text node (synthetic dispatch); resolve to its
166
+ // parent element so the swatch zone is still found.
167
+ const target = e.target;
168
+ const el = target instanceof Element ? target : target === null || target === void 0 ? void 0 : target.parentElement;
169
+ const zone = el === null || el === void 0 ? void 0 : el.closest(selector);
170
+ if (!zone) {
171
+ return;
172
+ }
173
+ const destHandle = resolveDestHandle(zone);
174
+ if (!destHandle || destHandle === source.handle) {
175
+ return; // unresolvable or self-switch → no breadcrumb
176
+ }
177
+ const crumb = { from_product: source.id, dest_handle: destHandle, ts: Date.now() };
178
+ sessionStorage.setItem(BREADCRUMB_SS_KEY, JSON.stringify(crumb));
179
+ }
180
+ catch (err) {
181
+ // detection must never interfere with the theme's own click handling
182
+ }
183
+ }, true);
184
+ }
185
+ // Layer 2 — same-document landings (#12003). Some themes swap the sibling
186
+ // product IN PLACE (history.pushState + DOM swap, no page load — verified live
187
+ // on Stride Rite), so the full-load landing half never runs. This watcher hooks
188
+ // history changes on the SAME document and applies the identical breadcrumb
189
+ // contract: exact dest-handle match, TTL, product actually changed. The landed
190
+ // id is resolved from Shopify's product JSON because swapped-in DOM keeps stale
191
+ // analytics meta (verified: ShopifyAnalytics still reported the origin product
192
+ // after Stride Rite's swap). At most ONE network request per genuine,
193
+ // breadcrumb-validated switch; unattributed in-place navigations just mark the
194
+ // source unknown (fail closed) without any request.
195
+ function installInPlaceLandingWatcher(getBase, platform, ttlMs, source) {
196
+ let lastHandle = currentPageHandle();
197
+ const onUrlChange = () => {
198
+ try {
199
+ const handle = currentPageHandle();
200
+ if (!handle || handle === lastHandle) {
201
+ return; // same product (e.g. ?variant= replaceState churn) → ignore
202
+ }
203
+ lastHandle = handle;
204
+ // Identity flips to "unknown" SYNCHRONOUSLY (Copilot review): a swatch
205
+ // click racing the id fetch below must fail closed (no breadcrumb)
206
+ // rather than write the PREVIOUS product as from_product.
207
+ source.handle = handle;
208
+ source.id = null;
209
+ const raw = sessionStorage.getItem(BREADCRUMB_SS_KEY);
210
+ sessionStorage.removeItem(BREADCRUMB_SS_KEY); // single-use, even when invalid
211
+ let crumb;
212
+ try {
213
+ crumb = raw ? JSON.parse(raw) : undefined;
214
+ }
215
+ catch (e) {
216
+ crumb = undefined;
217
+ }
218
+ const valid = !!crumb && !!crumb.from_product && crumb.dest_handle === handle
219
+ && Number.isFinite(crumb.ts) && Date.now() - crumb.ts <= ttlMs;
220
+ // The id resolves in the background on EVERY product change (Copilot
221
+ // review): an unattributed navigation (back/forward, in-theme routing)
222
+ // recovers the identity instead of disabling detection for the rest of
223
+ // the document lifetime. Bound: one request per in-place PRODUCT
224
+ // navigation, only on config-active PDPs.
225
+ fetch(`/products/${handle}.js`)
226
+ .then(r => (r.ok ? r.json() : null))
227
+ .then((p) => {
228
+ const landedID = p === null || p === void 0 ? void 0 : p.id;
229
+ // Late-resolution guard: navigations can resolve out of order —
230
+ // only adopt the id while this handle is still the current one.
231
+ if (landedID && lastHandle === handle) {
232
+ source.id = String(landedID);
233
+ }
234
+ // The emit itself is hop-frozen (crumb + this handle's id), so
235
+ // it stays correct even when it resolves after a further hop.
236
+ if (!valid || !landedID || String(landedID) === String(crumb.from_product)) {
237
+ return;
238
+ }
239
+ Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: { id: String(landedID), from_product: String(crumb.from_product) } }));
240
+ })
241
+ .catch(() => {
242
+ // id stays unknown for this handle; the next product change retries
243
+ });
244
+ }
245
+ catch (e) {
246
+ // never break the theme's own routing
247
+ }
248
+ };
249
+ // setTimeout(0) lets the theme finish its swap before we read the URL.
250
+ const schedule = () => { window.setTimeout(onUrlChange, 0); };
251
+ try {
252
+ const origPush = history.pushState.bind(history);
253
+ history.pushState = function (data, unused, url) {
254
+ const r = origPush(data, unused, url);
255
+ schedule();
256
+ return r;
257
+ };
258
+ const origReplace = history.replaceState.bind(history);
259
+ history.replaceState = function (data, unused, url) {
260
+ const r = origReplace(data, unused, url);
261
+ schedule();
262
+ return r;
263
+ };
264
+ window.addEventListener("popstate", schedule);
265
+ }
266
+ catch (e) {
267
+ // locked-down history object → Layer 2 unavailable; Layer 1 unaffected
268
+ }
269
+ }
270
+ export function runPdpSwatchSwitch(getBase, platform) {
271
+ try {
272
+ if (platform !== "Shopify") {
273
+ return;
274
+ }
275
+ const config = getConfig(getBase().uuid);
276
+ if (!config) {
277
+ return;
278
+ }
279
+ const sourceID = getProductPageID(platform);
280
+ const sourceHandle = currentPageHandle();
281
+ if (!sourceID || !sourceHandle) {
282
+ return; // not a PDP → nothing to observe
283
+ }
284
+ const source = { id: String(sourceID), handle: sourceHandle };
285
+ // TTL must be a finite positive number — NaN passes a typeof check
286
+ // (e.g. via __fast_options) and NaN compares are always false, which
287
+ // would make the breadcrumb immortal.
288
+ const ttlMs = typeof config.ttlMs === "number" && Number.isFinite(config.ttlMs) && config.ttlMs > 0
289
+ ? config.ttlMs
290
+ : DEFAULT_TTL_MS;
291
+ // Origin listener first: a landing-half failure must never cost this
292
+ // page its origin detection. Then Layer 2's same-document watcher, then
293
+ // the full-load landing check.
294
+ installOriginListener(source, config.selectors);
295
+ installInPlaceLandingWatcher(getBase, platform, ttlMs, source);
296
+ reportLandingIfSwitched(getBase, platform, ttlMs);
297
+ }
298
+ catch (e) {
299
+ console.log(`%c⚠️ Fast Simon Reporting Warning | Swatch-switch detection failed`, "font-weight: bold; font-size: 12px; color: orange", e);
300
+ }
301
+ }
302
+ //# sourceMappingURL=pdpSwatchSwitch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdpSwatchSwitch.js","sourceRoot":"","sources":["../../../src/components/swatchSwitch/pdpSwatchSwitch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,MAAM,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,4EAA4E;AAC5E,gFAAgF;AAChF,yDAAyD;AACzD,MAAM,CAAC,MAAM,8BAA8B,GAAG,oBAAoB,CAAC;AACnE,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AAClD,MAAM,cAAc,GAAG,KAAM,CAAC;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,oEAAoE,EAAE,mDAAmD,EAAE,CAAC,CAAC,CAAC;KAC7I;AACL,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { FastSimonReportingProps } from "../../@types/reporting";
2
+ /**
3
+ * Detector-only entry point for hosts that must NOT run the full reporting
4
+ * library (#12003). Pure-SDK storefronts (e.g. Ally Fashion) perform their own
5
+ * init post_load and product-view reporting — initializing FastSimonReporting
6
+ * there (ensureReportingScript / getFastSimonReporting) would double-report
7
+ * those events. This runs ONLY the PDP swatch-switch detector, building base
8
+ * props from the same shared storage the full library uses (session token,
9
+ * user session, cart token), so the emitted event joins the shopper's other
10
+ * analytics under the same identifiers.
11
+ *
12
+ * Inert unless the site has a swatch-switch config (localStorage from /load,
13
+ * __fast_options, or the static launch-site registry) — the detector's own
14
+ * gate. Never throws into the host.
15
+ */
16
+ export declare function runPdpSwatchSwitchStandalone({ uuid, storeID, platform }: FastSimonReportingProps): void;
@@ -0,0 +1,38 @@
1
+ import { Cart } from "../../services/cart";
2
+ import getSessionToken from "../../utils/getSessionToken";
3
+ import getUserSession from "../../utils/getUserSession";
4
+ import { runPdpSwatchSwitch } from "./pdpSwatchSwitch";
5
+ /**
6
+ * Detector-only entry point for hosts that must NOT run the full reporting
7
+ * library (#12003). Pure-SDK storefronts (e.g. Ally Fashion) perform their own
8
+ * init post_load and product-view reporting — initializing FastSimonReporting
9
+ * there (ensureReportingScript / getFastSimonReporting) would double-report
10
+ * those events. This runs ONLY the PDP swatch-switch detector, building base
11
+ * props from the same shared storage the full library uses (session token,
12
+ * user session, cart token), so the emitted event joins the shopper's other
13
+ * analytics under the same identifiers.
14
+ *
15
+ * Inert unless the site has a swatch-switch config (localStorage from /load,
16
+ * __fast_options, or the static launch-site registry) — the detector's own
17
+ * gate. Never throws into the host.
18
+ */
19
+ export function runPdpSwatchSwitchStandalone({ uuid, storeID, platform }) {
20
+ try {
21
+ const getBase = () => {
22
+ var _a, _b;
23
+ return ({
24
+ uuid,
25
+ storeID,
26
+ platform,
27
+ userSession: (_a = getUserSession()) !== null && _a !== void 0 ? _a : "",
28
+ sessionToken: getSessionToken(),
29
+ cartToken: (_b = Cart.getToken(platform)) !== null && _b !== void 0 ? _b : ""
30
+ });
31
+ };
32
+ runPdpSwatchSwitch(getBase, platform);
33
+ }
34
+ catch (e) {
35
+ // never block the host SDK
36
+ }
37
+ }
38
+ //# sourceMappingURL=standalone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standalone.js","sourceRoot":"","sources":["../../../src/components/swatchSwitch/standalone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,qBAAqB,CAAC;AAEzC,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAErD;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,4BAA4B,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAA0B;IAC3F,IAAI;QACA,MAAM,OAAO,GAAG,GAAoB,EAAE;;YAAC,OAAA,CAAC;gBACpC,IAAI;gBACJ,OAAO;gBACP,QAAQ;gBACR,WAAW,EAAE,MAAA,cAAc,EAAE,mCAAI,EAAE;gBACnC,YAAY,EAAE,eAAe,EAAE;gBAC/B,SAAS,EAAE,MAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,mCAAI,EAAE;aAC3C,CAAC,CAAA;SAAA,CAAC;QACH,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;KACzC;IAAC,OAAO,CAAC,EAAE;QACR,2BAA2B;KAC9B;AACL,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { ImpressionMetadata, ImpressionRecord } from "../../@types/viewportImpressions";
2
+ export interface ViewportImpressionTrackerConfig {
3
+ threshold?: number;
4
+ backupInterval?: number;
5
+ onImpression?: (record: ImpressionRecord) => void;
6
+ onReport?: (impressions: ImpressionRecord[]) => Promise<void>;
7
+ }
8
+ export declare class ViewportImpressionTracker {
9
+ private impressions;
10
+ private observers;
11
+ private observerMetadata;
12
+ private reportingTimer;
13
+ private hasReportedOnPageLeave;
14
+ private config;
15
+ private pageLeaveCleanup;
16
+ constructor(config?: ViewportImpressionTrackerConfig);
17
+ track(element: Element, metadata: ImpressionMetadata): void;
18
+ untrack(element: Element): void;
19
+ reportNow(): Promise<void>;
20
+ destroy(): void;
21
+ private handleIntersection;
22
+ private setupBackupTimer;
23
+ private setupPageLeaveHandlers;
24
+ }
@@ -0,0 +1,156 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ export class ViewportImpressionTracker {
11
+ constructor(config = {}) {
12
+ var _a, _b, _c, _d;
13
+ this.impressions = new Map();
14
+ this.observers = new Map();
15
+ this.observerMetadata = new Map();
16
+ this.reportingTimer = null;
17
+ this.hasReportedOnPageLeave = false;
18
+ this.pageLeaveCleanup = null;
19
+ this.config = {
20
+ threshold: (_a = config.threshold) !== null && _a !== void 0 ? _a : 0.7,
21
+ backupInterval: (_b = config.backupInterval) !== null && _b !== void 0 ? _b : 120000,
22
+ onImpression: (_c = config.onImpression) !== null && _c !== void 0 ? _c : (() => { }),
23
+ onReport: (_d = config.onReport) !== null && _d !== void 0 ? _d : (() => Promise.resolve())
24
+ };
25
+ this.setupBackupTimer();
26
+ this.setupPageLeaveHandlers();
27
+ }
28
+ track(element, metadata) {
29
+ // Don't track the same element twice
30
+ if (this.observers.has(element)) {
31
+ return;
32
+ }
33
+ // If we already tracked this ID, skip
34
+ if (this.impressions.has(metadata.elementID)) {
35
+ return;
36
+ }
37
+ const observer = new IntersectionObserver((entries) => this.handleIntersection(entries), { threshold: this.config.threshold });
38
+ observer.observe(element);
39
+ this.observers.set(element, observer);
40
+ this.observerMetadata.set(element, metadata);
41
+ }
42
+ untrack(element) {
43
+ const observer = this.observers.get(element);
44
+ if (observer) {
45
+ observer.disconnect();
46
+ this.observers.delete(element);
47
+ this.observerMetadata.delete(element);
48
+ }
49
+ }
50
+ reportNow() {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ const impressionsToReport = Array.from(this.impressions.values())
53
+ .filter(record => !record.isReported);
54
+ if (impressionsToReport.length === 0) {
55
+ return;
56
+ }
57
+ // Mark as reported before sending to prevent duplicates
58
+ impressionsToReport.forEach(record => {
59
+ record.isReported = true;
60
+ });
61
+ try {
62
+ yield this.config.onReport(impressionsToReport);
63
+ // Clear reported impressions
64
+ this.impressions.clear();
65
+ }
66
+ catch (error) {
67
+ // Revert isReported flag on error
68
+ impressionsToReport.forEach(record => {
69
+ record.isReported = false;
70
+ });
71
+ }
72
+ });
73
+ }
74
+ destroy() {
75
+ // Clear all observers
76
+ this.observers.forEach((observer) => observer.disconnect());
77
+ this.observers.clear();
78
+ // Clear timer
79
+ if (this.reportingTimer !== null) {
80
+ clearInterval(this.reportingTimer);
81
+ this.reportingTimer = null;
82
+ }
83
+ // Remove page leave handlers
84
+ if (this.pageLeaveCleanup) {
85
+ this.pageLeaveCleanup();
86
+ this.pageLeaveCleanup = null;
87
+ }
88
+ // Clear impressions
89
+ this.impressions.clear();
90
+ }
91
+ handleIntersection(entries) {
92
+ entries.forEach(entry => {
93
+ if (entry.isIntersecting) {
94
+ const metadata = this.observerMetadata.get(entry.target);
95
+ if (!metadata || this.impressions.has(metadata.elementID)) {
96
+ return;
97
+ }
98
+ const record = Object.assign(Object.assign({}, metadata), { timestamp: Date.now(), isReported: false });
99
+ this.impressions.set(metadata.elementID, record);
100
+ this.config.onImpression(record);
101
+ // Disconnect and clean up observer after first impression
102
+ const observer = this.observers.get(entry.target);
103
+ if (observer) {
104
+ observer.disconnect();
105
+ this.observers.delete(entry.target);
106
+ this.observerMetadata.delete(entry.target);
107
+ }
108
+ }
109
+ });
110
+ }
111
+ setupBackupTimer() {
112
+ this.reportingTimer = window.setInterval(() => {
113
+ this.reportNow().catch(error => {
114
+ console.error('Backup timer reporting failed:', error);
115
+ });
116
+ }, this.config.backupInterval);
117
+ }
118
+ setupPageLeaveHandlers() {
119
+ const handlePageLeave = () => {
120
+ if (this.hasReportedOnPageLeave)
121
+ return;
122
+ this.hasReportedOnPageLeave = true;
123
+ // Synchronous reporting for page leave
124
+ const impressionsToReport = Array.from(this.impressions.values())
125
+ .filter(record => !record.isReported);
126
+ if (impressionsToReport.length > 0) {
127
+ // Fire and forget - we can't wait for the promise
128
+ this.config.onReport(impressionsToReport).catch(() => {
129
+ // Ignore errors during page leave
130
+ });
131
+ // Clear impressions
132
+ this.impressions.clear();
133
+ }
134
+ };
135
+ const handleVisibilityChange = () => {
136
+ if (document.visibilityState === 'hidden') {
137
+ handlePageLeave();
138
+ }
139
+ else if (document.visibilityState === 'visible') {
140
+ // Reset the flag when page becomes visible again
141
+ this.hasReportedOnPageLeave = false;
142
+ }
143
+ };
144
+ // Register events
145
+ window.addEventListener('beforeunload', handlePageLeave);
146
+ document.addEventListener('visibilitychange', handleVisibilityChange);
147
+ window.addEventListener('pagehide', handlePageLeave);
148
+ // Store cleanup function
149
+ this.pageLeaveCleanup = () => {
150
+ window.removeEventListener('beforeunload', handlePageLeave);
151
+ document.removeEventListener('visibilitychange', handleVisibilityChange);
152
+ window.removeEventListener('pagehide', handlePageLeave);
153
+ };
154
+ }
155
+ }
156
+ //# sourceMappingURL=ViewportImpressionTracker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewportImpressionTracker.js","sourceRoot":"","sources":["../../../src/components/viewportImpressions/ViewportImpressionTracker.ts"],"names":[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F,MAAM,sBAAsB,GAAG,GAAG,EAAE;YAChC,IAAI,QAAQ,CAAC,eAAe,KAAK,QAAQ,EAAE;gBACvC,eAAe,EAAE,CAAC;aACrB;iBAAM,IAAI,QAAQ,CAAC,eAAe,KAAK,SAAS,EAAE;gBAC/C,iDAAiD;gBACjD,IAAI,CAAC,sBAAsB,GAAG,KAAK,CAAC;aACvC;QACL,CAAC,CAAC;QAEF,kBAAkB;QAClB,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;QACzD,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC;QACtE,MAAM,CAAC,gBAAgB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;QAErD,yBAAyB;QACzB,IAAI,CAAC,gBAAgB,GAAG,GAAG,EAAE;YACzB,MAAM,CAAC,mBAAmB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;YAC5D,QAAQ,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC;YACzE,MAAM,CAAC,mBAAmB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;QAC5D,CAAC,CAAC;IACN,CAAC;CACJ"}
@@ -0,0 +1,9 @@
1
+ import { ReportBaseProps } from "../../@types/reporting";
2
+ import { ImpressionMetadata } from "../../@types/viewportImpressions";
3
+ export declare function ViewportImpressions(getBase: () => ReportBaseProps): {
4
+ trackElement: (element: Element, metadata: ImpressionMetadata) => void;
5
+ untrackElement: (element: Element) => void;
6
+ onContextChange: () => Promise<void>;
7
+ reportNow: () => Promise<void>;
8
+ destroy: () => void;
9
+ };