@envive-ai/react-hooks 0.1.1 → 0.1.3
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/adapters/amplitude/index.cjs +14 -0
- package/dist/adapters/amplitude/index.d.cts +4 -0
- package/dist/adapters/amplitude/index.d.ts +4 -0
- package/dist/adapters/amplitude/index.js +12 -0
- package/dist/api-BtzLHcfU.cjs +268 -0
- package/dist/api-kpPTZhV9.js +189 -0
- package/dist/application/config/index.cjs +34 -0
- package/dist/application/config/index.d.cts +14 -0
- package/dist/application/config/index.d.ts +14 -0
- package/dist/application/config/index.js +32 -0
- package/dist/application/models/graphql/index.cjs +13 -0
- package/dist/application/models/graphql/index.d.cts +2 -0
- package/dist/application/models/graphql/index.d.ts +2 -0
- package/dist/application/models/graphql/index.js +12 -0
- package/dist/application/models/guards/api/index.cjs +15 -0
- package/dist/application/models/guards/api/index.d.cts +3 -0
- package/dist/application/models/guards/api/index.d.ts +3 -0
- package/dist/application/models/guards/api/index.js +4 -0
- package/dist/application/models/index.cjs +72 -0
- package/dist/application/models/index.d.cts +10 -0
- package/dist/application/models/index.d.ts +10 -0
- package/dist/application/models/index.js +12 -0
- package/dist/application/models/utilityTypes/index.cjs +1 -0
- package/dist/application/models/utilityTypes/index.d.cts +2 -0
- package/dist/application/models/utilityTypes/index.d.ts +2 -0
- package/dist/application/models/utilityTypes/index.js +3 -0
- package/dist/application/models/variantInfo/index.cjs +1 -0
- package/dist/application/models/variantInfo/index.d.cts +2 -0
- package/dist/application/models/variantInfo/index.d.ts +2 -0
- package/dist/application/models/variantInfo/index.js +3 -0
- package/dist/application/service/customerService/index.cjs +4 -0
- package/dist/application/service/customerService/index.d.cts +3 -0
- package/dist/application/service/customerService/index.d.ts +3 -0
- package/dist/application/service/customerService/index.js +4 -0
- package/dist/application/service/index.cjs +761 -0
- package/dist/application/service/index.d.cts +407 -0
- package/dist/application/service/index.d.ts +407 -0
- package/dist/application/service/index.js +727 -0
- package/dist/application/utils/index.cjs +38 -0
- package/dist/application/utils/index.d.cts +254 -0
- package/dist/application/utils/index.d.ts +254 -0
- package/dist/application/utils/index.js +12 -0
- package/dist/atomStore-B3tsg6mF.cjs +0 -0
- package/dist/atomStore-BNQyGmU_.cjs +57 -0
- package/dist/atomStore-FSZd_20F.js +1 -0
- package/dist/atomStore-TnLPtYns.js +31 -0
- package/dist/atoms/app/index.cjs +17 -0
- package/dist/atoms/app/index.d.cts +33 -0
- package/dist/atoms/app/index.d.ts +33 -0
- package/dist/atoms/app/index.js +12 -0
- package/dist/atoms/atomStore/index.cjs +7 -0
- package/dist/atoms/atomStore/index.d.cts +23 -0
- package/dist/atoms/atomStore/index.d.ts +23 -0
- package/dist/atoms/atomStore/index.js +4 -0
- package/dist/atoms/chat/index.cjs +41 -0
- package/dist/atoms/chat/index.d.cts +159 -0
- package/dist/atoms/chat/index.d.ts +159 -0
- package/dist/atoms/chat/index.js +12 -0
- package/dist/atoms/globalSearch/index.cjs +6 -0
- package/dist/atoms/globalSearch/index.d.cts +23 -0
- package/dist/atoms/globalSearch/index.d.ts +23 -0
- package/dist/atoms/globalSearch/index.js +3 -0
- package/dist/atoms/org/index.cjs +41 -0
- package/dist/atoms/org/index.d.cts +93 -0
- package/dist/atoms/org/index.d.ts +93 -0
- package/dist/atoms/org/index.js +13 -0
- package/dist/atoms/search/index.cjs +44 -0
- package/dist/atoms/search/index.d.cts +11 -0
- package/dist/atoms/search/index.d.ts +11 -0
- package/dist/atoms/search/index.js +14 -0
- package/dist/{bandolier-3rHPPhkF.cjs → bandolier-CQrxBHsk.cjs} +57 -47
- package/dist/{bandolier-DpF-HUG_.js → bandolier-Di9DpZ8e.js} +18 -8
- package/dist/{carpe-BG7Q_KCG.cjs → carpe-3NJOR-Rj.cjs} +36 -26
- package/dist/{carpe-DLuc07V7.js → carpe-DmWKaIQq.js} +18 -8
- package/dist/{cdnService-CAyO3axV.js → cdnService-BNreZjqy.js} +1 -1
- package/dist/{cdnService-DIF1i7VC.cjs → cdnService-vLxePdrU.cjs} +1 -1
- package/dist/chat-CCQMmhc1.cjs +5057 -0
- package/dist/chat-CCgyDehy.cjs +151 -0
- package/dist/chat-Dk6KPb1K.js +25 -0
- package/dist/chat-H6YcCS4I.js +4113 -0
- package/dist/components-CScS7Ii-.cjs +28 -0
- package/dist/components-DAQxVIn9.js +10 -0
- package/dist/config/locators/components/chat/index.cjs +23 -0
- package/dist/config/locators/components/chat/index.d.cts +2 -0
- package/dist/config/locators/components/chat/index.d.ts +2 -0
- package/dist/config/locators/components/chat/index.js +3 -0
- package/dist/config/locators/components/chat/variants/index.cjs +28 -0
- package/dist/config/locators/components/chat/variants/index.d.cts +15 -0
- package/dist/config/locators/components/chat/variants/index.d.ts +15 -0
- package/dist/config/locators/components/chat/variants/index.js +16 -0
- package/dist/config/locators/components/index.cjs +5 -0
- package/dist/config/locators/components/index.d.cts +2 -0
- package/dist/config/locators/components/index.d.ts +2 -0
- package/dist/config/locators/components/index.js +3 -0
- package/dist/config/locators/components/search/index.cjs +12 -0
- package/dist/config/locators/components/search/index.d.cts +7 -0
- package/dist/config/locators/components/search/index.d.ts +7 -0
- package/dist/config/locators/components/search/index.js +8 -0
- package/dist/config/locators/index.cjs +47 -0
- package/dist/config/locators/index.d.cts +24 -0
- package/dist/config/locators/index.d.ts +24 -0
- package/dist/config/locators/index.js +6 -0
- package/dist/contexts/index.cjs +21 -10
- package/dist/contexts/index.d.cts +12 -4
- package/dist/contexts/index.d.ts +12 -4
- package/dist/contexts/index.js +16 -5
- package/dist/{coterie-DUdvJvAs.cjs → coterie-D0UFsFC5.cjs} +26 -15
- package/dist/{coterie-FybYN_xE.js → coterie-JblRmIZL.js} +19 -8
- package/dist/customerService-C4wc0glQ.js +22 -0
- package/dist/customerService-zsDlp7g2.cjs +35 -0
- package/dist/custservice-types-D8Npo-5Z.js +22 -0
- package/dist/custservice-types-E9_OSaZ7.cjs +34 -0
- package/dist/default-C5ZTV8HA.cjs +4 -0
- package/dist/{default-CL94oJfj.js → default-DPv8m-eQ.js} +1 -1
- package/dist/{default-CKyjzyLc.cjs → default-DRKBosow.cjs} +1 -1
- package/dist/default-ao0vRl0W.js +4 -0
- package/dist/divIds-BWvq-i6I.js +22 -0
- package/dist/{divIds-BOqjn3bE.cjs → divIds-CFyAjjp3.cjs} +6 -79
- package/dist/{dreamlandBaby-WXcbsTXO.js → dreamlandBaby-CyS8oW8X.js} +18 -8
- package/dist/{dreamlandBaby-C8yzW4Nl.cjs → dreamlandBaby-y7kSvwH2.cjs} +29 -19
- package/dist/embedded-BlXJUbik.cjs +130 -0
- package/dist/embedded-C1jvFj3v.js +22 -0
- package/dist/events/index.cjs +4 -0
- package/dist/events/index.d.cts +45 -0
- package/dist/events/index.d.ts +45 -0
- package/dist/events/index.js +3 -0
- package/dist/events-DgFzlVJR.js +77 -0
- package/dist/events-bH-24eRW.cjs +89 -0
- package/dist/featureFlagService-CroFRxvD.d.cts +17 -0
- package/dist/featureFlagService-NkJ2fuEj.d.ts +17 -0
- package/dist/featureGates-BMWXU0dS.d.ts +90 -0
- package/dist/featureGates-N_gyHCTn.d.cts +90 -0
- package/dist/{fiveCbd-CZYzZPl3.cjs → fiveCbd-CXVuIBiZ.cjs} +33 -23
- package/dist/{fiveCbd-kl6CoxoF.js → fiveCbd-Cyc3-Ab9.js} +18 -8
- package/dist/{forLoveAndLemons-BNu-PfFB.cjs → forLoveAndLemons-CxQS0USq.cjs} +18 -10
- package/dist/{forLoveAndLemons-BD2qh-6B.js → forLoveAndLemons-D8mcgmdk.js} +14 -6
- package/dist/{types-DGoFEos_.d.cts → frontendConfig-KeNqU1wa.d.cts} +39 -275
- package/dist/{types-D4vlfTd0.d.ts → frontendConfig-cPvCTWm6.d.ts} +39 -275
- package/dist/globalSearch-BC0rOX3E.js +13 -0
- package/dist/globalSearch-hxbXekus.cjs +38 -0
- package/dist/{greenpan-LDDXZTsh.js → greenpan-JM6SHcqO.js} +18 -8
- package/dist/{greenpan-D6fDmjU8.cjs → greenpan-eIzyxVsn.cjs} +31 -21
- package/dist/{grooveLife-D-1qfxwj.js → grooveLife-BmsUc2cD.js} +19 -9
- package/dist/{grooveLife-CcylXabB.cjs → grooveLife-KdTizVUn.cjs} +30 -20
- package/dist/{homegrownCannabis-BEZzwFlm.cjs → homegrownCannabis-C0GDai4r.cjs} +28 -17
- package/dist/{homegrownCannabis-BScZhy9v.js → homegrownCannabis-a9udocBT.js} +18 -7
- package/dist/hooks/index.cjs +38 -27
- package/dist/hooks/index.d.cts +20 -310
- package/dist/hooks/index.d.ts +16 -307
- package/dist/hooks/index.js +16 -5
- package/dist/{contexts-C4Iz162H.cjs → hooks-DjOa7ihH.cjs} +300 -4600
- package/dist/{contexts-Dq7tO_0y.js → hooks-fneW8SWw.js} +121 -4428
- package/dist/index-BQErGgfM.d.cts +202 -0
- package/dist/index-BdNKc2ix.d.cts +8 -0
- package/dist/index-BrXuc_Ck.d.cts +24 -0
- package/dist/index-C4zjAR1c.d.cts +227 -0
- package/dist/index-CGB6CAmr.d.ts +6 -0
- package/dist/index-CIco0cCQ.d.ts +183 -0
- package/dist/index-COG1kOZG.d.ts +749 -0
- package/dist/index-CVxe7FpL.d.cts +6 -0
- package/dist/index-Cn1SeI5y.d.cts +183 -0
- package/dist/index-CnqHN_jz.d.ts +202 -0
- package/dist/index-Cqg6ltII.d.ts +38 -0
- package/dist/index-DE_7Q8qK.d.ts +94 -0
- package/dist/index-Da0UzyI9.d.ts +24 -0
- package/dist/index-DbWWcYax.d.cts +749 -0
- package/dist/index-DtoVXd6O.d.cts +97 -0
- package/dist/index-JClBRnSX.d.cts +94 -0
- package/dist/index-ghzD_356.d.ts +8 -0
- package/dist/index-hdbCEjYy.d.cts +38 -0
- package/dist/index-luJrHgPN.d.ts +97 -0
- package/dist/index-tfRj22E1.d.ts +227 -0
- package/dist/interceptors/index.cjs +14 -0
- package/dist/interceptors/index.d.cts +25 -0
- package/dist/interceptors/index.d.ts +25 -0
- package/dist/interceptors/index.js +13 -0
- package/dist/{jackArcher-BwMClqMP.cjs → jackArcher-B6OJ0N3a.cjs} +35 -25
- package/dist/{jackArcher-cJJVulZ9.js → jackArcher-B9fe4Hv8.js} +18 -8
- package/dist/{jordanCraig-DGsCO2o1.cjs → jordanCraig-0CB_m_ts.cjs} +78 -68
- package/dist/{jordanCraig-DNDMT0hn.js → jordanCraig-DNm1iw1L.js} +18 -8
- package/dist/{kindredBravely-ROyesnVk.js → kindredBravely-CZgt7DJA.js} +17 -7
- package/dist/{kindredBravely-wV2XT1r_.cjs → kindredBravely-KvYPbckZ.cjs} +28 -18
- package/dist/{kutFromTheKloth-B6GR8tO9.cjs → kutFromTheKloth-BxgtWZs9.cjs} +29 -19
- package/dist/{kutFromTheKloth-BCUOHegv.js → kutFromTheKloth-SmteSZjk.js} +18 -8
- package/dist/{larryAndSerges-CIqB9tKz.cjs → larryAndSerges-6O_u3L90.cjs} +21 -12
- package/dist/{larryAndSerges-CqS02fnX.js → larryAndSerges-DO-zG8ES.js} +14 -5
- package/dist/{leapsAndRebounds-j4YqSvNb.js → leapsAndRebounds-BK62AmXw.js} +18 -8
- package/dist/{leapsAndRebounds-CFj9F_z1.cjs → leapsAndRebounds-gPsWVUmQ.cjs} +31 -21
- package/dist/locators-C2DX_nX6.js +1 -0
- package/dist/locators-CUpyd9Wt.cjs +0 -0
- package/dist/logger-Be0NyKaY.cjs +25 -0
- package/dist/logger-BexDfK3W.js +19 -0
- package/dist/{longevityrx-C-Yc5LPR.cjs → longevityrx-DjKbwJo3.cjs} +26 -16
- package/dist/{longevityrx-9sUQZCVZ.js → longevityrx-eq5TeUcy.js} +18 -8
- package/dist/{lookOptic-dbaaorhR.cjs → lookOptic-BPPqms_j.cjs} +26 -16
- package/dist/{lookOptic-CQryypdM.js → lookOptic-jRpBXQCN.js} +18 -8
- package/dist/{mantraBrand-CifBQtHp.js → mantraBrand-BZOZfkUK.js} +19 -9
- package/dist/{mantraBrand-D5MTZ6Mj.cjs → mantraBrand-Cp8zptkj.cjs} +47 -37
- package/dist/{medterra-BCrXdmFE.cjs → medterra-BHYCBgvQ.cjs} +38 -28
- package/dist/{medterra-DhENCf-m.js → medterra-CShe6CLY.js} +18 -8
- package/dist/{modells-C_P_894S.cjs → modells-DE7-gmjK.cjs} +32 -22
- package/dist/{modells-aQrV10D7.js → modells-DFyJxNwT.js} +18 -8
- package/dist/nodeSelector-DpKXszfU.d.ts +30 -0
- package/dist/nodeSelector-vKB44CDB.d.cts +30 -0
- package/dist/org-Bkn6fl6I.cjs +106 -0
- package/dist/org-CX8HFbc9.js +63 -0
- package/dist/{pressedFloral-DErfwwl0.cjs → pressedFloral-BMkCVs8c.cjs} +37 -27
- package/dist/{pressedFloral-D-amnTQK.js → pressedFloral-aK9br-LF.js} +18 -8
- package/dist/search-DtIFZeMA.cjs +743 -0
- package/dist/search-eWwg8pNn.js +542 -0
- package/dist/search-filter-types-ByJnFPc4.d.cts +101 -0
- package/dist/search-filter-types-DPgeG8FS.d.ts +101 -0
- package/dist/{skinPerfection-DRVPJp3h.js → skinPerfection-B9G6yLM2.js} +18 -8
- package/dist/{skinPerfection-DF6nQXjh.cjs → skinPerfection-BBC1q65Z.cjs} +26 -16
- package/dist/{snapSupplements-CLZjItJi.cjs → snapSupplements-D7hx6Kgj.cjs} +26 -16
- package/dist/{snapSupplements-Yxs4jgC-.js → snapSupplements-DKvJl__T.js} +18 -8
- package/dist/{spanx-Cpbot5J5.cjs → spanx-D-ZKkxjM.cjs} +32 -22
- package/dist/{spanx-DVDyAyFC.js → spanx-yl7YfVrf.js} +20 -10
- package/dist/{spanxStaging-DbaVonN6.cjs → spanxStaging-CXeIg6zI.cjs} +36 -26
- package/dist/{spanxStaging-DAiFEMRU.js → spanxStaging-DzGXL9wD.js} +20 -10
- package/dist/suggestionBarV2-types-B0RbMStE.js +9 -0
- package/dist/suggestionBarV2-types-DG3Ekk44.cjs +15 -0
- package/dist/{supergoop-B5VQlsoe.cjs → supergoop-CSpDPOpl.cjs} +29 -18
- package/dist/{supergoop-C4McrZPT.js → supergoop-D0UkuRiA.js} +18 -7
- package/dist/test-types-C9b_OdfO.d.ts +39 -0
- package/dist/test-types-CpKCxk8U.d.cts +39 -0
- package/dist/types/index.cjs +6 -0
- package/dist/types/index.d.cts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +4 -0
- package/dist/types-BE4faOO_.d.cts +32 -0
- package/dist/{types-DZzSQ5a6.js → types-C3S1H4hl.js} +58 -58
- package/dist/types-TD8g7LnH.d.ts +32 -0
- package/dist/{types-QJObznro.cjs → types-lcjuhDBt.cjs} +58 -58
- package/dist/{uniqueVintage-BLp_UtBR.cjs → uniqueVintage-DygVpCqU.cjs} +48 -38
- package/dist/{uniqueVintage-CS4TgOJW.js → uniqueVintage-_n0FZFVj.js} +18 -8
- package/dist/useMessageInterceptor-BP6gzo8a.js +57 -0
- package/dist/useMessageInterceptor-BnUG2Pzt.cjs +72 -0
- package/dist/utilityTypes-DMdsI0DG.cjs +0 -0
- package/dist/utilityTypes-UWdNHElu.js +1 -0
- package/dist/variant-DH4zusMi.d.cts +12 -0
- package/dist/variant-DTEqSBHd.d.ts +12 -0
- package/dist/variantInfo-BTvC6CQh.js +1 -0
- package/dist/variantInfo-Cz2YXraO.cjs +0 -0
- package/dist/{venaCbd-DfnFV7Qp.js → venaCbd-BS0dvdBm.js} +18 -8
- package/dist/{venaCbd-BxmadOeJ.cjs → venaCbd-Pqg0bj-P.cjs} +31 -21
- package/dist/{westonJonBoucher-C0FE4Wup.js → westonJonBoucher-CLw8Hy6u.js} +18 -8
- package/dist/{westonJonBoucher-BZdusJgo.cjs → westonJonBoucher-CeA0jwxe.cjs} +31 -21
- package/dist/{wineEnthusiast-CmhNg47M.js → wineEnthusiast-M9P18d1w.js} +18 -8
- package/dist/{wineEnthusiast-DQxdV8Yg.cjs → wineEnthusiast-gHBaQMbe.cjs} +30 -20
- package/dist/{wolfMattress-vMvqmwgI.js → wolfMattress-BQHjoQYu.js} +18 -7
- package/dist/{wolfMattress-CqyOUgPB.cjs → wolfMattress-CdmN-Evm.cjs} +30 -19
- package/dist/{wolfTactical-DvqxZtoA.js → wolfTactical-Cc2ZLBRh.js} +18 -8
- package/dist/{wolfTactical-q3TVDP85.cjs → wolfTactical-dObnPgAG.cjs} +30 -20
- package/package.json +101 -3
- package/src/adapters/amplitude/amplitudeAdapter.ts +1 -1
- package/src/adapters/spiffy/commerce/api.ts +1 -1
- package/src/adapters/spiffy/commerce/graphql.ts +61 -37
- package/src/application/config/index.ts +1 -0
- package/src/application/models/index.ts +102 -17
- package/src/application/models/supportedOrgs.ts +89 -65
- package/src/application/service/index.ts +32 -0
- package/src/application/service/pageVariantService.ts +201 -114
- package/src/application/service/searchService.ts +1 -1
- package/src/application/service/windowFrontendConfigService.ts +40 -18
- package/src/application/utils/index.ts +22 -3
- package/src/atoms/app/variant.ts +48 -29
- package/src/atoms/atomStore/index.ts +1 -0
- package/src/atoms/chat/messageQueue.ts +34 -17
- package/src/atoms/chat/performanceMetrics.ts +51 -38
- package/src/atoms/chat/renderedWidgetRefs.ts +14 -15
- package/src/atoms/globalSearch/index.ts +1 -0
- package/src/atoms/org/org.ts +1 -3
- package/src/atoms/org/orgUIConfig.ts +31 -24
- package/src/contexts/chatContext.tsx +124 -72
- package/src/contexts/systemSettingsContext.tsx +21 -8
- package/src/events/registerAnalyticsListeners.ts +13 -9
- package/src/hooks/useFileUpload.ts +9 -7
- package/src/hooks/useSearch.tsx +9 -6
- package/src/initialize.ts +1 -1
- package/src/interceptors/index.ts +3 -0
- package/src/main.tsx +1 -1
- package/src/types/index.ts +4 -0
- package/src/types/search-filter-types.ts +7 -7
- package/dist/GridInsertionService-C00upKLB.js +0 -40
- package/dist/GridInsertionService-CMJVhD6q.cjs +0 -52
- package/dist/custservice-types-BgjGHCtD.cjs +0 -16
- package/dist/custservice-types-V6FWABp4.js +0 -10
- package/dist/default-DMtAjA62.cjs +0 -4
- package/dist/default-zcmT2032.js +0 -4
- package/dist/divIds-Cfp3v_rG.js +0 -35
- package/dist/domInsertionService-BtzuH2Sc.js +0 -65
- package/dist/domInsertionService-Cb9814oM.cjs +0 -89
- package/dist/suggestionBarV2-types-XHYD3j8E.cjs +0 -46
- package/dist/suggestionBarV2-types-aiQmVx5m.js +0 -34
- package/src/atoms/index.ts +0 -5
- package/src/index.ts +0 -31
- /package/dist/{entrypoints-RmIbdYxh.js → entrypoints-CmmOszXO.js} +0 -0
- /package/dist/{entrypoints-C8JwiMYA.cjs → entrypoints-fowCLUT2.cjs} +0 -0
- /package/dist/{enviveConfigContext-Dfr2VH6u.cjs → enviveConfigContext-Bs8kepnO.cjs} +0 -0
- /package/dist/{enviveConfigContext-CUGLpPGU.js → enviveConfigContext-CWVdVWKW.js} +0 -0
- /package/dist/{socialProofClasses-CaA83vI4.cjs → socialProofClasses-BYLiEXpU.cjs} +0 -0
- /package/dist/{socialProofClasses-KB7zOMmg.js → socialProofClasses-CkJufEGb.js} +0 -0
- /package/src/atoms/{atomStore.ts → atomStore/atomStore.ts} +0 -0
- /package/src/atoms/{globalSearch.ts → globalSearch/globalSearch.ts} +0 -0
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
require('./
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
require('./events-bH-24eRW.cjs');
|
|
2
|
+
require('./logger-Be0NyKaY.cjs');
|
|
3
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
4
|
+
const require_types = require('./types-lcjuhDBt.cjs');
|
|
5
|
+
require('./enviveConfigContext-Bs8kepnO.cjs');
|
|
6
|
+
require('./atomStore-BNQyGmU_.cjs');
|
|
7
|
+
require('./api-BtzLHcfU.cjs');
|
|
8
|
+
require('./customerService-zsDlp7g2.cjs');
|
|
9
|
+
require('./utilityTypes-DMdsI0DG.cjs');
|
|
10
|
+
require('./variantInfo-Cz2YXraO.cjs');
|
|
11
|
+
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
|
+
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
+
const require_cdnService = require('./cdnService-vLxePdrU.cjs');
|
|
14
|
+
require('./chat-CCgyDehy.cjs');
|
|
15
|
+
require('./components-CScS7Ii-.cjs');
|
|
16
|
+
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
|
+
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
+
const require_default = require('./default-DRKBosow.cjs');
|
|
9
19
|
|
|
10
20
|
//#region src/merchants/jordanCraig/jordanCraig.ts
|
|
11
21
|
const jordanCraigColors = {
|
|
@@ -202,7 +212,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
202
212
|
{ testType: require_types.PageVariantTestType.UrlResolver },
|
|
203
213
|
{
|
|
204
214
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
205
|
-
featureGate:
|
|
215
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
206
216
|
},
|
|
207
217
|
{
|
|
208
218
|
testType: require_types.PageVariantTestType.QueryParam,
|
|
@@ -234,7 +244,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
234
244
|
variantType: "plp",
|
|
235
245
|
variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
|
|
236
246
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
237
|
-
featureGate:
|
|
247
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
238
248
|
}],
|
|
239
249
|
plpIdExtractor: "url-resolver-plp-id",
|
|
240
250
|
widgetMounting: [
|
|
@@ -257,7 +267,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
257
267
|
variantType: "pdp",
|
|
258
268
|
variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
|
|
259
269
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
260
|
-
featureGate:
|
|
270
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
261
271
|
}],
|
|
262
272
|
productIdExtractor: "url-resolver-product-id",
|
|
263
273
|
widgetMounting: [
|
|
@@ -288,7 +298,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
288
298
|
variantType: "homepage",
|
|
289
299
|
variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
|
|
290
300
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
291
|
-
featureGate:
|
|
301
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
292
302
|
}],
|
|
293
303
|
widgetMounting: [{
|
|
294
304
|
mountingConfigId: "searchIconEntryPoint",
|
|
@@ -303,7 +313,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
303
313
|
variantType: "other",
|
|
304
314
|
variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
|
|
305
315
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
306
|
-
featureGate:
|
|
316
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
307
317
|
}],
|
|
308
318
|
widgetMounting: [{
|
|
309
319
|
mountingConfigId: "searchIconEntryPoint",
|
|
@@ -933,7 +943,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
933
943
|
topSuggestionsBar: {
|
|
934
944
|
widgetConfigId: "topSuggestionsBar",
|
|
935
945
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
936
|
-
metricDisplayLocation:
|
|
946
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
937
947
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
938
948
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
939
949
|
variant: "secondary",
|
|
@@ -950,7 +960,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
950
960
|
bottomSuggestionsBar: {
|
|
951
961
|
widgetConfigId: "bottomSuggestionsBar",
|
|
952
962
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
953
|
-
metricDisplayLocation:
|
|
963
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
954
964
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
955
965
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
956
966
|
variant: "darkPrimary",
|
|
@@ -967,7 +977,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
967
977
|
topSuggestionsBarOuterwear: {
|
|
968
978
|
widgetConfigId: "topSuggestionsBarOuterwear",
|
|
969
979
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
970
|
-
metricDisplayLocation:
|
|
980
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
971
981
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
972
982
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
973
983
|
variant: "secondary",
|
|
@@ -986,7 +996,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
986
996
|
bottomSuggestionsBarOuterwear: {
|
|
987
997
|
widgetConfigId: "bottomSuggestionsBarOuterwear",
|
|
988
998
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
989
|
-
metricDisplayLocation:
|
|
999
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
990
1000
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
991
1001
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
992
1002
|
variant: "darkPrimary",
|
|
@@ -1005,7 +1015,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1005
1015
|
topSuggestionsBarTshirts: {
|
|
1006
1016
|
widgetConfigId: "topSuggestionsBarTshirts",
|
|
1007
1017
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1008
|
-
metricDisplayLocation:
|
|
1018
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1009
1019
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1010
1020
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1011
1021
|
variant: "secondary",
|
|
@@ -1023,7 +1033,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1023
1033
|
bottomSuggestionsBarTshirts: {
|
|
1024
1034
|
widgetConfigId: "bottomSuggestionsBarTshirts",
|
|
1025
1035
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1026
|
-
metricDisplayLocation:
|
|
1036
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1027
1037
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1028
1038
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1029
1039
|
variant: "darkPrimary",
|
|
@@ -1041,7 +1051,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1041
1051
|
topSuggestionsBarSweatshirts: {
|
|
1042
1052
|
widgetConfigId: "topSuggestionsBarSweatshirts",
|
|
1043
1053
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1044
|
-
metricDisplayLocation:
|
|
1054
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1045
1055
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1046
1056
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1047
1057
|
variant: "secondary",
|
|
@@ -1059,7 +1069,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1059
1069
|
bottomSuggestionsBarSweatshirts: {
|
|
1060
1070
|
widgetConfigId: "bottomSuggestionsBarSweatshirts",
|
|
1061
1071
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1062
|
-
metricDisplayLocation:
|
|
1072
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1063
1073
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1064
1074
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1065
1075
|
variant: "darkPrimary",
|
|
@@ -1077,7 +1087,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1077
1087
|
topSuggestionsBarSweatpants: {
|
|
1078
1088
|
widgetConfigId: "topSuggestionsBarSweatpants",
|
|
1079
1089
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1080
|
-
metricDisplayLocation:
|
|
1090
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1081
1091
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1082
1092
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1083
1093
|
variant: "secondary",
|
|
@@ -1095,7 +1105,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1095
1105
|
bottomSuggestionsBarSweatpants: {
|
|
1096
1106
|
widgetConfigId: "bottomSuggestionsBarSweatpants",
|
|
1097
1107
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1098
|
-
metricDisplayLocation:
|
|
1108
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1099
1109
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1100
1110
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1101
1111
|
variant: "darkPrimary",
|
|
@@ -1113,7 +1123,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1113
1123
|
topSuggestionsBarGraphic: {
|
|
1114
1124
|
widgetConfigId: "topSuggestionsBarGraphic",
|
|
1115
1125
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1116
|
-
metricDisplayLocation:
|
|
1126
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1117
1127
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1118
1128
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1119
1129
|
variant: "secondary",
|
|
@@ -1130,7 +1140,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1130
1140
|
bottomSuggestionsBarGraphic: {
|
|
1131
1141
|
widgetConfigId: "bottomSuggestionsBarGraphic",
|
|
1132
1142
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1133
|
-
metricDisplayLocation:
|
|
1143
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1134
1144
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1135
1145
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1136
1146
|
variant: "darkPrimary",
|
|
@@ -1147,7 +1157,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1147
1157
|
topSuggestionsBarDenim: {
|
|
1148
1158
|
widgetConfigId: "topSuggestionsBarDenim",
|
|
1149
1159
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1150
|
-
metricDisplayLocation:
|
|
1160
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1151
1161
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1152
1162
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1153
1163
|
variant: "secondary",
|
|
@@ -1165,7 +1175,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1165
1175
|
bottomSuggestionsBarDenim: {
|
|
1166
1176
|
widgetConfigId: "bottomSuggestionsBarDenim",
|
|
1167
1177
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1168
|
-
metricDisplayLocation:
|
|
1178
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1169
1179
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1170
1180
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1171
1181
|
variant: "darkPrimary",
|
|
@@ -1183,7 +1193,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1183
1193
|
topSuggestionsBarTwillFleece: {
|
|
1184
1194
|
widgetConfigId: "topSuggestionsBarTwillFleece",
|
|
1185
1195
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1186
|
-
metricDisplayLocation:
|
|
1196
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1187
1197
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1188
1198
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1189
1199
|
variant: "secondary",
|
|
@@ -1201,7 +1211,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1201
1211
|
bottomSuggestionsBarTwillFleece: {
|
|
1202
1212
|
widgetConfigId: "bottomSuggestionsBarTwillFleece",
|
|
1203
1213
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1204
|
-
metricDisplayLocation:
|
|
1214
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1205
1215
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1206
1216
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1207
1217
|
variant: "darkPrimary",
|
|
@@ -1220,7 +1230,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1220
1230
|
topSuggestionsBarShorts: {
|
|
1221
1231
|
widgetConfigId: "topSuggestionsBarShorts",
|
|
1222
1232
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1223
|
-
metricDisplayLocation:
|
|
1233
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1224
1234
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1225
1235
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1226
1236
|
variant: "secondary",
|
|
@@ -1240,7 +1250,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1240
1250
|
bottomSuggestionsBarShorts: {
|
|
1241
1251
|
widgetConfigId: "bottomSuggestionsBarShorts",
|
|
1242
1252
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1243
|
-
metricDisplayLocation:
|
|
1253
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1244
1254
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1245
1255
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1246
1256
|
variant: "darkPrimary",
|
|
@@ -1260,7 +1270,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1260
1270
|
topSuggestionsBarAccessories: {
|
|
1261
1271
|
widgetConfigId: "topSuggestionsBarAccessories",
|
|
1262
1272
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1263
|
-
metricDisplayLocation:
|
|
1273
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1264
1274
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1265
1275
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1266
1276
|
variant: "secondary",
|
|
@@ -1278,7 +1288,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1278
1288
|
bottomSuggestionsBarAccessories: {
|
|
1279
1289
|
widgetConfigId: "bottomSuggestionsBarAccessories",
|
|
1280
1290
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1281
|
-
metricDisplayLocation:
|
|
1291
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1282
1292
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1283
1293
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1284
1294
|
variant: "darkPrimary",
|
|
@@ -1296,7 +1306,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1296
1306
|
topSuggestionsBarFootwear: {
|
|
1297
1307
|
widgetConfigId: "topSuggestionsBar",
|
|
1298
1308
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1299
|
-
metricDisplayLocation:
|
|
1309
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1300
1310
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1301
1311
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1302
1312
|
variant: "secondary",
|
|
@@ -1309,7 +1319,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1309
1319
|
bottomSuggestionsBarFootwear: {
|
|
1310
1320
|
widgetConfigId: "bottomSuggestionsBarFootwear",
|
|
1311
1321
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1312
|
-
metricDisplayLocation:
|
|
1322
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1313
1323
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1314
1324
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1315
1325
|
variant: "darkPrimary",
|
|
@@ -1327,7 +1337,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1327
1337
|
topSuggestionsBarOuterwearWithReviews: {
|
|
1328
1338
|
widgetConfigId: "topSuggestionsBarOuterwearWithReviews",
|
|
1329
1339
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1330
|
-
metricDisplayLocation:
|
|
1340
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1331
1341
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1332
1342
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1333
1343
|
variant: "secondary",
|
|
@@ -1347,7 +1357,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1347
1357
|
bottomSuggestionsBarOuterwearWithReviews: {
|
|
1348
1358
|
widgetConfigId: "bottomSuggestionsBarOuterwearWithReviews",
|
|
1349
1359
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1350
|
-
metricDisplayLocation:
|
|
1360
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1351
1361
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1352
1362
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1353
1363
|
variant: "darkPrimary",
|
|
@@ -1367,7 +1377,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1367
1377
|
topSuggestionsBarTshirtsWithReviews: {
|
|
1368
1378
|
widgetConfigId: "topSuggestionsBarTshirtsWithReviews",
|
|
1369
1379
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1370
|
-
metricDisplayLocation:
|
|
1380
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1371
1381
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1372
1382
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1373
1383
|
variant: "secondary",
|
|
@@ -1387,7 +1397,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1387
1397
|
bottomSuggestionsBarTshirtsWithReviews: {
|
|
1388
1398
|
widgetConfigId: "bottomSuggestionsBarTshirtsWithReviews",
|
|
1389
1399
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1390
|
-
metricDisplayLocation:
|
|
1400
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1391
1401
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1392
1402
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1393
1403
|
variant: "darkPrimary",
|
|
@@ -1407,7 +1417,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1407
1417
|
topSuggestionsBarSweatshirtsWithReviews: {
|
|
1408
1418
|
widgetConfigId: "topSuggestionsBarSweatshirtsWithReviews",
|
|
1409
1419
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1410
|
-
metricDisplayLocation:
|
|
1420
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1411
1421
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1412
1422
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1413
1423
|
variant: "secondary",
|
|
@@ -1427,7 +1437,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1427
1437
|
bottomSuggestionsBarSweatshirtsWithReviews: {
|
|
1428
1438
|
widgetConfigId: "bottomSuggestionsBarSweatshirtsWithReviews",
|
|
1429
1439
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1430
|
-
metricDisplayLocation:
|
|
1440
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1431
1441
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1432
1442
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1433
1443
|
variant: "darkPrimary",
|
|
@@ -1447,7 +1457,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1447
1457
|
topSuggestionsBarSweatpantsWithReviews: {
|
|
1448
1458
|
widgetConfigId: "topSuggestionsBarSweatpantsWithReviews",
|
|
1449
1459
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1450
|
-
metricDisplayLocation:
|
|
1460
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1451
1461
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1452
1462
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1453
1463
|
variant: "secondary",
|
|
@@ -1467,7 +1477,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1467
1477
|
bottomSuggestionsBarSweatpantsWithReviews: {
|
|
1468
1478
|
widgetConfigId: "bottomSuggestionsBarSweatpantsWithReviews",
|
|
1469
1479
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1470
|
-
metricDisplayLocation:
|
|
1480
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1471
1481
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1472
1482
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1473
1483
|
variant: "darkPrimary",
|
|
@@ -1487,7 +1497,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1487
1497
|
topSuggestionsBarDenimWithReviews: {
|
|
1488
1498
|
widgetConfigId: "topSuggestionsBarDenimWithReviews",
|
|
1489
1499
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1490
|
-
metricDisplayLocation:
|
|
1500
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1491
1501
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1492
1502
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1493
1503
|
variant: "secondary",
|
|
@@ -1507,7 +1517,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1507
1517
|
bottomSuggestionsBarDenimWithReviews: {
|
|
1508
1518
|
widgetConfigId: "bottomSuggestionsBarDenimWithReviews",
|
|
1509
1519
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1510
|
-
metricDisplayLocation:
|
|
1520
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1511
1521
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1512
1522
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1513
1523
|
variant: "darkPrimary",
|
|
@@ -1527,7 +1537,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1527
1537
|
topSuggestionsBarTwillFleeceWithReviews: {
|
|
1528
1538
|
widgetConfigId: "topSuggestionsBarTwillFleeceWithReviews",
|
|
1529
1539
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1530
|
-
metricDisplayLocation:
|
|
1540
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1531
1541
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1532
1542
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1533
1543
|
variant: "secondary",
|
|
@@ -1547,7 +1557,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1547
1557
|
bottomSuggestionsBarTwillFleeceWithReviews: {
|
|
1548
1558
|
widgetConfigId: "bottomSuggestionsBarTwillFleeceWithReviews",
|
|
1549
1559
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1550
|
-
metricDisplayLocation:
|
|
1560
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1551
1561
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1552
1562
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1553
1563
|
variant: "darkPrimary",
|
|
@@ -1567,7 +1577,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1567
1577
|
topSuggestionsBarShortsWithReviews: {
|
|
1568
1578
|
widgetConfigId: "topSuggestionsBarShortsWithReviews",
|
|
1569
1579
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1570
|
-
metricDisplayLocation:
|
|
1580
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1571
1581
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1572
1582
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1573
1583
|
variant: "secondary",
|
|
@@ -1588,7 +1598,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1588
1598
|
bottomSuggestionsBarShortsWithReviews: {
|
|
1589
1599
|
widgetConfigId: "bottomSuggestionsBarShortsWithReviews",
|
|
1590
1600
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1591
|
-
metricDisplayLocation:
|
|
1601
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1592
1602
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1593
1603
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1594
1604
|
variant: "darkPrimary",
|
|
@@ -1609,7 +1619,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1609
1619
|
topSuggestionsBarAccessoriesWithReviews: {
|
|
1610
1620
|
widgetConfigId: "topSuggestionsBarAccessoriesWithReviews",
|
|
1611
1621
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1612
|
-
metricDisplayLocation:
|
|
1622
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1613
1623
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1614
1624
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1615
1625
|
variant: "secondary",
|
|
@@ -1628,7 +1638,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1628
1638
|
bottomSuggestionsBarAccessoriesWithReviews: {
|
|
1629
1639
|
widgetConfigId: "bottomSuggestionsBarAccessoriesWithReviews",
|
|
1630
1640
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1631
|
-
metricDisplayLocation:
|
|
1641
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1632
1642
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1633
1643
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1634
1644
|
variant: "darkPrimary",
|
|
@@ -1647,7 +1657,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1647
1657
|
topSuggestionsBarFootwearWithReviews: {
|
|
1648
1658
|
widgetConfigId: "topSuggestionsBarFootwearWithReviews",
|
|
1649
1659
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1650
|
-
metricDisplayLocation:
|
|
1660
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1651
1661
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1652
1662
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1653
1663
|
variant: "secondary",
|
|
@@ -1666,7 +1676,7 @@ const jordanCraigPageConfig = () => ({
|
|
|
1666
1676
|
bottomSuggestionsBarFootwearWithReviews: {
|
|
1667
1677
|
widgetConfigId: "bottomSuggestionsBarFootwearWithReviews",
|
|
1668
1678
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1669
|
-
metricDisplayLocation:
|
|
1679
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1670
1680
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1671
1681
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1672
1682
|
variant: "darkPrimary",
|
|
@@ -1687,10 +1697,10 @@ const jordanCraigPageConfig = () => ({
|
|
|
1687
1697
|
searchIconEntryPoint: {
|
|
1688
1698
|
mountingConfigId: "searchIconEntryPoint",
|
|
1689
1699
|
containerId: require_divIds.GLOBAL_SEARCH_ENTRYPOINT_ID,
|
|
1690
|
-
testId:
|
|
1700
|
+
testId: require_embedded.GLOBAL_SEARCH_ENTRYPOINT_TESTID,
|
|
1691
1701
|
insertionPoint: {
|
|
1692
1702
|
selector: ".header__secondary-nav a[href=\"/search\"]",
|
|
1693
|
-
insertionType:
|
|
1703
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
1694
1704
|
},
|
|
1695
1705
|
suppressionSelector: "a[href=\"/search\"]",
|
|
1696
1706
|
className: "global-entry-desktop"
|
|
@@ -1698,20 +1708,20 @@ const jordanCraigPageConfig = () => ({
|
|
|
1698
1708
|
searchOverlayHost: {
|
|
1699
1709
|
mountingConfigId: "searchOverlayHost",
|
|
1700
1710
|
containerId: require_divIds.SEARCH_OVERLAY_ENTRYPOINT_ID,
|
|
1701
|
-
testId:
|
|
1711
|
+
testId: require_embedded.SEARCH_OVERLAY_HOST_TESTID,
|
|
1702
1712
|
insertionPoint: {
|
|
1703
1713
|
selector: "body",
|
|
1704
|
-
insertionType:
|
|
1714
|
+
insertionType: require_chat.DOMInsertionType.APPEND_CHILD
|
|
1705
1715
|
},
|
|
1706
1716
|
className: "spiffy-overlay-host"
|
|
1707
1717
|
},
|
|
1708
1718
|
searchResultsEntryPointPLP: {
|
|
1709
1719
|
mountingConfigId: "searchResultsEntryPointPLP",
|
|
1710
1720
|
containerId: require_divIds.SEARCH_RESULTS_ENTRYPOINT_ID,
|
|
1711
|
-
testId:
|
|
1721
|
+
testId: require_embedded.SEARCH_RESULTS_ENTRYPOINT_TESTID,
|
|
1712
1722
|
insertionPoint: {
|
|
1713
1723
|
selector: "#main",
|
|
1714
|
-
insertionType:
|
|
1724
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
1715
1725
|
},
|
|
1716
1726
|
className: "search-results-entry-point",
|
|
1717
1727
|
style: { marginBottom: "60px" }
|
|
@@ -1719,12 +1729,12 @@ const jordanCraigPageConfig = () => ({
|
|
|
1719
1729
|
chatPreviewPLP: {
|
|
1720
1730
|
mountingConfigId: "chatPreviewPLP",
|
|
1721
1731
|
containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
|
|
1722
|
-
testId:
|
|
1732
|
+
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
1723
1733
|
insertionPoint: {
|
|
1724
1734
|
selector: ".product-list",
|
|
1725
|
-
insertionType:
|
|
1735
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1726
1736
|
},
|
|
1727
|
-
gridInsertionType:
|
|
1737
|
+
gridInsertionType: require_chat.GridInsertionType.FIXED_8,
|
|
1728
1738
|
className: "is-plp",
|
|
1729
1739
|
style: {
|
|
1730
1740
|
gridRow: "3 / 3",
|
|
@@ -1734,29 +1744,29 @@ const jordanCraigPageConfig = () => ({
|
|
|
1734
1744
|
chatPreviewPDP: {
|
|
1735
1745
|
mountingConfigId: "chatPreviewPDP",
|
|
1736
1746
|
containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
|
|
1737
|
-
testId:
|
|
1747
|
+
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
1738
1748
|
insertionPoint: {
|
|
1739
1749
|
selector: "div[data-block-type=\"description\"].product-info__block-item",
|
|
1740
|
-
insertionType:
|
|
1750
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
1741
1751
|
}
|
|
1742
1752
|
},
|
|
1743
1753
|
topSuggestionBarPDP: {
|
|
1744
1754
|
mountingConfigId: "topSuggestionBarPDP",
|
|
1745
1755
|
containerId: require_divIds.TOP_SUGGESTION_BAR_PDP_ID,
|
|
1746
|
-
testId:
|
|
1756
|
+
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
1747
1757
|
insertionPoint: {
|
|
1748
1758
|
selector: "div[data-block-type=\"price\"].product-info__block-item",
|
|
1749
|
-
insertionType:
|
|
1759
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1750
1760
|
},
|
|
1751
1761
|
style: { marginTop: "15px" }
|
|
1752
1762
|
},
|
|
1753
1763
|
bottomSuggestionBarPDP: {
|
|
1754
1764
|
mountingConfigId: "bottomSuggestionBarPDP",
|
|
1755
1765
|
containerId: require_divIds.BOTTOM_REVIEWS_BAR_ID,
|
|
1756
|
-
testId:
|
|
1766
|
+
testId: require_embedded.BOTTOM_SUGGESTION_BAR_TESTID,
|
|
1757
1767
|
insertionPoint: {
|
|
1758
1768
|
selector: ".oke-w-header",
|
|
1759
|
-
insertionType:
|
|
1769
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1760
1770
|
},
|
|
1761
1771
|
style: { marginBottom: "15px" }
|
|
1762
1772
|
}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, FeatureGates, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
|
+
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
|
+
import { BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, GLOBAL_SEARCH_ENTRYPOINT_ID, SEARCH_OVERLAY_ENTRYPOINT_ID, SEARCH_RESULTS_ENTRYPOINT_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
|
+
import "./chat-Dk6KPb1K.js";
|
|
15
|
+
import "./components-DAQxVIn9.js";
|
|
16
|
+
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, GLOBAL_SEARCH_ENTRYPOINT_TESTID, SEARCH_OVERLAY_HOST_TESTID, SEARCH_RESULTS_ENTRYPOINT_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
|
+
import "./locators-C2DX_nX6.js";
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
9
19
|
|
|
10
20
|
//#region src/merchants/jordanCraig/jordanCraig.ts
|
|
11
21
|
const jordanCraigColors = {
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { DOMInsertionType, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
|
+
import { CHAT_PREVIEW_CONTAINER_ID } from "./divIds-BWvq-i6I.js";
|
|
12
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
13
|
+
import "./chat-Dk6KPb1K.js";
|
|
14
|
+
import "./components-DAQxVIn9.js";
|
|
15
|
+
import { CHAT_PREVIEW_TESTID } from "./embedded-C1jvFj3v.js";
|
|
16
|
+
import "./locators-C2DX_nX6.js";
|
|
17
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
8
18
|
|
|
9
19
|
//#region src/merchants/kindredBravely/kindredBravely.ts
|
|
10
20
|
const kindredBravelyColors = {
|