@hhgtech/hhg-components 1.29.81 → 1.29.82
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/build/{WhatsApp-82018096.js → WhatsApp-46f4f408.js} +1 -1
- package/build/adapters.js +16 -16
- package/build/atoms.js +53 -51
- package/build/babyGrowth.js +79 -79
- package/build/cache.js +3 -3
- package/build/care.js +17 -17
- package/build/components.js +108 -106
- package/build/{constants-3a475a22.js → constants-223c01fc.js} +2 -2
- package/build/{constants-dd16fb4d.js → constants-f182fc32.js} +5 -5
- package/build/constants.js +3 -3
- package/build/{core-9e44ee99.js → core-9d69a722.js} +2 -2
- package/build/{dataTransform-c1701cbd.js → dataTransform-ded2692d.js} +1 -1
- package/build/{dataTransform-6b4d7a4e.js → dataTransform-e39297c1.js} +3 -3
- package/build/ecom.js +5 -5
- package/build/esm/{WhatsApp-7d3732e2.js → WhatsApp-c599b715.js} +1 -1
- package/build/esm/adapters.js +16 -16
- package/build/esm/atoms.js +47 -45
- package/build/esm/babyGrowth.js +80 -80
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +17 -17
- package/build/esm/components.js +79 -77
- package/build/esm/{constants-ebf80e5f.js → constants-bb470362.js} +2 -2
- package/build/esm/{constants-6bdb97a8.js → constants-fa475b0f.js} +5 -5
- package/build/esm/constants.js +3 -3
- package/build/esm/{core-c72e0ff5.js → core-80bfe8b7.js} +2 -2
- package/build/esm/{dataTransform-6c032113.js → dataTransform-55f67eed.js} +1 -1
- package/build/esm/{dataTransform-3e8e25ba.js → dataTransform-623716c3.js} +4 -4
- package/build/esm/ecom.js +5 -5
- package/build/esm/{fixedBottomAdBlock-13ed4a34.js → fixedBottomAdBlock-60a5d48f.js} +27 -27
- package/build/esm/footer.js +18 -18
- package/build/esm/gAssets.js +4 -4
- package/build/esm/{getDynamicHealthTool-7681e43a.js → getDynamicHealthTool-82855adc.js} +4 -4
- package/build/esm/{getSocialList-e8142513.js → getSocialList-7d2cf48d.js} +5 -5
- package/build/esm/healthToolsForm.js +24 -24
- package/build/esm/hooks.js +17 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-7cbe2a10.js → index-01405723.js} +12 -12
- package/build/esm/{index-8952ceac.js → index-01b5d2e9.js} +4 -4
- package/build/esm/{index-88ad2ca3.js → index-02d3f05b.js} +19 -19
- package/build/esm/{index-73301602.js → index-046778af.js} +2 -2
- package/build/esm/{index-69248434.js → index-049e0270.js} +3 -3
- package/build/esm/{index-29d04985.js → index-07f3f47e.js} +2 -2
- package/build/esm/index-0b745f46.js +1349 -0
- package/build/esm/{index-780a08de.js → index-0ca9b175.js} +2 -2
- package/build/esm/{index-2774583d.js → index-0cd3523c.js} +31 -31
- package/build/esm/{index-42ad7763.js → index-0ee66974.js} +2 -2
- package/build/esm/index-10ab6596.js +489 -0
- package/build/esm/{index-cb4afb33.js → index-13d8dd4b.js} +6 -6
- package/build/esm/{index-87a2ea8c.js → index-1c9b481b.js} +2 -2
- package/build/esm/{index-2b9213cf.js → index-1d3c6ce7.js} +1 -1
- package/build/esm/{index-cf6beac8.js → index-21256394.js} +1 -1
- package/build/esm/{index-7e756cb8.js → index-219e3a35.js} +11 -11
- package/build/esm/{index-cdac57da.js → index-29908d2c.js} +1 -1
- package/build/esm/{index-1ecbcf21.js → index-2dc7803d.js} +5 -5
- package/build/esm/{index-c200bff6.js → index-5723381f.js} +2 -2
- package/build/esm/{index-bef3c9bd.js → index-6210f454.js} +2 -2
- package/build/esm/{index-76d20d3f.js → index-7a1ea734.js} +3 -3
- package/build/esm/{index-598ab51b.js → index-7c384ae6.js} +5 -5
- package/build/esm/{index-f27edf45.js → index-8eb04f36.js} +11 -11
- package/build/esm/{index-e104ad21.js → index-8fcf671c.js} +8 -8
- package/build/esm/{index-78255d6c.js → index-9471fca1.js} +2 -2
- package/build/esm/{index-21eac858.js → index-9b3a8b6d.js} +10 -10
- package/build/esm/{index-1da2ca0b.js → index-9b9c1499.js} +2 -2
- package/build/esm/{index-703205e3.js → index-9f99909b.js} +3 -3
- package/build/esm/{index-6ac73f00.js → index-ac2a8f95.js} +16 -16
- package/build/esm/{index-d6201fa4.js → index-acf8b60e.js} +2 -2
- package/build/esm/{index-c1af3a8e.js → index-bcedec73.js} +13 -13
- package/build/esm/{index-9f1899f2.js → index-c013ba1b.js} +4 -4
- package/build/esm/{index-e26514ee.js → index-c2584051.js} +4 -4
- package/build/esm/{types-2580132c.js → index-c430773c.js} +559 -3517
- package/build/esm/index-cdc50618.js +25 -0
- package/build/esm/{index-d218b94e.js → index-cfedca38.js} +2 -2
- package/build/esm/{index-38f50764.js → index-d6a5f5cf.js} +16 -16
- package/build/esm/{index-376bee14.js → index-e0b0d6a2.js} +7 -7
- package/build/esm/{index-996f7caf.js → index-ea63e0d2.js} +4 -4
- package/build/esm/{index-b1bb27aa.js → index-f22f6e6e.js} +10 -45
- package/build/esm/index-f4b938f2.js +18 -0
- package/build/esm/{index-16514f4d.js → index-f660abb7.js} +3 -3
- package/build/esm/index-fa67d66e.js +789 -0
- package/build/esm/index.js +91 -82
- package/build/esm/labelSorting-7351409a.js +47 -0
- package/build/esm/lead.js +21 -21
- package/build/esm/{logoIcon-d93bc56e.js → logoIcon-3a581efb.js} +2 -2
- package/build/esm/mantine.js +22 -22
- package/build/esm/misc.js +21 -21
- package/build/esm/molecules.js +56 -56
- package/build/esm/navigation.js +36 -36
- package/build/esm/onboardingV2.js +25 -25
- package/build/esm/organisms.js +40 -40
- package/build/esm/pwg.js +19 -19
- package/build/esm/{routing-bebdc8b7.js → routing-9e330438.js} +2 -2
- package/build/esm/subot.js +29 -29
- package/build/esm/surveyOrPremiumBanner.js +28 -28
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-bf6080eb.js → surveyThankyouCard-ec204631.js} +6 -6
- package/build/esm/together.js +51 -42
- package/build/esm/togetherAtoms.js +41 -0
- package/build/esm/togetherComponentGlobalContext.js +12 -0
- package/build/esm/togetherMolecules.js +53 -0
- package/build/esm/togetherOrganisms.js +57 -0
- package/build/esm/treePopoverMenu-cb214db6.js +332 -0
- package/build/esm/types-721e7a66.js +5 -0
- package/build/esm/{types-be952df2.js → types-ffcf5fb4.js} +13 -13
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-8f109eb7.js → useCategory-553bee0b.js} +5 -5
- package/build/esm/{useHealthToolCache-d97dfa00.js → useHealthToolCache-6ce1724e.js} +2 -2
- package/build/esm/{useMantineLocale-4fb67342.js → useMantineLocale-453f8013.js} +3 -3
- package/build/esm/{usePlacesAutocomplete-fe2e4cbe.js → usePlacesAutocomplete-8925d4fb.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +60 -0
- package/build/esm/{useTranslations-fbf6a6ab.js → useTranslations-b970f667.js} +1 -1
- package/build/esm/{utils-d5a0b58f.js → utils-3b29eb79.js} +6 -6
- package/build/esm/{utils-cef111b6.js → utils-6d45bdd1.js} +1 -1
- package/build/esm/vaccination.js +18 -18
- package/build/{fixedBottomAdBlock-0d4379d1.js → fixedBottomAdBlock-0129a006.js} +27 -27
- package/build/footer.js +18 -18
- package/build/gAssets.js +4 -4
- package/build/{getDynamicHealthTool-2a92e1a5.js → getDynamicHealthTool-f08b5fab.js} +4 -4
- package/build/{getSocialList-97e7bcc1.js → getSocialList-8cc32f7c.js} +5 -5
- package/build/healthToolsForm.js +24 -24
- package/build/hooks.js +17 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-3d0d22b3.js → index-00a78d81.js} +16 -16
- package/build/index-077bf48f.js +803 -0
- package/build/{index-6bc3f8c3.js → index-0b727664.js} +5 -5
- package/build/{index-dcbd8bf3.js → index-10760994.js} +3 -3
- package/build/{index-247a9eb2.js → index-130e0f35.js} +33 -33
- package/build/{index-d5b4089d.js → index-16ed0d98.js} +12 -50
- package/build/{index-f1f4fbb9.js → index-1e1d8eb1.js} +13 -13
- package/build/{index-d34cd464.js → index-1fdf2f01.js} +2 -2
- package/build/{index-b773bc3d.js → index-206afefb.js} +4 -4
- package/build/{types-6c5643a2.js → index-2afbeb3d.js} +749 -3713
- package/build/{index-fe7345fa.js → index-2fd9063e.js} +2 -2
- package/build/{index-f10efb61.js → index-33432b02.js} +4 -4
- package/build/{index-a7de42d1.js → index-3eb666e6.js} +1 -1
- package/build/{index-264eeddd.js → index-405faafa.js} +2 -2
- package/build/{index-bef2bc73.js → index-4357a324.js} +11 -11
- package/build/index-466a2c32.js +1362 -0
- package/build/{index-73cde644.js → index-4b7d4b5b.js} +4 -4
- package/build/{index-77a2b9ee.js → index-4bc690c9.js} +1 -1
- package/build/index-4cdcdbbe.js +498 -0
- package/build/{index-06fa8444.js → index-53e14542.js} +2 -2
- package/build/{index-4af08ec2.js → index-54aeefca.js} +2 -2
- package/build/{index-058b3c0f.js → index-60f6d762.js} +16 -16
- package/build/{index-1efa7d84.js → index-64d8db08.js} +2 -2
- package/build/{index-cb0544e5.js → index-6aeb5ff5.js} +7 -7
- package/build/{index-3dcb9bc6.js → index-71843eb4.js} +4 -4
- package/build/{index-ee964d3c.js → index-765ed75d.js} +4 -4
- package/build/{index-dd1392e3.js → index-7953fb8e.js} +3 -3
- package/build/{index-7c1dc717.js → index-7ecc69af.js} +12 -12
- package/build/index-9e8877c0.js +25 -0
- package/build/{index-7da7b531.js → index-a2664204.js} +3 -3
- package/build/{index-f28c47ce.js → index-a6a9855f.js} +1 -1
- package/build/{index-aa818139.js → index-a8680a58.js} +2 -2
- package/build/{index-def9867a.js → index-a9bbb5aa.js} +11 -11
- package/build/{index-c225ef22.js → index-a9bdf889.js} +5 -5
- package/build/{index-838b0f95.js → index-b66ae554.js} +6 -6
- package/build/{index-dba2e361.js → index-ca616373.js} +2 -2
- package/build/{index-6c27b627.js → index-d9919cd2.js} +32 -32
- package/build/index-dd074159.js +32 -0
- package/build/{index-05f106c2.js → index-dff7ee1b.js} +10 -10
- package/build/{index-a86ea1b6.js → index-e3bbd009.js} +2 -2
- package/build/{index-6acb08c0.js → index-ec34e358.js} +8 -8
- package/build/{index-c2900d8c.js → index-f222ee45.js} +2 -2
- package/build/{index-f6575703.js → index-fd3e1d16.js} +2 -2
- package/build/index.js +176 -167
- package/build/labelSorting-f86081b7.js +53 -0
- package/build/lead.js +21 -21
- package/build/{logoIcon-ee9a5501.js → logoIcon-21a16853.js} +2 -2
- package/build/mantine.js +18 -18
- package/build/misc.js +21 -21
- package/build/molecules.js +56 -56
- package/build/navigation.js +36 -36
- package/build/onboardingV2.js +24 -24
- package/build/organisms.js +40 -40
- package/build/pwg.js +19 -19
- package/build/{routing-f6d54205.js → routing-d6c9099a.js} +2 -2
- package/build/subot.js +100 -100
- package/build/surveyOrPremiumBanner.js +28 -28
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-ead6b355.js → surveyThankyouCard-5b23b8f6.js} +6 -6
- package/build/together.js +99 -90
- package/build/togetherAtoms.js +55 -0
- package/build/togetherComponentGlobalContext.js +26 -0
- package/build/togetherMolecules.js +86 -0
- package/build/togetherOrganisms.js +71 -0
- package/build/treePopoverMenu-c0cb395f.js +343 -0
- package/build/{types-4ba4268f.js → types-8d9c5f21.js} +13 -13
- package/build/types-b25ffde0.js +7 -0
- package/build/types.js +1 -1
- package/build/{useCategory-e2c91f59.js → useCategory-b695fd3a.js} +5 -5
- package/build/{useHealthToolCache-2a53367b.js → useHealthToolCache-048807ea.js} +2 -2
- package/build/{useMantineLocale-a4f0c61d.js → useMantineLocale-0d63dfea.js} +3 -3
- package/build/{usePlacesAutocomplete-c76d0caf.js → usePlacesAutocomplete-9520e525.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +70 -0
- package/build/{useTranslations-200168a3.js → useTranslations-685f989b.js} +1 -1
- package/build/{utils-95d9832e.js → utils-169c6a7d.js} +6 -6
- package/build/{utils-af695515.js → utils-1a00c0f8.js} +1 -1
- package/build/vaccination.js +18 -18
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-71fb1c9f.js → BMI_BOYS.percentile.monthly-1aa95e30.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b2b344a7.js → BMI_BOYS.percentile.weekly-61d78e1c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-031ddade.js → BMI_BOYS.percentile.yearly-f80e040e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bb1f9962.js → BMI_BOYS.zscore.monthly-a6c7c8ff.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d6198d53.js → BMI_BOYS.zscore.weekly-742f7028.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-48255337.js → BMI_BOYS.zscore.yearly-c19cccd5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e3e284ee.js → BMI_GIRLS.percentile.monthly-089d3981.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-9f2d3977.js → BMI_GIRLS.percentile.weekly-0cc52cda.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c79f34ce.js → BMI_GIRLS.percentile.yearly-10bc603f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-11092df0.js → BMI_GIRLS.zscore.monthly-c3fe57f3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5c375d2b.js → BMI_GIRLS.zscore.weekly-b83a54db.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-adbba8e3.js → BMI_GIRLS.zscore.yearly-5f13cda2.js} +0 -0
- /package/build/{ChevronDown-f7e25d61.js → ChevronDown-2fd86d66.js} +0 -0
- /package/build/{Close-36b0da99.js → Close-711196b0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-163b99ad.js → HEAD CIRCUM_BOYS.percentile.monthly-03b8d7fb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c9882014.js → HEAD CIRCUM_BOYS.percentile.weekly-9ebd3eb6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-9d2bc91e.js → HEAD CIRCUM_BOYS.percentile.yearly-8e97b738.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1d2a215c.js → HEAD CIRCUM_BOYS.zscore.monthly-e7892261.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-1f139c91.js → HEAD CIRCUM_BOYS.zscore.weekly-47c5af84.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ba15501b.js → HEAD CIRCUM_BOYS.zscore.yearly-9a1bc325.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-a546201a.js → HEAD CIRCUM_GIRLS.percentile.monthly-d84491d7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-66cd5a7e.js → HEAD CIRCUM_GIRLS.percentile.weekly-a6f38c3e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9db3c653.js → HEAD CIRCUM_GIRLS.percentile.yearly-5771d277.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0405e2cb.js → HEAD CIRCUM_GIRLS.zscore.monthly-e3633bcc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b2cc3ad2.js → HEAD CIRCUM_GIRLS.zscore.weekly-23b0ab1a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3115f993.js → HEAD CIRCUM_GIRLS.zscore.yearly-20f29cf1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-35138a98.js → HEIGHT_BOYS.percentile.monthly-57cc12ee.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-0216c35b.js → HEIGHT_BOYS.percentile.weekly-c788506a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f698e45d.js → HEIGHT_BOYS.percentile.yearly-ac56c1f2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-01195728.js → HEIGHT_BOYS.zscore.monthly-1bb78253.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-993e9cf2.js → HEIGHT_BOYS.zscore.weekly-22737c43.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-fee3ed69.js → HEIGHT_BOYS.zscore.yearly-90f6cd0a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-27b2474a.js → HEIGHT_GIRLS.percentile.monthly-019f80d2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-77bff236.js → HEIGHT_GIRLS.percentile.weekly-ceed9817.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6200a720.js → HEIGHT_GIRLS.percentile.yearly-3e5192ac.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-94978e64.js → HEIGHT_GIRLS.zscore.monthly-f8fca0b6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-7951beb1.js → HEIGHT_GIRLS.zscore.weekly-827b17e8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-c2eca714.js → HEIGHT_GIRLS.zscore.yearly-3cdb483d.js} +0 -0
- /package/build/{Visible-eee51ba6.js → Visible-515a4eec.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6a6f901b.js → WEIGHT_BOYS.percentile.monthly-2ecbd498.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-737fb867.js → WEIGHT_BOYS.percentile.weekly-75c9c25c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7772b5e5.js → WEIGHT_BOYS.percentile.yearly-03e7cea6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8db2e7d6.js → WEIGHT_BOYS.zscore.monthly-2ff9fb56.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-ddd37c1a.js → WEIGHT_BOYS.zscore.weekly-e9f7fe2d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-332a8f7b.js → WEIGHT_BOYS.zscore.yearly-4a96f34f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-3edad688.js → WEIGHT_GIRLS.percentile.monthly-5bf09e30.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f113a82a.js → WEIGHT_GIRLS.percentile.weekly-f737ae23.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-95afbeaf.js → WEIGHT_GIRLS.percentile.yearly-56ebc8eb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d27c4bd4.js → WEIGHT_GIRLS.zscore.monthly-4697d3b5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-2b113519.js → WEIGHT_GIRLS.zscore.weekly-3633820e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c82b04db.js → WEIGHT_GIRLS.zscore.yearly-a9a04790.js} +0 -0
- /package/build/{animation-e1375a3b.js → animation-85d012ee.js} +0 -0
- /package/build/{cart-67147d06.js → cart-8877bd63.js} +0 -0
- /package/build/{constants-936f45e9.js → constants-8743b014.js} +0 -0
- /package/build/{constants-513a9a41.js → constants-a78fa8b3.js} +0 -0
- /package/build/{cookieHelper-17491ce8.js → cookieHelper-86ae022e.js} +0 -0
- /package/build/{defaultClassWrapper-e87ca8ef.js → defaultClassWrapper-b7719693.js} +0 -0
- /package/build/{doctor-17b525f8.js → doctor-2c14fed1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-7c9d4923.js → BMI_BOYS.percentile.monthly-42ff2c64.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c410294a.js → BMI_BOYS.percentile.weekly-b4a6c521.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-695a4fe2.js → BMI_BOYS.percentile.yearly-d3bc1a77.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-9fb9f281.js → BMI_BOYS.zscore.monthly-c4506dfa.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d2109e4b.js → BMI_BOYS.zscore.weekly-ddf3b3f9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-bfa5361b.js → BMI_BOYS.zscore.yearly-e0e3139e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f5f60596.js → BMI_GIRLS.percentile.monthly-96686bcc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-26e4e864.js → BMI_GIRLS.percentile.weekly-c3106a65.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5a2b297d.js → BMI_GIRLS.percentile.yearly-b38c1f1f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4e80bed5.js → BMI_GIRLS.zscore.monthly-f8a7836f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-03b79f0b.js → BMI_GIRLS.zscore.weekly-4c1fc771.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-822ed949.js → BMI_GIRLS.zscore.yearly-dce5e66a.js} +0 -0
- /package/build/esm/{ChevronDown-74267eb8.js → ChevronDown-31ea3e19.js} +0 -0
- /package/build/esm/{Close-372aa467.js → Close-40d598bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-21b04c4c.js → HEAD CIRCUM_BOYS.percentile.monthly-34e3fa1c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-049a9d97.js → HEAD CIRCUM_BOYS.percentile.weekly-d3f3568f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a4bbbaba.js → HEAD CIRCUM_BOYS.percentile.yearly-dfae3ad2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7cb348c6.js → HEAD CIRCUM_BOYS.zscore.monthly-95840c2f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-678a1a52.js → HEAD CIRCUM_BOYS.zscore.weekly-8b198c1c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-db81b17e.js → HEAD CIRCUM_BOYS.zscore.yearly-b7d639ad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-cee33cd5.js → HEAD CIRCUM_GIRLS.percentile.monthly-47caa070.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2cec19c3.js → HEAD CIRCUM_GIRLS.percentile.weekly-bae46665.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5949e664.js → HEAD CIRCUM_GIRLS.percentile.yearly-81989cdd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7c2bffab.js → HEAD CIRCUM_GIRLS.zscore.monthly-f2f7d985.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-356dd00a.js → HEAD CIRCUM_GIRLS.zscore.weekly-e287ddb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e7b62215.js → HEAD CIRCUM_GIRLS.zscore.yearly-8790b62a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-359c4335.js → HEIGHT_BOYS.percentile.monthly-5d2b6466.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a4d4acd3.js → HEIGHT_BOYS.percentile.weekly-a38ad13e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ec9a7f9b.js → HEIGHT_BOYS.percentile.yearly-e4841712.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-12331258.js → HEIGHT_BOYS.zscore.monthly-d8e722f8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-172054d3.js → HEIGHT_BOYS.zscore.weekly-a92ea3ca.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bb47a3be.js → HEIGHT_BOYS.zscore.yearly-3af1adce.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c93c0b34.js → HEIGHT_GIRLS.percentile.monthly-c5203801.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f1f83097.js → HEIGHT_GIRLS.percentile.weekly-4c25d07f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ccee4e55.js → HEIGHT_GIRLS.percentile.yearly-f91e2e27.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-caf5410c.js → HEIGHT_GIRLS.zscore.monthly-b2a60aca.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b1e28b0e.js → HEIGHT_GIRLS.zscore.weekly-0a98c520.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c3af35d3.js → HEIGHT_GIRLS.zscore.yearly-8070d58f.js} +0 -0
- /package/build/esm/{Visible-3f9d7dca.js → Visible-e3e4fb6f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8a4647df.js → WEIGHT_BOYS.percentile.monthly-b262b97d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a2a6adf1.js → WEIGHT_BOYS.percentile.weekly-7e817f9f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-073df8b7.js → WEIGHT_BOYS.percentile.yearly-b7f1786a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bb9e73d2.js → WEIGHT_BOYS.zscore.monthly-014af835.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ef32ce7a.js → WEIGHT_BOYS.zscore.weekly-4577f724.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6cc77688.js → WEIGHT_BOYS.zscore.yearly-08fd3f13.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a4b518bc.js → WEIGHT_GIRLS.percentile.monthly-a6e1aa0d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-dcedaebb.js → WEIGHT_GIRLS.percentile.weekly-4c0b6f94.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9e66577e.js → WEIGHT_GIRLS.percentile.yearly-bf689a3a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c07cb81f.js → WEIGHT_GIRLS.zscore.monthly-f82fc3c8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9c5c3e8e.js → WEIGHT_GIRLS.zscore.weekly-854ce987.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e99ce511.js → WEIGHT_GIRLS.zscore.yearly-2a3b869a.js} +0 -0
- /package/build/esm/{animation-0b2299dc.js → animation-85d9a0ed.js} +0 -0
- /package/build/esm/{cart-f961dadc.js → cart-1ac23ce7.js} +0 -0
- /package/build/esm/{constants-71d9f33b.js → constants-a5827634.js} +0 -0
- /package/build/esm/{constants-f77fc231.js → constants-f6b2e49d.js} +0 -0
- /package/build/esm/{cookieHelper-73ce3871.js → cookieHelper-6c3b4790.js} +0 -0
- /package/build/esm/{defaultClassWrapper-31caf23b.js → defaultClassWrapper-00903c00.js} +0 -0
- /package/build/esm/{doctor-8a07ca44.js → doctor-e0c2476d.js} +0 -0
- /package/build/esm/{index-e3787b20.js → index-189d7601.js} +0 -0
- /package/build/esm/{index-c3264b34.js → index-21bca818.js} +0 -0
- /package/build/esm/{index-782fed08.js → index-266a32ff.js} +0 -0
- /package/build/esm/{index-b65a8764.js → index-8684181f.js} +0 -0
- /package/build/esm/{index-3078acec.js → index-ad1c7c38.js} +0 -0
- /package/build/esm/{isProduction-5684a28c.js → isProduction-1937d355.js} +0 -0
- /package/build/esm/{localizeNumberFormat-42ae8d89.js → localizeNumberFormat-1f000110.js} +0 -0
- /package/build/esm/{normalizeLink-d6f57223.js → normalizeLink-7a93ebb9.js} +0 -0
- /package/build/esm/{number-13f075cf.js → number-1d1ba14a.js} +0 -0
- /package/build/esm/{paths-49a813e7.js → paths-b83be1a0.js} +0 -0
- /package/build/esm/{theme-f18c2351.js → theme-7dadf4a1.js} +0 -0
- /package/build/esm/{translationsContext-f3d1a7bd.js → translationsContext-42a1fa63.js} +0 -0
- /package/build/esm/{tslib.es6-761239c7.js → tslib.es6-06ba3978.js} +0 -0
- /package/build/esm/{useIsInit-ee864235.js → useIsInit-f4dec279.js} +0 -0
- /package/build/esm/{useOutsideClick-7451aa57.js → useOutsideClick-210c1134.js} +0 -0
- /package/build/esm/{useScrollbarSize-84bb5b47.js → useScrollbarSize-909ae7ec.js} +0 -0
- /package/build/esm/{useUniqueId-c23213b6.js → useUniqueId-5885911d.js} +0 -0
- /package/build/esm/{utils-f8761b9d.js → utils-d7bbdb52.js} +0 -0
- /package/build/{index-df5cd44b.js → index-1f3fc2e3.js} +0 -0
- /package/build/{index-bba97c2e.js → index-2de1eb4a.js} +0 -0
- /package/build/{index-ba3797bb.js → index-6fdcd09d.js} +0 -0
- /package/build/{index-e0bf03ac.js → index-82c85f9d.js} +0 -0
- /package/build/{index-97ebd7e1.js → index-bc9e8eae.js} +0 -0
- /package/build/{isProduction-aa963bf9.js → isProduction-20cd663d.js} +0 -0
- /package/build/{localizeNumberFormat-90d4f9d5.js → localizeNumberFormat-7ff6bd3a.js} +0 -0
- /package/build/{normalizeLink-451ae6d8.js → normalizeLink-d307f624.js} +0 -0
- /package/build/{number-c2338382.js → number-dddf656c.js} +0 -0
- /package/build/{paths-e0bbfce7.js → paths-7da79c64.js} +0 -0
- /package/build/{theme-e4f7f487.js → theme-be20929b.js} +0 -0
- /package/build/{translationsContext-39528d2f.js → translationsContext-00fdb62e.js} +0 -0
- /package/build/{tslib.es6-7e140b89.js → tslib.es6-bd3f8718.js} +0 -0
- /package/build/{useIsInit-38cec0c4.js → useIsInit-e06b96f5.js} +0 -0
- /package/build/{useOutsideClick-e579e1ac.js → useOutsideClick-d95a32b6.js} +0 -0
- /package/build/{useScrollbarSize-5a8be010.js → useScrollbarSize-1499b1c3.js} +0 -0
- /package/build/{useUniqueId-8929fe5f.js → useUniqueId-1af8848e.js} +0 -0
- /package/build/{utils-524bda7c.js → utils-15a9772e.js} +0 -0
package/build/subot.js
CHANGED
|
@@ -3,58 +3,58 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var index$2 = require('./index-
|
|
7
|
-
var tslib_es6 = require('./tslib.es6-
|
|
8
|
-
var index$3 = require('./index-
|
|
6
|
+
var index$2 = require('./index-1f3fc2e3.js');
|
|
7
|
+
var tslib_es6 = require('./tslib.es6-bd3f8718.js');
|
|
8
|
+
var index$3 = require('./index-e3bbd009.js');
|
|
9
9
|
var Cookies = require('js-cookie');
|
|
10
10
|
var fd = require('fastdom');
|
|
11
11
|
var fastdomPromised = require('fastdom/extensions/fastdom-promised');
|
|
12
|
-
var
|
|
12
|
+
var togetherComponentGlobalContext = require('./utils-169c6a7d.js');
|
|
13
13
|
var formatString = require('string-format');
|
|
14
|
-
var index$1 = require('./index-
|
|
14
|
+
var index$1 = require('./index-206afefb.js');
|
|
15
15
|
var hexRgb = require('hex-rgb');
|
|
16
16
|
var cn = require('classnames');
|
|
17
|
-
var index$c = require('./index-
|
|
18
|
-
var index$b = require('./index-
|
|
17
|
+
var index$c = require('./index-6fdcd09d.js');
|
|
18
|
+
var index$b = require('./index-ca616373.js');
|
|
19
19
|
var framerMotion = require('framer-motion');
|
|
20
20
|
var styled = require('@emotion/styled');
|
|
21
|
-
var utils
|
|
22
|
-
var index$4 = require('./index-
|
|
21
|
+
var utils = require('./utils-15a9772e.js');
|
|
22
|
+
var index$4 = require('./index-3eb666e6.js');
|
|
23
23
|
var remarkable = require('remarkable');
|
|
24
24
|
var other = require('@hhgtech/icons/other');
|
|
25
25
|
var reactIntersectionObserver = require('react-intersection-observer');
|
|
26
26
|
var core = require('@mantine/core');
|
|
27
|
-
var index$5 = require('./index-
|
|
27
|
+
var index$5 = require('./index-64d8db08.js');
|
|
28
28
|
var dayjs = require('dayjs');
|
|
29
29
|
var isSameOrBefore = require('dayjs/plugin/isSameOrBefore');
|
|
30
|
-
var constants = require('./constants-
|
|
30
|
+
var constants = require('./constants-a78fa8b3.js');
|
|
31
31
|
var uuid = require('uuid');
|
|
32
|
-
var index$6 = require('./index-
|
|
33
|
-
var theme = require('./theme-
|
|
34
|
-
var isProduction = require('./isProduction-
|
|
35
|
-
var index$7 = require('./index-
|
|
32
|
+
var index$6 = require('./index-1fdf2f01.js');
|
|
33
|
+
var theme = require('./theme-be20929b.js');
|
|
34
|
+
var isProduction = require('./isProduction-20cd663d.js');
|
|
35
|
+
var index$7 = require('./index-dff7ee1b.js');
|
|
36
36
|
require('@mantine/dates');
|
|
37
|
-
require('./useMantineLocale-
|
|
38
|
-
require('./translationsContext-
|
|
37
|
+
require('./useMantineLocale-0d63dfea.js');
|
|
38
|
+
require('./translationsContext-00fdb62e.js');
|
|
39
39
|
require('@mantine/hooks');
|
|
40
40
|
var isEmpty = require('lodash/isEmpty');
|
|
41
41
|
var reactHookForm = require('react-hook-form');
|
|
42
42
|
var PhoneInputBase = require('react-phone-number-input');
|
|
43
43
|
var api = require('@react-google-maps/api');
|
|
44
|
-
var usePlacesAutocomplete = require('./usePlacesAutocomplete-
|
|
45
|
-
var defaultClassWrapper = require('./defaultClassWrapper-
|
|
46
|
-
var index$9 = require('./index-
|
|
47
|
-
var index$a = require('./index-
|
|
48
|
-
var index$8 = require('./index-
|
|
44
|
+
var usePlacesAutocomplete = require('./usePlacesAutocomplete-9520e525.js');
|
|
45
|
+
var defaultClassWrapper = require('./defaultClassWrapper-b7719693.js');
|
|
46
|
+
var index$9 = require('./index-a6a9855f.js');
|
|
47
|
+
var index$a = require('./index-4bc690c9.js');
|
|
48
|
+
var index$8 = require('./index-f222ee45.js');
|
|
49
49
|
require('date-fns/locale');
|
|
50
|
-
require('./index-
|
|
51
|
-
require('./cookieHelper-
|
|
50
|
+
require('./index-82c85f9d.js');
|
|
51
|
+
require('./cookieHelper-86ae022e.js');
|
|
52
52
|
require('slugify');
|
|
53
|
-
require('./index-
|
|
54
|
-
require('./WhatsApp-
|
|
55
|
-
require('./useTranslations-
|
|
53
|
+
require('./index-10760994.js');
|
|
54
|
+
require('./WhatsApp-46f4f408.js');
|
|
55
|
+
require('./useTranslations-685f989b.js');
|
|
56
56
|
require('@mantine/carousel');
|
|
57
|
-
require('./useUniqueId-
|
|
57
|
+
require('./useUniqueId-1af8848e.js');
|
|
58
58
|
require('@hhgtech/icons/core');
|
|
59
59
|
require('date-fns');
|
|
60
60
|
require('react-day-picker/DayPickerInput');
|
|
@@ -147,7 +147,7 @@ const CachedSystem = {
|
|
|
147
147
|
};
|
|
148
148
|
|
|
149
149
|
const getSubotApiPath = (path, params) => {
|
|
150
|
-
const { subotApiUrl } =
|
|
150
|
+
const { subotApiUrl } = togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.env;
|
|
151
151
|
const apiUrl = subotApiUrl.endsWith('frontend/api/')
|
|
152
152
|
? subotApiUrl
|
|
153
153
|
: subotApiUrl + 'frontend/api/';
|
|
@@ -156,7 +156,7 @@ const getSubotApiPath = (path, params) => {
|
|
|
156
156
|
/** inline message */
|
|
157
157
|
const subotInlineMessage = (data) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
158
158
|
try {
|
|
159
|
-
return yield
|
|
159
|
+
return yield togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.GET_INLINE_MESSAGE), 'POST', {
|
|
160
160
|
data,
|
|
161
161
|
});
|
|
162
162
|
}
|
|
@@ -188,7 +188,7 @@ const computeExtraSettingsForBot = (data) => {
|
|
|
188
188
|
const subotInlineFirstNode = (id) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
189
189
|
try {
|
|
190
190
|
const data = yield CachedSystem.withCached('SubotInlineFirstNode/' + id, () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
191
|
-
const response = yield
|
|
191
|
+
const response = yield togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.GET_INLINE_FIRST_NODE) + `/${id}`, 'GET');
|
|
192
192
|
computeExtraSettingsForBot(response);
|
|
193
193
|
return response;
|
|
194
194
|
}));
|
|
@@ -201,7 +201,7 @@ const subotInlineFirstNode = (id) => tslib_es6.__awaiter(void 0, void 0, void 0,
|
|
|
201
201
|
/** inline click */
|
|
202
202
|
const subotInlineClick = (data) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
203
203
|
try {
|
|
204
|
-
return yield
|
|
204
|
+
return yield togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.GET_INLINE_CLICK), 'POST', {
|
|
205
205
|
data,
|
|
206
206
|
});
|
|
207
207
|
}
|
|
@@ -210,7 +210,7 @@ const subotInlineClick = (data) => tslib_es6.__awaiter(void 0, void 0, void 0, f
|
|
|
210
210
|
/** inline impression */
|
|
211
211
|
const subotInlineImpression = (data) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
212
212
|
try {
|
|
213
|
-
return yield
|
|
213
|
+
return yield togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.GET_INLINE_IMPRESSION), 'POST', {
|
|
214
214
|
data,
|
|
215
215
|
});
|
|
216
216
|
}
|
|
@@ -365,7 +365,7 @@ const getSubotInlineLogs = (botItem) => tslib_es6.__awaiter(void 0, void 0, void
|
|
|
365
365
|
try {
|
|
366
366
|
if (!botItem)
|
|
367
367
|
return null;
|
|
368
|
-
const response = yield
|
|
368
|
+
const response = yield togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.GET_SUBOT_LOG, {
|
|
369
369
|
botId: botItem.id,
|
|
370
370
|
cookieId: index$1.getSubotCookieId(),
|
|
371
371
|
accountId: index$1.getUserIdFromCookie() || '',
|
|
@@ -614,9 +614,9 @@ const saveSubotInlineLogs = ({ nodes, activeId, params, accountIdFromLogs, }) =>
|
|
|
614
614
|
data: JSON.stringify(data),
|
|
615
615
|
status: statusFlowBot,
|
|
616
616
|
type: 'inline',
|
|
617
|
-
market: index$3.MAP_DOMAIN_BY_LOCALE[
|
|
617
|
+
market: index$3.MAP_DOMAIN_BY_LOCALE[togetherComponentGlobalContext.locale],
|
|
618
618
|
};
|
|
619
|
-
yield
|
|
619
|
+
yield togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.POST_SUBOT_CREATE_LOG), 'POST', {
|
|
620
620
|
data: payload,
|
|
621
621
|
});
|
|
622
622
|
}
|
|
@@ -662,7 +662,7 @@ const SubotInlineContext = React.createContext({
|
|
|
662
662
|
userInfo: null,
|
|
663
663
|
});
|
|
664
664
|
const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer, bgColor: _bgColor, primaryColor: _primaryColor, textColor, textButtonColor, bgContentColor, bgImgFullContainer, isDisabledAnimationOnMobile, onCloseMobile, userInfo, }) => {
|
|
665
|
-
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(
|
|
665
|
+
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
666
666
|
const ref = React.useRef(null);
|
|
667
667
|
// const { formatMessage: f } = useIntl()
|
|
668
668
|
const refAccountIdFromLogs = React.useRef(null);
|
|
@@ -710,7 +710,7 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
710
710
|
const gaData = window.gaData;
|
|
711
711
|
const url = window.location.origin +
|
|
712
712
|
index$3.basePath +
|
|
713
|
-
((
|
|
713
|
+
((togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.locale) === 'tl-PH'
|
|
714
714
|
? articleLink.replace('fil/', '')
|
|
715
715
|
: articleLink);
|
|
716
716
|
const params = {
|
|
@@ -740,7 +740,7 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
740
740
|
.replace('https://hellohealthgroup.com', 'https://hellodoctor.com.ph'),
|
|
741
741
|
window_id: index$1.getWindowId(),
|
|
742
742
|
};
|
|
743
|
-
return index$1.overrideParamsByQuery(params,
|
|
743
|
+
return index$1.overrideParamsByQuery(params, togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.router.query);
|
|
744
744
|
}, []);
|
|
745
745
|
const elementScrollIntoView = React.useCallback(() => {
|
|
746
746
|
var _a;
|
|
@@ -1026,7 +1026,7 @@ const SubotInlineRevampContainer = styled__default["default"].div `
|
|
|
1026
1026
|
pointer-events: none;
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
|
-
${utils
|
|
1029
|
+
${utils.MediaQueries.mbUp} {
|
|
1030
1030
|
.si-inline-revamp-container {
|
|
1031
1031
|
padding-right: 12px;
|
|
1032
1032
|
}
|
|
@@ -1054,7 +1054,7 @@ const SubotInlineRevampContainer = styled__default["default"].div `
|
|
|
1054
1054
|
height: calc(100% - 72px);
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
|
-
${utils
|
|
1057
|
+
${utils.MediaQueries.mbUp} {
|
|
1058
1058
|
&[data-show-footer='true'] {
|
|
1059
1059
|
height: calc(100% - 56px);
|
|
1060
1060
|
}
|
|
@@ -1076,7 +1076,7 @@ const SubotInlineRevampContainer = styled__default["default"].div `
|
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
|
-
${utils
|
|
1079
|
+
${utils.MediaQueries.mbUp} {
|
|
1080
1080
|
.si-container-placeholder {
|
|
1081
1081
|
height: 550px;
|
|
1082
1082
|
max-height: 550px;
|
|
@@ -1104,7 +1104,7 @@ const SubotInlineRevampContainer = styled__default["default"].div `
|
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
|
-
${utils
|
|
1107
|
+
${utils.MediaQueries.mbDown} {
|
|
1108
1108
|
.si-container-open {
|
|
1109
1109
|
position: fixed;
|
|
1110
1110
|
width: auto;
|
|
@@ -1142,7 +1142,7 @@ const StyledContainerFullscreen = styled__default["default"].div `
|
|
|
1142
1142
|
padding: 40px 0;
|
|
1143
1143
|
font-family: Inter;
|
|
1144
1144
|
|
|
1145
|
-
${utils
|
|
1145
|
+
${utils.MediaQueries.mbUp} {
|
|
1146
1146
|
padding: 80px 0;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
@@ -1153,7 +1153,7 @@ const StyledContainerFullscreen = styled__default["default"].div `
|
|
|
1153
1153
|
margin: 0 auto;
|
|
1154
1154
|
flex-direction: column;
|
|
1155
1155
|
|
|
1156
|
-
${utils
|
|
1156
|
+
${utils.MediaQueries.mbUp} {
|
|
1157
1157
|
flex-direction: row;
|
|
1158
1158
|
gap: 30px;
|
|
1159
1159
|
}
|
|
@@ -1175,12 +1175,12 @@ const StyledContainerFullscreen = styled__default["default"].div `
|
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
|
-
${utils
|
|
1178
|
+
${utils.MediaQueries.mbUp} {
|
|
1179
1179
|
max-width: ${heightMobile};
|
|
1180
1180
|
min-width: ${heightMobile};
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
|
-
${utils
|
|
1183
|
+
${utils.MediaQueries.tdUp} {
|
|
1184
1184
|
max-width: 720px;
|
|
1185
1185
|
min-width: 720px;
|
|
1186
1186
|
}
|
|
@@ -1192,7 +1192,7 @@ const StyledContainerFullscreen = styled__default["default"].div `
|
|
|
1192
1192
|
flex-direction: column;
|
|
1193
1193
|
max-width: 490px;
|
|
1194
1194
|
|
|
1195
|
-
${utils
|
|
1195
|
+
${utils.MediaQueries.mbUp} {
|
|
1196
1196
|
padding-top: 48px;
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
@@ -1208,7 +1208,7 @@ const StyledContainerFullscreen = styled__default["default"].div `
|
|
|
1208
1208
|
line-height: 1.2;
|
|
1209
1209
|
letter-spacing: -0.616px;
|
|
1210
1210
|
|
|
1211
|
-
${utils
|
|
1211
|
+
${utils.MediaQueries.mbUp} {
|
|
1212
1212
|
font-size: 40px;
|
|
1213
1213
|
line-height: 48px;
|
|
1214
1214
|
letter-spacing: -0.88px;
|
|
@@ -1266,7 +1266,7 @@ const Info = (props) => {
|
|
|
1266
1266
|
|
|
1267
1267
|
const Container$v = () => {
|
|
1268
1268
|
const [isShow, setIsShow] = React.useState(false);
|
|
1269
|
-
const { formatMessage: f } = React.useContext(
|
|
1269
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
1270
1270
|
return (React__default["default"].createElement(StyledWrap$q, null,
|
|
1271
1271
|
React__default["default"].createElement("div", { className: "si-disclaimer", onClick: () => setIsShow(!isShow) },
|
|
1272
1272
|
React__default["default"].createElement(Info, { className: "si-disclaimer-info-svg" }),
|
|
@@ -1283,7 +1283,7 @@ const Container$v = () => {
|
|
|
1283
1283
|
Container$v.displayName = 'SubotInlineDisclaimer';
|
|
1284
1284
|
|
|
1285
1285
|
const useCurrentUrl = () => {
|
|
1286
|
-
const { data: { locale, router }, } = React.useContext(
|
|
1286
|
+
const { data: { locale, router }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
1287
1287
|
const { asPath } = router || {};
|
|
1288
1288
|
const [currentUrl, setCurrentUrl] = React.useState(() => `${index$1.getHelloSitesUrl(locale, false)}${index$3.basePath}${asPath}`);
|
|
1289
1289
|
React.useEffect(() => {
|
|
@@ -1294,7 +1294,7 @@ const useCurrentUrl = () => {
|
|
|
1294
1294
|
|
|
1295
1295
|
// import { useIntl } from 'react-intl'
|
|
1296
1296
|
const useValidationMultiOption = () => {
|
|
1297
|
-
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(
|
|
1297
|
+
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
1298
1298
|
const validateSelectActions = (activeActions, node, callBack) => {
|
|
1299
1299
|
if ((node === null || node === void 0 ? void 0 : node.multi_select_option) === index$2.NodeMultipleOptions.EXACT_NUMBER &&
|
|
1300
1300
|
activeActions.length !== (node === null || node === void 0 ? void 0 : node.from)) {
|
|
@@ -1378,7 +1378,7 @@ const StyledWrap$p = styled__default["default"].div `
|
|
|
1378
1378
|
display: flex;
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
|
-
${utils
|
|
1381
|
+
${utils.MediaQueries.mbDown} {
|
|
1382
1382
|
&[data-show-action='false'] {
|
|
1383
1383
|
justify-content: center;
|
|
1384
1384
|
padding: 12px 0;
|
|
@@ -1455,7 +1455,7 @@ const excludeNodeList = [
|
|
|
1455
1455
|
// }
|
|
1456
1456
|
const Container$u = () => {
|
|
1457
1457
|
var _a, _b, _c, _d, _e;
|
|
1458
|
-
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(
|
|
1458
|
+
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
1459
1459
|
const currentUrl = useCurrentUrl();
|
|
1460
1460
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = React.useContext(SubotInlineContext);
|
|
1461
1461
|
const { value } = React.useContext(NodeContext);
|
|
@@ -1714,7 +1714,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
1714
1714
|
/* color: #262626; */
|
|
1715
1715
|
color: var(--subot-inline-text-color, #262626);
|
|
1716
1716
|
|
|
1717
|
-
${utils
|
|
1717
|
+
${utils.MediaQueries.mbUp} {
|
|
1718
1718
|
font-size: 24px;
|
|
1719
1719
|
line-height: 120%;
|
|
1720
1720
|
letter-spacing: -0.432px;
|
|
@@ -1728,7 +1728,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
1728
1728
|
line-height: 24px;
|
|
1729
1729
|
font-weight: 400;
|
|
1730
1730
|
|
|
1731
|
-
${utils
|
|
1731
|
+
${utils.MediaQueries.mbUp} {
|
|
1732
1732
|
letter-spacing: -0.16px;
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
@@ -1810,7 +1810,7 @@ const SubotInlineVoucherLeftUI = ({ clientId, voucherAnswers }) => {
|
|
|
1810
1810
|
const [quantityTotal, setQuantityTotal] = React.useState(0);
|
|
1811
1811
|
const [quantityInStock, setQuantityInStock] = React.useState(0);
|
|
1812
1812
|
React.useEffect(() => {
|
|
1813
|
-
|
|
1813
|
+
togetherComponentGlobalContext.callApi(getSubotApiPath(PATHS$1.GET_VOUCHER_QUANTITY, {
|
|
1814
1814
|
search: (voucherAnswers === null || voucherAnswers === void 0 ? void 0 : voucherAnswers.voucherName.split('|')[0]) || '',
|
|
1815
1815
|
clientId: clientId,
|
|
1816
1816
|
}), 'GET').then((res) => {
|
|
@@ -1915,7 +1915,7 @@ const StyledWrap$k = styled__default["default"].div `
|
|
|
1915
1915
|
display: block;
|
|
1916
1916
|
}
|
|
1917
1917
|
|
|
1918
|
-
${utils
|
|
1918
|
+
${utils.MediaQueries.mbUp} {
|
|
1919
1919
|
font-size: 22px;
|
|
1920
1920
|
line-height: 32px;
|
|
1921
1921
|
letter-spacing: -0.6px;
|
|
@@ -1952,7 +1952,7 @@ const PATHS = {
|
|
|
1952
1952
|
};
|
|
1953
1953
|
|
|
1954
1954
|
const getLeadPath = (path, params) => {
|
|
1955
|
-
const { leadApiUrl } =
|
|
1955
|
+
const { leadApiUrl } = togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.env;
|
|
1956
1956
|
return leadApiUrl + formatString__default["default"](path, Object.assign({}, params));
|
|
1957
1957
|
};
|
|
1958
1958
|
const callApiWithLead = (url, method, options) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -1967,7 +1967,7 @@ const callApiWithLead = (url, method, options) => tslib_es6.__awaiter(void 0, vo
|
|
|
1967
1967
|
options.data.cookie_id = cookie;
|
|
1968
1968
|
options.data.ga_client_id = ga || '';
|
|
1969
1969
|
}
|
|
1970
|
-
return
|
|
1970
|
+
return togetherComponentGlobalContext.callApi(url, method, options);
|
|
1971
1971
|
});
|
|
1972
1972
|
|
|
1973
1973
|
dayjs__default["default"].extend(isSameOrBefore__default["default"]);
|
|
@@ -2366,7 +2366,7 @@ const StyledWrap$f = styled__default["default"].div `
|
|
|
2366
2366
|
|
|
2367
2367
|
const Container$m = ({ text }) => {
|
|
2368
2368
|
const [isShow, setIsShow] = React.useState(false);
|
|
2369
|
-
const { formatMessage: f } = React.useContext(
|
|
2369
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
2370
2370
|
if (!text) {
|
|
2371
2371
|
return null;
|
|
2372
2372
|
}
|
|
@@ -2384,7 +2384,7 @@ Container$m.displayName = 'SubotInlineDisclaimer';
|
|
|
2384
2384
|
|
|
2385
2385
|
const Container$l = ({ intent }) => {
|
|
2386
2386
|
var _a;
|
|
2387
|
-
const { formatMessage: f } = React.useContext(
|
|
2387
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
2388
2388
|
const handleOnClick = (service) => {
|
|
2389
2389
|
if (!service.url) {
|
|
2390
2390
|
return;
|
|
@@ -2495,7 +2495,7 @@ var _a$1;
|
|
|
2495
2495
|
const SubotInlineIntentCol = styled__default["default"].div `
|
|
2496
2496
|
width: ${({ width }) => width || '100%'};
|
|
2497
2497
|
padding: 4px;
|
|
2498
|
-
${utils
|
|
2498
|
+
${utils.MediaQueries.mbDown} {
|
|
2499
2499
|
width: 100%;
|
|
2500
2500
|
}
|
|
2501
2501
|
`;
|
|
@@ -2697,7 +2697,7 @@ styled__default["default"].div `
|
|
|
2697
2697
|
border: 1px solid #ffecb6;
|
|
2698
2698
|
border-radius: 16px;
|
|
2699
2699
|
|
|
2700
|
-
${utils
|
|
2700
|
+
${utils.MediaQueries.mbUp} {
|
|
2701
2701
|
padding: 0 0 24px 0;
|
|
2702
2702
|
}
|
|
2703
2703
|
|
|
@@ -2769,12 +2769,12 @@ const StyledSubInlineIntent = styled__default["default"].div `
|
|
|
2769
2769
|
+ div {
|
|
2770
2770
|
margin-top: 16px;
|
|
2771
2771
|
|
|
2772
|
-
${utils
|
|
2772
|
+
${utils.MediaQueries.mbUp} {
|
|
2773
2773
|
margin-top: 24px;
|
|
2774
2774
|
}
|
|
2775
2775
|
}
|
|
2776
2776
|
|
|
2777
|
-
${utils
|
|
2777
|
+
${utils.MediaQueries.mbUp} {
|
|
2778
2778
|
font-size: 18px;
|
|
2779
2779
|
}
|
|
2780
2780
|
} */
|
|
@@ -2810,7 +2810,7 @@ const Container$f = ({ node }) => {
|
|
|
2810
2810
|
var _a;
|
|
2811
2811
|
// const isMobile = useGetIsMobile(true)
|
|
2812
2812
|
const refMainIntents = React.useRef(null);
|
|
2813
|
-
const { formatMessage: f } = React.useContext(
|
|
2813
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
2814
2814
|
const { setIsShowFooter, listNodes } = React.useContext(SubotInlineContext);
|
|
2815
2815
|
const [isShowMore, setIsShowMore] = React.useState(false);
|
|
2816
2816
|
React.useEffect(() => {
|
|
@@ -3173,7 +3173,7 @@ var schema = {
|
|
|
3173
3173
|
};
|
|
3174
3174
|
|
|
3175
3175
|
// const STORAGE_URL = 'https://storage.googleapis.com/hhg-common'
|
|
3176
|
-
const STORAGE_URL = index$1.getHelloSitesUrl(
|
|
3176
|
+
const STORAGE_URL = index$1.getHelloSitesUrl(togetherComponentGlobalContext.locale); // To fix the Cors issue later
|
|
3177
3177
|
function getLevelKey(countryCode, level) {
|
|
3178
3178
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3179
3179
|
const _schema = schema;
|
|
@@ -3347,9 +3347,9 @@ const googleMapsApisPlaceDetailsTypes = {
|
|
|
3347
3347
|
};
|
|
3348
3348
|
const googleMapAddressKeys = Object.keys(googleMapsApisPlaceDetailsTypes).concat(['address']);
|
|
3349
3349
|
function GoogleAddressField({ action, formError, control, initValue, onChange, }) {
|
|
3350
|
-
const locale =
|
|
3350
|
+
const locale = togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.locale;
|
|
3351
3351
|
const countryCode = locale.split('-')[1];
|
|
3352
|
-
const { formatMessage: f } = React.useContext(
|
|
3352
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
3353
3353
|
const [searchText, setSearchText] = React.useState('');
|
|
3354
3354
|
const div = React.useRef(null);
|
|
3355
3355
|
const rowRef = React.useRef(null);
|
|
@@ -3519,13 +3519,13 @@ const StyledUserInfoFormContainer = styled__default["default"].div `
|
|
|
3519
3519
|
margin: 0 auto;
|
|
3520
3520
|
background: #f7f9fc;
|
|
3521
3521
|
border-radius: ${theme.theme.borderRadius};
|
|
3522
|
-
${utils
|
|
3522
|
+
${utils.MediaQueries.mbDown} {
|
|
3523
3523
|
padding: 16px;
|
|
3524
3524
|
}
|
|
3525
|
-
${utils
|
|
3525
|
+
${utils.MediaQueries.tdDown} {
|
|
3526
3526
|
padding: 24px;
|
|
3527
3527
|
}
|
|
3528
|
-
${utils
|
|
3528
|
+
${utils.MediaQueries.mbUp} {
|
|
3529
3529
|
padding: 32px;
|
|
3530
3530
|
}
|
|
3531
3531
|
.user-info-form {
|
|
@@ -3541,13 +3541,13 @@ const StyledUserInfoFormContainer = styled__default["default"].div `
|
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
.input-row {
|
|
3544
|
-
${utils
|
|
3544
|
+
${utils.MediaQueries.mbDown} {
|
|
3545
3545
|
margin-bottom: 16px;
|
|
3546
3546
|
}
|
|
3547
|
-
${utils
|
|
3547
|
+
${utils.MediaQueries.tdDown} {
|
|
3548
3548
|
margin-bottom: 18px;
|
|
3549
3549
|
}
|
|
3550
|
-
${utils
|
|
3550
|
+
${utils.MediaQueries.mbUp} {
|
|
3551
3551
|
margin-bottom: 20px;
|
|
3552
3552
|
}
|
|
3553
3553
|
.address-dropdown > ul {
|
|
@@ -3738,13 +3738,13 @@ const StyledUserInfoFormContainer = styled__default["default"].div `
|
|
|
3738
3738
|
}
|
|
3739
3739
|
}
|
|
3740
3740
|
.submit-btn-row {
|
|
3741
|
-
${utils
|
|
3741
|
+
${utils.MediaQueries.mbUp} {
|
|
3742
3742
|
margin-bottom: 16px;
|
|
3743
3743
|
}
|
|
3744
|
-
${utils
|
|
3744
|
+
${utils.MediaQueries.tdDown} {
|
|
3745
3745
|
margin-bottom: 14px;
|
|
3746
3746
|
}
|
|
3747
|
-
${utils
|
|
3747
|
+
${utils.MediaQueries.mbDown} {
|
|
3748
3748
|
margin-bottom: 12px;
|
|
3749
3749
|
}
|
|
3750
3750
|
.subot-checkbox {
|
|
@@ -3887,7 +3887,7 @@ const StyleWrapperFullAddress = styled__default["default"].div `
|
|
|
3887
3887
|
gap: 16px;
|
|
3888
3888
|
justify-content: space-between;
|
|
3889
3889
|
|
|
3890
|
-
${utils
|
|
3890
|
+
${utils.MediaQueries.mbDown} {
|
|
3891
3891
|
flex-direction: column;
|
|
3892
3892
|
gap: 0;
|
|
3893
3893
|
}
|
|
@@ -3997,7 +3997,7 @@ const CountDown = ({ onFinish, onClick, isFinished, resendLabel, className }, re
|
|
|
3997
3997
|
const [count, setCount] = React.useState(index$1.TIME_RESET_RESEND_OTP);
|
|
3998
3998
|
const intervalId = React.useRef();
|
|
3999
3999
|
const onFinishLatest = React.useRef();
|
|
4000
|
-
const { formatMessage: f } = React.useContext(
|
|
4000
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
4001
4001
|
onFinishLatest.current = onFinish;
|
|
4002
4002
|
const resetCountDown = React.useCallback(() => {
|
|
4003
4003
|
let currentCount = index$1.TIME_RESET_RESEND_OTP;
|
|
@@ -4043,24 +4043,24 @@ styled__default["default"].div `
|
|
|
4043
4043
|
margin: 0 auto;
|
|
4044
4044
|
background: #f7f9fc;
|
|
4045
4045
|
border-radius: ${theme.theme.borderRadius};
|
|
4046
|
-
${utils
|
|
4046
|
+
${utils.MediaQueries.mbDown} {
|
|
4047
4047
|
padding: 16px;
|
|
4048
4048
|
}
|
|
4049
|
-
${utils
|
|
4049
|
+
${utils.MediaQueries.tdDown} {
|
|
4050
4050
|
padding: 24px;
|
|
4051
4051
|
}
|
|
4052
|
-
${utils
|
|
4052
|
+
${utils.MediaQueries.mbUp} {
|
|
4053
4053
|
padding: 32px;
|
|
4054
4054
|
}
|
|
4055
4055
|
.user-info-form {
|
|
4056
4056
|
.input-row {
|
|
4057
|
-
${utils
|
|
4057
|
+
${utils.MediaQueries.mbDown} {
|
|
4058
4058
|
margin-bottom: 16px;
|
|
4059
4059
|
}
|
|
4060
|
-
${utils
|
|
4060
|
+
${utils.MediaQueries.tdDown} {
|
|
4061
4061
|
margin-bottom: 18px;
|
|
4062
4062
|
}
|
|
4063
|
-
${utils
|
|
4063
|
+
${utils.MediaQueries.mbUp} {
|
|
4064
4064
|
margin-bottom: 20px;
|
|
4065
4065
|
}
|
|
4066
4066
|
.address-dropdown > ul {
|
|
@@ -4133,13 +4133,13 @@ styled__default["default"].div `
|
|
|
4133
4133
|
}
|
|
4134
4134
|
}
|
|
4135
4135
|
.submit-btn-row {
|
|
4136
|
-
${utils
|
|
4136
|
+
${utils.MediaQueries.mbUp} {
|
|
4137
4137
|
margin-bottom: 16px;
|
|
4138
4138
|
}
|
|
4139
|
-
${utils
|
|
4139
|
+
${utils.MediaQueries.tdDown} {
|
|
4140
4140
|
margin-bottom: 14px;
|
|
4141
4141
|
}
|
|
4142
|
-
${utils
|
|
4142
|
+
${utils.MediaQueries.mbDown} {
|
|
4143
4143
|
margin-bottom: 12px;
|
|
4144
4144
|
}
|
|
4145
4145
|
.subot-checkbox {
|
|
@@ -4338,10 +4338,10 @@ const PhoneInputWithCode = (props) => {
|
|
|
4338
4338
|
|
|
4339
4339
|
const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSubmitMeta, isFormRevamp, botId, nodeId, trackingSubmitBtn, }) => {
|
|
4340
4340
|
const countRef = React.useRef();
|
|
4341
|
-
const userInfo =
|
|
4342
|
-
const locale =
|
|
4341
|
+
const userInfo = togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.userInfo;
|
|
4342
|
+
const locale = togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.locale;
|
|
4343
4343
|
const currentUrl = useCurrentUrl();
|
|
4344
|
-
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(
|
|
4344
|
+
const { formatMessage: f, action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
4345
4345
|
const addressData = useAddressMultipleLevelData(countryCode);
|
|
4346
4346
|
// Level 1
|
|
4347
4347
|
const provinceData = React.useMemo(() => {
|
|
@@ -4571,7 +4571,7 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4571
4571
|
}
|
|
4572
4572
|
setIsLoading(true);
|
|
4573
4573
|
try {
|
|
4574
|
-
const result = yield
|
|
4574
|
+
const result = yield togetherComponentGlobalContext.callApi(getSubotApiPath(actionOtpWhatsApp
|
|
4575
4575
|
? PATHS$1.POST_SEND_OTP_WHATSAPP
|
|
4576
4576
|
: PATHS$1.POST_SEND_OTP), 'POST', {
|
|
4577
4577
|
data: actionOtpWhatsApp
|
|
@@ -4649,7 +4649,7 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4649
4649
|
const parsedPhone = PhoneInputBase.parsePhoneNumber(data.otpPhoneNumber);
|
|
4650
4650
|
if (action.key && parsedPhone) {
|
|
4651
4651
|
try {
|
|
4652
|
-
const result = yield
|
|
4652
|
+
const result = yield togetherComponentGlobalContext.callApi(getSubotApiPath(actionOtpWhatsApp
|
|
4653
4653
|
? PATHS$1.POST_VERIFY_OTP_WHATSAPP
|
|
4654
4654
|
: PATHS$1.POST_VERIFY_OTP), 'POST', {
|
|
4655
4655
|
data: actionOtpWhatsApp
|
|
@@ -4992,7 +4992,7 @@ const StyledWrap$a = styled__default["default"].div `
|
|
|
4992
4992
|
|
|
4993
4993
|
const Container$d = ({ node, indexNumber }) => {
|
|
4994
4994
|
var _a;
|
|
4995
|
-
const locale =
|
|
4995
|
+
const locale = togetherComponentGlobalContext.GlobalData === null || togetherComponentGlobalContext.GlobalData === void 0 ? void 0 : togetherComponentGlobalContext.GlobalData.locale;
|
|
4996
4996
|
const { params, listNodes, activeId, onSubmit, setIsShowFooter } = React.useContext(SubotInlineContext);
|
|
4997
4997
|
React.useMemo(() => {
|
|
4998
4998
|
setIsShowFooter(true);
|
|
@@ -5033,7 +5033,7 @@ const StyledWrap$8 = styled__default["default"].div `
|
|
|
5033
5033
|
width: calc(50% - 8px);
|
|
5034
5034
|
}
|
|
5035
5035
|
|
|
5036
|
-
${utils
|
|
5036
|
+
${utils.MediaQueries.mbUp} {
|
|
5037
5037
|
gap: 32px;
|
|
5038
5038
|
padding: 0 16px;
|
|
5039
5039
|
|
|
@@ -5242,7 +5242,7 @@ const stylesButtonSubmitOther = {
|
|
|
5242
5242
|
|
|
5243
5243
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5244
5244
|
const timeoutId = React.useRef(null);
|
|
5245
|
-
const { formatMessage: f } = React.useContext(
|
|
5245
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
5246
5246
|
const currentUrl = useCurrentUrl();
|
|
5247
5247
|
const inputRef = React.useRef(null);
|
|
5248
5248
|
const [otherText, setOtherText] = React.useState('');
|
|
@@ -5495,7 +5495,7 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5495
5495
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5496
5496
|
|
|
5497
5497
|
const useDescriptionPollNode = ({ node }) => {
|
|
5498
|
-
const { formatMessage: f } = React.useContext(
|
|
5498
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
5499
5499
|
let description = f({
|
|
5500
5500
|
id: 'multiSelectError.required',
|
|
5501
5501
|
defaultMessage: 'You must choose one options',
|
|
@@ -5611,7 +5611,7 @@ Container$4.displayName = 'SubotinlineNodePoll';
|
|
|
5611
5611
|
const StyledWrap$1 = styled__default["default"].div ``;
|
|
5612
5612
|
|
|
5613
5613
|
const Container$3 = ({ node }) => {
|
|
5614
|
-
const { formatMessage: f } = React.useContext(
|
|
5614
|
+
const { formatMessage: f } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
5615
5615
|
const { params, setIsShowFooter, listNodes, activeId } = React.useContext(SubotInlineContext);
|
|
5616
5616
|
React.useMemo(() => {
|
|
5617
5617
|
setIsShowFooter(true);
|