@envive-ai/react-hooks 0.1.0

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 (385) hide show
  1. package/LICENSE +2 -0
  2. package/README.md +2 -0
  3. package/dist/GridInsertionService-CEYo9pGj.js +22 -0
  4. package/dist/GridInsertionService-CS_bnPh0.cjs +28 -0
  5. package/dist/bandolier-Ble8jEa8.js +1221 -0
  6. package/dist/bandolier-Bm2xAt_j.cjs +1221 -0
  7. package/dist/carpe-Da7b-LCW.cjs +599 -0
  8. package/dist/carpe-W13mhRRP.js +597 -0
  9. package/dist/cdnService-CZ-aXcY6.cjs +23 -0
  10. package/dist/cdnService-zQfKk3Eb.js +18 -0
  11. package/dist/chatElementDisplayLocation-CX8fuNao.d.cts +239 -0
  12. package/dist/chatElementDisplayLocation-CwptS9tx.d.ts +239 -0
  13. package/dist/chunk-CUT6urMc.cjs +30 -0
  14. package/dist/contexts/index.cjs +13 -0
  15. package/dist/contexts/index.d.cts +65 -0
  16. package/dist/contexts/index.d.ts +66 -0
  17. package/dist/contexts/index.js +7 -0
  18. package/dist/contexts-BRjfVq_k.js +5064 -0
  19. package/dist/contexts-BYArqZtK.cjs +5164 -0
  20. package/dist/coterie-3y0D9ko4.cjs +229 -0
  21. package/dist/coterie-DOWcJAYv.js +229 -0
  22. package/dist/custservice-types-CFIFwZ-r.js +10 -0
  23. package/dist/custservice-types-CkfxZiHY.cjs +16 -0
  24. package/dist/default-C2fEZKXk.js +175 -0
  25. package/dist/default-CBUq6Q6G.cjs +4 -0
  26. package/dist/default-CGIFZK6m.js +4 -0
  27. package/dist/default-D_KPZdPJ.cjs +198 -0
  28. package/dist/divIds-Bss-btao.js +49 -0
  29. package/dist/divIds-DnZNd7rA.cjs +223 -0
  30. package/dist/dreamlandBaby-DCIsuU9R.cjs +338 -0
  31. package/dist/dreamlandBaby-DvSaZGrz.js +338 -0
  32. package/dist/entrypoints-D_JUvkgy.cjs +18 -0
  33. package/dist/entrypoints-YLQsbBRD.js +6 -0
  34. package/dist/enviveConfigContext-CUGLpPGU.js +34 -0
  35. package/dist/enviveConfigContext-Dfr2VH6u.cjs +48 -0
  36. package/dist/fiveCbd-B1SESMCO.js +605 -0
  37. package/dist/fiveCbd-CkOlVby_.cjs +605 -0
  38. package/dist/forLoveAndLemons-CfYPMnKS.cjs +660 -0
  39. package/dist/forLoveAndLemons-DmwYZIk0.js +658 -0
  40. package/dist/greenpan-Bsl3ir59.cjs +389 -0
  41. package/dist/greenpan-BtOi45lf.js +389 -0
  42. package/dist/grooveLife-6_dtYsRk.js +334 -0
  43. package/dist/grooveLife-Cmm1PSCL.cjs +334 -0
  44. package/dist/homegrownCannabis-C-kw-74X.js +400 -0
  45. package/dist/homegrownCannabis-CO0uY_mp.cjs +400 -0
  46. package/dist/hooks/index.cjs +16 -0
  47. package/dist/hooks/index.d.cts +357 -0
  48. package/dist/hooks/index.d.ts +357 -0
  49. package/dist/hooks/index.js +7 -0
  50. package/dist/jackArcher-CLVmwwpI.js +719 -0
  51. package/dist/jackArcher-DdYTIzAV.cjs +719 -0
  52. package/dist/jordanCraig-Am-Oor-O.js +1778 -0
  53. package/dist/jordanCraig-_u3-w4Hp.cjs +1778 -0
  54. package/dist/kindredBravely-CWovIDSc.cjs +482 -0
  55. package/dist/kindredBravely-eWp-ud_E.js +482 -0
  56. package/dist/kutFromTheKloth-BMV4BuGQ.js +361 -0
  57. package/dist/kutFromTheKloth-Q589bAOC.cjs +361 -0
  58. package/dist/larryAndSerges-BMUlTgI-.js +252 -0
  59. package/dist/larryAndSerges-CEau764j.cjs +252 -0
  60. package/dist/leapsAndRebounds-DGMzPO7T.js +352 -0
  61. package/dist/leapsAndRebounds-DHAtRTJD.cjs +352 -0
  62. package/dist/logger-Dln20ans.cjs +25 -0
  63. package/dist/logger-pdEEY8T2.js +19 -0
  64. package/dist/longevityrx-CZW8Hxzi.cjs +312 -0
  65. package/dist/longevityrx-jH2JLhNH.js +312 -0
  66. package/dist/lookOptic-BGXP5P_V.js +274 -0
  67. package/dist/lookOptic-CA6RwLbG.cjs +274 -0
  68. package/dist/mantraBrand-Cm9_PBCT.js +742 -0
  69. package/dist/mantraBrand-DByNqpnL.cjs +742 -0
  70. package/dist/medterra-B0wxj_PV.js +575 -0
  71. package/dist/medterra-DnPN2ksU.cjs +575 -0
  72. package/dist/modells-Bmz8Ag5M.js +476 -0
  73. package/dist/modells-CoYgkLSp.cjs +476 -0
  74. package/dist/models-DHdb7QWn.js +51 -0
  75. package/dist/models-ixxUsGL_.cjs +69 -0
  76. package/dist/pressedFloral-DSKs_oVG.js +653 -0
  77. package/dist/pressedFloral-DjBiSoUl.cjs +653 -0
  78. package/dist/skinPerfection-B_3xzVNS.cjs +326 -0
  79. package/dist/skinPerfection-IDrBuAPt.js +326 -0
  80. package/dist/snapSupplements-BJk5T5ba.js +277 -0
  81. package/dist/snapSupplements-BStTsdOZ.cjs +277 -0
  82. package/dist/socialProofClasses-Bhv2Vulz.js +9 -0
  83. package/dist/socialProofClasses-CrQBWdSA.cjs +39 -0
  84. package/dist/spanx-BYg0LE7R.js +653 -0
  85. package/dist/spanx-LwU1zSzq.cjs +655 -0
  86. package/dist/spanxStaging-CfSmuKYB.js +837 -0
  87. package/dist/spanxStaging-OZLV9qix.cjs +840 -0
  88. package/dist/suggestionBarV2-types-BllzwsBD.js +34 -0
  89. package/dist/suggestionBarV2-types-CaovchMP.cjs +46 -0
  90. package/dist/supergoop-BqPXDnKk.cjs +327 -0
  91. package/dist/supergoop-CIlrHND_.js +325 -0
  92. package/dist/types-C4T5UOIW.cjs +230 -0
  93. package/dist/types-CYNvLeSA.js +176 -0
  94. package/dist/uniqueVintage-B30mOqbH.cjs +1205 -0
  95. package/dist/uniqueVintage-CFueJOhO.js +1203 -0
  96. package/dist/venaCbd-DHGZy49P.cjs +357 -0
  97. package/dist/venaCbd-T0CqVD4k.js +357 -0
  98. package/dist/westonJonBoucher-BdMzs_Yg.cjs +414 -0
  99. package/dist/westonJonBoucher-b4TCQ4ev.js +414 -0
  100. package/dist/wineEnthusiast-BLGlOjgr.cjs +932 -0
  101. package/dist/wineEnthusiast-BqR0i_54.js +932 -0
  102. package/dist/wolfMattress-CyyO-LoC.js +362 -0
  103. package/dist/wolfMattress-DNGZOivg.cjs +362 -0
  104. package/dist/wolfTactical-3Mm2fvVF.js +341 -0
  105. package/dist/wolfTactical-BmXYlFjr.cjs +341 -0
  106. package/package.json +66 -0
  107. package/src/adapters/amplitude/amplitudeAdapter.ts +454 -0
  108. package/src/adapters/amplitude/index.ts +2 -0
  109. package/src/adapters/amplitude/stubAmplitudeAdapter.ts +34 -0
  110. package/src/adapters/spiffy/commerce/api.ts +596 -0
  111. package/src/adapters/spiffy/commerce/exceptions/sessionExceptions.ts +6 -0
  112. package/src/adapters/spiffy/commerce/exceptions/unsupportedProductExceptions.ts +6 -0
  113. package/src/adapters/spiffy/commerce/graphql.ts +184 -0
  114. package/src/application/config/generalStaticConfig.ts +37 -0
  115. package/src/application/logging/logger.ts +29 -0
  116. package/src/application/models/api/context.ts +4 -0
  117. package/src/application/models/api/generationParams.ts +4 -0
  118. package/src/application/models/api/nextMessageRequest.ts +11 -0
  119. package/src/application/models/api/orgAnalyticsConfig.ts +19 -0
  120. package/src/application/models/api/orgConfigResults.ts +40 -0
  121. package/src/application/models/api/organizationConfig.ts +12 -0
  122. package/src/application/models/api/response.ts +132 -0
  123. package/src/application/models/api/responseGenerics.ts +67 -0
  124. package/src/application/models/api/search.ts +26 -0
  125. package/src/application/models/api/suggestion.ts +4 -0
  126. package/src/application/models/api/supportedEventRequest.ts +8 -0
  127. package/src/application/models/api/userEvent.ts +101 -0
  128. package/src/application/models/cachedValue.ts +8 -0
  129. package/src/application/models/chatElementDisplayLocation.ts +22 -0
  130. package/src/application/models/clientDetails.ts +18 -0
  131. package/src/application/models/colorsConfig.ts +28 -0
  132. package/src/application/models/conversationalSearchIds.ts +5 -0
  133. package/src/application/models/dataLayer.ts +45 -0
  134. package/src/application/models/domMutationContinuation.ts +7 -0
  135. package/src/application/models/domObservationStrategy.ts +9 -0
  136. package/src/application/models/events.ts +5 -0
  137. package/src/application/models/featureGates.ts +23 -0
  138. package/src/application/models/frontendConfig.ts +14 -0
  139. package/src/application/models/googleAnalyticsEvents.ts +8 -0
  140. package/src/application/models/graphql/index.ts +2 -0
  141. package/src/application/models/graphql/queries/getMerchantColorsQuery.ts +37 -0
  142. package/src/application/models/graphql/queries/getMerchantFrontendConfigQuery.ts +103 -0
  143. package/src/application/models/graphql/queries/getMerchantOrgIdQuery.ts +11 -0
  144. package/src/application/models/guards/api/index.ts +12 -0
  145. package/src/application/models/guards/api/isApiFormResponse.ts +90 -0
  146. package/src/application/models/guards/api/isApiFormSubmittedResponseAttributes.ts +37 -0
  147. package/src/application/models/guards/api/isApiOrderResponseAttributes.ts +155 -0
  148. package/src/application/models/guards/api/isApiOrgConfigResults.ts +277 -0
  149. package/src/application/models/guards/api/isApiOrganizationConfig.ts +207 -0
  150. package/src/application/models/guards/api/isApiPDPEventAttributes.ts +21 -0
  151. package/src/application/models/guards/api/isApiPLPEventAttributes.ts +41 -0
  152. package/src/application/models/guards/api/isApiPageResponseAttributes.ts +21 -0
  153. package/src/application/models/guards/api/isApiProductResponseAttributes.ts +85 -0
  154. package/src/application/models/guards/api/isApiProductSearchAttributes.ts +23 -0
  155. package/src/application/models/guards/api/isApiProductSearchFilterAttributes.ts +15 -0
  156. package/src/application/models/guards/api/isApiQueryTypedEventAttributes.ts +4 -0
  157. package/src/application/models/guards/api/isApiResponse.ts +39 -0
  158. package/src/application/models/guards/api/isApiReviewResponseAttributes.ts +30 -0
  159. package/src/application/models/guards/api/isApiReviewRichInformation.ts +37 -0
  160. package/src/application/models/guards/api/isApiSearchEventAttributes.ts +28 -0
  161. package/src/application/models/guards/api/isApiSuggestion.ts +36 -0
  162. package/src/application/models/guards/api/isApiSuggestionClickedEventAttributes.ts +9 -0
  163. package/src/application/models/guards/api/isApiTextResponseAttributes.ts +9 -0
  164. package/src/application/models/guards/api/isApiUserEvent.ts +25 -0
  165. package/src/application/models/guards/graphQL/isGraphQLColorsConfig.ts +50 -0
  166. package/src/application/models/guards/isBaseEcommerceEvent.ts +17 -0
  167. package/src/application/models/guards/isGA4EcommerceEvent.ts +17 -0
  168. package/src/application/models/guards/isLegacyUAEcommerceEvent.ts +17 -0
  169. package/src/application/models/guards/isMobilePLPChatPlacementParameter.ts +11 -0
  170. package/src/application/models/guards/isSpanxTakeAQuizCtaParameter.ts +4 -0
  171. package/src/application/models/guards/isVariantInfo.ts +37 -0
  172. package/src/application/models/guards/utils.ts +43 -0
  173. package/src/application/models/index.ts +20 -0
  174. package/src/application/models/localStorageEventListener.ts +4 -0
  175. package/src/application/models/message.ts +146 -0
  176. package/src/application/models/mobilePLPChatPlacementParameter.ts +3 -0
  177. package/src/application/models/orgsEnum.ts +36 -0
  178. package/src/application/models/productExperiment.ts +5 -0
  179. package/src/application/models/spanxTakeAQuizCtaParameter.ts +4 -0
  180. package/src/application/models/spiffyWidgets.ts +16 -0
  181. package/src/application/models/supportedOrgs.ts +137 -0
  182. package/src/application/models/utilityTypes/camelCase.ts +87 -0
  183. package/src/application/models/utilityTypes/camelCasedPropertiesDeep.ts +80 -0
  184. package/src/application/models/utilityTypes/delimiterCase.ts +121 -0
  185. package/src/application/models/utilityTypes/delimiterCasedPropertiesDeep.ts +98 -0
  186. package/src/application/models/utilityTypes/index.ts +1 -0
  187. package/src/application/models/utilityTypes/internal.ts +93 -0
  188. package/src/application/models/utilityTypes/primitive.ts +8 -0
  189. package/src/application/models/utilityTypes/snakeCasedPropertiesDeep.ts +49 -0
  190. package/src/application/models/utilityTypes/splitWords.ts +76 -0
  191. package/src/application/models/utilityTypes/trim.ts +28 -0
  192. package/src/application/models/utilityTypes/unknownArray.ts +25 -0
  193. package/src/application/models/utils/snakeToCamelTransformer.ts +90 -0
  194. package/src/application/models/utils/stringToFulfillmentDisplayStatusEnumValue.ts +68 -0
  195. package/src/application/models/validators/validateGraphQLColorsConfig.ts +29 -0
  196. package/src/application/models/validators/validateGraphQLFrontendConfig.ts +594 -0
  197. package/src/application/models/validators/validateGraphQLOrgId.ts +7 -0
  198. package/src/application/models/validators/validateMobilePLPChatPlacementParameter.ts +14 -0
  199. package/src/application/models/validators/validateOrgConfigResults.ts +47 -0
  200. package/src/application/models/validators/validateOrganizationConfig.ts +37 -0
  201. package/src/application/models/validators/validateResponse.ts +187 -0
  202. package/src/application/models/validators/validateSuggestion.ts +16 -0
  203. package/src/application/models/validators/validateUserEvent.ts +110 -0
  204. package/src/application/models/variantInfo/index.ts +1 -0
  205. package/src/application/models/variantInfo/pageVisitInfo.ts +6 -0
  206. package/src/application/models/variantInfo/plpInfo.ts +3 -0
  207. package/src/application/models/variantInfo/productInfo.ts +5 -0
  208. package/src/application/models/variantInfo/variantInfo.ts +23 -0
  209. package/src/application/service/cachingService.ts +84 -0
  210. package/src/application/service/cdnService.ts +18 -0
  211. package/src/application/service/customerService/index.ts +8 -0
  212. package/src/application/service/customerService/providers/UnsupportedCustomerService.ts +15 -0
  213. package/src/application/service/customerService/types.ts +31 -0
  214. package/src/application/service/domMutationObserver.ts +320 -0
  215. package/src/application/service/domMutations/GridInsertionService.ts +123 -0
  216. package/src/application/service/domMutations/dataLayer/dataLayerEventsListener.ts +99 -0
  217. package/src/application/service/domMutations/domInsertionService.ts +90 -0
  218. package/src/application/service/domMutations/domMutationListener.ts +15 -0
  219. package/src/application/service/domMutations/domMutationListenerState.ts +52 -0
  220. package/src/application/service/domMutations/floatingChat/embeddedChatsPlacementsListener.ts +41 -0
  221. package/src/application/service/domMutations/gladly/gladlyListener.ts +61 -0
  222. package/src/application/service/domMutations/spiffy/orgs/common/kustomerVisibilityListener.ts +41 -0
  223. package/src/application/service/domMutations/spiffy/orgs/common/orgsCommonDataLayerListener.ts +119 -0
  224. package/src/application/service/environmentService.ts +51 -0
  225. package/src/application/service/featureFlagService.ts +130 -0
  226. package/src/application/service/kustomerIntegrationService.ts +111 -0
  227. package/src/application/service/localStorageService.ts +77 -0
  228. package/src/application/service/pageVariantService.ts +779 -0
  229. package/src/application/service/searchService.ts +140 -0
  230. package/src/application/service/sessionStorageService.ts +27 -0
  231. package/src/application/service/shopifyUrlService.ts +63 -0
  232. package/src/application/service/userIdentityService.ts +114 -0
  233. package/src/application/service/windowChatToggleService.ts +71 -0
  234. package/src/application/service/windowDataLayerService.ts +181 -0
  235. package/src/application/service/windowFrontendConfigService.ts +104 -0
  236. package/src/application/utils/__tests__/divideArrays.test.ts +14 -0
  237. package/src/application/utils/analyticsUtils.ts +110 -0
  238. package/src/application/utils/coreContextToApiContext.ts +11 -0
  239. package/src/application/utils/coreUserEventToApiUserEvent.ts +106 -0
  240. package/src/application/utils/divideArray.ts +7 -0
  241. package/src/application/utils/domObserver.ts +96 -0
  242. package/src/application/utils/elementObserver.ts +246 -0
  243. package/src/application/utils/imageFilter.ts +12 -0
  244. package/src/application/utils/index.ts +3 -0
  245. package/src/application/utils/merchantUtils.ts +16 -0
  246. package/src/application/utils/messageFromFormSubmittedEvent.ts +31 -0
  247. package/src/application/utils/messageFromQueryEvent.ts +38 -0
  248. package/src/application/utils/messageFromResponse.ts +133 -0
  249. package/src/application/utils/messageFromSuggestionEvent.ts +32 -0
  250. package/src/application/utils/mouseEventTypes.ts +1 -0
  251. package/src/application/utils/mutationHelper.ts +51 -0
  252. package/src/application/utils/nextMessageRequestToApiRequest.ts +31 -0
  253. package/src/application/utils/nodeSelector.ts +133 -0
  254. package/src/application/utils/overrides.ts +196 -0
  255. package/src/application/utils/stringUtils.ts +55 -0
  256. package/src/application/utils/supportedEventRequestToApiRequest.ts +12 -0
  257. package/src/application/utils/urlsParser.ts +53 -0
  258. package/src/application/utils/validation.ts +5 -0
  259. package/src/atoms/app/index.ts +57 -0
  260. package/src/atoms/app/variant.ts +261 -0
  261. package/src/atoms/atomStore.ts +34 -0
  262. package/src/atoms/chat/chatState.ts +44 -0
  263. package/src/atoms/chat/form.ts +19 -0
  264. package/src/atoms/chat/index.ts +38 -0
  265. package/src/atoms/chat/lastMessage.ts +11 -0
  266. package/src/atoms/chat/messageQueue.ts +65 -0
  267. package/src/atoms/chat/performanceMetrics.ts +84 -0
  268. package/src/atoms/chat/renderedWidgetRefs.ts +28 -0
  269. package/src/atoms/chat/replies.ts +51 -0
  270. package/src/atoms/chat/suggestions.ts +36 -0
  271. package/src/atoms/globalSearch.ts +12 -0
  272. package/src/atoms/index.ts +5 -0
  273. package/src/atoms/org/customerService.ts +13 -0
  274. package/src/atoms/org/graphqlConfig.ts +27 -0
  275. package/src/atoms/org/index.ts +7 -0
  276. package/src/atoms/org/merchantCss.ts +44 -0
  277. package/src/atoms/org/org.ts +256 -0
  278. package/src/atoms/org/orgAnalyticsConfig.ts +28 -0
  279. package/src/atoms/org/orgPageConfig.ts +38 -0
  280. package/src/atoms/org/orgUIConfig.ts +122 -0
  281. package/src/atoms/search/chatSearch.ts +293 -0
  282. package/src/atoms/search/index.ts +2 -0
  283. package/src/atoms/search/productFilters.ts +207 -0
  284. package/src/atoms/search/productSorter.ts +23 -0
  285. package/src/atoms/search/searchAPI.ts +194 -0
  286. package/src/atoms/search/types.ts +55 -0
  287. package/src/atoms/search/utils.ts +18 -0
  288. package/src/config/divIds.ts +27 -0
  289. package/src/config/locators/components/chat/entrypoints.ts +13 -0
  290. package/src/config/locators/components/chat/index.ts +23 -0
  291. package/src/config/locators/components/chat/preview.ts +13 -0
  292. package/src/config/locators/components/chat/variants/index.ts +16 -0
  293. package/src/config/locators/components/common/buttons.ts +6 -0
  294. package/src/config/locators/components/common/cards.ts +18 -0
  295. package/src/config/locators/components/common/links.ts +1 -0
  296. package/src/config/locators/components/common/tables.ts +2 -0
  297. package/src/config/locators/components/floating-button.ts +2 -0
  298. package/src/config/locators/components/index.ts +3 -0
  299. package/src/config/locators/components/report-issue.ts +21 -0
  300. package/src/config/locators/components/search/index.ts +5 -0
  301. package/src/config/locators/components/shadow-dom.ts +1 -0
  302. package/src/config/locators/embedded.ts +21 -0
  303. package/src/config/locators/index.ts +3 -0
  304. package/src/config/socialProofClasses.ts +17 -0
  305. package/src/contexts/chatContext.tsx +451 -0
  306. package/src/contexts/enviveConfigContext.tsx +70 -0
  307. package/src/contexts/index.ts +4 -0
  308. package/src/contexts/systemSettingsContext.tsx +61 -0
  309. package/src/contexts/types.ts +1059 -0
  310. package/src/enabled-features.ts +83 -0
  311. package/src/events/event-types.ts +11 -0
  312. package/src/events/index.ts +52 -0
  313. package/src/events/registerAnalyticsListeners.ts +49 -0
  314. package/src/extension.ts +63 -0
  315. package/src/hooks/index.ts +22 -0
  316. package/src/hooks/useBlockBackButton.ts +29 -0
  317. package/src/hooks/useChatToggle.ts +66 -0
  318. package/src/hooks/useCustomerSupportHandoff.ts +39 -0
  319. package/src/hooks/useDebounce.ts +17 -0
  320. package/src/hooks/useDynamicVariants.ts +210 -0
  321. package/src/hooks/useElementObserver.ts +245 -0
  322. package/src/hooks/useFileUpload.ts +61 -0
  323. package/src/hooks/useGrabAndScroll.ts +133 -0
  324. package/src/hooks/useHideElements.ts +82 -0
  325. package/src/hooks/useHorizontalScrollAnimation.ts +115 -0
  326. package/src/hooks/useImageResolver.ts +51 -0
  327. package/src/hooks/useIntersection.ts +28 -0
  328. package/src/hooks/useIsSmallScreen.ts +23 -0
  329. package/src/hooks/useMessageFilter.ts +49 -0
  330. package/src/hooks/useMessageScrollObserver.ts +47 -0
  331. package/src/hooks/useReducedMotionWithOverride.ts +15 -0
  332. package/src/hooks/useSearch.tsx +433 -0
  333. package/src/hooks/useSnapCalculator.ts +38 -0
  334. package/src/hooks/useSnapControl.ts +155 -0
  335. package/src/hooks/useSystemSettingsContext.ts +12 -0
  336. package/src/hooks/useTrackComponentVisibleEvent.ts +52 -0
  337. package/src/hooks/useUpdateAnalyticsProps.ts +56 -0
  338. package/src/hooks/utils.ts +153 -0
  339. package/src/index.ts +31 -0
  340. package/src/initialize.ts +163 -0
  341. package/src/interceptors/types.ts +6 -0
  342. package/src/interceptors/useFormEscalation.ts +40 -0
  343. package/src/interceptors/useMessageInterceptor.ts +32 -0
  344. package/src/main.ts +85 -0
  345. package/src/main.tsx +123 -0
  346. package/src/merchants/bandolier/bandolier.ts +1389 -0
  347. package/src/merchants/carpe/carpe.ts +656 -0
  348. package/src/merchants/coterie/coterie.ts +280 -0
  349. package/src/merchants/default.ts +193 -0
  350. package/src/merchants/dreamlandBaby/dreamlandBaby.ts +375 -0
  351. package/src/merchants/fiveCbd/fiveCbd.ts +697 -0
  352. package/src/merchants/forLoveAndLemons/forLoveAndLemons.ts +721 -0
  353. package/src/merchants/greenpan/greenpan.ts +440 -0
  354. package/src/merchants/grooveLife/grooveLife.ts +386 -0
  355. package/src/merchants/homegrownCannabis/homegrownCannabis.ts +468 -0
  356. package/src/merchants/init-merchant.sh +53 -0
  357. package/src/merchants/jackArcher/jackArcher.ts +974 -0
  358. package/src/merchants/jordanCraig/jordanCraig.ts +1927 -0
  359. package/src/merchants/kindredBravely/kindredBravely.ts +529 -0
  360. package/src/merchants/kutFromTheKloth/kutFromTheKloth.ts +418 -0
  361. package/src/merchants/larryAndSerges/larryAndSerges.ts +314 -0
  362. package/src/merchants/leapsAndRebounds/leapsAndRebounds.ts +424 -0
  363. package/src/merchants/longevityrx/longevityrx.ts +368 -0
  364. package/src/merchants/lookOptic/lookOptic.ts +323 -0
  365. package/src/merchants/mantraBrand/mantraBrand.ts +838 -0
  366. package/src/merchants/medterra/medterra.ts +670 -0
  367. package/src/merchants/modells/modells.ts +546 -0
  368. package/src/merchants/pressedFloral/pressedFloral.ts +734 -0
  369. package/src/merchants/skinPerfection/skinPerfection.ts +379 -0
  370. package/src/merchants/snapSupplements/snapSupplements.ts +325 -0
  371. package/src/merchants/spanx/spanx.ts +810 -0
  372. package/src/merchants/spanx/spanxStaging.ts +942 -0
  373. package/src/merchants/supergoop/supergoop.ts +376 -0
  374. package/src/merchants/uniqueVintage/uniqueVintage.ts +1314 -0
  375. package/src/merchants/uniqueVintage/views/useUniqueVintageChatSearch.ts +147 -0
  376. package/src/merchants/venaCbd/venaCbd.ts +410 -0
  377. package/src/merchants/westonJonBoucher/westonJonBoucher.ts +473 -0
  378. package/src/merchants/wineEnthusiast/wineEnthusiast.ts +990 -0
  379. package/src/merchants/wolfMattress/wolfMattress.ts +411 -0
  380. package/src/merchants/wolfTactical/wolfTactical.ts +389 -0
  381. package/src/types/custservice-types.ts +28 -0
  382. package/src/types/search-filter-types.ts +111 -0
  383. package/src/types/suggestionBarV2-types.ts +4 -0
  384. package/src/types/test-types.ts +3 -0
  385. package/src/types.ts +66 -0
