@hhgtech/hhg-components 1.29.520-beta-5 → 1.29.520-beta-7
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/{InputDate-b85ee839.js → InputDate-744c05ca.js} +5 -5
- package/build/{LastPeriod-fb1b4b42.js → LastPeriod-37031c2c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-04bf79a8.js → MobileBottomNavigationIcon-7c322835.js} +3 -3
- package/build/{SiteWideBanner-a7f2201d.js → SiteWideBanner-375b63a6.js} +11 -11
- package/build/{Spinner-bb8a937b.js → Spinner-ec896822.js} +1 -1
- package/build/{WhatsApp-ddb61795.js → WhatsApp-1bbfe122.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +51 -51
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/organisms/index.d.ts +1 -0
- package/build/components/organisms/popupRequestConsultation/index.styled.d.ts +2 -2
- package/build/components.js +117 -106
- package/build/{constants-de304902.js → constants-09c2b217.js} +2 -2
- package/build/{constants-43d69801.js → constants-deaf5b3f.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-ad99cc11.js → core-3973bc2e.js} +1 -1
- package/build/{dataTransform-e0335471.js → dataTransform-d22b4528.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-61e1483f.js → editor-b64d1f58.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-650b470e.js → InputDate-20ce9efc.js} +5 -5
- package/build/esm/{LastPeriod-a7227ae5.js → LastPeriod-b39727e7.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-adc9fdde.js → MobileBottomNavigationIcon-683f2601.js} +3 -3
- package/build/esm/{SiteWideBanner-86c56be7.js → SiteWideBanner-5d49ffcf.js} +11 -11
- package/build/esm/{Spinner-6c17cbdd.js → Spinner-93c696ba.js} +1 -1
- package/build/esm/{WhatsApp-f1486c73.js → WhatsApp-ee5efd1a.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +51 -51
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/organisms/index.d.ts +1 -0
- package/build/esm/components/organisms/popupRequestConsultation/index.styled.d.ts +2 -2
- package/build/esm/components.js +106 -106
- package/build/esm/{constants-a3beb0a0.js → constants-6569a2a4.js} +2 -2
- package/build/esm/{constants-2e870ca3.js → constants-fa0cefdc.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-c5628046.js → core-daf21dad.js} +1 -1
- package/build/esm/{dataTransform-b2eb7e06.js → dataTransform-405ac704.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-7b5408f6.js → editor-14d2da67.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-4cf465bb.js → healthTools-a5f183f7.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-8c5868e7.js → index-0212c573.js} +1 -1
- package/build/esm/{index-0a423583.js → index-0a88b3e9.js} +42 -37
- package/build/esm/{index-90706022.js → index-120c7c23.js} +1 -1
- package/build/esm/{index-522f600c.js → index-14609868.js} +14 -14
- package/build/esm/{index-0d320dc6.js → index-19954c88.js} +2 -2
- package/build/esm/{index-7f7e8982.js → index-1e790a2d.js} +9 -9
- package/build/esm/{index-798332ff.js → index-1e9235f0.js} +2 -2
- package/build/esm/{index-cabb927b.js → index-1f0b10fb.js} +32 -32
- package/build/esm/{index-e06bd322.js → index-23ec18d8.js} +16 -16
- package/build/esm/{index-ab511c8a.js → index-2617c416.js} +2 -2
- package/build/esm/{index-debd525a.js → index-26b248a1.js} +4 -4
- package/build/esm/{index-4ae2bfea.js → index-2f6f2005.js} +2 -2
- package/build/esm/{index-12cc5f44.js → index-3123fdb5.js} +18 -18
- package/build/esm/{index-f159e9ca.js → index-39c01c3f.js} +2 -2
- package/build/esm/{index-bdd16e60.js → index-41d798ef.js} +1 -1
- package/build/esm/{index-9adb0e0a.js → index-48170d8c.js} +6 -6
- package/build/esm/{index-6a53c60f.js → index-49f21f0d.js} +6 -6
- package/build/esm/{index-ae8719b6.js → index-4a998d94.js} +13 -13
- package/build/esm/{index-e76cf1c5.js → index-552bc6fd.js} +15 -15
- package/build/esm/{index-746ec169.js → index-605dd3d8.js} +21 -21
- package/build/esm/{index-8db2a197.js → index-63aa49bd.js} +4 -4
- package/build/esm/{index-4ba1e03a.js → index-6600c014.js} +3 -3
- package/build/esm/{index-659dc701.js → index-6803892f.js} +3 -3
- package/build/esm/{index-ac96ee62.js → index-683b8509.js} +19 -19
- package/build/esm/{index-b57ee86e.js → index-6b9eb147.js} +2 -2
- package/build/esm/{index-8dd0e525.js → index-712abda4.js} +5 -5
- package/build/esm/{index-805648ae.js → index-71507440.js} +16 -16
- package/build/esm/{index-e3522929.js → index-74ede995.js} +14 -14
- package/build/esm/{index-d1ad1a0d.js → index-75b38159.js} +9 -9
- package/build/esm/{index-e724bcd9.js → index-7ca2c5d1.js} +8 -8
- package/build/esm/{index-5c50aecd.js → index-7cb0d963.js} +2 -2
- package/build/esm/{index-358f3ccb.js → index-905ebc96.js} +3 -3
- package/build/esm/{index-8af428e2.js → index-9503fc06.js} +2 -2
- package/build/esm/{index-80011c8c.js → index-9508782d.js} +2 -2
- package/build/esm/{index-f267d0b3.js → index-9914240c.js} +1 -1
- package/build/esm/{index-65bd7d8a.js → index-9d343bda.js} +15 -15
- package/build/esm/{index-a2eb0f09.js → index-a3356fb7.js} +16 -16
- package/build/esm/{index-6a599cb9.js → index-a5bc4c04.js} +25 -25
- package/build/esm/{index-41658acd.js → index-a7681b2d.js} +3 -3
- package/build/esm/{index-8f368190.js → index-ad4fb104.js} +2 -2
- package/build/esm/{index-9b6c372c.js → index-adc159aa.js} +15 -15
- package/build/esm/{index-306fa320.js → index-ae9b8cf9.js} +3 -3
- package/build/esm/{index-a3f84672.js → index-b00ae677.js} +3 -3
- package/build/esm/{index-e4491684.js → index-b3af5e27.js} +3 -3
- package/build/esm/{index-8d24d8a6.js → index-b43c0771.js} +1 -1
- package/build/esm/{index-4e802688.js → index-c4ba78cd.js} +2 -2
- package/build/esm/{index-f76dc5cd.js → index-c5371c12.js} +3 -3
- package/build/esm/{index-bbc92c5b.js → index-c77719af.js} +6 -6
- package/build/esm/{index-e6003c3d.js → index-c8e6c9bf.js} +7 -7
- package/build/esm/{index-df28ba95.js → index-ce39d345.js} +16 -16
- package/build/esm/{index-a9f33279.js → index-cf07ea9b.js} +5 -5
- package/build/esm/{index-778e1238.js → index-d10b1179.js} +3 -3
- package/build/esm/{index-8af12def.js → index-d2071a22.js} +14 -14
- package/build/esm/{index-e927c5dd.js → index-db9c09b9.js} +2 -2
- package/build/esm/{index-2d1bb36e.js → index-dea60e5c.js} +11 -11
- package/build/esm/{index-f58fd0d5.js → index-dfa3ea8c.js} +22 -22
- package/build/esm/{index-6fc27424.js → index-dfee441d.js} +2 -2
- package/build/esm/{index-2c1867b9.js → index-e1cfc149.js} +18 -18
- package/build/esm/{index-089327fd.js → index-e3c03246.js} +2 -2
- package/build/esm/{index-a2d8d81d.js → index-eb3cbbad.js} +7 -7
- package/build/esm/{index-01734c17.js → index-eb66f0ce.js} +3 -3
- package/build/esm/{index-9717d689.js → index-ec3a21ba.js} +6 -6
- package/build/esm/{index-cf9c690e.js → index-ed1a2e7c.js} +13 -13
- package/build/esm/{index-9172941c.js → index-edb85909.js} +2 -2
- package/build/esm/{index-4417a7c0.js → index-ee2909fd.js} +1 -1
- package/build/esm/{index-ecd16c5b.js → index-f59bf9f3.js} +416 -32
- package/build/esm/{index-f3302ec1.js → index-f71e5c6b.js} +17 -17
- package/build/esm/{index-fcf32540.js → index-f7a3146c.js} +2 -2
- package/build/esm/{index-2c7690d8.js → index-f808ff03.js} +1 -1
- package/build/esm/{index-7c5fbd3f.js → index-fce31249.js} +32 -32
- package/build/esm/{index-a9a4f67d.js → index-fd8c5ff9.js} +2 -2
- package/build/esm/index.js +127 -131
- package/build/esm/{labelSorting-31d14dc9.js → labelSorting-022ae3fd.js} +4 -4
- package/build/esm/lead.js +37 -37
- package/build/esm/{logoIcon-4c0c075e.js → logoIcon-bbb263f0.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +79 -79
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +49 -49
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +61 -59
- package/build/esm/{post-72cfb0c6.js → post-c8466615.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-2516e0e3.js → store-bae58c36.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-265a4cbc.js → surveyThankyouCard-450431b8.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-74ad8ef4.js → transform-d13904cc.js} +27 -27
- package/build/esm/{translationsProvider-c6752277.js → translationsProvider-1fd87674.js} +1 -1
- package/build/esm/{treePopoverMenu-8580ab19.js → treePopoverMenu-fc4d7402.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-9588dce4.js → useCartCareService-8e6f34ec.js} +1 -1
- package/build/esm/{useHealthToolCache-72328019.js → useHealthToolCache-2e62a3d6.js} +1 -1
- package/build/esm/{usePhoneValidator-de2bd978.js → usePhoneValidator-ec5052e3.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-0875f32c.js → usePlacesAutocomplete-1ea0a20a.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-09f02159.js → utils-22b8e9a4.js} +2 -2
- package/build/esm/{utils-20a0f4f5.js → utils-2989e0a3.js} +3 -3
- package/build/esm/{utils-5d34a2ca.js → utils-876f19ff.js} +5 -5
- package/build/esm/{utils-8343e5b9.js → utils-8954fc9e.js} +2 -2
- package/build/esm/{utils-ba496c07.js → utils-e8a36ca2.js} +3 -3
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-743b1a6c.js → healthTools-fc3b0ac3.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-87fb4bf6.js → index-01ab4bd1.js} +7 -7
- package/build/{index-ed616b4e.js → index-08d8d341.js} +2 -2
- package/build/{index-a11e2ae9.js → index-096e8c04.js} +2 -2
- package/build/{index-1ecd17ad.js → index-11be9830.js} +14 -14
- package/build/{index-b01aef86.js → index-1fbc5001.js} +2 -2
- package/build/{index-db0658ed.js → index-21c760c5.js} +3 -3
- package/build/{index-dcfe36f2.js → index-24e3a8f8.js} +1 -1
- package/build/{index-9511e27e.js → index-2a37a48c.js} +6 -6
- package/build/{index-40bce895.js → index-32c14d61.js} +2 -2
- package/build/{index-9773a4d3.js → index-3bbb0cac.js} +3 -3
- package/build/{index-7c0ed5ab.js → index-3c5d89a1.js} +7 -7
- package/build/{index-d3878a63.js → index-3dd6bb9a.js} +2 -2
- package/build/{index-810dcf34.js → index-407800c5.js} +16 -16
- package/build/{index-aa37a6af.js → index-4864cc98.js} +6 -6
- package/build/{index-850ad4dd.js → index-4988efe5.js} +1 -1
- package/build/{index-d2d521c2.js → index-4a90bd4c.js} +5 -5
- package/build/{index-9f3de38f.js → index-4b0c71ee.js} +14 -14
- package/build/{index-bae9383f.js → index-4b2b7389.js} +2 -2
- package/build/{index-d6bc8145.js → index-4b3b1762.js} +2 -2
- package/build/{index-1a714f39.js → index-4cc0bd34.js} +1 -1
- package/build/{index-aba5daec.js → index-4cd426ec.js} +3 -3
- package/build/{index-13379a54.js → index-4fa39e95.js} +4 -4
- package/build/{index-0d276b0b.js → index-5157a882.js} +8 -8
- package/build/{index-04bdfe80.js → index-58fe942f.js} +3 -3
- package/build/{index-51045ffd.js → index-6696baf6.js} +4 -4
- package/build/{index-1ec4ff70.js → index-678905e1.js} +1 -1
- package/build/{index-78adfa56.js → index-678ba8b7.js} +25 -25
- package/build/{index-cdc79f77.js → index-68431109.js} +15 -15
- package/build/{index-eb7302fc.js → index-6eb12f0a.js} +9 -9
- package/build/{index-7825b31d.js → index-6f181c4c.js} +32 -32
- package/build/{index-e0972367.js → index-7d3da00a.js} +2 -2
- package/build/{index-f60566ad.js → index-8123533f.js} +19 -19
- package/build/{index-bf88e652.js → index-81885d06.js} +22 -22
- package/build/{index-1b3d2e00.js → index-8352fcd2.js} +3 -3
- package/build/{index-2e4465de.js → index-83a633f3.js} +13 -13
- package/build/{index-02631bb4.js → index-84ca601e.js} +2 -2
- package/build/{index-8c6b6b79.js → index-92bad80f.js} +430 -42
- package/build/{index-6ff0876c.js → index-9a668cef.js} +2 -2
- package/build/{index-ed26d5b0.js → index-9b00ba26.js} +2 -2
- package/build/{index-8c648613.js → index-9b3ac9ee.js} +18 -18
- package/build/{index-1e88a762.js → index-9eb2d41f.js} +17 -17
- package/build/{index-15e62725.js → index-a44c11b7.js} +3 -3
- package/build/{index-0e1eb5ab.js → index-a51f41ed.js} +2 -2
- package/build/{index-3024c3ac.js → index-afad07e5.js} +3 -3
- package/build/{index-950ae660.js → index-b53c7af1.js} +9 -9
- package/build/{index-3fae6f0d.js → index-b60d066d.js} +3 -3
- package/build/{index-141030f3.js → index-b63aaffd.js} +6 -6
- package/build/{index-cd1d2ec3.js → index-b97395b3.js} +2 -2
- package/build/{index-d632907d.js → index-ba87766b.js} +13 -13
- package/build/{index-d9142e8e.js → index-be9d3ef8.js} +2 -2
- package/build/{index-7879038c.js → index-c14ed54b.js} +6 -6
- package/build/{index-27800271.js → index-c530f9ed.js} +5 -5
- package/build/{index-8755ba98.js → index-c5d790a7.js} +1 -1
- package/build/{index-af0047f3.js → index-caee3490.js} +2 -2
- package/build/{index-b60e48bd.js → index-cc355554.js} +15 -15
- package/build/{index-2dd387d7.js → index-d060bace.js} +21 -21
- package/build/{index-580aa0d3.js → index-d1400111.js} +2 -2
- package/build/{index-450f06ba.js → index-d3f86dff.js} +16 -16
- package/build/{index-a1769aff.js → index-d4c5f28f.js} +3 -3
- package/build/{index-fdeac1b4.js → index-df2eef63.js} +16 -16
- package/build/{index-f6f7b4e0.js → index-e17a4e01.js} +15 -15
- package/build/{index-130c5e42.js → index-e69c5a24.js} +14 -14
- package/build/{index-417d06ae.js → index-ea0bc2e2.js} +1 -1
- package/build/{index-30312b63.js → index-ecdcf50a.js} +42 -37
- package/build/{index-e3e195d6.js → index-ed7ebb3e.js} +18 -18
- package/build/{index-8d74fcef.js → index-edc4d31c.js} +32 -32
- package/build/{index-dbc079d0.js → index-ef4a0cf0.js} +16 -16
- package/build/{index-b4d87d0f.js → index-f3286bca.js} +2 -2
- package/build/{index-ad2f468c.js → index-f6a41536.js} +11 -11
- package/build/{index-713ede47.js → index-f8330109.js} +1 -1
- package/build/{index-ee5a482b.js → index-fd833bb6.js} +3 -3
- package/build/index.js +138 -131
- package/build/{labelSorting-35c05501.js → labelSorting-f0397e6c.js} +4 -4
- package/build/lead.js +37 -37
- package/build/{logoIcon-55457c57.js → logoIcon-ea8b4ad9.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +79 -79
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +49 -49
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +72 -59
- package/build/{post-4c465ef5.js → post-1d30d370.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-7957d01a.js → store-5b7838da.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-038bea9a.js → surveyThankyouCard-40350b90.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-831ac7e6.js → transform-86ca140e.js} +27 -27
- package/build/{translationsProvider-1e3fbd69.js → translationsProvider-39dde387.js} +1 -1
- package/build/{treePopoverMenu-f4b8c95c.js → treePopoverMenu-9d2c2a7a.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-ec25882f.js → useCartCareService-b0ebe5e3.js} +1 -1
- package/build/{useHealthToolCache-92f38d05.js → useHealthToolCache-10f2f44e.js} +1 -1
- package/build/{usePhoneValidator-b48f65d5.js → usePhoneValidator-f1f69c20.js} +5 -5
- package/build/{usePlacesAutocomplete-30757947.js → usePlacesAutocomplete-0ed58494.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-b0fa6a09.js → utils-34c35cf6.js} +3 -3
- package/build/{utils-442f546c.js → utils-4ab4fd7a.js} +3 -3
- package/build/{utils-2461fc99.js → utils-4d4c52b0.js} +2 -2
- package/build/{utils-d03fcbd3.js → utils-7252b5c2.js} +2 -2
- package/build/{utils-f62384b7.js → utils-a5bc88dd.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-1d684c6c.js → BMI_BOYS.percentile.monthly-6d47a90a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-65b1890d.js → BMI_BOYS.percentile.weekly-b204a3b6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d9666108.js → BMI_BOYS.percentile.yearly-51b7dd14.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1de2f134.js → BMI_BOYS.zscore.monthly-0c294c85.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-42eaf768.js → BMI_BOYS.zscore.weekly-af18a19d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-1c14fbc0.js → BMI_BOYS.zscore.yearly-15c44a5d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-9f14218b.js → BMI_GIRLS.percentile.monthly-4939585f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-6117ffe3.js → BMI_GIRLS.percentile.weekly-3e1c8e8e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-2f607062.js → BMI_GIRLS.percentile.yearly-b9601491.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ffc3c926.js → BMI_GIRLS.zscore.monthly-5a47ef44.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-0300850c.js → BMI_GIRLS.zscore.weekly-0d353ba9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ef7cc5db.js → BMI_GIRLS.zscore.yearly-6eba0fd4.js} +0 -0
- /package/build/{ChevronDown-2291221b.js → ChevronDown-326383cf.js} +0 -0
- /package/build/{Close-a0f041aa.js → Close-4cbfb100.js} +0 -0
- /package/build/{Google-3217985e.js → Google-e054e349.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-718a4c72.js → HEAD CIRCUM_BOYS.percentile.monthly-9b5c6dbb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-cfe01ae0.js → HEAD CIRCUM_BOYS.percentile.weekly-8f7fc9f9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-37ea5080.js → HEAD CIRCUM_BOYS.percentile.yearly-cfe01e93.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e07f7f38.js → HEAD CIRCUM_BOYS.zscore.monthly-3f39581a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-975632d0.js → HEAD CIRCUM_BOYS.zscore.weekly-b68bd2c1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bfcae450.js → HEAD CIRCUM_BOYS.zscore.yearly-cc955dd5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-eecd551b.js → HEAD CIRCUM_GIRLS.percentile.monthly-bda18254.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-ff330582.js → HEAD CIRCUM_GIRLS.percentile.weekly-77a168ab.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-df7f839c.js → HEAD CIRCUM_GIRLS.percentile.yearly-14554d5d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-79d60e20.js → HEAD CIRCUM_GIRLS.zscore.monthly-b6cb028b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-86e595c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-4e5deb23.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6e4f8c58.js → HEAD CIRCUM_GIRLS.zscore.yearly-1d881a15.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-7e91fec7.js → HEIGHT_BOYS.percentile.monthly-bb4512a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-ac6dd117.js → HEIGHT_BOYS.percentile.weekly-f1f5c01e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-03ce0d92.js → HEIGHT_BOYS.percentile.yearly-a3a80281.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e526b71d.js → HEIGHT_BOYS.zscore.monthly-a097ba73.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0250e08f.js → HEIGHT_BOYS.zscore.weekly-f2993168.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-5be5b5bf.js → HEIGHT_BOYS.zscore.yearly-747e9600.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-e546b079.js → HEIGHT_GIRLS.percentile.monthly-ede27a17.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4fa7241a.js → HEIGHT_GIRLS.percentile.weekly-d32d023f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ecf328b6.js → HEIGHT_GIRLS.percentile.yearly-c623b98a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d38fba77.js → HEIGHT_GIRLS.zscore.monthly-42527014.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d21f65dd.js → HEIGHT_GIRLS.zscore.weekly-51ab1a91.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-168b47c9.js → HEIGHT_GIRLS.zscore.yearly-1456f4fb.js} +0 -0
- /package/build/{Locale-6d5e3142.js → Locale-51f0b940.js} +0 -0
- /package/build/{Visible-eb08c943.js → Visible-0e9f7ec1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-40ee4036.js → WEIGHT_BOYS.percentile.monthly-0550bcd2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-b5cd3333.js → WEIGHT_BOYS.percentile.weekly-0e03d32a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-76a357b2.js → WEIGHT_BOYS.percentile.yearly-c622eae5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b028912d.js → WEIGHT_BOYS.zscore.monthly-a9fec445.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-14362d1b.js → WEIGHT_BOYS.zscore.weekly-95f262a2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-dc3593c2.js → WEIGHT_BOYS.zscore.yearly-eda5b207.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-46a48a5b.js → WEIGHT_GIRLS.percentile.monthly-c47ec0e3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-ad1a2fe9.js → WEIGHT_GIRLS.percentile.weekly-b4cb3a94.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ad73815f.js → WEIGHT_GIRLS.percentile.yearly-2dbdcc09.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-eb87d87d.js → WEIGHT_GIRLS.zscore.monthly-efd3d967.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c81434d4.js → WEIGHT_GIRLS.zscore.weekly-e852b52a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8d5701a1.js → WEIGHT_GIRLS.zscore.yearly-e3b8382a.js} +0 -0
- /package/build/{ageGenerate-e5eda587.js → ageGenerate-59ab4948.js} +0 -0
- /package/build/{animation-41812b77.js → animation-babb5a6f.js} +0 -0
- /package/build/{constants-d43be044.js → constants-788ed72a.js} +0 -0
- /package/build/{constants-8f93851e.js → constants-c085b41c.js} +0 -0
- /package/build/{context-319ebb58.js → context-8efb40bf.js} +0 -0
- /package/build/{dataTransform-7afbc5e1.js → dataTransform-b811a5ba.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-13ffef8b.js → BMI_BOYS.percentile.monthly-0464edcf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-17c7dc86.js → BMI_BOYS.percentile.weekly-4a767f82.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-96756883.js → BMI_BOYS.percentile.yearly-1445eb27.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d5ba4c84.js → BMI_BOYS.zscore.monthly-49994e81.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-aab93a0f.js → BMI_BOYS.zscore.weekly-567f9e4d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-850969c4.js → BMI_BOYS.zscore.yearly-a45b32d2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0a3a7be5.js → BMI_GIRLS.percentile.monthly-41a9a610.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-517d203d.js → BMI_GIRLS.percentile.weekly-57d8e8e0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-76c2daec.js → BMI_GIRLS.percentile.yearly-a0fb3013.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-caab5122.js → BMI_GIRLS.zscore.monthly-ac6ad379.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cbc65a5a.js → BMI_GIRLS.zscore.weekly-58103fb9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7898f9cb.js → BMI_GIRLS.zscore.yearly-f19f1a5d.js} +0 -0
- /package/build/esm/{ChevronDown-e575e086.js → ChevronDown-bdb5467f.js} +0 -0
- /package/build/esm/{Close-eca75ea9.js → Close-1cb6a571.js} +0 -0
- /package/build/esm/{Google-f8f63190.js → Google-8bc45e8b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c0c18385.js → HEAD CIRCUM_BOYS.percentile.monthly-5debd777.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8266e608.js → HEAD CIRCUM_BOYS.percentile.weekly-a54f92bb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-459ab162.js → HEAD CIRCUM_BOYS.percentile.yearly-a724bba1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b8451ef9.js → HEAD CIRCUM_BOYS.zscore.monthly-115aea5f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-fad068c2.js → HEAD CIRCUM_BOYS.zscore.weekly-4f89d72c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c215e34f.js → HEAD CIRCUM_BOYS.zscore.yearly-bcc71a4a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-343770ab.js → HEAD CIRCUM_GIRLS.percentile.monthly-79131c6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-fa7f10be.js → HEAD CIRCUM_GIRLS.percentile.weekly-7d1e6fbb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-97e5615e.js → HEAD CIRCUM_GIRLS.percentile.yearly-71e732f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e937e7d5.js → HEAD CIRCUM_GIRLS.zscore.monthly-e3641229.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-ff90e9e3.js → HEAD CIRCUM_GIRLS.zscore.weekly-4e20f2b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ac5f3a57.js → HEAD CIRCUM_GIRLS.zscore.yearly-a5b44518.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c55e3aad.js → HEIGHT_BOYS.percentile.monthly-2b4592ea.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-09e4d9d5.js → HEIGHT_BOYS.percentile.weekly-dfde07b3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-24ec02a4.js → HEIGHT_BOYS.percentile.yearly-8b29969b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-11fadacf.js → HEIGHT_BOYS.zscore.monthly-519c8a99.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0948396c.js → HEIGHT_BOYS.zscore.weekly-c4d98bd6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6407ab14.js → HEIGHT_BOYS.zscore.yearly-c9b8dc25.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-12920a29.js → HEIGHT_GIRLS.percentile.monthly-38409600.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3625ab58.js → HEIGHT_GIRLS.percentile.weekly-465ae4cb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b7cfd36a.js → HEIGHT_GIRLS.percentile.yearly-0790d50e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a2375b00.js → HEIGHT_GIRLS.zscore.monthly-7ae77019.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-93486f44.js → HEIGHT_GIRLS.zscore.weekly-10294516.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d5730294.js → HEIGHT_GIRLS.zscore.yearly-54115690.js} +0 -0
- /package/build/esm/{Locale-007e6483.js → Locale-d01b4421.js} +0 -0
- /package/build/esm/{Visible-421e15b7.js → Visible-0e419c52.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b14bfebb.js → WEIGHT_BOYS.percentile.monthly-3864a752.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-30b43dd6.js → WEIGHT_BOYS.percentile.weekly-ad31aa10.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-923cbdc6.js → WEIGHT_BOYS.percentile.yearly-7e5c732f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1d2f7392.js → WEIGHT_BOYS.zscore.monthly-0a33d430.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-dc0efff2.js → WEIGHT_BOYS.zscore.weekly-fb821912.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b8d5d6a1.js → WEIGHT_BOYS.zscore.yearly-91ac4d1a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-04b9c6d5.js → WEIGHT_GIRLS.percentile.monthly-8d326cbd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fd233037.js → WEIGHT_GIRLS.percentile.weekly-35ccd7bf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0e99abe3.js → WEIGHT_GIRLS.percentile.yearly-3eae1a81.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0511e539.js → WEIGHT_GIRLS.zscore.monthly-f0e81160.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9575d8d2.js → WEIGHT_GIRLS.zscore.weekly-268dad23.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-04c421d9.js → WEIGHT_GIRLS.zscore.yearly-60d2e4e6.js} +0 -0
- /package/build/esm/{ageGenerate-5ba6595f.js → ageGenerate-feefba79.js} +0 -0
- /package/build/esm/{animation-963240bb.js → animation-e7eec372.js} +0 -0
- /package/build/esm/{constants-2c8be005.js → constants-62c83831.js} +0 -0
- /package/build/esm/{constants-24ca6475.js → constants-eb714ab6.js} +0 -0
- /package/build/esm/{context-c85a084b.js → context-dac38b45.js} +0 -0
- /package/build/esm/{dataTransform-3ffe71a2.js → dataTransform-b4de154d.js} +0 -0
- /package/build/esm/{index-c4dee1ba.js → index-3a2e6687.js} +0 -0
- /package/build/esm/{index-fb4b8b6a.js → index-5b7419d1.js} +0 -0
- /package/build/esm/{index-5f15f59b.js → index-711a6c6f.js} +0 -0
- /package/build/esm/{index-53cb2ad5.js → index-74cde63f.js} +0 -0
- /package/build/esm/{index-9811028d.js → index-786e4a61.js} +0 -0
- /package/build/esm/{index-d3f4e7b4.js → index-86301375.js} +0 -0
- /package/build/esm/{index-dc4d14bb.js → index-9c5f20f6.js} +0 -0
- /package/build/esm/{index-8dea7f83.js → index-c639dbda.js} +0 -0
- /package/build/esm/{index-1c1b4657.js → index-da717bef.js} +0 -0
- /package/build/esm/{index.styles-28bd74d1.js → index.styles-e3f6346d.js} +0 -0
- /package/build/esm/{localizeNumberFormat-740cfb30.js → localizeNumberFormat-45e67f0c.js} +0 -0
- /package/build/esm/{normalizeLink-19f37206.js → normalizeLink-5c519313.js} +0 -0
- /package/build/esm/{number-d786a115.js → number-6397cdc3.js} +0 -0
- /package/build/esm/{paths-31b1517b.js → paths-2d191e46.js} +0 -0
- /package/build/esm/{shared-207fa7b9.js → shared-d0d4412d.js} +0 -0
- /package/build/esm/{translationsContext-52666d49.js → translationsContext-baa7e22b.js} +0 -0
- /package/build/esm/{tslib.es6-45813e4c.js → tslib.es6-347ab344.js} +0 -0
- /package/build/esm/{types-ec21e41e.js → types-2bf8528d.js} +0 -0
- /package/build/esm/{types-dd3702a4.js → types-939db66c.js} +0 -0
- /package/build/esm/{useOutsideClick-cc119936.js → useOutsideClick-efd07532.js} +0 -0
- /package/build/esm/{useScrollbarSize-d7f19037.js → useScrollbarSize-9f81a2a1.js} +0 -0
- /package/build/esm/{useUniqueId-73787893.js → useUniqueId-80dc1108.js} +0 -0
- /package/build/esm/{utils-a6dfe0a4.js → utils-a29b3e50.js} +0 -0
- /package/build/esm/{utils-88e7c8cc.js → utils-c5e9d0cd.js} +0 -0
- /package/build/{index-87d920b7.js → index-1a944174.js} +0 -0
- /package/build/{index-e21c6c12.js → index-2a5d779e.js} +0 -0
- /package/build/{index-f8525aa2.js → index-2fb7986f.js} +0 -0
- /package/build/{index-ae052eb9.js → index-60db4948.js} +0 -0
- /package/build/{index-e438c0a2.js → index-87d55037.js} +0 -0
- /package/build/{index-9248898a.js → index-bc6435f0.js} +0 -0
- /package/build/{index-66d0a9f3.js → index-da957cf2.js} +0 -0
- /package/build/{index-9bea80b2.js → index-f3bfad00.js} +0 -0
- /package/build/{index-6197622d.js → index-f40bdd3a.js} +0 -0
- /package/build/{index.styles-c96467dc.js → index.styles-61901132.js} +0 -0
- /package/build/{localizeNumberFormat-1e3d4f54.js → localizeNumberFormat-6ddff41a.js} +0 -0
- /package/build/{normalizeLink-327e6cc9.js → normalizeLink-4790135a.js} +0 -0
- /package/build/{number-e4245100.js → number-cd6d51ea.js} +0 -0
- /package/build/{paths-4419a55e.js → paths-c4537dde.js} +0 -0
- /package/build/{shared-442afb46.js → shared-48509e5f.js} +0 -0
- /package/build/{translationsContext-032080f0.js → translationsContext-aefaf371.js} +0 -0
- /package/build/{tslib.es6-be0d2c73.js → tslib.es6-7bc34a90.js} +0 -0
- /package/build/{types-350ad90e.js → types-9f418ce0.js} +0 -0
- /package/build/{types-2c692c99.js → types-b5ef3fdd.js} +0 -0
- /package/build/{useOutsideClick-c85b9c77.js → useOutsideClick-6354e832.js} +0 -0
- /package/build/{useScrollbarSize-e6a2017a.js → useScrollbarSize-a090dffd.js} +0 -0
- /package/build/{useUniqueId-3e33b20e.js → useUniqueId-9f21b455.js} +0 -0
- /package/build/{utils-2fb0ba1a.js → utils-575eb638.js} +0 -0
- /package/build/{utils-55133127.js → utils-c7b46617.js} +0 -0
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useMemo, useState, useEffect, useRef, createContext, useContext } from 'react';
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
3
|
+
import { u as useTranslations } from './index-b43c0771.js';
|
|
4
4
|
import { getCookie } from './miscCookieHelper.js';
|
|
5
|
-
import { C as CommonGAssets } from './index-
|
|
6
|
-
import { n as normalizeLinkSlash, e as normalizeLink } from './normalizeLink-
|
|
5
|
+
import { C as CommonGAssets } from './index-786e4a61.js';
|
|
6
|
+
import { n as normalizeLinkSlash, e as normalizeLink } from './normalizeLink-5c519313.js';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { A as Avatar, I as IconWrapper, D as DistanceTag, a as DrawerBottom, S as ShapedArrowDown } from './index-
|
|
9
|
-
import { g as getTogetherUserPostsApiPath } from './utils-
|
|
10
|
-
import { B as Button } from './index-
|
|
11
|
-
import { w as workingDays } from './types-
|
|
8
|
+
import { A as Avatar, I as IconWrapper, D as DistanceTag, a as DrawerBottom, S as ShapedArrowDown } from './index-712abda4.js';
|
|
9
|
+
import { g as getTogetherUserPostsApiPath } from './utils-e8a36ca2.js';
|
|
10
|
+
import { B as Button } from './index-ad4fb104.js';
|
|
11
|
+
import { w as workingDays } from './types-939db66c.js';
|
|
12
12
|
import styled from '@emotion/styled';
|
|
13
|
-
import { M as MediaQueries } from './utils-
|
|
13
|
+
import { M as MediaQueries } from './utils-c5e9d0cd.js';
|
|
14
14
|
import { rem, clsx, Flex, Box } from '@mantine/core';
|
|
15
15
|
import { LoadScript, GoogleMap, Marker } from '@react-google-maps/api';
|
|
16
16
|
import classNames from 'classnames';
|
|
17
|
-
import { b as basePath, Z as ZINDEX_SSO } from './index-
|
|
18
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
19
|
-
import { T as Text } from './index-
|
|
20
|
-
import { f as formatPhoneNumber } from './localizeNumberFormat-
|
|
21
|
-
import { a as __awaiter } from './tslib.es6-
|
|
17
|
+
import { b as basePath, Z as ZINDEX_SSO } from './index-9503fc06.js';
|
|
18
|
+
import { L as LOCALISED_SLUGS } from './constants-6569a2a4.js';
|
|
19
|
+
import { T as Text } from './index-4a998d94.js';
|
|
20
|
+
import { f as formatPhoneNumber } from './localizeNumberFormat-45e67f0c.js';
|
|
21
|
+
import { a as __awaiter } from './tslib.es6-347ab344.js';
|
|
22
22
|
import { useDisclosure } from '@mantine/hooks';
|
|
23
|
-
import { u as useTextStyles, T as TextField } from './index-
|
|
23
|
+
import { u as useTextStyles, T as TextField } from './index-f7a3146c.js';
|
|
24
24
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
25
|
-
import { P as Phone, I as Input, E as ErrorIcon } from './index-
|
|
26
|
-
import { G as GlobalTextStyleNew, C as CustomStylesType, F as FontWeight } from './index-
|
|
27
|
-
import { B as Button$1 } from './index-
|
|
28
|
-
import { M as MAPPED_LOCALE } from './index-
|
|
29
|
-
import { T as Text$1 } from './index-
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
25
|
+
import { P as Phone, I as Input, E as ErrorIcon } from './index-75b38159.js';
|
|
26
|
+
import { G as GlobalTextStyleNew, C as CustomStylesType, F as FontWeight } from './index-5b7419d1.js';
|
|
27
|
+
import { B as Button$1 } from './index-d10b1179.js';
|
|
28
|
+
import { M as MAPPED_LOCALE } from './index-7ca2c5d1.js';
|
|
29
|
+
import { T as Text$1 } from './index-db9c09b9.js';
|
|
30
|
+
import { G as GenderOptionControl } from './index-ed1a2e7c.js';
|
|
31
|
+
import { C as Close } from './Close-1cb6a571.js';
|
|
32
|
+
import { I as ImageWrap } from './index-2617c416.js';
|
|
33
|
+
import { I as InsuranceList, P as PaymentList, A as ArrowRightBlue, a as DoctorInfoExpertise, D as DoctorExpertiseItem, C as Clinic } from './index-ae9b8cf9.js';
|
|
32
34
|
|
|
33
35
|
/* eslint-disable prettier/prettier */
|
|
34
36
|
const Check = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 81 80", fill: "none" }, props),
|
|
@@ -40,6 +42,10 @@ const Clock = (props) => (React.createElement("svg", Object.assign({ width: "1em
|
|
|
40
42
|
React.createElement("path", { d: "M6 11.25C8.8995 11.25 11.25 8.8995 11.25 6C11.25 3.10051 8.8995 0.75 6 0.75C3.10051 0.75 0.75 3.10051 0.75 6C0.75 8.8995 3.10051 11.25 6 11.25Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
41
43
|
React.createElement("path", { d: "M6 3.25V6L8 7.75", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
42
44
|
|
|
45
|
+
/* eslint-disable prettier/prettier */
|
|
46
|
+
const Comment = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 40 40", fill: "none" }, props),
|
|
47
|
+
React.createElement("path", { d: "M20.0002 3.33203C29.1902 3.33203 36.6671 10.0621 36.6672 18.332C36.6672 18.8686 36.6342 19.4005 36.5725 19.9238C35.5792 29.1272 26.1203 35.6308 24.2336 36.8408L23.3333 37.417C21.8711 38.2196 21.7181 37.0263 21.6799 36.7295C21.6746 36.6884 21.6713 36.665 21.6672 36.666V33.2539C11.7339 34.1789 3.33325 27.097 3.33325 18.332C3.3334 10.0622 10.8104 3.33209 20.0002 3.33203ZM13.3333 16.666C12.4131 16.6663 11.6674 17.4118 11.6672 18.332C11.6672 19.2524 12.413 19.9988 13.3333 19.999C14.2537 19.999 15.0002 19.2525 15.0002 18.332C15.0001 17.4117 14.2536 16.666 13.3333 16.666ZM20.0002 16.666C19.0799 16.6661 18.3334 17.4117 18.3333 18.332C18.3333 19.2525 19.0798 19.999 20.0002 19.999C20.9207 19.999 21.6672 19.2525 21.6672 18.332C21.6671 17.4117 20.9206 16.666 20.0002 16.666ZM26.6672 16.666C25.7468 16.666 25.0004 17.4117 25.0002 18.332C25.0002 19.2525 25.7468 19.999 26.6672 19.999C27.5876 19.9989 28.3333 19.2524 28.3333 18.332C28.3331 17.4117 27.5875 16.6661 26.6672 16.666Z", fill: "#2D87F3" })));
|
|
48
|
+
|
|
43
49
|
/* eslint-disable prettier/prettier */
|
|
44
50
|
const Credential = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "none" }, props),
|
|
45
51
|
React.createElement("path", { d: "M10.7146 13.4812L11.5779 12.7568C11.7779 12.589 12.0312 12.4968 12.2923 12.4968H13.419C13.9579 12.4968 14.4201 12.1101 14.5135 11.579L14.709 10.469C14.7546 10.2112 14.889 9.97901 15.089 9.81124L15.9523 9.08679C16.3657 8.74012 16.4701 8.14679 16.2001 7.68012L15.6368 6.70346C15.5057 6.47679 15.459 6.21235 15.5046 5.95457L15.7001 4.84457C15.7935 4.31346 15.4923 3.79235 14.9857 3.6079L13.9268 3.22235C13.6812 3.13346 13.4757 2.96012 13.3446 2.73346L12.7812 1.75679C12.5112 1.29012 11.9457 1.08346 11.439 1.2679L10.3801 1.65346C10.1346 1.74235 9.86568 1.74235 9.62012 1.65346L8.56123 1.2679C8.05457 1.08346 7.48901 1.28901 7.21901 1.75679L6.65568 2.73346C6.52457 2.96012 6.31901 3.13235 6.07346 3.22235L5.01457 3.6079C4.5079 3.79235 4.20679 4.31346 4.30012 4.84457L4.49568 5.95457C4.54123 6.21235 4.49457 6.47679 4.36346 6.70346L3.80012 7.68012C3.53012 8.14679 3.63457 8.74012 4.0479 9.08679L4.91123 9.81124C5.11123 9.97901 5.24568 10.2123 5.29123 10.469L5.48679 11.579C5.58012 12.1101 6.04234 12.4968 6.58123 12.4968H7.7079C7.96901 12.4968 8.22234 12.589 8.42234 12.7568L9.28568 13.4812C9.69901 13.8279 10.3012 13.8279 10.7146 13.4812Z", stroke: "#8C8C8C", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -944,7 +950,7 @@ const StyledCollectPhoneForm = styled.div `
|
|
|
944
950
|
}
|
|
945
951
|
}
|
|
946
952
|
`;
|
|
947
|
-
const StyledButton = styled(Button$1) `
|
|
953
|
+
const StyledButton$1 = styled(Button$1) `
|
|
948
954
|
&.mantine-Button-root {
|
|
949
955
|
border-radius: 12px;
|
|
950
956
|
border: 1px solid;
|
|
@@ -963,7 +969,7 @@ const StyledButton = styled(Button$1) `
|
|
|
963
969
|
}
|
|
964
970
|
`;
|
|
965
971
|
styled(DrawerBottom) ``;
|
|
966
|
-
const StyledPhone = styled(Phone) `
|
|
972
|
+
const StyledPhone$1 = styled(Phone) `
|
|
967
973
|
--custom-primary-text: #111111;
|
|
968
974
|
.PhoneInputCountry {
|
|
969
975
|
pointer-events: none;
|
|
@@ -986,7 +992,7 @@ const StyledPhone = styled(Phone) `
|
|
|
986
992
|
}
|
|
987
993
|
}
|
|
988
994
|
`;
|
|
989
|
-
const StyledInputWrapper = styled(Input.Wrapper) `
|
|
995
|
+
const StyledInputWrapper$1 = styled(Input.Wrapper) `
|
|
990
996
|
--phone-input-space-x: -8px;
|
|
991
997
|
.mantine-Text-root[data-size='c1'] {
|
|
992
998
|
font-size: 0.75rem;
|
|
@@ -1007,7 +1013,7 @@ const formPhoneType = {
|
|
|
1007
1013
|
ZALO: 'Zalo',
|
|
1008
1014
|
WHATS_APP: 'Whatsapp',
|
|
1009
1015
|
};
|
|
1010
|
-
const DEFAULT_COUNTRY_CODE = 'VN';
|
|
1016
|
+
const DEFAULT_COUNTRY_CODE$1 = 'VN';
|
|
1011
1017
|
function CollectPhoneForm({ onSubmit, title, formType = formPhoneType.ZALO, isLoading, locale, }) {
|
|
1012
1018
|
const { t } = useTranslations();
|
|
1013
1019
|
const [phone, setPhone] = useState('');
|
|
@@ -1020,7 +1026,7 @@ function CollectPhoneForm({ onSubmit, title, formType = formPhoneType.ZALO, isLo
|
|
|
1020
1026
|
setErrorMessage(t('collectPhoneNumber.phoneRequired'));
|
|
1021
1027
|
return;
|
|
1022
1028
|
}
|
|
1023
|
-
const phoneData = parsePhoneNumber(value, DEFAULT_COUNTRY_CODE);
|
|
1029
|
+
const phoneData = parsePhoneNumber(value, DEFAULT_COUNTRY_CODE$1);
|
|
1024
1030
|
if (!(phoneData === null || phoneData === void 0 ? void 0 : phoneData.isValid())) {
|
|
1025
1031
|
setErrorMessage(t('collectPhoneNumber.inputInvalid'));
|
|
1026
1032
|
}
|
|
@@ -1039,7 +1045,7 @@ function CollectPhoneForm({ onSubmit, title, formType = formPhoneType.ZALO, isLo
|
|
|
1039
1045
|
const handleSubmit = () => {
|
|
1040
1046
|
validatePhone(phone);
|
|
1041
1047
|
setIsSubmitted(true);
|
|
1042
|
-
const phoneData = parsePhoneNumber(phone, DEFAULT_COUNTRY_CODE);
|
|
1048
|
+
const phoneData = parsePhoneNumber(phone, DEFAULT_COUNTRY_CODE$1);
|
|
1043
1049
|
if (phoneData && phoneData.isValid()) {
|
|
1044
1050
|
const areaCode = phoneData.countryCallingCode;
|
|
1045
1051
|
onSubmit({
|
|
@@ -1060,16 +1066,16 @@ function CollectPhoneForm({ onSubmit, title, formType = formPhoneType.ZALO, isLo
|
|
|
1060
1066
|
React__default.createElement(TextField, { shrink: !!phone, className: clsx('leadgen-form_input w-full', {
|
|
1061
1067
|
'leadgen-form_field_error': !!(isSubmitted && errorMessage),
|
|
1062
1068
|
}) },
|
|
1063
|
-
React__default.createElement(TextField.Control, { htmlFor: "collection_phone_input" }, ({ shrink }) => (React__default.createElement(StyledInputWrapper, { "data-invalid": !!(isSubmitted && errorMessage), labelElement: "div", label: React__default.createElement(Text$1, { size: shrink ? 'p3' : 'p2', variant: "secondary", weight: "halfBold" }, t('collectPhoneNumber.inputLabel')), inputWrapperOrder: ['label', 'input', 'description', 'error'], error: isSubmitted &&
|
|
1069
|
+
React__default.createElement(TextField.Control, { htmlFor: "collection_phone_input" }, ({ shrink }) => (React__default.createElement(StyledInputWrapper$1, { "data-invalid": !!(isSubmitted && errorMessage), labelElement: "div", label: React__default.createElement(Text$1, { size: shrink ? 'p3' : 'p2', variant: "secondary", weight: "halfBold" }, t('collectPhoneNumber.inputLabel')), inputWrapperOrder: ['label', 'input', 'description', 'error'], error: isSubmitted &&
|
|
1064
1070
|
errorMessage && (React__default.createElement(Flex, { align: 'center', gap: 4 },
|
|
1065
1071
|
React__default.createElement(ErrorIcon, { size: 12 }),
|
|
1066
1072
|
React__default.createElement(Text$1, { size: "c1", variant: "error" }, errorMessage))) },
|
|
1067
1073
|
React__default.createElement(Box, { className: "mantine-Input-wrapper", sx: (theme) => ({
|
|
1068
1074
|
'.PhoneInput .PhoneInputInput': Object.assign(Object.assign({}, GlobalTextStyleNew(theme)[CustomStylesType.LEADGEN].p2), { fontWeight: FontWeight.halfBold }),
|
|
1069
1075
|
}) },
|
|
1070
|
-
React__default.createElement(StyledPhone, { inputId: "collection_phone_input", onChange: handleChange, className: `mantine-Input-input ${classes.p2}`, name: "phoneNumber", spellCheck: false, placeholder: " ", defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), type: "text", value: phone, "data-control": "tel", countries: [DEFAULT_COUNTRY_CODE], arrowComponent: () => React__default.createElement(React__default.Fragment, null) }))))))),
|
|
1076
|
+
React__default.createElement(StyledPhone$1, { inputId: "collection_phone_input", onChange: handleChange, className: `mantine-Input-input ${classes.p2}`, name: "phoneNumber", spellCheck: false, placeholder: " ", defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), type: "text", value: phone, "data-control": "tel", countries: [DEFAULT_COUNTRY_CODE$1], arrowComponent: () => React__default.createElement(React__default.Fragment, null) }))))))),
|
|
1071
1077
|
React__default.createElement("div", { className: "action actionBox" },
|
|
1072
|
-
React__default.createElement(StyledButton, { variant: "primary", onClick: handleSubmit, fullWidth: true, size: "lg", loading: isLoading },
|
|
1078
|
+
React__default.createElement(StyledButton$1, { variant: "primary", onClick: handleSubmit, fullWidth: true, size: "lg", loading: isLoading },
|
|
1073
1079
|
React__default.createElement("div", null, t('collectPhoneNumber.action')),
|
|
1074
1080
|
React__default.createElement("img", { src: Right, alt: "arrow icon", width: 20, height: 20 })))));
|
|
1075
1081
|
}
|
|
@@ -1083,7 +1089,7 @@ function CollectPhoneSuccess({ onClose }) {
|
|
|
1083
1089
|
React__default.createElement("h5", { className: "mb-1" }, t('collectPhoneNumber.titleSuccess')),
|
|
1084
1090
|
React__default.createElement("p", { className: "description" }, t('collectPhoneNumber.descriptionSuccess')))),
|
|
1085
1091
|
React__default.createElement("div", { className: "action" },
|
|
1086
|
-
React__default.createElement(StyledButton, { variant: "tertiary", onClick: onClose, fullWidth: true, size: "lg" }, t('common.action.close')))));
|
|
1092
|
+
React__default.createElement(StyledButton$1, { variant: "tertiary", onClick: onClose, fullWidth: true, size: "lg" }, t('common.action.close')))));
|
|
1087
1093
|
}
|
|
1088
1094
|
|
|
1089
1095
|
var EPopupCollectPhoneStep;
|
|
@@ -1136,6 +1142,384 @@ function PopupCollectPhone({ children, isMobile, onSubmit, isOpen: isOpenProp, o
|
|
|
1136
1142
|
currentStep === EPopupCollectPhoneStep.SUCCESS && (React__default.createElement(CollectPhoneSuccess, { onClose: handleClose })))));
|
|
1137
1143
|
}
|
|
1138
1144
|
|
|
1145
|
+
const StyledRequestConsultationForm = styled.div `
|
|
1146
|
+
padding-top: 16px;
|
|
1147
|
+
padding-bottom: 16px;
|
|
1148
|
+
width: 100%;
|
|
1149
|
+
${MediaQueries.mbUp} {
|
|
1150
|
+
width: 420px;
|
|
1151
|
+
padding-top: 32px;
|
|
1152
|
+
padding-bottom: 32px;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.mantine-Input-input.custom_input {
|
|
1156
|
+
/* font-size: 16px; */
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.formHeader {
|
|
1160
|
+
display: flex;
|
|
1161
|
+
align-items: flex-start;
|
|
1162
|
+
justify-content: space-between;
|
|
1163
|
+
padding: 0 24px;
|
|
1164
|
+
margin-bottom: 34px;
|
|
1165
|
+
${MediaQueries.mbUp} {
|
|
1166
|
+
margin-bottom: 24px;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.formHeaderIcon {
|
|
1171
|
+
svg {
|
|
1172
|
+
width: 40px;
|
|
1173
|
+
height: 40px;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.formCloseButton {
|
|
1178
|
+
flex-shrink: 0;
|
|
1179
|
+
width: 40px;
|
|
1180
|
+
height: 40px;
|
|
1181
|
+
border-radius: 50%;
|
|
1182
|
+
display: flex;
|
|
1183
|
+
align-items: center;
|
|
1184
|
+
justify-content: center;
|
|
1185
|
+
background: ${theme.colors.white};
|
|
1186
|
+
border: none;
|
|
1187
|
+
cursor: pointer;
|
|
1188
|
+
color: ${theme.colors.gray800};
|
|
1189
|
+
:hover {
|
|
1190
|
+
background: ${theme.colors.gray100};
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.formTitleBlock {
|
|
1195
|
+
padding: 0 24px 24px;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.formTitle {
|
|
1199
|
+
font-weight: 600;
|
|
1200
|
+
font-size: 1.375rem;
|
|
1201
|
+
line-height: 2rem;
|
|
1202
|
+
letter-spacing: -0.4px;
|
|
1203
|
+
color: ${theme.colors.gray800};
|
|
1204
|
+
margin-bottom: 12px;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.formSubtitle {
|
|
1208
|
+
color: ${theme.colors.gray600};
|
|
1209
|
+
font-size: 0.875rem;
|
|
1210
|
+
font-weight: 400;
|
|
1211
|
+
line-height: 1.375rem;
|
|
1212
|
+
letter-spacing: -0.2px;
|
|
1213
|
+
margin: 0;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.info {
|
|
1217
|
+
display: flex;
|
|
1218
|
+
flex-direction: column;
|
|
1219
|
+
gap: 8px;
|
|
1220
|
+
align-items: stretch;
|
|
1221
|
+
padding: 0 24px 16px;
|
|
1222
|
+
text-align: left;
|
|
1223
|
+
h5 {
|
|
1224
|
+
font-weight: 600;
|
|
1225
|
+
font-size: 1.25rem;
|
|
1226
|
+
line-height: 1.75rem;
|
|
1227
|
+
letter-spacing: -0.4px;
|
|
1228
|
+
text-align: center;
|
|
1229
|
+
}
|
|
1230
|
+
.description {
|
|
1231
|
+
color: ${theme.colors.gray700};
|
|
1232
|
+
text-align: center;
|
|
1233
|
+
font-size: 0.8125rem;
|
|
1234
|
+
font-weight: 400;
|
|
1235
|
+
line-height: 1.25rem;
|
|
1236
|
+
letter-spacing: -0.3px;
|
|
1237
|
+
}
|
|
1238
|
+
&.center {
|
|
1239
|
+
align-items: center;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
.mb-1 {
|
|
1244
|
+
margin-bottom: 4px;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.w-full {
|
|
1248
|
+
width: 100%;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.px-3 {
|
|
1252
|
+
padding-left: 12px;
|
|
1253
|
+
padding-right: 12px;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.action {
|
|
1257
|
+
padding: 8px 24px 0px;
|
|
1258
|
+
width: 100%;
|
|
1259
|
+
&.actionBox {
|
|
1260
|
+
border-top: 0.5px solid ${theme.colors.neutral100};
|
|
1261
|
+
padding-top: 16px;
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
&.formSuccess {
|
|
1266
|
+
display: flex;
|
|
1267
|
+
flex-direction: column;
|
|
1268
|
+
align-items: center;
|
|
1269
|
+
text-align: center;
|
|
1270
|
+
justify-content: center;
|
|
1271
|
+
height: 100%;
|
|
1272
|
+
|
|
1273
|
+
.action {
|
|
1274
|
+
padding: 0px 24px;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
`;
|
|
1278
|
+
const StyledButton = styled(Button$1) `
|
|
1279
|
+
&.mantine-Button-root {
|
|
1280
|
+
border-radius: 12px;
|
|
1281
|
+
border: 1px solid;
|
|
1282
|
+
font-size: 15px;
|
|
1283
|
+
|
|
1284
|
+
&.tertiary {
|
|
1285
|
+
border-color: ${theme.colors.neutral200};
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.mantine-Button-label {
|
|
1290
|
+
display: flex;
|
|
1291
|
+
align-items: center;
|
|
1292
|
+
justify-content: center;
|
|
1293
|
+
gap: 8px;
|
|
1294
|
+
}
|
|
1295
|
+
`;
|
|
1296
|
+
const StyledDrawerBottom = styled(DrawerBottom) `
|
|
1297
|
+
.mantine-Modal-body {
|
|
1298
|
+
padding: 0;
|
|
1299
|
+
height: 100%;
|
|
1300
|
+
}
|
|
1301
|
+
`;
|
|
1302
|
+
const StyledPhone = styled(Phone) `
|
|
1303
|
+
--custom-primary-text: #111111;
|
|
1304
|
+
.PhoneInputCountry {
|
|
1305
|
+
pointer-events: none;
|
|
1306
|
+
--phone-select: 58px;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
&.PhoneInput {
|
|
1310
|
+
.PhoneInputCountry {
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
.PhoneInputCountryIconCallingCode {
|
|
1314
|
+
color: var(--custom-primary-text);
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
.PhoneInputInput {
|
|
1318
|
+
color: var(--custom-primary-text) !important ;
|
|
1319
|
+
:focus {
|
|
1320
|
+
color: var(--custom-primary-text) !important ;
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
`;
|
|
1325
|
+
const StyledInputWrapper = styled(Input.Wrapper) `
|
|
1326
|
+
--phone-input-space-x: -8px;
|
|
1327
|
+
.mantine-Text-root[data-size='c1'] {
|
|
1328
|
+
font-size: 0.75rem;
|
|
1329
|
+
}
|
|
1330
|
+
.mantine-Text-root[data-size='p3'] {
|
|
1331
|
+
font-size: 0.8125rem;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
.mantine-Text-root[data-size='p2'] {
|
|
1335
|
+
font-size: 0.9375rem;
|
|
1336
|
+
}
|
|
1337
|
+
`;
|
|
1338
|
+
|
|
1339
|
+
var EGender;
|
|
1340
|
+
(function (EGender) {
|
|
1341
|
+
EGender["Male"] = "male";
|
|
1342
|
+
EGender["Female"] = "female";
|
|
1343
|
+
})(EGender || (EGender = {}));
|
|
1344
|
+
const DEFAULT_COUNTRY_CODE = 'VN';
|
|
1345
|
+
function RequestConsultationForm({ onSubmit, onClose, title, isLoading, locale, }) {
|
|
1346
|
+
const { t } = useTranslations();
|
|
1347
|
+
const [name, setName] = useState('');
|
|
1348
|
+
const [phone, setPhone] = useState('');
|
|
1349
|
+
const [gender, setGender] = useState(EGender.Female);
|
|
1350
|
+
const [nameError, setNameError] = useState('');
|
|
1351
|
+
const [phoneError, setPhoneError] = useState('');
|
|
1352
|
+
const [genderError, setGenderError] = useState('');
|
|
1353
|
+
const [isSubmitted, setIsSubmitted] = useState(false);
|
|
1354
|
+
const { classes } = useTextStyles();
|
|
1355
|
+
const defaultCountry = (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN');
|
|
1356
|
+
const validatePhone = (value) => {
|
|
1357
|
+
try {
|
|
1358
|
+
if (!value) {
|
|
1359
|
+
setPhoneError(t('collectPhoneNumber.phoneRequired'));
|
|
1360
|
+
return false;
|
|
1361
|
+
}
|
|
1362
|
+
const phoneData = parsePhoneNumber(value, defaultCountry);
|
|
1363
|
+
if (!(phoneData === null || phoneData === void 0 ? void 0 : phoneData.isValid())) {
|
|
1364
|
+
setPhoneError(t('collectPhoneNumber.inputInvalid'));
|
|
1365
|
+
return false;
|
|
1366
|
+
}
|
|
1367
|
+
setPhoneError('');
|
|
1368
|
+
return true;
|
|
1369
|
+
}
|
|
1370
|
+
catch (_a) {
|
|
1371
|
+
setPhoneError(t('collectPhoneNumber.inputInvalid'));
|
|
1372
|
+
return false;
|
|
1373
|
+
}
|
|
1374
|
+
};
|
|
1375
|
+
const handlePhoneChange = (value) => {
|
|
1376
|
+
setPhone(value);
|
|
1377
|
+
if (value) {
|
|
1378
|
+
validatePhone(value);
|
|
1379
|
+
}
|
|
1380
|
+
else {
|
|
1381
|
+
setPhoneError('');
|
|
1382
|
+
}
|
|
1383
|
+
};
|
|
1384
|
+
const handleSubmit = () => {
|
|
1385
|
+
setIsSubmitted(true);
|
|
1386
|
+
const hasName = !!(name === null || name === void 0 ? void 0 : name.trim());
|
|
1387
|
+
if (!hasName) {
|
|
1388
|
+
setNameError(t('popupRequestConsultation.nameRequired'));
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
setNameError('');
|
|
1392
|
+
}
|
|
1393
|
+
const phoneValid = validatePhone(phone);
|
|
1394
|
+
const hasGender = gender === EGender.Male || gender === EGender.Female;
|
|
1395
|
+
if (!hasGender) {
|
|
1396
|
+
setGenderError(t('popupRequestConsultation.genderRequired'));
|
|
1397
|
+
}
|
|
1398
|
+
else {
|
|
1399
|
+
setGenderError('');
|
|
1400
|
+
}
|
|
1401
|
+
if (!hasName || !phoneValid || !hasGender)
|
|
1402
|
+
return;
|
|
1403
|
+
const phoneData = parsePhoneNumber(phone, defaultCountry);
|
|
1404
|
+
if (!phoneData || !phoneData.isValid())
|
|
1405
|
+
return;
|
|
1406
|
+
const areaCode = phoneData.countryCallingCode;
|
|
1407
|
+
onSubmit({
|
|
1408
|
+
name: name.trim(),
|
|
1409
|
+
phone: phoneData.nationalNumber,
|
|
1410
|
+
countryCode: phoneData.country,
|
|
1411
|
+
callingCode: (areaCode === null || areaCode === void 0 ? void 0 : areaCode.includes('+')) ? areaCode : `+${areaCode}`,
|
|
1412
|
+
gender: gender,
|
|
1413
|
+
});
|
|
1414
|
+
};
|
|
1415
|
+
return (React__default.createElement(StyledRequestConsultationForm, null,
|
|
1416
|
+
React__default.createElement("div", { className: "formHeader" },
|
|
1417
|
+
React__default.createElement("div", { className: "formHeaderIcon" },
|
|
1418
|
+
React__default.createElement(Comment, { width: 24, height: 24 })),
|
|
1419
|
+
React__default.createElement("button", { type: "button", className: "formCloseButton", onClick: onClose, "aria-label": t('common.action.close') },
|
|
1420
|
+
React__default.createElement(Close, { width: 20, height: 20 }))),
|
|
1421
|
+
React__default.createElement("div", { className: "formTitleBlock" },
|
|
1422
|
+
React__default.createElement("h2", { className: "formTitle" }, title || t('popupRequestConsultation.title')),
|
|
1423
|
+
React__default.createElement("p", { className: "formSubtitle" }, t('popupRequestConsultation.subtitle'))),
|
|
1424
|
+
React__default.createElement("div", { className: "info" },
|
|
1425
|
+
React__default.createElement(TextField, { shrink: !!name, className: clsx('leadgen-form_input w-full', {
|
|
1426
|
+
'leadgen-form_field_error': !!(isSubmitted && nameError),
|
|
1427
|
+
}) },
|
|
1428
|
+
React__default.createElement(TextField.Control, { htmlFor: "request_consultation_name_input" }, ({ shrink }) => (React__default.createElement(StyledInputWrapper, { "data-invalid": !!(isSubmitted && nameError), labelElement: "div", label: React__default.createElement(Text$1, { size: shrink ? 'p3' : 'p2', variant: "secondary", weight: "halfBold" }, t('popupRequestConsultation.yourName')), inputWrapperOrder: ['label', 'input', 'description', 'error'], error: isSubmitted &&
|
|
1429
|
+
nameError && (React__default.createElement(Flex, { align: 'center', gap: 4 },
|
|
1430
|
+
React__default.createElement(ErrorIcon, { size: 12 }),
|
|
1431
|
+
React__default.createElement(Text$1, { size: "c1", variant: "error" }, nameError))) },
|
|
1432
|
+
React__default.createElement(Input, { id: "request_consultation_name_input", value: name, onChange: (value) => {
|
|
1433
|
+
setName(value !== null && value !== void 0 ? value : '');
|
|
1434
|
+
if (isSubmitted && nameError)
|
|
1435
|
+
setNameError('');
|
|
1436
|
+
}, placeholder: " ", classNames: { input: `mantine-Input-input ${classes.p2}` } }))))),
|
|
1437
|
+
React__default.createElement(TextField, { shrink: !!phone, className: clsx('leadgen-form_input w-full', {
|
|
1438
|
+
'leadgen-form_field_error': !!(isSubmitted && phoneError),
|
|
1439
|
+
}) },
|
|
1440
|
+
React__default.createElement(TextField.Control, { htmlFor: "request_consultation_phone_input" }, ({ shrink }) => (React__default.createElement(StyledInputWrapper, { "data-invalid": !!(isSubmitted && phoneError), labelElement: "div", label: React__default.createElement(Text$1, { size: shrink ? 'p3' : 'p2', variant: "secondary", weight: "halfBold" }, t('popupRequestConsultation.phoneLabel')), inputWrapperOrder: ['label', 'input', 'description', 'error'], error: isSubmitted &&
|
|
1441
|
+
phoneError && (React__default.createElement(Flex, { align: 'center', gap: 4 },
|
|
1442
|
+
React__default.createElement(ErrorIcon, { size: 12 }),
|
|
1443
|
+
React__default.createElement(Text$1, { size: "c1", variant: "error" }, phoneError))) },
|
|
1444
|
+
React__default.createElement(Box, { className: "mantine-Input-wrapper", sx: (theme) => ({
|
|
1445
|
+
'.PhoneInput .PhoneInputInput': Object.assign(Object.assign({}, GlobalTextStyleNew(theme)[CustomStylesType.LEADGEN].p2), { fontWeight: FontWeight.halfBold }),
|
|
1446
|
+
}) },
|
|
1447
|
+
React__default.createElement(StyledPhone, { inputId: "request_consultation_phone_input", onChange: handlePhoneChange, className: `mantine-Input-input ${classes.p2}`, name: "phoneNumber", spellCheck: false, placeholder: " ", defaultCountry: defaultCountry, type: "text", value: phone, "data-control": "tel", countries: [DEFAULT_COUNTRY_CODE], arrowComponent: () => React__default.createElement(React__default.Fragment, null) })))))),
|
|
1448
|
+
React__default.createElement(GenderOptionControl, { label: t('popupRequestConsultation.gender'), type: "button", value: gender || undefined, onChange: (v) => {
|
|
1449
|
+
setGender(v);
|
|
1450
|
+
if (isSubmitted && genderError)
|
|
1451
|
+
setGenderError('');
|
|
1452
|
+
}, error: isSubmitted && genderError ? genderError : undefined, styles: {
|
|
1453
|
+
wrapper: {
|
|
1454
|
+
flexDirection: 'row-reverse',
|
|
1455
|
+
},
|
|
1456
|
+
} })),
|
|
1457
|
+
React__default.createElement("div", { className: "action actionBox" },
|
|
1458
|
+
React__default.createElement(StyledButton, { variant: "primary", onClick: handleSubmit, fullWidth: true, size: "lg", loading: isLoading }, t('popupRequestConsultation.action')))));
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
function RequestConsultationSuccess({ onClose, }) {
|
|
1462
|
+
const { t } = useTranslations();
|
|
1463
|
+
return (React__default.createElement(StyledRequestConsultationForm, { className: "formSuccess" },
|
|
1464
|
+
React__default.createElement("div", { className: "formTitleBlock" },
|
|
1465
|
+
React__default.createElement(Check, { width: 64, height: 64 })),
|
|
1466
|
+
React__default.createElement("div", { className: "formTitleBlock" },
|
|
1467
|
+
React__default.createElement("h2", { className: "formTitle" }, t('popupRequestConsultation.titleSuccess')),
|
|
1468
|
+
React__default.createElement("p", { className: "formSubtitle" }, t('popupRequestConsultation.descriptionSuccess'))),
|
|
1469
|
+
React__default.createElement("div", { className: "action" },
|
|
1470
|
+
React__default.createElement(StyledButton, { variant: "tertiary", onClick: onClose, fullWidth: true, size: "lg" }, t('common.action.close')))));
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
var EPopupRequestConsultationStep;
|
|
1474
|
+
(function (EPopupRequestConsultationStep) {
|
|
1475
|
+
EPopupRequestConsultationStep[EPopupRequestConsultationStep["FORM"] = 0] = "FORM";
|
|
1476
|
+
EPopupRequestConsultationStep[EPopupRequestConsultationStep["SUCCESS"] = 1] = "SUCCESS";
|
|
1477
|
+
})(EPopupRequestConsultationStep || (EPopupRequestConsultationStep = {}));
|
|
1478
|
+
function PopupRequestConsultation({ children, isMobile, onSubmit, isOpen: isOpenProp, onOpenChange, drawerProps = {}, }) {
|
|
1479
|
+
const modalState = useDisclosure(isOpenProp);
|
|
1480
|
+
const [currentStep, setCurrentStep] = useState(EPopupRequestConsultationStep.FORM);
|
|
1481
|
+
const [isOpen, { open, toggle, close }] = modalState;
|
|
1482
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
1483
|
+
const handleOpenChange = (isOpen) => {
|
|
1484
|
+
if (isOpen) {
|
|
1485
|
+
open();
|
|
1486
|
+
}
|
|
1487
|
+
else {
|
|
1488
|
+
close();
|
|
1489
|
+
}
|
|
1490
|
+
onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(isOpen);
|
|
1491
|
+
};
|
|
1492
|
+
const handleClose = () => {
|
|
1493
|
+
handleOpenChange(false);
|
|
1494
|
+
};
|
|
1495
|
+
const handleSubmit = (data) => __awaiter(this, void 0, void 0, function* () {
|
|
1496
|
+
try {
|
|
1497
|
+
setIsLoading(true);
|
|
1498
|
+
yield onSubmit(data);
|
|
1499
|
+
setCurrentStep(EPopupRequestConsultationStep.SUCCESS);
|
|
1500
|
+
}
|
|
1501
|
+
catch (error) {
|
|
1502
|
+
console.log('🚀 ~ handleSubmit ~ error:', error);
|
|
1503
|
+
}
|
|
1504
|
+
finally {
|
|
1505
|
+
setIsLoading(false);
|
|
1506
|
+
}
|
|
1507
|
+
});
|
|
1508
|
+
useEffect(() => {
|
|
1509
|
+
if (isOpen) {
|
|
1510
|
+
setCurrentStep(EPopupRequestConsultationStep.FORM);
|
|
1511
|
+
}
|
|
1512
|
+
}, [isOpen]);
|
|
1513
|
+
useEffect(() => {
|
|
1514
|
+
handleOpenChange(isOpenProp);
|
|
1515
|
+
}, [isOpenProp]);
|
|
1516
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
1517
|
+
typeof children === 'function' ? (children(modalState)) : (React__default.createElement("div", { onClick: toggle }, children)),
|
|
1518
|
+
React__default.createElement(StyledDrawerBottom, Object.assign({ isOpen: isOpen, onClose: handleClose, onOpenChange: handleOpenChange, isMobile: false, fadeFromIndex: ZINDEX_SSO - 9e6, zIndex: ZINDEX_SSO, repositionInputs: false, isLinear: true, withCloseButton: false, fullScreen: isMobile }, drawerProps),
|
|
1519
|
+
currentStep === EPopupRequestConsultationStep.FORM && (React__default.createElement(RequestConsultationForm, { onSubmit: handleSubmit, onClose: handleClose, isLoading: isLoading })),
|
|
1520
|
+
currentStep === EPopupRequestConsultationStep.SUCCESS && (React__default.createElement(RequestConsultationSuccess, { onClose: handleClose })))));
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1139
1523
|
const StyledHospitalInfo = styled.div `
|
|
1140
1524
|
display: flex;
|
|
1141
1525
|
align-items: center;
|
|
@@ -1455,4 +1839,4 @@ const ArticleDetailCard = (props) => {
|
|
|
1455
1839
|
doctorName))))));
|
|
1456
1840
|
};
|
|
1457
1841
|
|
|
1458
|
-
export { ArticleDetailCard as A, ClinicInfo as C, DoctorExpertise as D, EPopupCollectPhoneStep as E, HospitalInfo as H, Mobile as M, NavHeader as N, PopupCollectPhone as P, UserProfileNavigation as U, UserStats as a, CollectPhoneForm as b,
|
|
1842
|
+
export { ArticleDetailCard as A, ClinicInfo as C, DoctorExpertise as D, EPopupCollectPhoneStep as E, HospitalInfo as H, Mobile as M, NavHeader as N, PopupCollectPhone as P, RequestConsultationForm as R, UserProfileNavigation as U, UserStats as a, CollectPhoneForm as b, EGender as c, RequestConsultationSuccess as d, EPopupRequestConsultationStep as e, formPhoneType as f, PopupRequestConsultation as g, ProductInsuranceInfo as h, Check as i, Clock as j, Comment as k, Credential as l, Education as m, Email as n, HelloZalo as o, Highlight as p, Ellipse as q, PhoneInactive as r };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default, { useState, useMemo, useContext, useEffect, createContext, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { H as Heading } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-
|
|
2
|
+
import { B as Button } from './index-ad4fb104.js';
|
|
3
|
+
import { H as Heading } from './index-1e9235f0.js';
|
|
4
|
+
import { T as Text } from './index-db9c09b9.js';
|
|
5
|
+
import { c as safeEncodeURI, M as MediaQueries, t as toggleNoScroll, a as getPopupWrapperDom } from './utils-c5e9d0cd.js';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
|
-
import { b as callApiWithAuth, e as getApiPath, T as TogetherComponentGlobalContext } from './utils-
|
|
7
|
+
import { b as callApiWithAuth, e as getApiPath, T as TogetherComponentGlobalContext } from './utils-2989e0a3.js';
|
|
8
8
|
import styled from '@emotion/styled';
|
|
9
9
|
import { theme } from './miscTheme.js';
|
|
10
|
-
import { a as __awaiter } from './tslib.es6-
|
|
11
|
-
import { I as Input } from './index-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
13
|
-
import { e as formatComment } from './dataTransform-
|
|
14
|
-
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG } from './constants-
|
|
10
|
+
import { a as __awaiter } from './tslib.es6-347ab344.js';
|
|
11
|
+
import { I as Input } from './index-c4ba78cd.js';
|
|
12
|
+
import { u as useTranslations } from './index-b43c0771.js';
|
|
13
|
+
import { e as formatComment } from './dataTransform-405ac704.js';
|
|
14
|
+
import { M as MAX_IMAGE_UPLOADS, a as DEFAULT_AVATAR_IMG } from './constants-6569a2a4.js';
|
|
15
15
|
import { PATHS } from './togetherApiPaths.js';
|
|
16
|
-
import { j as removeBannedWordWrapper, i as getMentionIdsFromString, k as encodePostContent, u as uploadAndGetSrc } from './post-
|
|
17
|
-
import { C as CardLink } from './index-
|
|
18
|
-
import { L as Loading } from './index-
|
|
19
|
-
import { U as UserAvatar } from './index-
|
|
20
|
-
import { R as RichTextEditor } from './editor-
|
|
16
|
+
import { j as removeBannedWordWrapper, i as getMentionIdsFromString, k as encodePostContent, u as uploadAndGetSrc } from './post-c8466615.js';
|
|
17
|
+
import { C as CardLink } from './index-cf07ea9b.js';
|
|
18
|
+
import { L as Loading } from './index-19954c88.js';
|
|
19
|
+
import { U as UserAvatar } from './index-dfee441d.js';
|
|
20
|
+
import { R as RichTextEditor } from './editor-14d2da67.js';
|
|
21
21
|
import { Portal } from '@mantine/core';
|
|
22
22
|
import { FullScreen } from '@hhgtech/icons/other';
|
|
23
|
-
import { P as Popup } from './index-
|
|
24
|
-
import { C as CloseIcon } from './index-
|
|
23
|
+
import { P as Popup } from './index-41d798ef.js';
|
|
24
|
+
import { C as CloseIcon } from './index-49f21f0d.js';
|
|
25
25
|
import { ShareBox } from './togetherShareBox.js';
|
|
26
26
|
|
|
27
27
|
const useImagePicker = (imageFilesProp, onImageFilesChange) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createStyles, clsx, Box, useMantineTheme } from '@mantine/core';
|
|
2
|
-
import { G as GlobalTextStyleNew, C as CustomStylesType } from './index-
|
|
3
|
-
import { _ as __rest } from './tslib.es6-
|
|
2
|
+
import { G as GlobalTextStyleNew, C as CustomStylesType } from './index-5b7419d1.js';
|
|
3
|
+
import { _ as __rest } from './tslib.es6-347ab344.js';
|
|
4
4
|
import React__default, { createContext, useState, useEffect, useContext, useCallback } from 'react';
|
|
5
5
|
import { useClickOutside } from '@mantine/hooks';
|
|
6
6
|
import { css } from '@emotion/react';
|