@envive-ai/react-hooks 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NewOrgConfig-BU6uJT74.js +15 -0
- package/dist/NewOrgConfig-DmidHiyj.cjs +20 -0
- package/dist/SystemSettingsContext-BbobkM82.cjs +20 -0
- package/dist/SystemSettingsContext-gtrccL_q.js +13 -0
- package/dist/TrackComponentVisibleEvent-CqjMiZCS.cjs +59 -0
- package/dist/TrackComponentVisibleEvent-D9kpqKM4.js +52 -0
- package/dist/amplitudeContext-B73xamNe.d.cts +52 -0
- package/dist/amplitudeContext-BhhYPJSL.d.ts +52 -0
- package/dist/amplitudeContext-Dr1jHI13.cjs +309 -0
- package/dist/amplitudeContext-YRS1QOO3.js +287 -0
- package/dist/api-DYjHj_hR.cjs +239 -0
- package/dist/api-d5uWvb3-.js +166 -0
- package/dist/{app-CjsQ2_n-.js → app-B9r0MF9n.js} +7 -7
- package/dist/{app-CnKRZ9RW.cjs → app-Bgr-mAvr.cjs} +10 -10
- package/dist/application/models/graphql/index.cjs +2 -1
- package/dist/application/models/graphql/index.d.ts +1 -1
- package/dist/application/models/graphql/index.js +2 -1
- package/dist/application/models/guards/api/index.cjs +3 -1
- package/dist/application/models/guards/api/index.d.ts +2 -2
- package/dist/application/models/guards/api/index.js +3 -1
- package/dist/application/models/guards/utils.cjs +3 -0
- package/dist/application/models/guards/utils.d.cts +2 -0
- package/dist/application/models/guards/utils.d.ts +2 -0
- package/dist/application/models/guards/utils.js +3 -0
- package/dist/application/models/index.cjs +13 -10
- package/dist/application/models/index.d.cts +9 -4
- package/dist/application/models/index.d.ts +12 -7
- package/dist/application/models/index.js +11 -7
- package/dist/application/models/utilityTypes/index.cjs +1 -1
- package/dist/application/models/utilityTypes/index.d.ts +1 -1
- package/dist/application/models/utilityTypes/index.js +1 -1
- package/dist/application/models/variantInfo/index.cjs +1 -1
- package/dist/application/models/variantInfo/index.d.cts +1 -1
- package/dist/application/models/variantInfo/index.d.ts +1 -1
- package/dist/application/models/variantInfo/index.js +1 -1
- package/dist/application/utils/index.cjs +47 -40
- package/dist/application/utils/index.d.cts +13 -8
- package/dist/application/utils/index.d.ts +15 -10
- package/dist/application/utils/index.js +20 -13
- package/dist/{atomStore-D8pjE1vL.js → atomStore-BuopbV9k.js} +1 -1
- package/dist/{atomStore-B4jIaDPd.cjs → atomStore-CZKe3itM.cjs} +1 -1
- package/dist/atoms/app/index.cjs +14 -9
- package/dist/atoms/app/index.d.cts +16 -11
- package/dist/atoms/app/index.d.ts +19 -14
- package/dist/atoms/app/index.js +14 -9
- package/dist/atoms/atomStore/index.cjs +2 -2
- package/dist/atoms/atomStore/index.d.cts +1 -1
- package/dist/atoms/atomStore/index.js +2 -2
- package/dist/atoms/chat/index.cjs +35 -28
- package/dist/atoms/chat/index.d.cts +36 -31
- package/dist/atoms/chat/index.d.ts +39 -34
- package/dist/atoms/chat/index.js +21 -14
- package/dist/atoms/globalSearch/index.cjs +1 -1
- package/dist/atoms/globalSearch/index.d.cts +5 -5
- package/dist/atoms/globalSearch/index.d.ts +6 -6
- package/dist/atoms/globalSearch/index.js +1 -1
- package/dist/atoms/org/index.cjs +6 -14
- package/dist/atoms/org/index.d.cts +28 -32
- package/dist/atoms/org/index.d.ts +31 -35
- package/dist/atoms/org/index.js +5 -11
- package/dist/atoms/search/index.cjs +46 -34
- package/dist/atoms/search/index.d.cts +10 -4
- package/dist/atoms/search/index.d.ts +13 -7
- package/dist/atoms/search/index.js +28 -16
- package/dist/atoms/search/types.cjs +5 -0
- package/dist/atoms/search/types.d.cts +2 -0
- package/dist/atoms/search/types.d.ts +2 -0
- package/dist/atoms/search/types.js +3 -0
- package/dist/atoms/search/utils.cjs +3 -0
- package/dist/atoms/search/utils.d.cts +5 -0
- package/dist/atoms/search/utils.d.ts +5 -0
- package/dist/atoms/search/utils.js +3 -0
- package/dist/cdnContext-CVgXkdV2.cjs +53 -0
- package/dist/cdnContext-DdE6VPIF.js +38 -0
- package/dist/chat-BNDYKsqF.js +258 -0
- package/dist/{chat-BubCW1as.cjs → chat-BkjIKhc5.cjs} +1 -1
- package/dist/chat-Br5FhtRs.cjs +394 -0
- package/dist/{chat-CV6MXeID.js → chat-CgLypC3w.js} +1 -1
- package/dist/chatElementDisplayLocation-BwiXrkN7.d.ts +25 -0
- package/dist/chatElementDisplayLocation-DWmfNX_u.d.cts +25 -0
- package/dist/chatSearch-BiF2__V0.js +295 -0
- package/dist/chatSearch-BrzfJOto.cjs +418 -0
- package/dist/chatState-BDsqKE-B.cjs +120 -0
- package/dist/chatState-ie771Hwy.js +34 -0
- package/dist/commerce-api-Dz1jxPOJ.js +311 -0
- package/dist/commerce-api-KoiUki51.cjs +318 -0
- package/dist/{components-Cw9WjA6g.cjs → components-Cby-Cma3.cjs} +1 -1
- package/dist/{components-B4T3Uzth.js → components-D1mg1-Br.js} +1 -1
- package/dist/config/locators/components/chat/index.cjs +1 -1
- package/dist/config/locators/components/chat/index.d.cts +1 -1
- package/dist/config/locators/components/chat/index.d.ts +1 -1
- package/dist/config/locators/components/chat/index.js +1 -1
- package/dist/config/locators/components/chat/variants/index.d.cts +1 -1
- package/dist/config/locators/components/chat/variants/index.d.ts +1 -1
- package/dist/config/locators/components/index.cjs +1 -1
- package/dist/config/locators/components/index.d.cts +1 -1
- package/dist/config/locators/components/index.d.ts +1 -1
- package/dist/config/locators/components/index.js +1 -1
- package/dist/config/locators/components/search/index.d.cts +1 -1
- package/dist/config/locators/index.cjs +42 -22
- package/dist/config/locators/index.d.cts +2 -2
- package/dist/config/locators/index.d.ts +3 -3
- package/dist/config/locators/index.js +25 -5
- package/dist/contexts/amplitudeContext/index.cjs +22 -0
- package/dist/contexts/amplitudeContext/index.d.cts +2 -0
- package/dist/contexts/amplitudeContext/index.d.ts +2 -0
- package/dist/contexts/amplitudeContext/index.js +20 -0
- package/dist/contexts/cdnContext/index.cjs +7 -0
- package/dist/contexts/cdnContext/index.d.cts +15 -0
- package/dist/contexts/cdnContext/index.d.ts +15 -0
- package/dist/contexts/cdnContext/index.js +6 -0
- package/dist/contexts/chatContext/index.cjs +331 -0
- package/dist/contexts/chatContext/index.d.cts +15 -0
- package/dist/contexts/chatContext/index.d.ts +15 -0
- package/dist/contexts/chatContext/index.js +324 -0
- package/dist/contexts/enviveConfigContext/index.cjs +7 -0
- package/dist/contexts/enviveConfigContext/index.d.cts +30 -0
- package/dist/contexts/enviveConfigContext/index.d.ts +30 -0
- package/dist/contexts/enviveConfigContext/index.js +6 -0
- package/dist/contexts/enviveCssContext/index.cjs +66 -0
- package/dist/contexts/enviveCssContext/index.d.cts +10 -0
- package/dist/contexts/enviveCssContext/index.d.ts +10 -0
- package/dist/contexts/enviveCssContext/index.js +63 -0
- package/dist/contexts/featureFlagContext/index.cjs +107 -0
- package/dist/contexts/featureFlagContext/index.d.cts +20 -0
- package/dist/contexts/featureFlagContext/index.d.ts +20 -0
- package/dist/contexts/featureFlagContext/index.js +103 -0
- package/dist/contexts/featureFlagServiceContext/index.cjs +6 -0
- package/dist/contexts/featureFlagServiceContext/index.d.cts +5 -0
- package/dist/contexts/featureFlagServiceContext/index.d.ts +5 -0
- package/dist/contexts/featureFlagServiceContext/index.js +5 -0
- package/dist/contexts/graphqlContext/index.cjs +16 -0
- package/dist/contexts/graphqlContext/index.d.cts +13 -0
- package/dist/contexts/graphqlContext/index.d.ts +13 -0
- package/dist/contexts/graphqlContext/index.js +15 -0
- package/dist/contexts/localStorageContext/index.cjs +6 -0
- package/dist/contexts/localStorageContext/index.d.cts +30 -0
- package/dist/contexts/localStorageContext/index.d.ts +30 -0
- package/dist/contexts/localStorageContext/index.js +4 -0
- package/dist/contexts/newOrgConfigContext/index.cjs +20 -0
- package/dist/contexts/newOrgConfigContext/index.d.cts +31 -0
- package/dist/contexts/newOrgConfigContext/index.d.ts +31 -0
- package/dist/contexts/newOrgConfigContext/index.js +19 -0
- package/dist/contexts/searchContext/index.cjs +24 -0
- package/dist/contexts/searchContext/index.d.cts +16 -0
- package/dist/contexts/searchContext/index.d.ts +16 -0
- package/dist/contexts/searchContext/index.js +23 -0
- package/dist/contexts/sessionStorageContext/index.cjs +5 -0
- package/dist/contexts/sessionStorageContext/index.d.cts +15 -0
- package/dist/contexts/sessionStorageContext/index.d.ts +15 -0
- package/dist/contexts/sessionStorageContext/index.js +4 -0
- package/dist/contexts/shopifyUrlContext/index.cjs +5 -0
- package/dist/contexts/shopifyUrlContext/index.d.cts +20 -0
- package/dist/contexts/shopifyUrlContext/index.d.ts +20 -0
- package/dist/contexts/shopifyUrlContext/index.js +4 -0
- package/dist/contexts/systemSettingsContext/index.cjs +8 -0
- package/dist/contexts/systemSettingsContext/index.d.cts +37 -0
- package/dist/contexts/systemSettingsContext/index.d.ts +37 -0
- package/dist/contexts/systemSettingsContext/index.js +6 -0
- package/dist/contexts/types.cjs +7 -0
- package/dist/contexts/types.d.cts +4 -0
- package/dist/contexts/types.d.ts +4 -0
- package/dist/contexts/types.js +3 -0
- package/dist/contexts/userIdentityContext/index.cjs +27 -0
- package/dist/contexts/userIdentityContext/index.d.cts +2 -0
- package/dist/contexts/userIdentityContext/index.d.ts +2 -0
- package/dist/contexts/userIdentityContext/index.js +26 -0
- package/dist/domObserver-B19-69gW.js +285 -0
- package/dist/domObserver-CwieVNgj.cjs +304 -0
- package/dist/enviveConfig-BQB14yuH.js +62 -0
- package/dist/enviveConfig-DAA9sozZ.cjs +130 -0
- package/dist/enviveConfigContext-BCpBKqsz.js +45 -0
- package/dist/enviveConfigContext-Btg5JUMG.cjs +60 -0
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.d.ts +1 -1
- package/dist/events/index.js +1 -1
- package/dist/{events-BrLpaNxh.js → events-BHJJjPDN.js} +1 -1
- package/dist/{events-DwT6cEwI.cjs → events-B_fJZf9E.cjs} +1 -1
- package/dist/featureFlagServiceContext-Bcx5yh4S.cjs +56 -0
- package/dist/featureFlagServiceContext-Cpw8omUr.d.ts +23 -0
- package/dist/featureFlagServiceContext-Cvn6fcdB.d.cts +23 -0
- package/dist/featureFlagServiceContext-_tXX5iro.js +42 -0
- package/dist/featureGates-2Zea2D2S.js +27 -0
- package/dist/featureGates-BY2Zy7x_.cjs +33 -0
- package/dist/frontendConfig-DnMZfvcA.d.cts +857 -0
- package/dist/frontendConfig-Dqxbqo8G.d.ts +857 -0
- package/dist/{globalSearch-BFvEg53C.cjs → globalSearch-C94-vEVh.cjs} +1 -1
- package/dist/{globalSearch-B6THR7Jx.js → globalSearch-Dlbnfasm.js} +1 -1
- package/dist/graphql-DRLWdYEk.js +36 -0
- package/dist/graphql-xPDT7ZkK.cjs +53 -0
- package/dist/graphqlConfig-B4ddz1vH.cjs +39 -0
- package/dist/graphqlConfig-BnjOdeX7.js +14 -0
- package/dist/graphqlContext-B-9g2vOb.js +96 -0
- package/dist/graphqlContext-B7PEKDJs.cjs +111 -0
- package/dist/hooks/AmplitudeOperations/index.cjs +22 -0
- package/dist/hooks/AmplitudeOperations/index.d.cts +12 -0
- package/dist/hooks/AmplitudeOperations/index.d.ts +12 -0
- package/dist/hooks/AmplitudeOperations/index.js +22 -0
- package/dist/hooks/AppDetails/index.cjs +19 -0
- package/dist/hooks/AppDetails/index.d.cts +27 -0
- package/dist/hooks/AppDetails/index.d.ts +27 -0
- package/dist/hooks/AppDetails/index.js +19 -0
- package/dist/hooks/BlockBackButton/index.cjs +29 -0
- package/dist/hooks/BlockBackButton/index.d.cts +5 -0
- package/dist/hooks/BlockBackButton/index.d.ts +5 -0
- package/dist/hooks/BlockBackButton/index.js +27 -0
- package/dist/hooks/CdnOperations/index.cjs +24 -0
- package/dist/hooks/CdnOperations/index.d.cts +7 -0
- package/dist/hooks/CdnOperations/index.d.ts +7 -0
- package/dist/hooks/CdnOperations/index.js +22 -0
- package/dist/hooks/ChatToggle/index.cjs +64 -0
- package/dist/hooks/ChatToggle/index.d.cts +12 -0
- package/dist/hooks/ChatToggle/index.d.ts +12 -0
- package/dist/hooks/ChatToggle/index.js +62 -0
- package/dist/hooks/ChatToggleAnalytics/index.cjs +38 -0
- package/dist/hooks/ChatToggleAnalytics/index.d.cts +9 -0
- package/dist/hooks/ChatToggleAnalytics/index.d.ts +9 -0
- package/dist/hooks/ChatToggleAnalytics/index.js +36 -0
- package/dist/hooks/CustomerSupportHandoff/index.cjs +36 -0
- package/dist/hooks/CustomerSupportHandoff/index.d.cts +16 -0
- package/dist/hooks/CustomerSupportHandoff/index.d.ts +16 -0
- package/dist/hooks/CustomerSupportHandoff/index.js +34 -0
- package/dist/hooks/Debounce/index.cjs +3 -0
- package/dist/hooks/Debounce/index.d.cts +5 -0
- package/dist/hooks/Debounce/index.d.ts +5 -0
- package/dist/hooks/Debounce/index.js +3 -0
- package/dist/hooks/ElementObserver/index.cjs +179 -0
- package/dist/hooks/ElementObserver/index.d.cts +29 -0
- package/dist/hooks/ElementObserver/index.d.ts +29 -0
- package/dist/hooks/ElementObserver/index.js +177 -0
- package/dist/hooks/GrabAndScroll/index.cjs +99 -0
- package/dist/hooks/GrabAndScroll/index.d.cts +14 -0
- package/dist/hooks/GrabAndScroll/index.d.ts +14 -0
- package/dist/hooks/GrabAndScroll/index.js +97 -0
- package/dist/hooks/GraphQLConfig/index.cjs +17 -0
- package/dist/hooks/GraphQLConfig/index.d.cts +15 -0
- package/dist/hooks/GraphQLConfig/index.d.ts +15 -0
- package/dist/hooks/GraphQLConfig/index.js +16 -0
- package/dist/hooks/IdentifyUser/index.cjs +60 -0
- package/dist/hooks/IdentifyUser/index.d.cts +10 -0
- package/dist/hooks/IdentifyUser/index.d.ts +10 -0
- package/dist/hooks/IdentifyUser/index.js +58 -0
- package/dist/hooks/ImageResolver/index.cjs +55 -0
- package/dist/hooks/ImageResolver/index.d.cts +7 -0
- package/dist/hooks/ImageResolver/index.d.ts +7 -0
- package/dist/hooks/ImageResolver/index.js +53 -0
- package/dist/hooks/Intersection/index.cjs +3 -0
- package/dist/hooks/Intersection/index.d.cts +7 -0
- package/dist/hooks/Intersection/index.d.ts +7 -0
- package/dist/hooks/Intersection/index.js +3 -0
- package/dist/hooks/IsSmallScreen/index.cjs +22 -0
- package/dist/hooks/IsSmallScreen/index.d.cts +5 -0
- package/dist/hooks/IsSmallScreen/index.d.ts +5 -0
- package/dist/hooks/IsSmallScreen/index.js +20 -0
- package/dist/hooks/LocalStorageOperations/index.cjs +79 -0
- package/dist/hooks/LocalStorageOperations/index.d.cts +17 -0
- package/dist/hooks/LocalStorageOperations/index.d.ts +17 -0
- package/dist/hooks/LocalStorageOperations/index.js +74 -0
- package/dist/hooks/MessageFilter/index.cjs +54 -0
- package/dist/hooks/MessageFilter/index.d.cts +30 -0
- package/dist/hooks/MessageFilter/index.d.ts +30 -0
- package/dist/hooks/MessageFilter/index.js +54 -0
- package/dist/hooks/MessageScrollObserver/index.cjs +36 -0
- package/dist/hooks/MessageScrollObserver/index.d.cts +5 -0
- package/dist/hooks/MessageScrollObserver/index.d.ts +5 -0
- package/dist/hooks/MessageScrollObserver/index.js +34 -0
- package/dist/hooks/NewOrgConfig/index.cjs +20 -0
- package/dist/hooks/NewOrgConfig/index.d.cts +23 -0
- package/dist/hooks/NewOrgConfig/index.d.ts +23 -0
- package/dist/hooks/NewOrgConfig/index.js +20 -0
- package/dist/hooks/Search/index.cjs +326 -0
- package/dist/hooks/Search/index.d.cts +61 -0
- package/dist/hooks/Search/index.d.ts +61 -0
- package/dist/hooks/Search/index.js +323 -0
- package/dist/hooks/SearchOperations/index.cjs +102 -0
- package/dist/hooks/SearchOperations/index.d.cts +22 -0
- package/dist/hooks/SearchOperations/index.d.ts +22 -0
- package/dist/hooks/SearchOperations/index.js +99 -0
- package/dist/hooks/SessionStorageOperations/index.cjs +30 -0
- package/dist/hooks/SessionStorageOperations/index.d.cts +8 -0
- package/dist/hooks/SessionStorageOperations/index.d.ts +8 -0
- package/dist/hooks/SessionStorageOperations/index.js +28 -0
- package/dist/hooks/ShopifyUrlOperations/index.cjs +53 -0
- package/dist/hooks/ShopifyUrlOperations/index.d.cts +23 -0
- package/dist/hooks/ShopifyUrlOperations/index.d.ts +23 -0
- package/dist/hooks/ShopifyUrlOperations/index.js +49 -0
- package/dist/hooks/SnapCalculator/index.cjs +29 -0
- package/dist/hooks/SnapCalculator/index.d.cts +12 -0
- package/dist/hooks/SnapCalculator/index.d.ts +12 -0
- package/dist/hooks/SnapCalculator/index.js +27 -0
- package/dist/hooks/SystemSettingsContext/index.cjs +7 -0
- package/dist/hooks/SystemSettingsContext/index.d.cts +23 -0
- package/dist/hooks/SystemSettingsContext/index.d.ts +23 -0
- package/dist/hooks/SystemSettingsContext/index.js +7 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.cjs +22 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.d.cts +18 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.d.ts +18 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.js +22 -0
- package/dist/hooks/UpdateAnalyticsProps/index.cjs +62 -0
- package/dist/hooks/UpdateAnalyticsProps/index.d.cts +9 -0
- package/dist/hooks/UpdateAnalyticsProps/index.d.ts +9 -0
- package/dist/hooks/UpdateAnalyticsProps/index.js +59 -0
- package/dist/hooks/utils.cjs +8 -0
- package/dist/hooks/utils.d.cts +13 -0
- package/dist/hooks/utils.d.ts +13 -0
- package/dist/hooks/utils.js +3 -0
- package/dist/index-B9HUPS_i.d.cts +186 -0
- package/dist/{index-CcIG01PJ.d.ts → index-BN-3ctk_.d.ts} +2 -2
- package/dist/index-BNiYL8h0.d.cts +28 -0
- package/dist/{index-BDPWBU3h.d.cts → index-BW6pHibZ.d.cts} +1 -1
- package/dist/index-BirtCYN3.d.ts +186 -0
- package/dist/index-Bmub8e38.d.cts +1 -1
- package/dist/{index-Cqg6ltII.d.ts → index-BoYC9XLW.d.ts} +1 -1
- package/dist/index-C9zXP5bg.d.ts +28 -0
- package/dist/index-CESxqFso.d.cts +1 -1
- package/dist/index-CK_J3QMY.d.ts +676 -0
- package/dist/index-C_MIfxF0.d.cts +676 -0
- package/dist/index-CiWEYzXl.d.cts +1 -1
- package/dist/{index-C6KdON7d.d.ts → index-Da0UzyI9.d.ts} +1 -1
- package/dist/{index-ylUiJvnr.d.ts → index-Dr_c2DDq.d.ts} +1 -1
- package/dist/{index-PGF8BvxQ.d.ts → index-DsiilEj-.d.ts} +1 -1
- package/dist/{index-Byb45OPg.d.cts → index-MOOZ2oxZ.d.cts} +1 -1
- package/dist/{index-DOii3C6b.d.ts → index-ghzD_356.d.ts} +1 -1
- package/dist/{index-B0NW9KTj.d.cts → index-hdbCEjYy.d.cts} +1 -1
- package/dist/interceptors/index.cjs +2 -1
- package/dist/interceptors/index.d.cts +10 -10
- package/dist/interceptors/index.d.ts +13 -13
- package/dist/interceptors/index.js +2 -1
- package/dist/interceptors/types.cjs +1 -0
- package/dist/interceptors/types.d.cts +13 -0
- package/dist/interceptors/types.d.ts +13 -0
- package/dist/interceptors/types.js +3 -0
- package/dist/localStorageContext-DiTziaPa.js +95 -0
- package/dist/localStorageContext-S38L0OSP.cjs +115 -0
- package/dist/logger-CkhQayOW.js +20 -0
- package/dist/logger-DQ0WfCcD.cjs +26 -0
- package/dist/{models-BkXg5eIP.cjs → models-C48U9q70.js} +220 -458
- package/dist/models-Ctn-pmug.cjs +1537 -0
- package/dist/newOrgConfigAtom-D6R-7HCk.cjs +15 -0
- package/dist/newOrgConfigAtom-bn1lnljf.js +8 -0
- package/dist/newOrgConfigContext-D3WoaBVU.cjs +68 -0
- package/dist/newOrgConfigContext-rWOYz0E8.js +53 -0
- package/dist/{nodeSelector-Dm4S-10n.d.cts → nodeSelector-B3bPtEjX.d.cts} +1 -1
- package/dist/{nodeSelector-BxrS2S_k.d.ts → nodeSelector-D5gjDWZ3.d.ts} +1 -1
- package/dist/org-CIhjzxWr.cjs +43 -0
- package/dist/org-CeWXnpwF.js +12 -0
- package/dist/{orgAnalyticsConfig-ClrFy2qH.js → orgAnalyticsConfig-BC4_sEmn.js} +1 -1
- package/dist/{orgAnalyticsConfig-BJ2A1RZ-.cjs → orgAnalyticsConfig-DsGbyFhO.cjs} +1 -1
- package/dist/search--NZPZkK3.cjs +205 -0
- package/dist/search-BLShhjvR.d.ts +20 -0
- package/dist/search-CxZl7iQF.js +126 -0
- package/dist/{search-filter-types-fZf91Pdw.d.ts → search-filter-types-DPgeG8FS.d.ts} +1 -1
- package/dist/{search-filter-types-DosbseF3.d.cts → search-filter-types-_mprCnBi.d.cts} +1 -1
- package/dist/search-y-ioX5Mz.d.cts +20 -0
- package/dist/searchContext-C4Glr8Nv.cjs +145 -0
- package/dist/searchContext-VnjhV7Lk.js +129 -0
- package/dist/searchServiceAdapter-DEv1tTn0.cjs +34 -0
- package/dist/searchServiceAdapter-WyCU55NV.js +16 -0
- package/dist/sessionStorageContext-BJ05_j7l.cjs +66 -0
- package/dist/sessionStorageContext-Dp_bhXQP.js +52 -0
- package/dist/shopifyUrlContext-CGqpJl1o.js +61 -0
- package/dist/shopifyUrlContext-Cob4L7Dt.cjs +75 -0
- package/dist/spiffyWidgets-BuS00VaQ.d.cts +20 -0
- package/dist/spiffyWidgets-GILaqHv6.d.ts +20 -0
- package/dist/systemSettingsContext-BDKWrrco.cjs +60 -0
- package/dist/systemSettingsContext-Dqng3YSZ.js +39 -0
- package/dist/{test-types-C9b_OdfO.d.ts → test-types-EzMFw_U3.d.ts} +1 -1
- package/dist/{test-types-CgVJtwUr.d.cts → test-types-ThQiO_cc.d.cts} +1 -1
- package/dist/types/index.cjs +33 -5
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +30 -3
- package/dist/types-BUeRbZUk.d.cts +10 -0
- package/dist/types-BwNrLPSZ.cjs +106 -0
- package/dist/types-CMuTSKrW.d.ts +10 -0
- package/dist/types-CS0Hrzja.js +30 -0
- package/dist/types-CxObxLKs.cjs +48 -0
- package/dist/types-D3uOF0Oy.js +76 -0
- package/dist/types-fsXBIQwO.d.ts +51 -0
- package/dist/types-zuWLkBJ3.d.cts +51 -0
- package/dist/types.d.cts +15 -0
- package/dist/types.d.ts +15 -0
- package/dist/unsupportedProductExceptions-CKiri_vO.cjs +32 -0
- package/dist/unsupportedProductExceptions-ClxlJ6cU.js +20 -0
- package/dist/urlsParser-D1nsJgQG.cjs +78 -0
- package/dist/urlsParser-DzEetiey.js +42 -0
- package/dist/useAmplitudeOperations-BSsyvkQ2.cjs +41 -0
- package/dist/useAmplitudeOperations-BottjwT9.js +34 -0
- package/dist/useAppDetails-BpiBxS_5.cjs +38 -0
- package/dist/useAppDetails-DDNIsM46.js +30 -0
- package/dist/useDebounce-BaIp-A1W.cjs +26 -0
- package/dist/useDebounce-CxPj9WmE.js +19 -0
- package/dist/useGraphQLConfig-DZ0ZannB.js +63 -0
- package/dist/useGraphQLConfig-Dw8dDh3T.cjs +76 -0
- package/dist/useIntersection-B4J9UhaG.js +21 -0
- package/dist/useIntersection-DKWc5MY6.cjs +28 -0
- package/dist/{useMessageInterceptor-B87e3yu3.cjs → useMessageInterceptor-CstX10ih.cjs} +3 -3
- package/dist/{useMessageInterceptor-Bb7YRaWk.js → useMessageInterceptor-D5oAekXn.js} +2 -2
- package/dist/userIdentityContext-D2oFVFzo.d.cts +20 -0
- package/dist/userIdentityContext-DPFkCSCu.cjs +125 -0
- package/dist/userIdentityContext-Z65zM-Ae.js +109 -0
- package/dist/userIdentityContext-wYRpgkaJ.d.ts +20 -0
- package/dist/utilityTypes-DynzxjK3.js +1 -0
- package/dist/utilityTypes-xb8SjKSV.cjs +0 -0
- package/dist/utils-2SWrJ12w.cjs +29 -0
- package/dist/utils-B1xLx9S8.d.ts +15 -0
- package/dist/utils-B3x_9JTY.d.cts +15 -0
- package/dist/utils-BZtSmwgh.d.cts +22 -0
- package/dist/utils-Bcz5kAgP.js +92 -0
- package/dist/utils-CEKzBcN2.js +27 -0
- package/dist/utils-CMqFfqZx.cjs +130 -0
- package/dist/utils-CVovRwlw.js +606 -0
- package/dist/utils-CqBxIpEV.js +23 -0
- package/dist/utils-CsMbZmRw.cjs +33 -0
- package/dist/utils-DzPSXtmD.cjs +715 -0
- package/dist/utils-bxOCg2i9.d.ts +22 -0
- package/dist/variantInfo-B7IwRpCg.cjs +0 -0
- package/dist/variantInfo-BtOYUGWa.js +1 -0
- package/package.json +191 -7
- package/src/application/models/index.ts +0 -1
- package/src/application/utils/analyticsUtils.ts +1 -1
- package/src/atoms/amplitude/amplitudeTrackEventAtom.ts +1 -1
- package/src/atoms/app/index.ts +1 -1
- package/src/atoms/chat/chatState.ts +1 -1
- package/src/atoms/chat/replies.ts +1 -1
- package/src/atoms/org/graphqlConfig.ts +1 -39
- package/src/atoms/org/index.ts +0 -1
- package/src/atoms/org/newOrgConfigAtom.ts +2 -6
- package/src/contexts/{amplitudeContext.tsx → amplitudeContext/amplitudeContext.tsx} +1 -2
- package/src/contexts/amplitudeContext/index.ts +1 -0
- package/src/contexts/{cdnContext.tsx → cdnContext/cdnContext.tsx} +1 -1
- package/src/contexts/cdnContext/index.ts +1 -0
- package/src/contexts/{chatContext.tsx → chatContext/chatContext.tsx} +3 -3
- package/src/contexts/chatContext/index.ts +1 -0
- package/src/contexts/{enviveConfigContext.tsx → enviveConfigContext/enviveConfigContext.tsx} +1 -1
- package/src/contexts/enviveConfigContext/index.ts +1 -0
- package/src/contexts/{enviveCssContext.tsx → enviveCssContext/enviveCssContext.tsx} +1 -1
- package/src/contexts/enviveCssContext/index.ts +1 -0
- package/src/contexts/{featureFlagContext.tsx → featureFlagContext/featureFlagContext.tsx} +1 -1
- package/src/contexts/featureFlagContext/index.ts +1 -0
- package/src/contexts/featureFlagServiceContext/index.ts +1 -0
- package/src/contexts/graphqlContext/index.ts +1 -0
- package/src/contexts/localStorageContext/index.ts +1 -0
- package/src/contexts/{localStorageContext.tsx → localStorageContext/localStorageContext.tsx} +2 -2
- package/src/contexts/newOrgConfigContext/index.ts +1 -0
- package/src/contexts/newOrgConfigContext/newOrgConfigContext.tsx +70 -0
- package/src/contexts/searchContext/index.ts +1 -0
- package/src/contexts/{searchContext.tsx → searchContext/searchContext.tsx} +5 -5
- package/src/contexts/sessionStorageContext/index.ts +1 -0
- package/src/contexts/{sessionStorageContext.tsx → sessionStorageContext/sessionStorageContext.tsx} +1 -1
- package/src/contexts/shopifyUrlContext/index.ts +1 -0
- package/src/contexts/systemSettingsContext/index.ts +1 -0
- package/src/contexts/userIdentityContext/index.ts +1 -0
- package/src/events/registerAnalyticsListeners.ts +2 -2
- package/src/favicon.ico +0 -0
- package/src/hooks/AmplitudeOperations/index.ts +1 -0
- package/src/hooks/{useAmplitudeOperations.ts → AmplitudeOperations/useAmplitudeOperations.ts} +1 -1
- package/src/hooks/AppDetails/index.ts +1 -0
- package/src/hooks/{useAppDetails.ts → AppDetails/useAppDetails.ts} +1 -3
- package/src/hooks/BlockBackButton/index.ts +1 -0
- package/src/hooks/CdnOperations/index.ts +1 -0
- package/src/hooks/{useCdnOperations.ts → CdnOperations/useCdnOperations.ts} +1 -1
- package/src/hooks/ChatToggle/index.ts +1 -0
- package/src/hooks/{useChatToggle.ts → ChatToggle/useChatToggle.ts} +1 -1
- package/src/hooks/ChatToggleAnalytics/index.ts +1 -0
- package/src/hooks/{useChatToggleAnalytics.ts → ChatToggleAnalytics/useChatToggleAnalytics.ts} +1 -1
- package/src/hooks/CustomerSupportHandoff/index.ts +1 -0
- package/src/hooks/Debounce/index.ts +1 -0
- package/src/hooks/ElementObserver/index.ts +1 -0
- package/src/hooks/GrabAndScroll/index.ts +1 -0
- package/src/hooks/GraphQLConfig/index.ts +1 -0
- package/src/hooks/{useGraphQLConfig.ts → GraphQLConfig/useGraphQLConfig.ts} +1 -1
- package/src/hooks/IdentifyUser/index.ts +1 -0
- package/src/hooks/{useIdentifyUser.ts → IdentifyUser/useIdentifyUser.ts} +1 -1
- package/src/hooks/ImageResolver/index.ts +1 -0
- package/src/hooks/Intersection/index.ts +1 -0
- package/src/hooks/IsSmallScreen/index.ts +1 -0
- package/src/hooks/LocalStorageOperations/index.ts +1 -0
- package/src/hooks/{useLocalStorageOperations.ts → LocalStorageOperations/useLocalStorageOperations.ts} +2 -2
- package/src/hooks/MessageFilter/index.ts +1 -0
- package/src/hooks/MessageScrollObserver/index.ts +1 -0
- package/src/hooks/NewOrgConfig/index.ts +1 -0
- package/src/hooks/{useNewOrgConfig.ts → NewOrgConfig/useNewOrgConfig.ts} +1 -1
- package/src/hooks/Search/index.ts +1 -0
- package/src/hooks/{useSearch.tsx → Search/useSearch.tsx} +5 -4
- package/src/hooks/SearchOperations/index.ts +1 -0
- package/src/hooks/SessionStorageOperations/index.ts +1 -0
- package/src/hooks/{useSessionStorageOperations.ts → SessionStorageOperations/useSessionStorageOperations.ts} +1 -1
- package/src/hooks/ShopifyUrlOperations/index.ts +1 -0
- package/src/hooks/{useShopifyUrlOperations.ts → ShopifyUrlOperations/useShopifyUrlOperations.ts} +1 -1
- package/src/hooks/SnapCalculator/index.ts +1 -0
- package/src/hooks/SystemSettingsContext/index.ts +1 -0
- package/src/hooks/SystemSettingsContext/useSystemSettingsContext.ts +14 -0
- package/src/hooks/TrackComponentVisibleEvent/index.ts +1 -0
- package/src/hooks/{useTrackComponentVisibleEvent.ts → TrackComponentVisibleEvent/useTrackComponentVisibleEvent.ts} +2 -2
- package/src/hooks/UpdateAnalyticsProps/index.ts +1 -0
- package/src/hooks/{useUpdateAnalyticsProps.ts → UpdateAnalyticsProps/useUpdateAnalyticsProps.ts} +1 -1
- package/dist/amplitudeContext-CHzas7Cf.d.cts +0 -52
- package/dist/amplitudeContext-D-7fmVh1.cjs +0 -356
- package/dist/amplitudeContext-hY3caPC6.js +0 -322
- package/dist/amplitudeContext-tJ4y-SzX.d.ts +0 -52
- package/dist/api-DjeZXxl_.js +0 -207
- package/dist/api-_JaUnIUj.cjs +0 -292
- package/dist/bandolier-DYEz4-8C.js +0 -1229
- package/dist/bandolier-o_-xrbOV.cjs +0 -1229
- package/dist/carpe-CsG5jCcl.cjs +0 -607
- package/dist/carpe-DONk00bZ.js +0 -605
- package/dist/cdnUtils-32v8bDX9.cjs +0 -16
- package/dist/cdnUtils-E4tLBt2g.js +0 -11
- package/dist/chat-CO7cRkaq.cjs +0 -506
- package/dist/chat-hcRc4RRd.js +0 -285
- package/dist/contexts/index.cjs +0 -57
- package/dist/contexts/index.d.cts +0 -10
- package/dist/contexts/index.d.ts +0 -10
- package/dist/contexts/index.js +0 -23
- package/dist/contexts-B4ihTBsV.cjs +0 -2980
- package/dist/contexts-DGlr7M1o.js +0 -2596
- package/dist/coterie-CKB93qfz.cjs +0 -239
- package/dist/coterie-DHcj2fRE.js +0 -239
- package/dist/custservice-types-Dy0kc9TW.cjs +0 -35
- package/dist/custservice-types-mnIunabv.js +0 -23
- package/dist/default-BnB4p0Se.cjs +0 -234
- package/dist/default-D6f5Dyt7.js +0 -199
- package/dist/default-ZKkE5zT4.cjs +0 -4
- package/dist/default-legGZJwI.js +0 -4
- package/dist/divIds-2dJlU3z8.cjs +0 -117
- package/dist/divIds-BUrN2vY-.js +0 -21
- package/dist/dreamlandBaby-BiRYYFav.js +0 -346
- package/dist/dreamlandBaby-zuvmfzfD.cjs +0 -346
- package/dist/embedded-BJLWIriJ.js +0 -23
- package/dist/embedded-Dl79TJLC.cjs +0 -131
- package/dist/entrypoints-Bs3pn6EV.js +0 -7
- package/dist/entrypoints-Dqi5pzWH.cjs +0 -19
- package/dist/enviveConfig-BccuzS2a.cjs +0 -240
- package/dist/enviveConfig-CzhTz8Aa.js +0 -152
- package/dist/fiveCbd-DwTTwC2j.cjs +0 -613
- package/dist/fiveCbd-Dz2NouOF.js +0 -613
- package/dist/forLoveAndLemons-DqSdyD6S.js +0 -665
- package/dist/forLoveAndLemons-Ud6mPrV3.cjs +0 -667
- package/dist/graphql-BNW60InJ.cjs +0 -128
- package/dist/graphql-CjB8wHzm.js +0 -74
- package/dist/graphqlConfig-CYt6tWII.js +0 -30
- package/dist/graphqlConfig-DicykC-o.cjs +0 -61
- package/dist/greenpan-B_EbPkSP.js +0 -397
- package/dist/greenpan-kPE4fJgd.cjs +0 -397
- package/dist/grooveLife-Ckuir319.js +0 -342
- package/dist/grooveLife-DKSEQp1F.cjs +0 -342
- package/dist/homegrownCannabis-BVPa2pqe.js +0 -410
- package/dist/homegrownCannabis-BwIAkxuA.cjs +0 -410
- package/dist/hooks/index.cjs +0 -63
- package/dist/hooks/index.d.cts +0 -314
- package/dist/hooks/index.d.ts +0 -314
- package/dist/hooks/index.js +0 -23
- package/dist/index-BMPtlgac.d.ts +0 -191
- package/dist/index-C7pGDl1A.d.ts +0 -1609
- package/dist/index-C9lgsCWp.d.cts +0 -203
- package/dist/index-Cc-wBCn6.d.ts +0 -203
- package/dist/index-DTu2X-YS.d.cts +0 -1609
- package/dist/index-OEifcBsm.d.cts +0 -191
- package/dist/jackArcher-B39OEIj6.cjs +0 -727
- package/dist/jackArcher-BwkWGybC.js +0 -727
- package/dist/jordanCraig-CxRH_jLi.js +0 -1786
- package/dist/jordanCraig-RwmWw-jM.cjs +0 -1786
- package/dist/kindredBravely-D78VwL20.cjs +0 -490
- package/dist/kindredBravely-DQDpAzdl.js +0 -490
- package/dist/kutFromTheKloth-TcXQkIti.js +0 -369
- package/dist/kutFromTheKloth-dXRrNti0.cjs +0 -369
- package/dist/larryAndSerges-Bh5XEXsZ.js +0 -262
- package/dist/larryAndSerges-COdBzOzu.cjs +0 -262
- package/dist/leapsAndRebounds-BbXnqkl5.cjs +0 -360
- package/dist/leapsAndRebounds-mjCaH1k-.js +0 -360
- package/dist/longevityrx-DdV3v26F.cjs +0 -320
- package/dist/longevityrx-DfPDfvAt.js +0 -320
- package/dist/lookOptic-DgXFGBPP.cjs +0 -282
- package/dist/lookOptic-FgVW1afF.js +0 -282
- package/dist/mantraBrand-C5gVm3rk.cjs +0 -750
- package/dist/mantraBrand-uV8HCDR8.js +0 -750
- package/dist/medterra-BtDpr1Hw.cjs +0 -583
- package/dist/medterra-DgzE7-mj.js +0 -583
- package/dist/modells-CJjsxOIR.js +0 -484
- package/dist/modells-Ck5KbRFj.cjs +0 -484
- package/dist/models-UZ6HszfZ.js +0 -1281
- package/dist/org-C2RrBVQR.cjs +0 -81
- package/dist/org-xMytX--e.js +0 -38
- package/dist/pressedFloral-Bteoboms.js +0 -661
- package/dist/pressedFloral-CexgV-xy.cjs +0 -661
- package/dist/search-BMOAmrmY.js +0 -459
- package/dist/search-Df0Ifneg.cjs +0 -672
- package/dist/skinPerfection-BGzq9lq-.cjs +0 -334
- package/dist/skinPerfection-BlvcEcUE.js +0 -334
- package/dist/snapSupplements-CbbGzAgO.cjs +0 -285
- package/dist/snapSupplements-kcsPAOm9.js +0 -285
- package/dist/socialProofClasses-Db8gzsfi.cjs +0 -40
- package/dist/socialProofClasses-kwDvwLOZ.js +0 -10
- package/dist/spanx-B4WFA_rI.js +0 -661
- package/dist/spanx-BWoE4F8b.cjs +0 -663
- package/dist/spanxStaging-BOrOjhXn.js +0 -845
- package/dist/spanxStaging-BfdfIug4.cjs +0 -848
- package/dist/suggestionBarV2-types-IMMOmCir.js +0 -10
- package/dist/suggestionBarV2-types-nnGNgFvR.cjs +0 -16
- package/dist/supergoop-22dd5_BS.js +0 -323
- package/dist/supergoop-B-a4cku2.cjs +0 -323
- package/dist/types--pr1GQQx.js +0 -154
- package/dist/types-BVSyY3Hk.cjs +0 -196
- package/dist/uniqueVintage-CJXiNNe7.js +0 -1211
- package/dist/uniqueVintage-D0jzJWlo.cjs +0 -1213
- package/dist/userIdentityContext-BPqvVIg0.d.cts +0 -20
- package/dist/userIdentityContext-wbCRmlzp.d.ts +0 -20
- package/dist/utils-C9ZSCx12.js +0 -888
- package/dist/utils-D5HO61hG.cjs +0 -1016
- package/dist/venaCbd-Bhhu_qUf.cjs +0 -365
- package/dist/venaCbd-CanovPS_.js +0 -365
- package/dist/westonJonBoucher-BC0x1ktI.cjs +0 -422
- package/dist/westonJonBoucher-BUu1_wP1.js +0 -422
- package/dist/wineEnthusiast-BlCryfil.cjs +0 -940
- package/dist/wineEnthusiast-Ck1x5iJq.js +0 -940
- package/dist/wolfMattress-D9Mjq-HP.js +0 -372
- package/dist/wolfMattress-JssghhC-.cjs +0 -372
- package/dist/wolfTactical-C6exYhL7.cjs +0 -349
- package/dist/wolfTactical-CnV3KQdI.js +0 -349
- package/src/application/models/supportedOrgs.ts +0 -161
- package/src/atoms/org/orgPageConfig.ts +0 -42
- package/src/contexts/index.ts +0 -16
- package/src/contexts/newOrgConfigContext.tsx +0 -104
- package/src/contexts/orgConfigContext.tsx +0 -106
- package/src/hooks/index.ts +0 -27
- package/src/hooks/useSystemSettingsContext.ts +0 -12
- package/src/merchants/bandolier/bandolier.ts +0 -1371
- package/src/merchants/carpe/carpe.ts +0 -653
- package/src/merchants/coterie/coterie.ts +0 -277
- package/src/merchants/default.ts +0 -196
- package/src/merchants/dreamlandBaby/dreamlandBaby.ts +0 -381
- package/src/merchants/fiveCbd/fiveCbd.ts +0 -691
- package/src/merchants/forLoveAndLemons/forLoveAndLemons.ts +0 -751
- package/src/merchants/greenpan/greenpan.ts +0 -434
- package/src/merchants/grooveLife/grooveLife.ts +0 -392
- package/src/merchants/homegrownCannabis/homegrownCannabis.ts +0 -474
- package/src/merchants/init-merchant.sh +0 -53
- package/src/merchants/jackArcher/jackArcher.ts +0 -989
- package/src/merchants/jordanCraig/jordanCraig.ts +0 -1927
- package/src/merchants/kindredBravely/kindredBravely.ts +0 -538
- package/src/merchants/kutFromTheKloth/kutFromTheKloth.ts +0 -421
- package/src/merchants/larryAndSerges/larryAndSerges.ts +0 -318
- package/src/merchants/leapsAndRebounds/leapsAndRebounds.ts +0 -424
- package/src/merchants/longevityrx/longevityrx.ts +0 -374
- package/src/merchants/lookOptic/lookOptic.ts +0 -323
- package/src/merchants/mantraBrand/mantraBrand.ts +0 -844
- package/src/merchants/medterra/medterra.ts +0 -673
- package/src/merchants/modells/modells.ts +0 -543
- package/src/merchants/pressedFloral/pressedFloral.ts +0 -728
- package/src/merchants/skinPerfection/skinPerfection.ts +0 -385
- package/src/merchants/snapSupplements/snapSupplements.ts +0 -328
- package/src/merchants/spanx/spanx.ts +0 -810
- package/src/merchants/spanx/spanxStaging.ts +0 -936
- package/src/merchants/supergoop/supergoop.ts +0 -375
- package/src/merchants/uniqueVintage/uniqueVintage.ts +0 -1314
- package/src/merchants/venaCbd/venaCbd.ts +0 -407
- package/src/merchants/westonJonBoucher/westonJonBoucher.ts +0 -473
- package/src/merchants/wineEnthusiast/wineEnthusiast.ts +0 -990
- package/src/merchants/wolfMattress/wolfMattress.ts +0 -411
- package/src/merchants/wolfTactical/wolfTactical.ts +0 -383
- /package/dist/{atomStore-KSoFS3Jj.cjs → AmplitudeOperations-CNyxbBY6.cjs} +0 -0
- /package/dist/{atomStore-CZnUUsrr.js → AmplitudeOperations-Oa2efWtF.js} +0 -0
- /package/dist/{locators-fBXS_pxP.js → atomStore-BS6qtYZF.js} +0 -0
- /package/dist/{locators-0YYZu9n4.cjs → atomStore-BjRyLFEx.cjs} +0 -0
- /package/dist/{utilityTypes-8sETsYPk.js → types-DtTnp0o0.js} +0 -0
- /package/dist/{utilityTypes-COShxVir.cjs → types-a8gm_IaQ.cjs} +0 -0
- /package/dist/{variantInfo-orXoPBCU.cjs → types.cjs} +0 -0
- /package/dist/{variantInfo-DbVxA1yE.js → types.js} +0 -0
- /package/src/contexts/{featureFlagServiceContext.tsx → featureFlagServiceContext/featureFlagServiceContext.tsx} +0 -0
- /package/src/contexts/{graphqlContext.tsx → graphqlContext/graphqlContext.tsx} +0 -0
- /package/src/contexts/{shopifyUrlContext.tsx → shopifyUrlContext/shopifyUrlContext.tsx} +0 -0
- /package/src/contexts/{systemSettingsContext.tsx → systemSettingsContext/systemSettingsContext.tsx} +0 -0
- /package/src/contexts/{userIdentityContext.tsx → userIdentityContext/userIdentityContext.tsx} +0 -0
- /package/src/hooks/{useBlockBackButton.ts → BlockBackButton/useBlockBackButton.ts} +0 -0
- /package/src/hooks/{useCustomerSupportHandoff.ts → CustomerSupportHandoff/useCustomerSupportHandoff.ts} +0 -0
- /package/src/hooks/{useDebounce.ts → Debounce/useDebounce.ts} +0 -0
- /package/src/hooks/{useElementObserver.ts → ElementObserver/useElementObserver.ts} +0 -0
- /package/src/hooks/{useGrabAndScroll.ts → GrabAndScroll/useGrabAndScroll.ts} +0 -0
- /package/src/hooks/{useImageResolver.ts → ImageResolver/useImageResolver.ts} +0 -0
- /package/src/hooks/{useIntersection.ts → Intersection/useIntersection.ts} +0 -0
- /package/src/hooks/{useIsSmallScreen.ts → IsSmallScreen/useIsSmallScreen.ts} +0 -0
- /package/src/hooks/{useMessageFilter.ts → MessageFilter/useMessageFilter.ts} +0 -0
- /package/src/hooks/{useMessageScrollObserver.ts → MessageScrollObserver/useMessageScrollObserver.ts} +0 -0
- /package/src/hooks/{useSearchOperations.ts → SearchOperations/useSearchOperations.ts} +0 -0
- /package/src/hooks/{useSnapCalculator.ts → SnapCalculator/useSnapCalculator.ts} +0 -0
|
@@ -1,728 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CHAT_PREVIEW_TESTID,
|
|
3
|
-
TOP_SUGGESTION_BAR_TESTID,
|
|
4
|
-
} from "src/config/locators";
|
|
5
|
-
import { OrgShortName, BasicOrgInfoType } from "src/application/models";
|
|
6
|
-
import { ChatElementDisplayLocation } from "src/application/models/chatElementDisplayLocation";
|
|
7
|
-
import { getCdnAssetURL } from "src/application/utils/cdnUtils";
|
|
8
|
-
import { GridInsertionType } from "src/merchants/gridInsertion";
|
|
9
|
-
import { DOMInsertionType } from "src/merchants/domInsertion";
|
|
10
|
-
import {
|
|
11
|
-
CHAT_PREVIEW_CONTAINER_ID,
|
|
12
|
-
TOP_SUGGESTION_BAR_PDP_ID,
|
|
13
|
-
} from "src/config/divIds";
|
|
14
|
-
import { SuggestionBarLocationForMetrics } from "src/types/suggestionBarV2-types";
|
|
15
|
-
import { defaultOrgUIConfig } from "src/merchants/default";
|
|
16
|
-
import {
|
|
17
|
-
ChatPreviewWidgetConfig,
|
|
18
|
-
ColorMapping,
|
|
19
|
-
ColorNames,
|
|
20
|
-
colorVar,
|
|
21
|
-
OrgPageConfig,
|
|
22
|
-
OrgUIConfig,
|
|
23
|
-
PageVariantTestType,
|
|
24
|
-
SuggestionBarWidgetV2Config,
|
|
25
|
-
WidgetType,
|
|
26
|
-
} from "src/contexts/types";
|
|
27
|
-
|
|
28
|
-
const pressedFloralColors: ColorMapping = {
|
|
29
|
-
[ColorNames.TextPrimary]: "#5A5949",
|
|
30
|
-
[ColorNames.TextSecondary]: "#5A5949",
|
|
31
|
-
[ColorNames.TextAccent]: "#50301D",
|
|
32
|
-
[ColorNames.TextLink]: "#5A5949",
|
|
33
|
-
[ColorNames.TextLight]: "#FFFFFF",
|
|
34
|
-
[ColorNames.BackgroundPrimary]: "#5A5949",
|
|
35
|
-
[ColorNames.BackgroundSecondary]: "#F8F6F2",
|
|
36
|
-
[ColorNames.BackgroundSecondaryDark]: "#ECEAE6",
|
|
37
|
-
[ColorNames.BackgroundTertiary]: "#EFEFEF",
|
|
38
|
-
[ColorNames.BackgroundDark]: "#50301D",
|
|
39
|
-
[ColorNames.BackgroundLight]: "#FFFFFF",
|
|
40
|
-
[ColorNames.BackgroundSaturated]: "",
|
|
41
|
-
[ColorNames.BorderLight]: "#EEEEEE",
|
|
42
|
-
[ColorNames.BorderMedium]: "#E5E5EB",
|
|
43
|
-
[ColorNames.BorderDark]: "#343434",
|
|
44
|
-
[ColorNames.BorderOutline]: "#343434",
|
|
45
|
-
[ColorNames.AccentPrimary]: "#F8F6F2",
|
|
46
|
-
[ColorNames.AccentSecondary]: "#5A5949",
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
const pressedFloralOrgUIConfig = (): OrgUIConfig => {
|
|
50
|
-
const defaultPressedFloralOrgConfig = defaultOrgUIConfig(
|
|
51
|
-
OrgShortName.PressedFloral
|
|
52
|
-
);
|
|
53
|
-
|
|
54
|
-
return {
|
|
55
|
-
...defaultPressedFloralOrgConfig,
|
|
56
|
-
chatMessageConfig: {
|
|
57
|
-
...defaultPressedFloralOrgConfig.chatMessageConfig,
|
|
58
|
-
assistantChatTitle: "Ask Flora",
|
|
59
|
-
},
|
|
60
|
-
chatHeader: {
|
|
61
|
-
...defaultPressedFloralOrgConfig.chatHeader,
|
|
62
|
-
imageSrc: getCdnAssetURL("small-logo.svg", OrgShortName.PressedFloral),
|
|
63
|
-
},
|
|
64
|
-
floatingChatConfig: {
|
|
65
|
-
...defaultPressedFloralOrgConfig.floatingChatConfig,
|
|
66
|
-
suggestionButtonConfig: {
|
|
67
|
-
...defaultPressedFloralOrgConfig.floatingChatConfig
|
|
68
|
-
.suggestionButtonConfig,
|
|
69
|
-
variant: "secondary",
|
|
70
|
-
hoverVariant: "secondaryDark",
|
|
71
|
-
answerVariant: "outlined",
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
chatPreviewConfig: {
|
|
75
|
-
...defaultPressedFloralOrgConfig.chatPreviewConfig!,
|
|
76
|
-
iconFillColor: colorVar(ColorNames.TextPrimary),
|
|
77
|
-
buttonTextColor: colorVar(ColorNames.TextPrimary),
|
|
78
|
-
buttonBackgroundColor: colorVar(ColorNames.BackgroundLight),
|
|
79
|
-
buttonBorderColor: colorVar(ColorNames.BorderOutline),
|
|
80
|
-
buttonTextHoverColor: colorVar(ColorNames.BorderOutline),
|
|
81
|
-
buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
|
|
82
|
-
topMargin: 10,
|
|
83
|
-
headerConfig: {
|
|
84
|
-
...defaultPressedFloralOrgConfig.chatPreviewConfig!.headerConfig,
|
|
85
|
-
title: "AI Assistant",
|
|
86
|
-
imageHeight: 10,
|
|
87
|
-
imageSrc: getCdnAssetURL("long-logo.svg", OrgShortName.PressedFloral),
|
|
88
|
-
},
|
|
89
|
-
footerConfig: {
|
|
90
|
-
...defaultPressedFloralOrgConfig.chatPreviewConfig!.footerConfig,
|
|
91
|
-
suggestionButtonVariant: "dark",
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
floatingEntrypointConfig: {
|
|
95
|
-
...defaultPressedFloralOrgConfig.floatingEntrypointConfig!,
|
|
96
|
-
showOption: "always",
|
|
97
|
-
expansionText: {
|
|
98
|
-
pdp: "Could this be your next keepsake?",
|
|
99
|
-
plp: "Preserving a memory or finding a gift?",
|
|
100
|
-
},
|
|
101
|
-
expandedColor: colorVar(ColorNames.BackgroundDark),
|
|
102
|
-
},
|
|
103
|
-
productCardConfig: {
|
|
104
|
-
...defaultPressedFloralOrgConfig.productCardConfig!,
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
pageCardConfig: {
|
|
108
|
-
...defaultPressedFloralOrgConfig.pageCardConfig!,
|
|
109
|
-
},
|
|
110
|
-
productReviewConfig: {
|
|
111
|
-
...defaultPressedFloralOrgConfig.productReviewConfig!,
|
|
112
|
-
},
|
|
113
|
-
welcomeSectionConfig: {
|
|
114
|
-
...defaultPressedFloralOrgConfig.welcomeSectionConfig!,
|
|
115
|
-
title: "Welcome to Pressed Floral AI!",
|
|
116
|
-
subtitle:
|
|
117
|
-
"Hi, I’m Flora—your Pressed Floral assistant. Let’s find the perfect frame, gift, or keepsake for your flowers.",
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
merchantOverrideCss: `
|
|
121
|
-
/* -------- Floating chat -------- */
|
|
122
|
-
.spiffy-welcome-section-svg-icon {
|
|
123
|
-
color: var(--spiffy-colors-accent-secondary) !important;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/* -------- Reviews card -------- */
|
|
127
|
-
|
|
128
|
-
.spiffy-star-rating-container {
|
|
129
|
-
background-color : var(--spiffy-colors-background-light) !important;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.spiffy-star-rating-container svg {
|
|
133
|
-
fill: var(--spiffy-colors-background-secondary) !important;
|
|
134
|
-
stroke: var(--spiffy-colors-background-secondary) !important;
|
|
135
|
-
color: var(--spiffy-colors-background-secondary) !important;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* --- Social proof customer count text color --- */
|
|
139
|
-
[data-testid="spiffy-social-proof-customer-count-message"] > .spiffy-tw-text-inherit{
|
|
140
|
-
color: var(--spiffy-colors-text-accent) !important;
|
|
141
|
-
}
|
|
142
|
-
[data-testid="spiffy-social-proof-customer-count-message"] > .spiffy-social-proof-customer-count{
|
|
143
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.spiffy-social-proof-suggestion-footer-title{
|
|
147
|
-
color: var(--spiffy-colors-text-secondary) !important;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.spiffy-social-proof-header {
|
|
151
|
-
align-items: center !important;
|
|
152
|
-
gap: 0.5rem !important;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.spiffy-social-proof-header > img{
|
|
156
|
-
height: 13px !important;
|
|
157
|
-
padding-right: 5px !important;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.spiffy-social-proof-header span {
|
|
161
|
-
display: flex !important;
|
|
162
|
-
align-items: center !important;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
[data-testid="spiffy-user-query-button"] > svg, [data-testid="spiffy-chat-preview-user-query-button"] > svg{
|
|
166
|
-
stroke: var(--spiffy-colors-border-medium) !important;
|
|
167
|
-
fill: var(--spiffy-colors-border-medium) !important;
|
|
168
|
-
opacity: 0.5;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/* User message background color override */
|
|
172
|
-
.spiffy-tw-bg-\\[--spiffy-colors-background-dark\\]:has([id^="user-msg-"]) {
|
|
173
|
-
background-color: #525143 !important;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* Suggestion button SVG color */
|
|
177
|
-
[data-testid="spiffy-scrollable-suggestions"] > div > [data-testid="spiffy-suggestion-button"] > svg {
|
|
178
|
-
stroke: var(--spiffy-colors-text-primary) !important;
|
|
179
|
-
fill: var(--spiffy-colors-text-primary) !important;
|
|
180
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/* Responsive order for chatPreviewPLP in the grid */
|
|
184
|
-
:root {
|
|
185
|
-
--chat-preview-order-plp: 5;
|
|
186
|
-
}
|
|
187
|
-
@media (max-width: 1057px) {
|
|
188
|
-
:root {
|
|
189
|
-
--chat-preview-order-plp: 4;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
@media (max-width: 609px) {
|
|
193
|
-
:root {
|
|
194
|
-
--chat-preview-order-plp: 3;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
`,
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
const pressedFloralPageConfig = (): OrgPageConfig => ({
|
|
202
|
-
pageVariants: [
|
|
203
|
-
{
|
|
204
|
-
variantId: "plp",
|
|
205
|
-
variantType: "plp",
|
|
206
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
207
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
208
|
-
widgetMounting: [
|
|
209
|
-
{
|
|
210
|
-
mountingConfigId: "chatPreviewPLP",
|
|
211
|
-
widgetConfigId: "chatPreviewPLP",
|
|
212
|
-
},
|
|
213
|
-
],
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
variantId: "pdpPressedFrame",
|
|
217
|
-
variantType: "pdp",
|
|
218
|
-
variantTests: [
|
|
219
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
220
|
-
{
|
|
221
|
-
testType: PageVariantTestType.ProductId,
|
|
222
|
-
productIdExtractor: "url-resolver-product-id",
|
|
223
|
-
productIds: ["pressed-frame-1"],
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
productIdExtractor: "url-resolver-product-id",
|
|
227
|
-
widgetMounting: [
|
|
228
|
-
{
|
|
229
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
230
|
-
widgetConfigId: "topSuggestionBarPressedFrame",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
234
|
-
widgetConfigId: "topSuggestionBarPressedFrame",
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
238
|
-
widgetConfigId: "topSuggestionBarPressedFrame",
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
mountingConfigId: "chatPreviewPDP",
|
|
242
|
-
widgetConfigId: "chatPreviewPDP",
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
variantId: "pdpBloomArrangement",
|
|
248
|
-
variantType: "pdp",
|
|
249
|
-
variantTests: [
|
|
250
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
251
|
-
{
|
|
252
|
-
testType: PageVariantTestType.ProductId,
|
|
253
|
-
productIdExtractor: "url-resolver-product-id",
|
|
254
|
-
productIds: ["bloom-arrangement-recreation-1"],
|
|
255
|
-
},
|
|
256
|
-
],
|
|
257
|
-
productIdExtractor: "url-resolver-product-id",
|
|
258
|
-
widgetMounting: [
|
|
259
|
-
{
|
|
260
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
261
|
-
widgetConfigId: "topSuggestionBarBloomArrangement",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
265
|
-
widgetConfigId: "topSuggestionBarBloomArrangement",
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
269
|
-
widgetConfigId: "topSuggestionBarBloomArrangement",
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
mountingConfigId: "chatPreviewPDP",
|
|
273
|
-
widgetConfigId: "chatPreviewPDP",
|
|
274
|
-
},
|
|
275
|
-
],
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
variantId: "pdpBirthFlowerCollection",
|
|
279
|
-
variantType: "pdp",
|
|
280
|
-
variantTests: [
|
|
281
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
282
|
-
{
|
|
283
|
-
testType: PageVariantTestType.ProductId,
|
|
284
|
-
productIdExtractor: "url-resolver-product-id",
|
|
285
|
-
productIds: [
|
|
286
|
-
"birth-flower-mini-necklace",
|
|
287
|
-
"birth-flower-necklace",
|
|
288
|
-
"birth-flower-charm",
|
|
289
|
-
"birth-flower-ring",
|
|
290
|
-
],
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
productIdExtractor: "url-resolver-product-id",
|
|
294
|
-
widgetMounting: [
|
|
295
|
-
{
|
|
296
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
297
|
-
widgetConfigId: "topSuggestionBarBirthFlowerCollection",
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
301
|
-
widgetConfigId: "topSuggestionBarBirthFlowerCollection",
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
305
|
-
widgetConfigId: "topSuggestionBarBirthFlowerCollection",
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
mountingConfigId: "chatPreviewPDP",
|
|
309
|
-
widgetConfigId: "chatPreviewPDP",
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
variantId: "pdpOrnamentCollection",
|
|
315
|
-
variantType: "pdp",
|
|
316
|
-
variantTests: [
|
|
317
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
318
|
-
{
|
|
319
|
-
testType: PageVariantTestType.ProductId,
|
|
320
|
-
productIdExtractor: "url-resolver-product-id",
|
|
321
|
-
productIds: ["birth-flower-ornament", "custom-ornament"],
|
|
322
|
-
},
|
|
323
|
-
],
|
|
324
|
-
productIdExtractor: "url-resolver-product-id",
|
|
325
|
-
widgetMounting: [
|
|
326
|
-
{
|
|
327
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
328
|
-
widgetConfigId: "topSuggestionBarOrnamentCollection",
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
332
|
-
widgetConfigId: "topSuggestionBarOrnamentCollection",
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
336
|
-
widgetConfigId: "topSuggestionBarOrnamentCollection",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
mountingConfigId: "chatPreviewPDP",
|
|
340
|
-
widgetConfigId: "chatPreviewPDP",
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
variantId: "pdpPressedFloralNecklace",
|
|
346
|
-
variantType: "pdp",
|
|
347
|
-
variantTests: [
|
|
348
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
349
|
-
{
|
|
350
|
-
testType: PageVariantTestType.ProductId,
|
|
351
|
-
productIdExtractor: "url-resolver-product-id",
|
|
352
|
-
productIds: ["pressed-floral-necklace"],
|
|
353
|
-
},
|
|
354
|
-
],
|
|
355
|
-
productIdExtractor: "url-resolver-product-id",
|
|
356
|
-
widgetMounting: [
|
|
357
|
-
{
|
|
358
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
359
|
-
widgetConfigId: "topSuggestionBarPressedFloralNecklace",
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
363
|
-
widgetConfigId: "topSuggestionBarPressedFloralNecklace",
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
367
|
-
widgetConfigId: "topSuggestionBarPressedFloralNecklace",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
mountingConfigId: "chatPreviewPDP",
|
|
371
|
-
widgetConfigId: "chatPreviewPDP",
|
|
372
|
-
},
|
|
373
|
-
],
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
variantId: "pdpPressedFloralLocket",
|
|
377
|
-
variantType: "pdp",
|
|
378
|
-
variantTests: [
|
|
379
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
380
|
-
{
|
|
381
|
-
testType: PageVariantTestType.ProductId,
|
|
382
|
-
productIdExtractor: "url-resolver-product-id",
|
|
383
|
-
productIds: [
|
|
384
|
-
"forget-me-not-locket",
|
|
385
|
-
"custom-locket",
|
|
386
|
-
"birth-flower-locket",
|
|
387
|
-
],
|
|
388
|
-
},
|
|
389
|
-
],
|
|
390
|
-
productIdExtractor: "url-resolver-product-id",
|
|
391
|
-
widgetMounting: [
|
|
392
|
-
{
|
|
393
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
394
|
-
widgetConfigId: "topSuggestionBarPressedFloralLocket",
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
398
|
-
widgetConfigId: "topSuggestionBarPressedFloralLocket",
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
402
|
-
widgetConfigId: "topSuggestionBarPressedFloralLocket",
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
mountingConfigId: "chatPreviewPDP",
|
|
406
|
-
widgetConfigId: "chatPreviewPDP",
|
|
407
|
-
},
|
|
408
|
-
],
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
variantId: "pdp",
|
|
412
|
-
variantType: "pdp",
|
|
413
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
414
|
-
productIdExtractor: "url-resolver-product-id",
|
|
415
|
-
widgetMounting: [
|
|
416
|
-
{
|
|
417
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
418
|
-
widgetConfigId: "topSuggestionBar",
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
422
|
-
widgetConfigId: "topSuggestionBar",
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
mountingConfigId: "chatPreviewPDP",
|
|
426
|
-
widgetConfigId: "chatPreviewPDP",
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
430
|
-
widgetConfigId: "topSuggestionBar",
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
},
|
|
434
|
-
],
|
|
435
|
-
widgetConfigs: {
|
|
436
|
-
topSuggestionBar: {
|
|
437
|
-
type: WidgetType.SuggestionBarV2,
|
|
438
|
-
widgetConfigId: "topSuggestionsBar",
|
|
439
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
440
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
441
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
442
|
-
variant: "dark",
|
|
443
|
-
hoverVariant: "secondaryDark",
|
|
444
|
-
buttonTexts: {
|
|
445
|
-
default: [
|
|
446
|
-
"Summarize the reviews",
|
|
447
|
-
"How do I care for it?",
|
|
448
|
-
"What are the materials?",
|
|
449
|
-
"Can I customize this?",
|
|
450
|
-
"What makes this a keepsake?",
|
|
451
|
-
],
|
|
452
|
-
},
|
|
453
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
454
|
-
topSuggestionBarPressedFrame: {
|
|
455
|
-
type: WidgetType.SuggestionBarV2,
|
|
456
|
-
widgetConfigId: "topSuggestionsBarPressedFrame",
|
|
457
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
458
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
459
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
460
|
-
variant: "dark",
|
|
461
|
-
hoverVariant: "secondaryDark",
|
|
462
|
-
buttonTexts: {
|
|
463
|
-
default: [
|
|
464
|
-
"Summarize the reviews",
|
|
465
|
-
"How does this process work?",
|
|
466
|
-
"What size should I choose for my flowers?",
|
|
467
|
-
"How soon do you need my flowers after the event?",
|
|
468
|
-
"Will I get to see the final design before it's sent?",
|
|
469
|
-
],
|
|
470
|
-
},
|
|
471
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
472
|
-
topSuggestionBarBloomArrangement: {
|
|
473
|
-
type: WidgetType.SuggestionBarV2,
|
|
474
|
-
widgetConfigId: "topSuggestionsBarBloomArrangement",
|
|
475
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
476
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
477
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
478
|
-
variant: "dark",
|
|
479
|
-
hoverVariant: "secondaryDark",
|
|
480
|
-
buttonTexts: {
|
|
481
|
-
default: [
|
|
482
|
-
"Summarize the reviews",
|
|
483
|
-
"How is this different from the Pressed Frame option?",
|
|
484
|
-
"How do you recreate my arrangement?",
|
|
485
|
-
"What do I need to provide to get started?",
|
|
486
|
-
"Can I choose the types and colors of flowers?",
|
|
487
|
-
],
|
|
488
|
-
},
|
|
489
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
490
|
-
topSuggestionBarBirthFlowerCollection: {
|
|
491
|
-
type: WidgetType.SuggestionBarV2,
|
|
492
|
-
widgetConfigId: "topSuggestionsBarBirthFlowerCollection",
|
|
493
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
494
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
495
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
496
|
-
variant: "dark",
|
|
497
|
-
hoverVariant: "secondaryDark",
|
|
498
|
-
buttonTexts: {
|
|
499
|
-
default: [
|
|
500
|
-
"Summarize the reviews",
|
|
501
|
-
"Is this made with real flowers?",
|
|
502
|
-
"What's the length of the chain?",
|
|
503
|
-
"Is it real gold?",
|
|
504
|
-
"How do I care for it?",
|
|
505
|
-
],
|
|
506
|
-
},
|
|
507
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
508
|
-
topSuggestionBarOrnamentCollection: {
|
|
509
|
-
type: WidgetType.SuggestionBarV2,
|
|
510
|
-
widgetConfigId: "topSuggestionsBarOrnamentCollection",
|
|
511
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
512
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
513
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
514
|
-
variant: "dark",
|
|
515
|
-
hoverVariant: "secondaryDark",
|
|
516
|
-
buttonTexts: {
|
|
517
|
-
default: [
|
|
518
|
-
"Summarize the reviews",
|
|
519
|
-
"What are my options for customizing it?",
|
|
520
|
-
"What is it made from?",
|
|
521
|
-
"What makes this a keepsake?",
|
|
522
|
-
"How do I care for it?",
|
|
523
|
-
],
|
|
524
|
-
},
|
|
525
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
526
|
-
topSuggestionBarPressedFloralNecklace: {
|
|
527
|
-
type: WidgetType.SuggestionBarV2,
|
|
528
|
-
widgetConfigId: "topSuggestionsBarPressedFloralNecklace",
|
|
529
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
530
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
531
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
532
|
-
variant: "dark",
|
|
533
|
-
hoverVariant: "secondaryDark",
|
|
534
|
-
buttonTexts: {
|
|
535
|
-
default: [
|
|
536
|
-
"Summarize the reviews",
|
|
537
|
-
"What is inside the necklace?",
|
|
538
|
-
"Do I need to send my own flowers?",
|
|
539
|
-
"How do I care for it?",
|
|
540
|
-
"What are the materials?",
|
|
541
|
-
],
|
|
542
|
-
},
|
|
543
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
544
|
-
topSuggestionBarPressedFloralLocket: {
|
|
545
|
-
type: WidgetType.SuggestionBarV2,
|
|
546
|
-
widgetConfigId: "topSuggestionsBarPressedFloralLocket",
|
|
547
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
548
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
549
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
550
|
-
variant: "dark",
|
|
551
|
-
hoverVariant: "secondaryDark",
|
|
552
|
-
buttonTexts: {
|
|
553
|
-
default: [
|
|
554
|
-
"Summarize the reviews",
|
|
555
|
-
"What is inside the locket?",
|
|
556
|
-
"Do I need to send my own flowers?",
|
|
557
|
-
"How do I care for it?",
|
|
558
|
-
"What are the materials?",
|
|
559
|
-
],
|
|
560
|
-
},
|
|
561
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
562
|
-
chatPreviewPLP: {
|
|
563
|
-
widgetConfigId: "chatPreviewPLP",
|
|
564
|
-
type: WidgetType.ChatPreview,
|
|
565
|
-
variant: "filled",
|
|
566
|
-
addSeparators: false,
|
|
567
|
-
socialProofConfig: {
|
|
568
|
-
staticPLPImagesLayout: "grid",
|
|
569
|
-
logoName: getCdnAssetURL("long-logo.svg", OrgShortName.PressedFloral),
|
|
570
|
-
customerQuery: "asked how the preservation process works.",
|
|
571
|
-
headerTitle: "AI Assistant",
|
|
572
|
-
suggestionButtonStrings: [
|
|
573
|
-
"Which keepsake is the most popular?",
|
|
574
|
-
"What do clients say about their experience?",
|
|
575
|
-
"What are your top gifts?",
|
|
576
|
-
"How can I customize these pieces? ",
|
|
577
|
-
"Which items are best for preserving a single bloom?",
|
|
578
|
-
],
|
|
579
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
580
|
-
suggestionButtonVariantDefault: "dark",
|
|
581
|
-
suggestionButtonVariantAccent: "dark",
|
|
582
|
-
userQueryButtonConfig: {
|
|
583
|
-
placeholderText: "What questions do you have?",
|
|
584
|
-
icon: "magnifyingGlass",
|
|
585
|
-
},
|
|
586
|
-
},
|
|
587
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
588
|
-
chatPreviewPDP: {
|
|
589
|
-
widgetConfigId: "chatPreviewPDP",
|
|
590
|
-
type: WidgetType.ChatPreview,
|
|
591
|
-
variant: "filled",
|
|
592
|
-
addSeparators: false,
|
|
593
|
-
socialProofConfig: {
|
|
594
|
-
staticPLPImagesLayout: "horizontal",
|
|
595
|
-
logoName: getCdnAssetURL("long-logo.svg", OrgShortName.PressedFloral),
|
|
596
|
-
customerQuery: "asked what moment they should preserve.",
|
|
597
|
-
headerTitle: "AI Assistant",
|
|
598
|
-
suggestionButtonStrings: [
|
|
599
|
-
"What do reviewers think?",
|
|
600
|
-
"How do I send my flowers to you?",
|
|
601
|
-
"If I don't have flowers to send you, can you still create something?",
|
|
602
|
-
"How long does the preservation process take?",
|
|
603
|
-
"How long do these pieces last?",
|
|
604
|
-
],
|
|
605
|
-
staticImageIndex: 0,
|
|
606
|
-
suggestionButtonVariantDefault: "dark",
|
|
607
|
-
suggestionButtonVariantAccent: "dark",
|
|
608
|
-
userQueryButtonConfig: {
|
|
609
|
-
placeholderText: "Ask me anything",
|
|
610
|
-
icon: "send",
|
|
611
|
-
},
|
|
612
|
-
},
|
|
613
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
614
|
-
},
|
|
615
|
-
mountingConfigs: {
|
|
616
|
-
chatPreviewPLP: {
|
|
617
|
-
mountingConfigId: "chatPreviewPLP",
|
|
618
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
619
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
620
|
-
insertionPoint: {
|
|
621
|
-
selector: ".grid.collection-grid",
|
|
622
|
-
insertionType: DOMInsertionType.AFTER,
|
|
623
|
-
},
|
|
624
|
-
style: {
|
|
625
|
-
marginBottom: "24px",
|
|
626
|
-
marginLeft: "20px",
|
|
627
|
-
marginRight: "auto",
|
|
628
|
-
width: "100%",
|
|
629
|
-
gridColumn: "1 / -1",
|
|
630
|
-
gridRow: "2 / 3",
|
|
631
|
-
order: "var(--chat-preview-order-plp, 5)",
|
|
632
|
-
paddingTop: "24px",
|
|
633
|
-
paddingBottom: "24px",
|
|
634
|
-
borderTop: `solid 1px ${pressedFloralColors[ColorNames.BorderLight]}`,
|
|
635
|
-
borderBottom: `solid 1px ${
|
|
636
|
-
pressedFloralColors[ColorNames.BorderLight]
|
|
637
|
-
}`,
|
|
638
|
-
},
|
|
639
|
-
gridInsertionType: GridInsertionType.FIXED_2,
|
|
640
|
-
wrappingElement: {
|
|
641
|
-
element: "div",
|
|
642
|
-
className: "grid-item",
|
|
643
|
-
insertionType: DOMInsertionType.AFTER,
|
|
644
|
-
},
|
|
645
|
-
},
|
|
646
|
-
chatPreviewPDP: {
|
|
647
|
-
mountingConfigId: "chatPreviewPDP",
|
|
648
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
649
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
650
|
-
insertionPoint: {
|
|
651
|
-
selector:
|
|
652
|
-
".shopify-section.type_Carousel_Info_Popup, .shopify-section.type_Product_Main",
|
|
653
|
-
insertionType: DOMInsertionType.AFTER,
|
|
654
|
-
},
|
|
655
|
-
style: {
|
|
656
|
-
width: "95%",
|
|
657
|
-
marginTop: "40px",
|
|
658
|
-
marginLeft: "auto",
|
|
659
|
-
marginRight: "auto",
|
|
660
|
-
paddingTop: "24px",
|
|
661
|
-
paddingBottom: "24px",
|
|
662
|
-
borderTop: `solid 1px ${pressedFloralColors[ColorNames.BorderLight]}`,
|
|
663
|
-
borderBottom: `solid 1px ${
|
|
664
|
-
pressedFloralColors[ColorNames.BorderLight]
|
|
665
|
-
}`,
|
|
666
|
-
},
|
|
667
|
-
},
|
|
668
|
-
topSuggestionBarPDP: {
|
|
669
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
670
|
-
containerId: TOP_SUGGESTION_BAR_PDP_ID,
|
|
671
|
-
testId: TOP_SUGGESTION_BAR_TESTID,
|
|
672
|
-
insertionPoint: {
|
|
673
|
-
selector: ".product-title-wrapper",
|
|
674
|
-
insertionType: DOMInsertionType.ADJACENT_BEFORE_END,
|
|
675
|
-
},
|
|
676
|
-
style: {
|
|
677
|
-
marginTop: "15px",
|
|
678
|
-
},
|
|
679
|
-
},
|
|
680
|
-
topSuggestionBarPDPStepNav: {
|
|
681
|
-
mountingConfigId: "topSuggestionBarPDPStepNav",
|
|
682
|
-
containerId: "spiffy-top-suggestion-bar-step-nav-id",
|
|
683
|
-
testId: TOP_SUGGESTION_BAR_TESTID,
|
|
684
|
-
insertionPoint: {
|
|
685
|
-
selector: ".step-nav > div:first-child",
|
|
686
|
-
insertionType: DOMInsertionType.AFTER,
|
|
687
|
-
},
|
|
688
|
-
style: {
|
|
689
|
-
marginTop: "15px",
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
topSuggestionBarPDPVariants: {
|
|
693
|
-
mountingConfigId: "topSuggestionBarPDPVariants",
|
|
694
|
-
containerId: "spiffy-top-suggestion-bar-variants-id",
|
|
695
|
-
testId: TOP_SUGGESTION_BAR_TESTID,
|
|
696
|
-
insertionPoint: {
|
|
697
|
-
selector:
|
|
698
|
-
".module.variants.custom-box.block-variants.scheme.color-scheme-1.same-scheme",
|
|
699
|
-
insertionType: DOMInsertionType.BEFORE,
|
|
700
|
-
},
|
|
701
|
-
style: {
|
|
702
|
-
marginBottom: "15px",
|
|
703
|
-
marginTop: "-15px",
|
|
704
|
-
width: "100%",
|
|
705
|
-
maxWidth: "100%",
|
|
706
|
-
boxSizing: "border-box",
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
});
|
|
711
|
-
|
|
712
|
-
const pressedFloralOrgInfo = {
|
|
713
|
-
shortName: OrgShortName.PressedFloral,
|
|
714
|
-
name: "Pressed Floral AI",
|
|
715
|
-
domain: "pressedfloral.com",
|
|
716
|
-
defaultProductId: "default-product-id",
|
|
717
|
-
alwaysEnabledMerchants: true,
|
|
718
|
-
orgUIConfig: pressedFloralOrgUIConfig,
|
|
719
|
-
orgColors: () => pressedFloralColors,
|
|
720
|
-
orgPageConfig: pressedFloralPageConfig,
|
|
721
|
-
} satisfies BasicOrgInfoType;
|
|
722
|
-
|
|
723
|
-
export {
|
|
724
|
-
pressedFloralOrgInfo,
|
|
725
|
-
pressedFloralOrgUIConfig,
|
|
726
|
-
pressedFloralColors,
|
|
727
|
-
pressedFloralPageConfig,
|
|
728
|
-
};
|