@@ -0,0 +1,1778 @@
1
+ require('./logger-Dln20ans.cjs');
2
+ const require_models = require('./models-ixxUsGL_.cjs');
3
+ const require_types = require('./types-C4T5UOIW.cjs');
4
+ require('./enviveConfigContext-Dfr2VH6u.cjs');
5
+ const require_divIds = require('./divIds-DnZNd7rA.cjs');
6
+ const require_GridInsertionService = require('./GridInsertionService-CS_bnPh0.cjs');
7
+ const require_suggestionBarV2_types = require('./suggestionBarV2-types-CaovchMP.cjs');
8
+ const require_cdnService = require('./cdnService-CZ-aXcY6.cjs');
9
+ const require_default = require('./default-D_KPZdPJ.cjs');
10
+
11
+ //#region src/merchants/jordanCraig/jordanCraig.ts
12
+ const jordanCraigColors = {
13
+ [require_types.ColorNames.TextPrimary]: "#1C1C1C",
14
+ [require_types.ColorNames.TextSecondary]: "#767676",
15
+ [require_types.ColorNames.TextAccent]: "#767676",
16
+ [require_types.ColorNames.TextLink]: "#1C1C1C",
17
+ [require_types.ColorNames.TextLight]: "#FFFFFF",
18
+ [require_types.ColorNames.BackgroundPrimary]: "#1C1C1C",
19
+ [require_types.ColorNames.BackgroundSecondary]: "#F6F6F6",
20
+ [require_types.ColorNames.BackgroundSecondaryDark]: "#E0E0E0",
21
+ [require_types.ColorNames.BackgroundTertiary]: "#DDDDDD",
22
+ [require_types.ColorNames.BackgroundDark]: "#1C1C1C",
23
+ [require_types.ColorNames.BackgroundLight]: "#FFFFFF",
24
+ [require_types.ColorNames.BackgroundSaturated]: "#E0E0E0",
25
+ [require_types.ColorNames.BorderLight]: "#DDDDDD",
26
+ [require_types.ColorNames.BorderMedium]: "#949596",
27
+ [require_types.ColorNames.BorderDark]: "#1C1C1C",
28
+ [require_types.ColorNames.BorderOutline]: "#1C1C1C",
29
+ [require_types.ColorNames.AccentPrimary]: "#AB1212",
30
+ [require_types.ColorNames.AccentSecondary]: "#C69846"
31
+ };
32
+ const jordanCraigOrgUIConfig = () => {
33
+ const defaultJordanCraigOrgConfig = require_default.defaultOrgUIConfig(require_types.OrgShortName.JordanCraig);
34
+ return {
35
+ ...defaultJordanCraigOrgConfig,
36
+ merchantVariantSettings: { dynamicVariants: {
37
+ enabled: false,
38
+ refreshInterval: 400
39
+ } },
40
+ searchConfig: {
41
+ enableGlobalSearch: true,
42
+ redirectSearchResultsUrl: "https://jordancraig.com/collections/best-sellers-men",
43
+ searchFilterConfig: [
44
+ {
45
+ filterId: "price",
46
+ displayName: "Price",
47
+ type: "price",
48
+ bucketSize: 50
49
+ },
50
+ {
51
+ filterId: "size",
52
+ displayName: "Size",
53
+ attribute: "size",
54
+ type: "dynamic",
55
+ sorting: { type: "productCount" }
56
+ },
57
+ {
58
+ filterId: "color",
59
+ displayName: "Color",
60
+ attribute: "color",
61
+ type: "dynamic",
62
+ sorting: { type: "productCount" }
63
+ },
64
+ {
65
+ filterId: "type",
66
+ displayName: "Type",
67
+ attribute: "type",
68
+ type: "dynamic",
69
+ sorting: { type: "productCount" }
70
+ },
71
+ {
72
+ filterId: "dynamic",
73
+ displayName: "",
74
+ type: "dynamic",
75
+ attribute: "dynamic",
76
+ sorting: { type: "productCount" }
77
+ }
78
+ ]
79
+ },
80
+ chatMessageConfig: {
81
+ ...defaultJordanCraigOrgConfig.chatMessageConfig,
82
+ assistantChatTitle: "Jordan Craig AI",
83
+ variant: "standard",
84
+ productLink: {
85
+ ...defaultJordanCraigOrgConfig.chatMessageConfig.productLink,
86
+ iconVariant: "backgroundSaturated"
87
+ }
88
+ },
89
+ chatHeader: {
90
+ ...defaultJordanCraigOrgConfig.chatHeader,
91
+ imageSrc: require_cdnService.CdnService.getAssetURL("jordancraig-white.png", require_types.OrgShortName.JordanCraig)
92
+ },
93
+ chatPreviewConfig: {
94
+ ...defaultJordanCraigOrgConfig.chatPreviewConfig,
95
+ iconFillColor: require_types.colorVar(require_types.ColorNames.AccentPrimary),
96
+ buttonBackgroundColor: require_types.colorVar(require_types.ColorNames.BackgroundDark),
97
+ buttonTextHoverColor: require_types.colorVar(require_types.ColorNames.TextPrimary),
98
+ buttonBackgroundHoverColor: require_types.colorVar(require_types.ColorNames.BackgroundSecondaryDark),
99
+ topMargin: 10,
100
+ copies: {
101
+ plp: [
102
+ "what's new in style?",
103
+ "the right pair of jeans for every day?",
104
+ "a jacket to elevate your look?",
105
+ "a unique graphic print?"
106
+ ],
107
+ pdp: [
108
+ "if this is hypoallergenic?",
109
+ "if this is a meaningful gift?",
110
+ "if it is the right size for you?",
111
+ "if it's crafted with durable materials?"
112
+ ]
113
+ },
114
+ staticSuggestionCopies: {
115
+ plp: [
116
+ "the care instructions?",
117
+ "what it's made of?",
118
+ "the standout features?",
119
+ "the size guide?"
120
+ ],
121
+ pdp: [
122
+ "Is this available in other colors or styles?",
123
+ "Does this style match any other pieces?",
124
+ "What is my right size?",
125
+ "What is this made of?",
126
+ "How do I care for this product?"
127
+ ]
128
+ },
129
+ headerConfig: {
130
+ ...defaultJordanCraigOrgConfig.chatPreviewConfig.headerConfig,
131
+ imageHeight: 24,
132
+ imageSrc: require_cdnService.CdnService.getAssetURL("jordancraig-black.png", require_types.OrgShortName.JordanCraig)
133
+ },
134
+ footerConfig: {
135
+ ...defaultJordanCraigOrgConfig.chatPreviewConfig.footerConfig,
136
+ replyButtonIcon: "magnifyingGlass"
137
+ }
138
+ },
139
+ floatingEntrypointConfig: {
140
+ ...defaultJordanCraigOrgConfig.floatingEntrypointConfig,
141
+ showOption: "always",
142
+ expandedColor: require_types.colorVar(require_types.ColorNames.BorderOutline),
143
+ expansionText: {
144
+ pdp: "Is this your next essential?",
145
+ plp: "Ready to find your perfect fit?"
146
+ }
147
+ },
148
+ productCardConfig: { ...defaultJordanCraigOrgConfig.productCardConfig },
149
+ productReviewConfig: {
150
+ ...defaultJordanCraigOrgConfig.productReviewConfig,
151
+ colorVariant: "brand",
152
+ verifiedBuyerTitle: "",
153
+ incentivizedReviewFlag: false
154
+ },
155
+ welcomeSectionConfig: {
156
+ ...defaultJordanCraigOrgConfig.welcomeSectionConfig,
157
+ title: "Welcome to Jordan Craig AI!",
158
+ subtitle: "Hey! I'm here to make your shopping experience effortless. Ask me anything—from finding your perfect fit to details about our latest styles. Let's find your next essential."
159
+ },
160
+ merchantOverrideCss: `
161
+ .spiffy-star-rating-star {
162
+ fill: var(--spiffy-colors-text-primary) !important;
163
+ }
164
+ .spiffy-product-review-header-reviewer {
165
+ color: var(--spiffy-colors-text-primary) !important;
166
+ }
167
+ .spiffy-mini-verified-buyer-text {
168
+ color: var(--spiffy-colors-background-secondary) !important;
169
+ }
170
+ .spiffy-mini-verified-buyer-icon {
171
+ fill: var(--spiffy-colors-background-secondary) !important;
172
+ }
173
+
174
+ #spiffy-ai-chat-preview.is-plp {
175
+ max-width: calc(100vw - (2 * var(--container-gutter)));
176
+ @media (max-width: 700px) {
177
+ max-width:calc(100vw - 20px)
178
+ }
179
+ }
180
+ .spiffy-product-card-title {
181
+ font-family: var(--chakra-fonts-heading);
182
+ color: var(--spiffy-colors-text-link);
183
+ }
184
+ .spiffy-product-card-text-color {
185
+ color: var(--spiffy-colors-text-secondary);
186
+ }
187
+ .spiffy-product-card-rating-star-color {
188
+ fill: var(--spiffy-colors-background-primary);
189
+ }
190
+
191
+ .search-results-entry-point + #main {
192
+ display: none;
193
+ }
194
+ `
195
+ };
196
+ };
197
+ const jordanCraigPageConfig = () => ({
198
+ pageVariants: [
199
+ {
200
+ variantId: "search-results",
201
+ variantType: "plp",
202
+ variantTests: [
203
+ { testType: require_types.PageVariantTestType.UrlResolver },
204
+ {
205
+ testType: require_types.PageVariantTestType.FeatureGate,
206
+ featureGate: require_models.FeatureGates.IsGlobalSearchEnabled
207
+ },
208
+ {
209
+ testType: require_types.PageVariantTestType.QueryParam,
210
+ queryParam: "esq"
211
+ }
212
+ ],
213
+ plpIdExtractor: "url-resolver-plp-id",
214
+ widgetMounting: [
215
+ {
216
+ mountingConfigId: "searchIconEntryPoint",
217
+ widgetConfigId: "searchIconEntryPoint"
218
+ },
219
+ {
220
+ mountingConfigId: "searchOverlayHost",
221
+ widgetConfigId: "searchOverlayHost"
222
+ },
223
+ {
224
+ mountingConfigId: "chatPreviewPLP",
225
+ widgetConfigId: "chatPreviewPLP"
226
+ },
227
+ {
228
+ mountingConfigId: "searchResultsEntryPointPLP",
229
+ widgetConfigId: "searchResultsEntryPoint"
230
+ }
231
+ ]
232
+ },
233
+ {
234
+ variantId: "plp-with-search",
235
+ variantType: "plp",
236
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
237
+ testType: require_types.PageVariantTestType.FeatureGate,
238
+ featureGate: require_models.FeatureGates.IsGlobalSearchEnabled
239
+ }],
240
+ plpIdExtractor: "url-resolver-plp-id",
241
+ widgetMounting: [
242
+ {
243
+ mountingConfigId: "searchIconEntryPoint",
244
+ widgetConfigId: "searchIconEntryPoint"
245
+ },
246
+ {
247
+ mountingConfigId: "searchOverlayHost",
248
+ widgetConfigId: "searchOverlayHost"
249
+ },
250
+ {
251
+ mountingConfigId: "chatPreviewPLP",
252
+ widgetConfigId: "chatPreviewPLP"
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ variantId: "pdp-with-search",
258
+ variantType: "pdp",
259
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
260
+ testType: require_types.PageVariantTestType.FeatureGate,
261
+ featureGate: require_models.FeatureGates.IsGlobalSearchEnabled
262
+ }],
263
+ productIdExtractor: "url-resolver-product-id",
264
+ widgetMounting: [
265
+ {
266
+ mountingConfigId: "searchIconEntryPoint",
267
+ widgetConfigId: "searchIconEntryPoint"
268
+ },
269
+ {
270
+ mountingConfigId: "searchOverlayHost",
271
+ widgetConfigId: "searchOverlayHost"
272
+ },
273
+ {
274
+ mountingConfigId: "topSuggestionBarPDP",
275
+ widgetConfigId: "topSuggestionsBar"
276
+ },
277
+ {
278
+ mountingConfigId: "bottomSuggestionBarPDP",
279
+ widgetConfigId: "bottomSuggestionsBar"
280
+ },
281
+ {
282
+ mountingConfigId: "chatPreviewPDP",
283
+ widgetConfigId: "chatPreviewPDP"
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ variantId: "home-with-search",
289
+ variantType: "homepage",
290
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
291
+ testType: require_types.PageVariantTestType.FeatureGate,
292
+ featureGate: require_models.FeatureGates.IsGlobalSearchEnabled
293
+ }],
294
+ widgetMounting: [{
295
+ mountingConfigId: "searchIconEntryPoint",
296
+ widgetConfigId: "searchIconEntryPoint"
297
+ }, {
298
+ mountingConfigId: "searchOverlayHost",
299
+ widgetConfigId: "searchOverlayHost"
300
+ }]
301
+ },
302
+ {
303
+ variantId: "other-with-search",
304
+ variantType: "other",
305
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
306
+ testType: require_types.PageVariantTestType.FeatureGate,
307
+ featureGate: require_models.FeatureGates.IsGlobalSearchEnabled
308
+ }],
309
+ widgetMounting: [{
310
+ mountingConfigId: "searchIconEntryPoint",
311
+ widgetConfigId: "searchIconEntryPoint"
312
+ }, {
313
+ mountingConfigId: "searchOverlayHost",
314
+ widgetConfigId: "searchOverlayHost"
315
+ }]
316
+ },
317
+ {
318
+ variantId: "plp",
319
+ variantType: "plp",
320
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }],
321
+ plpIdExtractor: "url-resolver-plp-id",
322
+ widgetMounting: [{
323
+ mountingConfigId: "chatPreviewPLP",
324
+ widgetConfigId: "chatPreviewPLP"
325
+ }]
326
+ },
327
+ {
328
+ variantId: "outerwearWithReviews",
329
+ variantType: "pdp",
330
+ variantTests: [
331
+ {
332
+ testType: require_types.PageVariantTestType.HasReviews,
333
+ reviewMinimum: 4
334
+ },
335
+ { testType: require_types.PageVariantTestType.UrlResolver },
336
+ {
337
+ testType: require_types.PageVariantTestType.InCollection,
338
+ collections: ["outerwear", "big-mens-outerwear"]
339
+ }
340
+ ],
341
+ productIdExtractor: "url-resolver-product-id",
342
+ widgetMounting: [
343
+ {
344
+ mountingConfigId: "topSuggestionBarPDP",
345
+ widgetConfigId: "topSuggestionsBarOuterwear"
346
+ },
347
+ {
348
+ mountingConfigId: "chatPreviewPDP",
349
+ widgetConfigId: "chatPreviewPDP"
350
+ },
351
+ {
352
+ mountingConfigId: "bottomSuggestionBarPDP",
353
+ widgetConfigId: "bottomSuggestionsBarOuterwear"
354
+ }
355
+ ]
356
+ },
357
+ {
358
+ variantId: "tshirtsWithReviews",
359
+ variantType: "pdp",
360
+ variantTests: [
361
+ {
362
+ testType: require_types.PageVariantTestType.HasReviews,
363
+ reviewMinimum: 4
364
+ },
365
+ { testType: require_types.PageVariantTestType.UrlResolver },
366
+ {
367
+ testType: require_types.PageVariantTestType.InCollection,
368
+ collections: ["tshirt", "big-mens-t-shirts"]
369
+ }
370
+ ],
371
+ productIdExtractor: "url-resolver-product-id",
372
+ widgetMounting: [
373
+ {
374
+ mountingConfigId: "topSuggestionBarPDP",
375
+ widgetConfigId: "topSuggestionsBarTshirts"
376
+ },
377
+ {
378
+ mountingConfigId: "chatPreviewPDP",
379
+ widgetConfigId: "chatPreviewPDP"
380
+ },
381
+ {
382
+ mountingConfigId: "bottomSuggestionBarPDP",
383
+ widgetConfigId: "bottomSuggestionsBarTshirts"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ variantId: "sweatshirtsWithReviews",
389
+ variantType: "pdp",
390
+ variantTests: [
391
+ {
392
+ testType: require_types.PageVariantTestType.HasReviews,
393
+ reviewMinimum: 4
394
+ },
395
+ { testType: require_types.PageVariantTestType.UrlResolver },
396
+ {
397
+ testType: require_types.PageVariantTestType.InCollection,
398
+ collections: ["sweatshirts", "big-mens-sweatshirts"]
399
+ }
400
+ ],
401
+ productIdExtractor: "url-resolver-product-id",
402
+ widgetMounting: [
403
+ {
404
+ mountingConfigId: "topSuggestionBarPDP",
405
+ widgetConfigId: "topSuggestionsBarSweatshirts"
406
+ },
407
+ {
408
+ mountingConfigId: "chatPreviewPDP",
409
+ widgetConfigId: "chatPreviewPDP"
410
+ },
411
+ {
412
+ mountingConfigId: "bottomSuggestionBarPDP",
413
+ widgetConfigId: "bottomSuggestionsBarSweatshirts"
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ variantId: "sweatpantsWithReviews",
419
+ variantType: "pdp",
420
+ variantTests: [
421
+ {
422
+ testType: require_types.PageVariantTestType.HasReviews,
423
+ reviewMinimum: 4
424
+ },
425
+ { testType: require_types.PageVariantTestType.UrlResolver },
426
+ {
427
+ testType: require_types.PageVariantTestType.InCollection,
428
+ collections: ["big-mens-sweatpants", "mens-sweatpants"]
429
+ }
430
+ ],
431
+ productIdExtractor: "url-resolver-product-id",
432
+ widgetMounting: [
433
+ {
434
+ mountingConfigId: "topSuggestionBarPDP",
435
+ widgetConfigId: "topSuggestionsBarSweatpants"
436
+ },
437
+ {
438
+ mountingConfigId: "chatPreviewPDP",
439
+ widgetConfigId: "chatPreviewPDP"
440
+ },
441
+ {
442
+ mountingConfigId: "bottomSuggestionBarPDP",
443
+ widgetConfigId: "bottomSuggestionsBarSweatpants"
444
+ }
445
+ ]
446
+ },
447
+ {
448
+ variantId: "denimWithReviews",
449
+ variantType: "pdp",
450
+ variantTests: [
451
+ {
452
+ testType: require_types.PageVariantTestType.HasReviews,
453
+ reviewMinimum: 4
454
+ },
455
+ { testType: require_types.PageVariantTestType.UrlResolver },
456
+ {
457
+ testType: require_types.PageVariantTestType.InCollection,
458
+ collections: [
459
+ "big-mens-denim",
460
+ "denim",
461
+ "kids-denim"
462
+ ]
463
+ }
464
+ ],
465
+ productIdExtractor: "url-resolver-product-id",
466
+ widgetMounting: [
467
+ {
468
+ mountingConfigId: "topSuggestionBarPDP",
469
+ widgetConfigId: "topSuggestionsBarDenim"
470
+ },
471
+ {
472
+ mountingConfigId: "chatPreviewPDP",
473
+ widgetConfigId: "chatPreviewPDP"
474
+ },
475
+ {
476
+ mountingConfigId: "bottomSuggestionBarPDP",
477
+ widgetConfigId: "bottomSuggestionsBarDenim"
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ variantId: "twillFleeceWithReviews",
483
+ variantType: "pdp",
484
+ variantTests: [
485
+ {
486
+ testType: require_types.PageVariantTestType.HasReviews,
487
+ reviewMinimum: 4
488
+ },
489
+ { testType: require_types.PageVariantTestType.UrlResolver },
490
+ {
491
+ testType: require_types.PageVariantTestType.InCollection,
492
+ collections: [
493
+ "big-mens-sweatpants",
494
+ "kids-fleece",
495
+ "mens-sweatpants",
496
+ "mens-twill-bottoms",
497
+ "kids-twill-pants"
498
+ ]
499
+ }
500
+ ],
501
+ productIdExtractor: "url-resolver-product-id",
502
+ widgetMounting: [
503
+ {
504
+ mountingConfigId: "topSuggestionBarPDP",
505
+ widgetConfigId: "topSuggestionsBarTwillFleece"
506
+ },
507
+ {
508
+ mountingConfigId: "chatPreviewPDP",
509
+ widgetConfigId: "chatPreviewPDP"
510
+ },
511
+ {
512
+ mountingConfigId: "bottomSuggestionBarPDP",
513
+ widgetConfigId: "bottomSuggestionsBarTwillFleece"
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ variantId: "shortsWithReviews",
519
+ variantType: "pdp",
520
+ variantTests: [
521
+ {
522
+ testType: require_types.PageVariantTestType.HasReviews,
523
+ reviewMinimum: 4
524
+ },
525
+ { testType: require_types.PageVariantTestType.UrlResolver },
526
+ {
527
+ testType: require_types.PageVariantTestType.InCollection,
528
+ collections: [
529
+ "kids-shorts",
530
+ "big-mens-shorts",
531
+ "shorts"
532
+ ]
533
+ }
534
+ ],
535
+ productIdExtractor: "url-resolver-product-id",
536
+ widgetMounting: [
537
+ {
538
+ mountingConfigId: "topSuggestionBarPDP",
539
+ widgetConfigId: "topSuggestionsBarShorts"
540
+ },
541
+ {
542
+ mountingConfigId: "chatPreviewPDP",
543
+ widgetConfigId: "chatPreviewPDP"
544
+ },
545
+ {
546
+ mountingConfigId: "bottomSuggestionBarPDP",
547
+ widgetConfigId: "bottomSuggestionsBarShorts"
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ variantId: "accessoriesWithReviews",
553
+ variantType: "pdp",
554
+ variantTests: [
555
+ {
556
+ testType: require_types.PageVariantTestType.HasReviews,
557
+ reviewMinimum: 4
558
+ },
559
+ { testType: require_types.PageVariantTestType.UrlResolver },
560
+ {
561
+ testType: require_types.PageVariantTestType.InCollection,
562
+ collections: ["bag-collection"]
563
+ }
564
+ ],
565
+ productIdExtractor: "url-resolver-product-id",
566
+ widgetMounting: [
567
+ {
568
+ mountingConfigId: "topSuggestionBarPDP",
569
+ widgetConfigId: "topSuggestionsBarAccessories"
570
+ },
571
+ {
572
+ mountingConfigId: "chatPreviewPDP",
573
+ widgetConfigId: "chatPreviewPDP"
574
+ },
575
+ {
576
+ mountingConfigId: "bottomSuggestionBarPDP",
577
+ widgetConfigId: "bottomSuggestionsBarAccessories"
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ variantId: "footwearWithReviews",
583
+ variantType: "pdp",
584
+ variantTests: [
585
+ {
586
+ testType: require_types.PageVariantTestType.HasReviews,
587
+ reviewMinimum: 4
588
+ },
589
+ { testType: require_types.PageVariantTestType.UrlResolver },
590
+ {
591
+ testType: require_types.PageVariantTestType.InCollection,
592
+ collections: ["footwear-collection"]
593
+ }
594
+ ],
595
+ productIdExtractor: "url-resolver-product-id",
596
+ widgetMounting: [
597
+ {
598
+ mountingConfigId: "topSuggestionBarPDP",
599
+ widgetConfigId: "topSuggestionsBarFootwear"
600
+ },
601
+ {
602
+ mountingConfigId: "chatPreviewPDP",
603
+ widgetConfigId: "chatPreviewPDP"
604
+ },
605
+ {
606
+ mountingConfigId: "bottomSuggestionBarPDP",
607
+ widgetConfigId: "bottomSuggestionsBarFootwear"
608
+ }
609
+ ]
610
+ },
611
+ {
612
+ variantId: "outerwear",
613
+ variantType: "pdp",
614
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
615
+ testType: require_types.PageVariantTestType.InCollection,
616
+ collections: ["outerwear", "big-mens-outerwear"]
617
+ }],
618
+ productIdExtractor: "url-resolver-product-id",
619
+ widgetMounting: [
620
+ {
621
+ mountingConfigId: "topSuggestionBarPDP",
622
+ widgetConfigId: "topSuggestionsBarOuterwear"
623
+ },
624
+ {
625
+ mountingConfigId: "chatPreviewPDP",
626
+ widgetConfigId: "chatPreviewPDP"
627
+ },
628
+ {
629
+ mountingConfigId: "bottomSuggestionBarPDP",
630
+ widgetConfigId: "bottomSuggestionsBarOuterwear"
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ variantId: "tshirts",
636
+ variantType: "pdp",
637
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
638
+ testType: require_types.PageVariantTestType.InCollection,
639
+ collections: ["tshirt", "big-mens-t-shirts"]
640
+ }],
641
+ productIdExtractor: "url-resolver-product-id",
642
+ widgetMounting: [
643
+ {
644
+ mountingConfigId: "topSuggestionBarPDP",
645
+ widgetConfigId: "topSuggestionsBarTshirts"
646
+ },
647
+ {
648
+ mountingConfigId: "chatPreviewPDP",
649
+ widgetConfigId: "chatPreviewPDP"
650
+ },
651
+ {
652
+ mountingConfigId: "bottomSuggestionBarPDP",
653
+ widgetConfigId: "bottomSuggestionsBarTshirts"
654
+ }
655
+ ]
656
+ },
657
+ {
658
+ variantId: "sweatshirts",
659
+ variantType: "pdp",
660
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
661
+ testType: require_types.PageVariantTestType.InCollection,
662
+ collections: ["sweatshirts", "big-mens-sweatshirts"]
663
+ }],
664
+ productIdExtractor: "url-resolver-product-id",
665
+ widgetMounting: [
666
+ {
667
+ mountingConfigId: "topSuggestionBarPDP",
668
+ widgetConfigId: "topSuggestionsBarSweatshirts"
669
+ },
670
+ {
671
+ mountingConfigId: "chatPreviewPDP",
672
+ widgetConfigId: "chatPreviewPDP"
673
+ },
674
+ {
675
+ mountingConfigId: "bottomSuggestionBarPDP",
676
+ widgetConfigId: "bottomSuggestionsBarSweatshirts"
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ variantId: "sweatpants",
682
+ variantType: "pdp",
683
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
684
+ testType: require_types.PageVariantTestType.InCollection,
685
+ collections: ["big-mens-sweatpants", "mens-sweatpants"]
686
+ }],
687
+ productIdExtractor: "url-resolver-product-id",
688
+ widgetMounting: [
689
+ {
690
+ mountingConfigId: "topSuggestionBarPDP",
691
+ widgetConfigId: "topSuggestionsBarSweatpants"
692
+ },
693
+ {
694
+ mountingConfigId: "chatPreviewPDP",
695
+ widgetConfigId: "chatPreviewPDP"
696
+ },
697
+ {
698
+ mountingConfigId: "bottomSuggestionBarPDP",
699
+ widgetConfigId: "bottomSuggestionsBarSweatpants"
700
+ }
701
+ ]
702
+ },
703
+ {
704
+ variantId: "graphic",
705
+ variantType: "pdp",
706
+ variantTests: [
707
+ { testType: require_types.PageVariantTestType.UrlResolver },
708
+ {
709
+ testType: require_types.PageVariantTestType.HasReviews,
710
+ reviewMinimum: 4
711
+ },
712
+ {
713
+ testType: require_types.PageVariantTestType.InCollection,
714
+ collections: ["mens-graphic-prints-collection"]
715
+ }
716
+ ],
717
+ productIdExtractor: "url-resolver-product-id",
718
+ widgetMounting: [
719
+ {
720
+ mountingConfigId: "topSuggestionBarPDP",
721
+ widgetConfigId: "topSuggestionsBarGraphic"
722
+ },
723
+ {
724
+ mountingConfigId: "chatPreviewPDP",
725
+ widgetConfigId: "chatPreviewPDP"
726
+ },
727
+ {
728
+ mountingConfigId: "bottomSuggestionBarPDP",
729
+ widgetConfigId: "bottomSuggestionsBarGraphic"
730
+ }
731
+ ]
732
+ },
733
+ {
734
+ variantId: "denim",
735
+ variantType: "pdp",
736
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
737
+ testType: require_types.PageVariantTestType.InCollection,
738
+ collections: [
739
+ "big-mens-denim",
740
+ "denim",
741
+ "kids-denim"
742
+ ]
743
+ }],
744
+ productIdExtractor: "url-resolver-product-id",
745
+ widgetMounting: [
746
+ {
747
+ mountingConfigId: "topSuggestionBarPDP",
748
+ widgetConfigId: "topSuggestionsBarDenim"
749
+ },
750
+ {
751
+ mountingConfigId: "chatPreviewPDP",
752
+ widgetConfigId: "chatPreviewPDP"
753
+ },
754
+ {
755
+ mountingConfigId: "bottomSuggestionBarPDP",
756
+ widgetConfigId: "bottomSuggestionsBarDenim"
757
+ }
758
+ ]
759
+ },
760
+ {
761
+ variantId: "twill-fleece",
762
+ variantType: "pdp",
763
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
764
+ testType: require_types.PageVariantTestType.InCollection,
765
+ collections: [
766
+ "big-mens-sweatpants",
767
+ "kids-fleece",
768
+ "mens-sweatpants",
769
+ "mens-twill-bottoms",
770
+ "kids-twill-pants"
771
+ ]
772
+ }],
773
+ productIdExtractor: "url-resolver-product-id",
774
+ widgetMounting: [
775
+ {
776
+ mountingConfigId: "topSuggestionBarPDP",
777
+ widgetConfigId: "topSuggestionsBarTwillFleece"
778
+ },
779
+ {
780
+ mountingConfigId: "chatPreviewPDP",
781
+ widgetConfigId: "chatPreviewPDP"
782
+ },
783
+ {
784
+ mountingConfigId: "bottomSuggestionBarPDP",
785
+ widgetConfigId: "bottomSuggestionsBarTwillFleece"
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ variantId: "shorts",
791
+ variantType: "pdp",
792
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
793
+ testType: require_types.PageVariantTestType.InCollection,
794
+ collections: [
795
+ "kids-shorts",
796
+ "big-mens-shorts",
797
+ "shorts"
798
+ ]
799
+ }],
800
+ productIdExtractor: "url-resolver-product-id",
801
+ widgetMounting: [
802
+ {
803
+ mountingConfigId: "topSuggestionBarPDP",
804
+ widgetConfigId: "topSuggestionsBarShorts"
805
+ },
806
+ {
807
+ mountingConfigId: "chatPreviewPDP",
808
+ widgetConfigId: "chatPreviewPDP"
809
+ },
810
+ {
811
+ mountingConfigId: "bottomSuggestionBarPDP",
812
+ widgetConfigId: "bottomSuggestionsBarShorts"
813
+ }
814
+ ]
815
+ },
816
+ {
817
+ variantId: "accessories",
818
+ variantType: "pdp",
819
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
820
+ testType: require_types.PageVariantTestType.InCollection,
821
+ collections: ["bag-collection"]
822
+ }],
823
+ productIdExtractor: "url-resolver-product-id",
824
+ widgetMounting: [
825
+ {
826
+ mountingConfigId: "topSuggestionBarPDP",
827
+ widgetConfigId: "topSuggestionsBarAccessories"
828
+ },
829
+ {
830
+ mountingConfigId: "chatPreviewPDP",
831
+ widgetConfigId: "chatPreviewPDP"
832
+ },
833
+ {
834
+ mountingConfigId: "bottomSuggestionBarPDP",
835
+ widgetConfigId: "bottomSuggestionsBarAccessories"
836
+ }
837
+ ]
838
+ },
839
+ {
840
+ variantId: "footwear",
841
+ variantType: "pdp",
842
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
843
+ testType: require_types.PageVariantTestType.InCollection,
844
+ collections: ["footwear-collection"]
845
+ }],
846
+ productIdExtractor: "url-resolver-product-id",
847
+ widgetMounting: [
848
+ {
849
+ mountingConfigId: "topSuggestionBarPDP",
850
+ widgetConfigId: "topSuggestionsBarFootwear"
851
+ },
852
+ {
853
+ mountingConfigId: "chatPreviewPDP",
854
+ widgetConfigId: "chatPreviewPDP"
855
+ },
856
+ {
857
+ mountingConfigId: "bottomSuggestionBarPDP",
858
+ widgetConfigId: "bottomSuggestionsBarFootwear"
859
+ }
860
+ ]
861
+ },
862
+ {
863
+ variantId: "pdp",
864
+ variantType: "pdp",
865
+ variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }],
866
+ productIdExtractor: "url-resolver-product-id",
867
+ widgetMounting: [
868
+ {
869
+ mountingConfigId: "topSuggestionBarPDP",
870
+ widgetConfigId: "topSuggestionsBar"
871
+ },
872
+ {
873
+ mountingConfigId: "chatPreviewPDP",
874
+ widgetConfigId: "chatPreviewPDP"
875
+ },
876
+ {
877
+ mountingConfigId: "bottomSuggestionBarPDP",
878
+ widgetConfigId: "bottomSuggestionsBar"
879
+ }
880
+ ]
881
+ }
882
+ ],
883
+ widgetConfigs: {
884
+ searchIconEntryPoint: {
885
+ widgetConfigId: "searchIconEntryPoint",
886
+ type: require_types.WidgetType.SearchZeroStateEntryPoint,
887
+ searchZeroStateVariant: "backgroundTertiary",
888
+ searchInputVariant: "standard",
889
+ suggestionButtonConfig: {
890
+ variant: "darkAccent",
891
+ hoverVariant: "secondaryAccent",
892
+ borderRadius: "md"
893
+ },
894
+ layout: "icon",
895
+ searchIconVariant: "bold",
896
+ searchIconSize: 26,
897
+ searchBoxPlaceholder: "Try \"Jeans that work for all body types\"",
898
+ initialSuggestions: [
899
+ "Stone washed jeans",
900
+ "White torn up jeans",
901
+ "Black soft t-shirt",
902
+ "Black moto-inspired jeans",
903
+ "Graphic t-shirt"
904
+ ],
905
+ usingPortal: true
906
+ },
907
+ searchOverlayHost: {
908
+ widgetConfigId: "searchOverlayHost",
909
+ type: require_types.WidgetType.SearchOverlayHost
910
+ },
911
+ searchResultsEntryPoint: {
912
+ widgetConfigId: "searchResultsEntryPoint",
913
+ type: require_types.WidgetType.SearchResultsEntryPoint,
914
+ searchBoxPlaceholder: "Try \"Modern skinny jeans\"",
915
+ productGridVariant: "standard",
916
+ searchFilterSidebarVariant: "darkButton",
917
+ searchInputVariant: "standard"
918
+ },
919
+ chatPreviewPDP: {
920
+ widgetConfigId: "chatPreviewPDP",
921
+ type: require_types.WidgetType.ChatPreview,
922
+ variant: "flat"
923
+ },
924
+ chatPreviewPLP: {
925
+ widgetConfigId: "chatPreviewPLP",
926
+ type: require_types.WidgetType.ChatPreview,
927
+ variant: "flat",
928
+ addSeparators: true,
929
+ footerConfig: {
930
+ replyButtonText: "What can I help you find?",
931
+ replyButtonIcon: "magnifyingGlass"
932
+ }
933
+ },
934
+ topSuggestionsBar: {
935
+ widgetConfigId: "topSuggestionsBar",
936
+ contentId: "spiffy-top-suggestion-bar-contents",
937
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
938
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
939
+ type: require_types.WidgetType.SuggestionBarV2,
940
+ variant: "secondary",
941
+ hoverVariant: "secondaryDark",
942
+ animationSpeed: "none",
943
+ buttonBorderRadius: "md",
944
+ boldFirstButton: true,
945
+ buttonTexts: { default: [
946
+ "How do they fit?",
947
+ "What's unique about this?",
948
+ "What's the current deals?"
949
+ ] }
950
+ },
951
+ bottomSuggestionsBar: {
952
+ widgetConfigId: "bottomSuggestionsBar",
953
+ contentId: "spiffy-top-suggestion-bar-contents",
954
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
955
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
956
+ type: require_types.WidgetType.SuggestionBarV2,
957
+ variant: "darkPrimary",
958
+ hoverVariant: "secondaryDark",
959
+ animationSpeed: "none",
960
+ buttonBorderRadius: "md",
961
+ boldFirstButton: true,
962
+ buttonTexts: { default: [
963
+ "How do they fit?",
964
+ "What's unique about this?",
965
+ "What's the current deals?"
966
+ ] }
967
+ },
968
+ topSuggestionsBarOuterwear: {
969
+ widgetConfigId: "topSuggestionsBarOuterwear",
970
+ contentId: "spiffy-top-suggestion-bar-contents",
971
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
972
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
973
+ type: require_types.WidgetType.SuggestionBarV2,
974
+ variant: "secondary",
975
+ hoverVariant: "secondaryDark",
976
+ animationSpeed: "none",
977
+ buttonBorderRadius: "md",
978
+ boldFirstButton: true,
979
+ buttonTexts: { default: [
980
+ "How insulated is this jacket?",
981
+ "What material is it made of?",
982
+ "Can I layer this over a hoodie?",
983
+ "Does the material stretch?",
984
+ "Does it run small?"
985
+ ] }
986
+ },
987
+ bottomSuggestionsBarOuterwear: {
988
+ widgetConfigId: "bottomSuggestionsBarOuterwear",
989
+ contentId: "spiffy-top-suggestion-bar-contents",
990
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
991
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
992
+ type: require_types.WidgetType.SuggestionBarV2,
993
+ variant: "darkPrimary",
994
+ hoverVariant: "secondaryDark",
995
+ animationSpeed: "none",
996
+ buttonBorderRadius: "md",
997
+ boldFirstButton: true,
998
+ buttonTexts: { default: [
999
+ "How insulated is this jacket?",
1000
+ "What material is it made of?",
1001
+ "Can I layer this over a hoodie?",
1002
+ "Does the material stretch?",
1003
+ "Does it run small?"
1004
+ ] }
1005
+ },
1006
+ topSuggestionsBarTshirts: {
1007
+ widgetConfigId: "topSuggestionsBarTshirts",
1008
+ contentId: "spiffy-top-suggestion-bar-contents",
1009
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1010
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1011
+ type: require_types.WidgetType.SuggestionBarV2,
1012
+ variant: "secondary",
1013
+ hoverVariant: "secondaryDark",
1014
+ animationSpeed: "none",
1015
+ buttonBorderRadius: "md",
1016
+ boldFirstButton: true,
1017
+ buttonTexts: { default: [
1018
+ "How does it fit?",
1019
+ "Will it shrink after washing?",
1020
+ "How does it feel?",
1021
+ "Which bottoms does it pair with?"
1022
+ ] }
1023
+ },
1024
+ bottomSuggestionsBarTshirts: {
1025
+ widgetConfigId: "bottomSuggestionsBarTshirts",
1026
+ contentId: "spiffy-top-suggestion-bar-contents",
1027
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1028
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1029
+ type: require_types.WidgetType.SuggestionBarV2,
1030
+ variant: "darkPrimary",
1031
+ hoverVariant: "secondaryDark",
1032
+ animationSpeed: "none",
1033
+ buttonBorderRadius: "md",
1034
+ boldFirstButton: true,
1035
+ buttonTexts: { default: [
1036
+ "How does it fit?",
1037
+ "Will it shrink after washing?",
1038
+ "How does it feel?",
1039
+ "Which bottoms does it pair with?"
1040
+ ] }
1041
+ },
1042
+ topSuggestionsBarSweatshirts: {
1043
+ widgetConfigId: "topSuggestionsBarSweatshirts",
1044
+ contentId: "spiffy-top-suggestion-bar-contents",
1045
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1046
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1047
+ type: require_types.WidgetType.SuggestionBarV2,
1048
+ variant: "secondary",
1049
+ hoverVariant: "secondaryDark",
1050
+ animationSpeed: "none",
1051
+ buttonBorderRadius: "md",
1052
+ boldFirstButton: true,
1053
+ buttonTexts: { default: [
1054
+ "How does it fit?",
1055
+ "How does it feel?",
1056
+ "What's the style?",
1057
+ "Does it pair with sweatpants?"
1058
+ ] }
1059
+ },
1060
+ bottomSuggestionsBarSweatshirts: {
1061
+ widgetConfigId: "bottomSuggestionsBarSweatshirts",
1062
+ contentId: "spiffy-top-suggestion-bar-contents",
1063
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1064
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1065
+ type: require_types.WidgetType.SuggestionBarV2,
1066
+ variant: "darkPrimary",
1067
+ hoverVariant: "secondaryDark",
1068
+ animationSpeed: "none",
1069
+ buttonBorderRadius: "md",
1070
+ boldFirstButton: true,
1071
+ buttonTexts: { default: [
1072
+ "How does it fit?",
1073
+ "How does it feel?",
1074
+ "What's the style?",
1075
+ "Does it pair with sweatshirts?"
1076
+ ] }
1077
+ },
1078
+ topSuggestionsBarSweatpants: {
1079
+ widgetConfigId: "topSuggestionsBarSweatpants",
1080
+ contentId: "spiffy-top-suggestion-bar-contents",
1081
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1082
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1083
+ type: require_types.WidgetType.SuggestionBarV2,
1084
+ variant: "secondary",
1085
+ hoverVariant: "secondaryDark",
1086
+ animationSpeed: "none",
1087
+ buttonBorderRadius: "md",
1088
+ boldFirstButton: true,
1089
+ buttonTexts: { default: [
1090
+ "How does it fit?",
1091
+ "How does it feel?",
1092
+ "What's the style?",
1093
+ "Does it pair with sweatshirts?"
1094
+ ] }
1095
+ },
1096
+ bottomSuggestionsBarSweatpants: {
1097
+ widgetConfigId: "bottomSuggestionsBarSweatpants",
1098
+ contentId: "spiffy-top-suggestion-bar-contents",
1099
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1100
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1101
+ type: require_types.WidgetType.SuggestionBarV2,
1102
+ variant: "darkPrimary",
1103
+ hoverVariant: "secondaryDark",
1104
+ animationSpeed: "none",
1105
+ buttonBorderRadius: "md",
1106
+ boldFirstButton: true,
1107
+ buttonTexts: { default: [
1108
+ "How does it fit?",
1109
+ "How does it feel?",
1110
+ "What's the style?",
1111
+ "Does it pair with sweatshirts?"
1112
+ ] }
1113
+ },
1114
+ topSuggestionsBarGraphic: {
1115
+ widgetConfigId: "topSuggestionsBarGraphic",
1116
+ contentId: "spiffy-top-suggestion-bar-contents",
1117
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1118
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1119
+ type: require_types.WidgetType.SuggestionBarV2,
1120
+ variant: "secondary",
1121
+ hoverVariant: "secondaryDark",
1122
+ animationSpeed: "none",
1123
+ buttonBorderRadius: "md",
1124
+ boldFirstButton: true,
1125
+ buttonTexts: { default: [
1126
+ "What is the style? (Work/tech/street)",
1127
+ "What is the sleeve length?",
1128
+ "Does it pair with bottoms?"
1129
+ ] }
1130
+ },
1131
+ bottomSuggestionsBarGraphic: {
1132
+ widgetConfigId: "bottomSuggestionsBarGraphic",
1133
+ contentId: "spiffy-top-suggestion-bar-contents",
1134
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1135
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1136
+ type: require_types.WidgetType.SuggestionBarV2,
1137
+ variant: "darkPrimary",
1138
+ hoverVariant: "secondaryDark",
1139
+ animationSpeed: "none",
1140
+ buttonBorderRadius: "md",
1141
+ boldFirstButton: true,
1142
+ buttonTexts: { default: [
1143
+ "What is the style? (Work/tech/street)",
1144
+ "What is the sleeve length?",
1145
+ "Does it pair with bottoms?"
1146
+ ] }
1147
+ },
1148
+ topSuggestionsBarDenim: {
1149
+ widgetConfigId: "topSuggestionsBarDenim",
1150
+ contentId: "spiffy-top-suggestion-bar-contents",
1151
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1152
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1153
+ type: require_types.WidgetType.SuggestionBarV2,
1154
+ variant: "secondary",
1155
+ hoverVariant: "secondaryDark",
1156
+ animationSpeed: "none",
1157
+ buttonBorderRadius: "md",
1158
+ boldFirstButton: true,
1159
+ buttonTexts: { default: [
1160
+ "How do they fit?",
1161
+ "What size should I get?",
1162
+ "What's the rise?",
1163
+ "What's the material?"
1164
+ ] }
1165
+ },
1166
+ bottomSuggestionsBarDenim: {
1167
+ widgetConfigId: "bottomSuggestionsBarDenim",
1168
+ contentId: "spiffy-top-suggestion-bar-contents",
1169
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1170
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1171
+ type: require_types.WidgetType.SuggestionBarV2,
1172
+ variant: "darkPrimary",
1173
+ hoverVariant: "secondaryDark",
1174
+ animationSpeed: "none",
1175
+ buttonBorderRadius: "md",
1176
+ boldFirstButton: true,
1177
+ buttonTexts: { default: [
1178
+ "How do they fit?",
1179
+ "What size should I get?",
1180
+ "What's the rise?",
1181
+ "What's the material?"
1182
+ ] }
1183
+ },
1184
+ topSuggestionsBarTwillFleece: {
1185
+ widgetConfigId: "topSuggestionsBarTwillFleece",
1186
+ contentId: "spiffy-top-suggestion-bar-contents",
1187
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1188
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1189
+ type: require_types.WidgetType.SuggestionBarV2,
1190
+ variant: "secondary",
1191
+ hoverVariant: "secondaryDark",
1192
+ buttonBorderRadius: "md",
1193
+ boldFirstButton: true,
1194
+ buttonTexts: { default: [
1195
+ "Are these true to size?",
1196
+ "What size should I get?",
1197
+ "How does it feel?",
1198
+ "Do they stretch out over time?",
1199
+ "What's the fit/style?"
1200
+ ] }
1201
+ },
1202
+ bottomSuggestionsBarTwillFleece: {
1203
+ widgetConfigId: "bottomSuggestionsBarTwillFleece",
1204
+ contentId: "spiffy-top-suggestion-bar-contents",
1205
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1206
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1207
+ type: require_types.WidgetType.SuggestionBarV2,
1208
+ variant: "darkPrimary",
1209
+ hoverVariant: "secondaryDark",
1210
+ animationSpeed: "none",
1211
+ buttonBorderRadius: "md",
1212
+ boldFirstButton: true,
1213
+ buttonTexts: { default: [
1214
+ "Are these true to size?",
1215
+ "What size should I get?",
1216
+ "How does it feel?",
1217
+ "Do they stretch out over time?",
1218
+ "What's the fit/style?"
1219
+ ] }
1220
+ },
1221
+ topSuggestionsBarShorts: {
1222
+ widgetConfigId: "topSuggestionsBarShorts",
1223
+ contentId: "spiffy-top-suggestion-bar-contents",
1224
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1225
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1226
+ type: require_types.WidgetType.SuggestionBarV2,
1227
+ variant: "secondary",
1228
+ hoverVariant: "secondaryDark",
1229
+ animationSpeed: "none",
1230
+ buttonBorderRadius: "md",
1231
+ boldFirstButton: true,
1232
+ buttonTexts: { default: [
1233
+ "How far down does it go?",
1234
+ "Are these true to size?",
1235
+ "What size should I get?",
1236
+ "How does it feel?",
1237
+ "Do they stretch out over time?",
1238
+ "What's the fit/style?"
1239
+ ] }
1240
+ },
1241
+ bottomSuggestionsBarShorts: {
1242
+ widgetConfigId: "bottomSuggestionsBarShorts",
1243
+ contentId: "spiffy-top-suggestion-bar-contents",
1244
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1245
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1246
+ type: require_types.WidgetType.SuggestionBarV2,
1247
+ variant: "darkPrimary",
1248
+ hoverVariant: "secondaryDark",
1249
+ animationSpeed: "none",
1250
+ buttonBorderRadius: "md",
1251
+ boldFirstButton: true,
1252
+ buttonTexts: { default: [
1253
+ "How far down does it go?",
1254
+ "Are these true to size?",
1255
+ "What size should I get?",
1256
+ "How does it feel?",
1257
+ "Do they stretch out over time?",
1258
+ "What's the fit/style?"
1259
+ ] }
1260
+ },
1261
+ topSuggestionsBarAccessories: {
1262
+ widgetConfigId: "topSuggestionsBarAccessories",
1263
+ contentId: "spiffy-top-suggestion-bar-contents",
1264
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1265
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1266
+ type: require_types.WidgetType.SuggestionBarV2,
1267
+ variant: "secondary",
1268
+ hoverVariant: "secondaryDark",
1269
+ animationSpeed: "none",
1270
+ buttonBorderRadius: "md",
1271
+ boldFirstButton: true,
1272
+ buttonTexts: { default: [
1273
+ "How does it enhance my outfit?",
1274
+ "Is it good for everyday use?",
1275
+ "Is it water resistant?",
1276
+ "Is it carry-on size?"
1277
+ ] }
1278
+ },
1279
+ bottomSuggestionsBarAccessories: {
1280
+ widgetConfigId: "bottomSuggestionsBarAccessories",
1281
+ contentId: "spiffy-top-suggestion-bar-contents",
1282
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1283
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1284
+ type: require_types.WidgetType.SuggestionBarV2,
1285
+ variant: "darkPrimary",
1286
+ hoverVariant: "secondaryDark",
1287
+ animationSpeed: "none",
1288
+ buttonBorderRadius: "md",
1289
+ boldFirstButton: true,
1290
+ buttonTexts: { default: [
1291
+ "How does it enhance my outfit?",
1292
+ "Is it good for everyday use?",
1293
+ "Is it water resistant?",
1294
+ "Is it carry-on size?"
1295
+ ] }
1296
+ },
1297
+ topSuggestionsBarFootwear: {
1298
+ widgetConfigId: "topSuggestionsBar",
1299
+ contentId: "spiffy-top-suggestion-bar-contents",
1300
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1301
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1302
+ type: require_types.WidgetType.SuggestionBarV2,
1303
+ variant: "secondary",
1304
+ hoverVariant: "secondaryDark",
1305
+ animationSpeed: "none",
1306
+ buttonBorderRadius: "md",
1307
+ boldFirstButton: true,
1308
+ buttonTexts: { default: ["What size should I choose?", "Are they good for everyday wear?"] }
1309
+ },
1310
+ bottomSuggestionsBarFootwear: {
1311
+ widgetConfigId: "bottomSuggestionsBarFootwear",
1312
+ contentId: "spiffy-top-suggestion-bar-contents",
1313
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1314
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1315
+ type: require_types.WidgetType.SuggestionBarV2,
1316
+ variant: "darkPrimary",
1317
+ hoverVariant: "secondaryDark",
1318
+ animationSpeed: "none",
1319
+ buttonBorderRadius: "md",
1320
+ boldFirstButton: true,
1321
+ buttonTexts: { default: [
1322
+ "What size should I choose?",
1323
+ "Are they good for everyday wear?",
1324
+ "How do they fit?",
1325
+ "What material are they made of?"
1326
+ ] }
1327
+ },
1328
+ topSuggestionsBarOuterwearWithReviews: {
1329
+ widgetConfigId: "topSuggestionsBarOuterwearWithReviews",
1330
+ contentId: "spiffy-top-suggestion-bar-contents",
1331
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1332
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1333
+ type: require_types.WidgetType.SuggestionBarV2,
1334
+ variant: "secondary",
1335
+ hoverVariant: "secondaryDark",
1336
+ animationSpeed: "none",
1337
+ buttonBorderRadius: "md",
1338
+ boldFirstButton: true,
1339
+ buttonTexts: { default: [
1340
+ "Summarize the reviews.",
1341
+ "How insulated is this jacket?",
1342
+ "What material is it made of?",
1343
+ "Can I layer this over a hoodie?",
1344
+ "Does the material stretch?",
1345
+ "Does it run small?"
1346
+ ] }
1347
+ },
1348
+ bottomSuggestionsBarOuterwearWithReviews: {
1349
+ widgetConfigId: "bottomSuggestionsBarOuterwearWithReviews",
1350
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1351
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1352
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1353
+ type: require_types.WidgetType.SuggestionBarV2,
1354
+ variant: "darkPrimary",
1355
+ hoverVariant: "secondaryDark",
1356
+ animationSpeed: "none",
1357
+ buttonBorderRadius: "md",
1358
+ boldFirstButton: true,
1359
+ buttonTexts: { default: [
1360
+ "Summarize the reviews.",
1361
+ "How insulated is this jacket?",
1362
+ "What material is it made of?",
1363
+ "Can I layer this over a hoodie?",
1364
+ "Does the material stretch?",
1365
+ "Does it run small?"
1366
+ ] }
1367
+ },
1368
+ topSuggestionsBarTshirtsWithReviews: {
1369
+ widgetConfigId: "topSuggestionsBarTshirtsWithReviews",
1370
+ contentId: "spiffy-top-suggestion-bar-contents",
1371
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1372
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1373
+ type: require_types.WidgetType.SuggestionBarV2,
1374
+ variant: "secondary",
1375
+ hoverVariant: "secondaryDark",
1376
+ animationSpeed: "none",
1377
+ buttonBorderRadius: "md",
1378
+ boldFirstButton: true,
1379
+ buttonTexts: { default: [
1380
+ "Summarize the reviews.",
1381
+ "How does it fit?",
1382
+ "What material is it made of?",
1383
+ "Does it shrink in the wash?",
1384
+ "Is it true to size?",
1385
+ "What colors does it come in?"
1386
+ ] }
1387
+ },
1388
+ bottomSuggestionsBarTshirtsWithReviews: {
1389
+ widgetConfigId: "bottomSuggestionsBarTshirtsWithReviews",
1390
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1391
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1392
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1393
+ type: require_types.WidgetType.SuggestionBarV2,
1394
+ variant: "darkPrimary",
1395
+ hoverVariant: "secondaryDark",
1396
+ animationSpeed: "none",
1397
+ buttonBorderRadius: "md",
1398
+ boldFirstButton: true,
1399
+ buttonTexts: { default: [
1400
+ "Summarize the reviews.",
1401
+ "How does it fit?",
1402
+ "What material is it made of?",
1403
+ "Does it shrink in the wash?",
1404
+ "Is it true to size?",
1405
+ "What colors does it come in?"
1406
+ ] }
1407
+ },
1408
+ topSuggestionsBarSweatshirtsWithReviews: {
1409
+ widgetConfigId: "topSuggestionsBarSweatshirtsWithReviews",
1410
+ contentId: "spiffy-top-suggestion-bar-contents",
1411
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1412
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1413
+ type: require_types.WidgetType.SuggestionBarV2,
1414
+ variant: "secondary",
1415
+ hoverVariant: "secondaryDark",
1416
+ animationSpeed: "none",
1417
+ buttonBorderRadius: "md",
1418
+ boldFirstButton: true,
1419
+ buttonTexts: { default: [
1420
+ "Summarize the reviews.",
1421
+ "How does it fit?",
1422
+ "How does it feel?",
1423
+ "What's the style?",
1424
+ "Does it pair with sweatpants?",
1425
+ "Is it warm enough for winter?"
1426
+ ] }
1427
+ },
1428
+ bottomSuggestionsBarSweatshirtsWithReviews: {
1429
+ widgetConfigId: "bottomSuggestionsBarSweatshirtsWithReviews",
1430
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1431
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1432
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1433
+ type: require_types.WidgetType.SuggestionBarV2,
1434
+ variant: "darkPrimary",
1435
+ hoverVariant: "secondaryDark",
1436
+ animationSpeed: "none",
1437
+ buttonBorderRadius: "md",
1438
+ boldFirstButton: true,
1439
+ buttonTexts: { default: [
1440
+ "Summarize the reviews.",
1441
+ "How does it fit?",
1442
+ "How does it feel?",
1443
+ "What's the style?",
1444
+ "Does it pair with sweatpants?",
1445
+ "Is it warm enough for winter?"
1446
+ ] }
1447
+ },
1448
+ topSuggestionsBarSweatpantsWithReviews: {
1449
+ widgetConfigId: "topSuggestionsBarSweatpantsWithReviews",
1450
+ contentId: "spiffy-top-suggestion-bar-contents",
1451
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1452
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1453
+ type: require_types.WidgetType.SuggestionBarV2,
1454
+ variant: "secondary",
1455
+ hoverVariant: "secondaryDark",
1456
+ animationSpeed: "none",
1457
+ buttonBorderRadius: "md",
1458
+ boldFirstButton: true,
1459
+ buttonTexts: { default: [
1460
+ "Summarize the reviews.",
1461
+ "How does it fit?",
1462
+ "How does it feel?",
1463
+ "What's the style?",
1464
+ "Does it pair with sweatshirts?",
1465
+ "Are they true to size?"
1466
+ ] }
1467
+ },
1468
+ bottomSuggestionsBarSweatpantsWithReviews: {
1469
+ widgetConfigId: "bottomSuggestionsBarSweatpantsWithReviews",
1470
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1471
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1472
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1473
+ type: require_types.WidgetType.SuggestionBarV2,
1474
+ variant: "darkPrimary",
1475
+ hoverVariant: "secondaryDark",
1476
+ animationSpeed: "none",
1477
+ buttonBorderRadius: "md",
1478
+ boldFirstButton: true,
1479
+ buttonTexts: { default: [
1480
+ "Summarize the reviews.",
1481
+ "How does it fit?",
1482
+ "How does it feel?",
1483
+ "What's the style?",
1484
+ "Does it pair with sweatshirts?",
1485
+ "Are they true to size?"
1486
+ ] }
1487
+ },
1488
+ topSuggestionsBarDenimWithReviews: {
1489
+ widgetConfigId: "topSuggestionsBarDenimWithReviews",
1490
+ contentId: "spiffy-top-suggestion-bar-contents",
1491
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1492
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1493
+ type: require_types.WidgetType.SuggestionBarV2,
1494
+ variant: "secondary",
1495
+ hoverVariant: "secondaryDark",
1496
+ animationSpeed: "none",
1497
+ buttonBorderRadius: "md",
1498
+ boldFirstButton: true,
1499
+ buttonTexts: { default: [
1500
+ "Summarize the reviews.",
1501
+ "How do they fit?",
1502
+ "What size should I get?",
1503
+ "What's the rise?",
1504
+ "What's the material?",
1505
+ "Do they stretch?"
1506
+ ] }
1507
+ },
1508
+ bottomSuggestionsBarDenimWithReviews: {
1509
+ widgetConfigId: "bottomSuggestionsBarDenimWithReviews",
1510
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1511
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1512
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1513
+ type: require_types.WidgetType.SuggestionBarV2,
1514
+ variant: "darkPrimary",
1515
+ hoverVariant: "secondaryDark",
1516
+ animationSpeed: "none",
1517
+ buttonBorderRadius: "md",
1518
+ boldFirstButton: true,
1519
+ buttonTexts: { default: [
1520
+ "Summarize the reviews.",
1521
+ "How do they fit?",
1522
+ "What size should I get?",
1523
+ "What's the rise?",
1524
+ "What's the material?",
1525
+ "Do they stretch?"
1526
+ ] }
1527
+ },
1528
+ topSuggestionsBarTwillFleeceWithReviews: {
1529
+ widgetConfigId: "topSuggestionsBarTwillFleeceWithReviews",
1530
+ contentId: "spiffy-top-suggestion-bar-contents",
1531
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1532
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1533
+ type: require_types.WidgetType.SuggestionBarV2,
1534
+ variant: "secondary",
1535
+ hoverVariant: "secondaryDark",
1536
+ animationSpeed: "none",
1537
+ buttonBorderRadius: "md",
1538
+ boldFirstButton: true,
1539
+ buttonTexts: { default: [
1540
+ "Summarize the reviews.",
1541
+ "Are these true to size?",
1542
+ "What size should I get?",
1543
+ "How does it feel?",
1544
+ "Do they stretch out over time?",
1545
+ "What's the fit/style?"
1546
+ ] }
1547
+ },
1548
+ bottomSuggestionsBarTwillFleeceWithReviews: {
1549
+ widgetConfigId: "bottomSuggestionsBarTwillFleeceWithReviews",
1550
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1551
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1552
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1553
+ type: require_types.WidgetType.SuggestionBarV2,
1554
+ variant: "darkPrimary",
1555
+ hoverVariant: "secondaryDark",
1556
+ animationSpeed: "none",
1557
+ buttonBorderRadius: "md",
1558
+ boldFirstButton: true,
1559
+ buttonTexts: { default: [
1560
+ "Summarize the reviews.",
1561
+ "Are these true to size?",
1562
+ "What size should I get?",
1563
+ "How does it feel?",
1564
+ "Do they stretch out over time?",
1565
+ "What's the fit/style?"
1566
+ ] }
1567
+ },
1568
+ topSuggestionsBarShortsWithReviews: {
1569
+ widgetConfigId: "topSuggestionsBarShortsWithReviews",
1570
+ contentId: "spiffy-top-suggestion-bar-contents",
1571
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1572
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1573
+ type: require_types.WidgetType.SuggestionBarV2,
1574
+ variant: "secondary",
1575
+ hoverVariant: "secondaryDark",
1576
+ animationSpeed: "none",
1577
+ buttonBorderRadius: "md",
1578
+ boldFirstButton: true,
1579
+ buttonTexts: { default: [
1580
+ "Summarize the reviews.",
1581
+ "How far down does it go?",
1582
+ "Are these true to size?",
1583
+ "What size should I get?",
1584
+ "How does it feel?",
1585
+ "Do they stretch out over time?",
1586
+ "What's the fit/style?"
1587
+ ] }
1588
+ },
1589
+ bottomSuggestionsBarShortsWithReviews: {
1590
+ widgetConfigId: "bottomSuggestionsBarShortsWithReviews",
1591
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1592
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1593
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1594
+ type: require_types.WidgetType.SuggestionBarV2,
1595
+ variant: "darkPrimary",
1596
+ hoverVariant: "secondaryDark",
1597
+ animationSpeed: "none",
1598
+ buttonBorderRadius: "md",
1599
+ boldFirstButton: true,
1600
+ buttonTexts: { default: [
1601
+ "Summarize the reviews.",
1602
+ "How far down does it go?",
1603
+ "Are these true to size?",
1604
+ "What size should I get?",
1605
+ "How does it feel?",
1606
+ "Do they stretch out over time?",
1607
+ "What's the fit/style?"
1608
+ ] }
1609
+ },
1610
+ topSuggestionsBarAccessoriesWithReviews: {
1611
+ widgetConfigId: "topSuggestionsBarAccessoriesWithReviews",
1612
+ contentId: "spiffy-top-suggestion-bar-contents",
1613
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1614
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1615
+ type: require_types.WidgetType.SuggestionBarV2,
1616
+ variant: "secondary",
1617
+ hoverVariant: "secondaryDark",
1618
+ animationSpeed: "none",
1619
+ buttonBorderRadius: "md",
1620
+ boldFirstButton: true,
1621
+ buttonTexts: { default: [
1622
+ "Summarize the reviews.",
1623
+ "How does it enhance my outfit?",
1624
+ "Is it good for everyday use?",
1625
+ "Is it water resistant?",
1626
+ "Is it carry-on size?"
1627
+ ] }
1628
+ },
1629
+ bottomSuggestionsBarAccessoriesWithReviews: {
1630
+ widgetConfigId: "bottomSuggestionsBarAccessoriesWithReviews",
1631
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1632
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1633
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1634
+ type: require_types.WidgetType.SuggestionBarV2,
1635
+ variant: "darkPrimary",
1636
+ hoverVariant: "secondaryDark",
1637
+ animationSpeed: "none",
1638
+ buttonBorderRadius: "md",
1639
+ boldFirstButton: true,
1640
+ buttonTexts: { default: [
1641
+ "Summarize the reviews.",
1642
+ "How does it enhance my outfit?",
1643
+ "Is it good for everyday use?",
1644
+ "Is it water resistant?",
1645
+ "Is it carry-on size?"
1646
+ ] }
1647
+ },
1648
+ topSuggestionsBarFootwearWithReviews: {
1649
+ widgetConfigId: "topSuggestionsBarFootwearWithReviews",
1650
+ contentId: "spiffy-top-suggestion-bar-contents",
1651
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1652
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1653
+ type: require_types.WidgetType.SuggestionBarV2,
1654
+ variant: "secondary",
1655
+ hoverVariant: "secondaryDark",
1656
+ animationSpeed: "none",
1657
+ buttonBorderRadius: "md",
1658
+ boldFirstButton: true,
1659
+ buttonTexts: { default: [
1660
+ "Summarize the reviews.",
1661
+ "What size should I choose?",
1662
+ "Are they good for everyday wear?",
1663
+ "How do they fit?",
1664
+ "What material are they made of?"
1665
+ ] }
1666
+ },
1667
+ bottomSuggestionsBarFootwearWithReviews: {
1668
+ widgetConfigId: "bottomSuggestionsBarFootwearWithReviews",
1669
+ contentId: "spiffy-bottom-suggestion-bar-contents",
1670
+ metricDisplayLocation: require_suggestionBarV2_types.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1671
+ location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1672
+ type: require_types.WidgetType.SuggestionBarV2,
1673
+ variant: "darkPrimary",
1674
+ hoverVariant: "secondaryDark",
1675
+ animationSpeed: "none",
1676
+ buttonBorderRadius: "md",
1677
+ boldFirstButton: true,
1678
+ buttonTexts: { default: [
1679
+ "Summarize the reviews.",
1680
+ "What size should I choose?",
1681
+ "Are they good for everyday wear?",
1682
+ "How do they fit?",
1683
+ "What material are they made of?"
1684
+ ] }
1685
+ }
1686
+ },
1687
+ mountingConfigs: {
1688
+ searchIconEntryPoint: {
1689
+ mountingConfigId: "searchIconEntryPoint",
1690
+ containerId: require_divIds.GLOBAL_SEARCH_ENTRYPOINT_ID,
1691
+ testId: require_divIds.GLOBAL_SEARCH_ENTRYPOINT_TESTID,
1692
+ insertionPoint: {
1693
+ selector: ".header__secondary-nav a[href=\"/search\"]",
1694
+ insertionType: require_divIds.DOMInsertionType.BEFORE
1695
+ },
1696
+ suppressionSelector: "a[href=\"/search\"]",
1697
+ className: "global-entry-desktop"
1698
+ },
1699
+ searchOverlayHost: {
1700
+ mountingConfigId: "searchOverlayHost",
1701
+ containerId: require_divIds.SEARCH_OVERLAY_ENTRYPOINT_ID,
1702
+ testId: require_divIds.SEARCH_OVERLAY_HOST_TESTID,
1703
+ insertionPoint: {
1704
+ selector: "body",
1705
+ insertionType: require_divIds.DOMInsertionType.APPEND_CHILD
1706
+ },
1707
+ className: "spiffy-overlay-host"
1708
+ },
1709
+ searchResultsEntryPointPLP: {
1710
+ mountingConfigId: "searchResultsEntryPointPLP",
1711
+ containerId: require_divIds.SEARCH_RESULTS_ENTRYPOINT_ID,
1712
+ testId: require_divIds.SEARCH_RESULTS_ENTRYPOINT_TESTID,
1713
+ insertionPoint: {
1714
+ selector: "#main",
1715
+ insertionType: require_divIds.DOMInsertionType.BEFORE
1716
+ },
1717
+ className: "search-results-entry-point",
1718
+ style: { marginBottom: "60px" }
1719
+ },
1720
+ chatPreviewPLP: {
1721
+ mountingConfigId: "chatPreviewPLP",
1722
+ containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
1723
+ testId: require_divIds.CHAT_PREVIEW_TESTID,
1724
+ insertionPoint: {
1725
+ selector: ".product-list",
1726
+ insertionType: require_divIds.DOMInsertionType.AFTER
1727
+ },
1728
+ gridInsertionType: require_GridInsertionService.GridInsertionType.FIXED_8,
1729
+ className: "is-plp",
1730
+ style: {
1731
+ gridRow: "3 / 3",
1732
+ gridColumn: "1 / -1"
1733
+ }
1734
+ },
1735
+ chatPreviewPDP: {
1736
+ mountingConfigId: "chatPreviewPDP",
1737
+ containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
1738
+ testId: require_divIds.CHAT_PREVIEW_TESTID,
1739
+ insertionPoint: {
1740
+ selector: "div[data-block-type=\"description\"].product-info__block-item",
1741
+ insertionType: require_divIds.DOMInsertionType.BEFORE
1742
+ }
1743
+ },
1744
+ topSuggestionBarPDP: {
1745
+ mountingConfigId: "topSuggestionBarPDP",
1746
+ containerId: require_divIds.TOP_SUGGESTION_BAR_PDP_ID,
1747
+ testId: require_divIds.TOP_SUGGESTION_BAR_TESTID,
1748
+ insertionPoint: {
1749
+ selector: "div[data-block-type=\"price\"].product-info__block-item",
1750
+ insertionType: require_divIds.DOMInsertionType.AFTER
1751
+ },
1752
+ style: { marginTop: "15px" }
1753
+ },
1754
+ bottomSuggestionBarPDP: {
1755
+ mountingConfigId: "bottomSuggestionBarPDP",
1756
+ containerId: require_divIds.BOTTOM_REVIEWS_BAR_ID,
1757
+ testId: require_divIds.BOTTOM_SUGGESTION_BAR_TESTID,
1758
+ insertionPoint: {
1759
+ selector: ".oke-w-header",
1760
+ insertionType: require_divIds.DOMInsertionType.AFTER
1761
+ },
1762
+ style: { marginBottom: "15px" }
1763
+ }
1764
+ }
1765
+ });
1766
+ const jordanCraigOrgInfo = {
1767
+ shortName: require_types.OrgShortName.JordanCraig,
1768
+ name: "Jordan Craig",
1769
+ domain: "jordancraig.com",
1770
+ defaultProductId: "scallop-t-shirt",
1771
+ alwaysEnabledMerchants: false,
1772
+ orgUIConfig: jordanCraigOrgUIConfig,
1773
+ orgColors: () => jordanCraigColors,
1774
+ orgPageConfig: jordanCraigPageConfig
1775
+ };
1776
+
1777
+ //#endregion
1778
+ exports.jordanCraigOrgInfo = jordanCraigOrgInfo;