@hhgtech/hhg-components 1.23.84 → 1.23.85
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/BabyGrowth-72acd998.js +1 -0
- package/build/Locale-788f0a76.js +1 -0
- package/build/Vietnam-fee575f2.js +1 -0
- package/build/{Visible-ff3b5a7d.js → Visible-08e9b540.js} +1 -1
- package/build/animation-a9b922ea.js +1 -0
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/componentsAtoms.js +1 -0
- package/build/componentsMolecules.js +1 -0
- package/build/componentsOrganisms.js +1 -0
- package/build/componentsSlider.js +1 -0
- package/build/componentsUi.js +1 -0
- package/build/constants-9e80ba03.js +1 -0
- package/build/constants.js +1 -1
- package/build/{core-1d53cd94.js → core-dcb61c84.js} +1 -1
- package/build/dataTransform-866cde6b.js +1 -0
- package/build/dataTransform-c5b2fb2f.js +1 -0
- package/build/defaultClassWrapper-03ead8f1.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/BabyGrowth-fd319414.js +1 -0
- package/build/esm/Locale-cf028a1c.js +1 -0
- package/build/esm/Vietnam-14166cd1.js +1 -0
- package/build/esm/{Visible-a9656ab5.js → Visible-ae9f7582.js} +1 -1
- package/build/esm/animation-e731c134.js +1 -0
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/componentsAtoms.js +1 -0
- package/build/esm/componentsMolecules.js +1 -0
- package/build/esm/componentsOrganisms.js +1 -0
- package/build/esm/componentsSlider.js +1 -0
- package/build/esm/componentsUi.js +1 -0
- package/build/esm/constants-99c14994.js +1 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/core-cec2f117.js +1 -0
- package/build/esm/dataTransform-0dece752.js +1 -0
- package/build/esm/dataTransform-943ce442.js +1 -0
- package/build/esm/defaultClassWrapper-594320e3.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-375781f7.js → getDynamicHealthTool-33b9b8ff.js} +1 -1
- package/build/esm/{getSocialList-65e3abd8.js → getSocialList-ab620235.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-03a5882e.js +1 -0
- package/build/esm/index-0bf7562f.js +1 -0
- package/build/esm/index-125edd8a.js +1 -0
- package/build/esm/{index-c6dbc7dd.js → index-1c5b908c.js} +1 -1
- package/build/esm/index-2a304f4d.js +1 -0
- package/build/esm/index-2d47e5df.js +1 -0
- package/build/esm/index-342a3b21.js +1 -0
- package/build/esm/index-3589e036.js +1 -0
- package/build/esm/index-3860ae52.js +1 -0
- package/build/esm/index-39b63cda.js +1 -0
- package/build/esm/index-3e5124f4.js +1 -0
- package/build/esm/index-407ff1f5.js +1 -0
- package/build/esm/index-45acd43b.js +1 -0
- package/build/esm/index-48759c5b.js +1 -0
- package/build/esm/index-5aa52de7.js +7 -0
- package/build/esm/index-5e3fbfa6.js +1 -0
- package/build/esm/index-60f1aad5.js +1 -0
- package/build/esm/{index-45cdf6ab.js → index-685dfcb0.js} +1 -1
- package/build/esm/index-703fb540.js +1 -0
- package/build/esm/index-771e603b.js +1 -0
- package/build/esm/index-81ed0101.js +1 -0
- package/build/esm/index-b33f6fdf.js +1 -0
- package/build/esm/index-c72dc81d.js +1 -0
- package/build/esm/index-c98a955a.js +1 -0
- package/build/esm/{index-483df985.js → index-cc6cb013.js} +1 -1
- package/build/esm/index-d065e6f7.js +1 -0
- package/build/esm/index-d691da32.js +1 -0
- package/build/esm/index-db2f2f79.js +1 -0
- package/build/esm/index-f115f760.js +1 -0
- package/build/esm/index-f1b34824.js +1 -0
- package/build/esm/index-f3250251.js +7 -0
- package/build/esm/{index-a5631f5e.js → index-f8003199.js} +1 -1
- package/build/esm/index-fbf844b8.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/logoIcon-2a5e9863.js +1 -0
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-c6831ea6.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-cca895bb.js → translationsProvider-b9452c7a.js} +1 -1
- package/build/esm/{tslib.es6-bbaba938.js → tslib.es6-311b0e1d.js} +1 -1
- package/build/esm/types-0e8da1d6.js +1 -0
- package/build/esm/types-2be8eb1f.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-a4d80b43.js → useFbDataLayer-1cb50f04.js} +1 -1
- package/build/esm/useHealthToolCache-479cd619.js +1 -0
- package/build/esm/{useTranslations-9f870bbc.js → useTranslations-321b13dc.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-2ee86643.js +1 -0
- package/build/{getSocialList-317f631a.js → getSocialList-69d40a06.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-aa81981e.js → index-029f5658.js} +1 -1
- package/build/index-02c57597.js +1 -0
- package/build/index-06628949.js +1 -0
- package/build/index-0796d2d1.js +7 -0
- package/build/index-0f7f8acd.js +1 -0
- package/build/index-12038838.js +1 -0
- package/build/index-17b48534.js +1 -0
- package/build/index-1f067e93.js +1 -0
- package/build/index-1fc1d892.js +1 -0
- package/build/index-25c7b90e.js +1 -0
- package/build/index-269e83fb.js +1 -0
- package/build/index-27c45f67.js +1 -0
- package/build/index-321b1529.js +1 -0
- package/build/index-60481015.js +1 -0
- package/build/index-702408e5.js +1 -0
- package/build/{index-facd1baf.js → index-708c0edc.js} +1 -1
- package/build/index-71778b67.js +1 -0
- package/build/index-8b91b9cc.js +1 -0
- package/build/index-954c1ca7.js +1 -0
- package/build/index-97a328d4.js +1 -0
- package/build/index-a27def8e.js +1 -0
- package/build/index-a309a69c.js +1 -0
- package/build/index-a32bfb0f.js +1 -0
- package/build/index-a83fc6fa.js +1 -0
- package/build/index-aacad298.js +1 -0
- package/build/{index.styled-b8d522f7.js → index-bd75c89f.js} +1 -1
- package/build/index-c48ce4fa.js +1 -0
- package/build/{index-41585e53.js → index-d01dd8ed.js} +1 -1
- package/build/{index-3156c4dd.js → index-e154e989.js} +1 -1
- package/build/index-f007170b.js +1 -0
- package/build/index-f0a309de.js +1 -0
- package/build/index-f0f1bc45.js +1 -0
- package/build/index-f588a087.js +1 -0
- package/build/index.js +1 -1
- package/build/interfaces/constants/site.d.ts +0 -1
- package/build/lead.js +1 -1
- package/build/logoIcon-75d8906e.js +1 -0
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/routing-2f9ad5e6.js +1 -0
- package/build/together.js +1 -1
- package/build/{translationsProvider-1a6eb32a.js → translationsProvider-6a43824f.js} +1 -1
- package/build/{types-9b03a6c3.js → types-4c2b8558.js} +1 -1
- package/build/types-e85db2b4.js +1 -0
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-2a74c564.js → useFbDataLayer-4be8656c.js} +1 -1
- package/build/useHealthToolCache-ef2d6e31.js +1 -0
- package/build/{useTranslations-d57b0992.js → useTranslations-92f77339.js} +1 -1
- package/package.json +3 -2
- package/build/Locale-d40b610a.js +0 -1
- package/build/dataTransform-60bbe56e.js +0 -1
- package/build/dataTransform-9b43fc94.js +0 -1
- package/build/defaultClassWrapper-d5b389c0.js +0 -1
- package/build/esm/Locale-f95814cc.js +0 -1
- package/build/esm/core-e3375948.js +0 -1
- package/build/esm/dataTransform-2924bf6f.js +0 -1
- package/build/esm/dataTransform-56479721.js +0 -1
- package/build/esm/defaultClassWrapper-37c0bc40.js +0 -1
- package/build/esm/index-13ef04dd.js +0 -1
- package/build/esm/index-4762dae2.js +0 -1
- package/build/esm/index-48ca5bab.js +0 -1
- package/build/esm/index-5b2d0aa5.js +0 -1
- package/build/esm/index-78014116.js +0 -1
- package/build/esm/index-91485a7f.js +0 -1
- package/build/esm/index-91a1255a.js +0 -1
- package/build/esm/index-983455eb.js +0 -1
- package/build/esm/index-ae4f6b69.js +0 -1
- package/build/esm/index-b8842b68.js +0 -1
- package/build/esm/index-bde5bbd6.js +0 -1
- package/build/esm/index-be573528.js +0 -1
- package/build/esm/index-d252dbc7.js +0 -1
- package/build/esm/index-dc317b6d.js +0 -1
- package/build/esm/index-de2d08d4.js +0 -1
- package/build/esm/index-e7740917.js +0 -1
- package/build/esm/index-ee0a0f11.js +0 -1
- package/build/esm/index.styled-05118ccf.js +0 -1
- package/build/esm/index.styled-12cf4bf7.js +0 -1
- package/build/esm/index.styled-22674d31.js +0 -1
- package/build/esm/index.styled-2647b090.js +0 -1
- package/build/esm/index.styled-6efcb63d.js +0 -1
- package/build/esm/index.styled-93419bc4.js +0 -1
- package/build/esm/routing-dd1ad703.js +0 -1
- package/build/esm/screenSizeContext-35b94839.js +0 -1
- package/build/esm/types-88051b7e.js +0 -1
- package/build/esm/types-fd9a0b32.js +0 -1
- package/build/esm/useHealthToolCache-38e9a029.js +0 -1
- package/build/getDynamicHealthTool-b820af17.js +0 -1
- package/build/index-04692fa7.js +0 -1
- package/build/index-4d00e82d.js +0 -1
- package/build/index-5a905a10.js +0 -1
- package/build/index-5e021869.js +0 -1
- package/build/index-623e5d1d.js +0 -1
- package/build/index-6310cf12.js +0 -1
- package/build/index-7ce85de9.js +0 -1
- package/build/index-886673ef.js +0 -1
- package/build/index-88ec8248.js +0 -1
- package/build/index-8d119f57.js +0 -1
- package/build/index-b241bb21.js +0 -1
- package/build/index-c757c7ae.js +0 -1
- package/build/index-ca409bb8.js +0 -1
- package/build/index-d8ed4d3d.js +0 -1
- package/build/index-d92a696d.js +0 -1
- package/build/index-db882dc9.js +0 -1
- package/build/index-ed92b533.js +0 -1
- package/build/index.styled-5bec4dad.js +0 -1
- package/build/index.styled-6d8b4d72.js +0 -1
- package/build/index.styled-941651a5.js +0 -1
- package/build/index.styled-a0be3a28.js +0 -1
- package/build/index.styled-aed66973.js +0 -1
- package/build/routing-9582fc0d.js +0 -1
- package/build/screenSizeContext-036f0287.js +0 -1
- package/build/types-7ac4a3db.js +0 -1
- package/build/useHealthToolCache-9847d3ac.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-6c22c437.js → BMI_BOYS.percentile.monthly-f7825ea6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-9ef0d06c.js → BMI_BOYS.percentile.weekly-d0353fe4.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-27d86fc2.js → BMI_BOYS.percentile.yearly-f9c42db6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bcfc1d99.js → BMI_BOYS.zscore.monthly-cab31d42.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-026e3411.js → BMI_BOYS.zscore.weekly-f394f4ac.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-453ea814.js → BMI_BOYS.zscore.yearly-6dfd7741.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a47bb26b.js → BMI_GIRLS.percentile.monthly-a56b37e3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-285a09be.js → BMI_GIRLS.percentile.weekly-075e8fac.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3cb2ea87.js → BMI_GIRLS.percentile.yearly-e6f82f51.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cc582114.js → BMI_GIRLS.zscore.monthly-ad70537d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-7ca2ff32.js → BMI_GIRLS.zscore.weekly-b392af8d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-bdc075a3.js → BMI_GIRLS.zscore.yearly-33d947f8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a26abda4.js → HEAD CIRCUM_BOYS.percentile.monthly-f6255475.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ae388ee0.js → HEAD CIRCUM_BOYS.percentile.weekly-69ed5d66.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-65a47f8e.js → HEAD CIRCUM_BOYS.percentile.yearly-50808c1b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba004cc0.js → HEAD CIRCUM_BOYS.zscore.monthly-e530d856.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-09847c5c.js → HEAD CIRCUM_BOYS.zscore.weekly-175162b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2c96331a.js → HEAD CIRCUM_BOYS.zscore.yearly-858b7795.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-abc4c435.js → HEAD CIRCUM_GIRLS.percentile.monthly-e5742587.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-595ff760.js → HEAD CIRCUM_GIRLS.percentile.weekly-62003981.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c9c7ba5c.js → HEAD CIRCUM_GIRLS.percentile.yearly-33e62751.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f9dd2ce2.js → HEAD CIRCUM_GIRLS.zscore.monthly-9e47690a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2f4c37dd.js → HEAD CIRCUM_GIRLS.zscore.weekly-79a8a1f4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3a6af3f3.js → HEAD CIRCUM_GIRLS.zscore.yearly-03667820.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-9e0661ec.js → HEIGHT_BOYS.percentile.monthly-de66ed95.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d9515a29.js → HEIGHT_BOYS.percentile.weekly-1b769b8e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-3ac0d1d3.js → HEIGHT_BOYS.percentile.yearly-e1b6e88c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-3bade3a2.js → HEIGHT_BOYS.zscore.monthly-007b4b2c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-567746b1.js → HEIGHT_BOYS.zscore.weekly-49613f36.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ccd28342.js → HEIGHT_BOYS.zscore.yearly-424f4a63.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-21b02d95.js → HEIGHT_GIRLS.percentile.monthly-83044430.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-18edbeb1.js → HEIGHT_GIRLS.percentile.weekly-01eed228.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-8021f47d.js → HEIGHT_GIRLS.percentile.yearly-46b99525.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-781a6822.js → HEIGHT_GIRLS.zscore.monthly-9dbf53fb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-27b5aa7f.js → HEIGHT_GIRLS.zscore.weekly-d7b7b3c0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0393a37a.js → HEIGHT_GIRLS.zscore.yearly-88b845b9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-e2af6ff5.js → WEIGHT_BOYS.percentile.monthly-9f20928b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-263a4950.js → WEIGHT_BOYS.percentile.weekly-0055e267.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-253b46d7.js → WEIGHT_BOYS.percentile.yearly-08eb5b7e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b2a34174.js → WEIGHT_BOYS.zscore.monthly-d9f9c43e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-85011e60.js → WEIGHT_BOYS.zscore.weekly-3fd2cbdd.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-597254e1.js → WEIGHT_BOYS.zscore.yearly-23f3851e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1e72d9ab.js → WEIGHT_GIRLS.percentile.monthly-a60935ba.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3db1a397.js → WEIGHT_GIRLS.percentile.weekly-9a4281b1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6b8eca14.js → WEIGHT_GIRLS.percentile.yearly-61c32e15.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-3823d952.js → WEIGHT_GIRLS.zscore.monthly-16985eab.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-1798f75a.js → WEIGHT_GIRLS.zscore.weekly-455066b2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7598c0f9.js → WEIGHT_GIRLS.zscore.yearly-38f85bbf.js} +0 -0
- /package/build/{constants-41931f1e.js → constants-ba29b994.js} +0 -0
- /package/build/{cookieHelper-8f5dfd39.js → cookieHelper-0003373c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0029b115.js → BMI_BOYS.percentile.monthly-652688d5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d7da2713.js → BMI_BOYS.percentile.weekly-cfdf579c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-2d9226ca.js → BMI_BOYS.percentile.yearly-f607f28d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-8f91eac4.js → BMI_BOYS.zscore.monthly-bc67e37a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-354088d7.js → BMI_BOYS.zscore.weekly-650ac228.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-cb2c4700.js → BMI_BOYS.zscore.yearly-0f698a48.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-aa916a3e.js → BMI_GIRLS.percentile.monthly-341b9886.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f378d6e2.js → BMI_GIRLS.percentile.weekly-aac022d8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5e8313ba.js → BMI_GIRLS.percentile.yearly-58038844.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d6e8b41c.js → BMI_GIRLS.zscore.monthly-4a2708dc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-a9f96e9d.js → BMI_GIRLS.zscore.weekly-bffc465d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d415918d.js → BMI_GIRLS.zscore.yearly-f65bcef7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-d119e1e4.js → HEAD CIRCUM_BOYS.percentile.monthly-26bf6676.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1fb91c27.js → HEAD CIRCUM_BOYS.percentile.weekly-0b354463.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-14cfa652.js → HEAD CIRCUM_BOYS.percentile.yearly-4351b5df.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-bbc8896c.js → HEAD CIRCUM_BOYS.zscore.monthly-acafc164.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8b0ba59a.js → HEAD CIRCUM_BOYS.zscore.weekly-51240a96.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e9b53a1e.js → HEAD CIRCUM_BOYS.zscore.yearly-0aa9667b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c140f18f.js → HEAD CIRCUM_GIRLS.percentile.monthly-a4b71e63.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-11d9f2f5.js → HEAD CIRCUM_GIRLS.percentile.weekly-29191223.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-7c20e5b6.js → HEAD CIRCUM_GIRLS.percentile.yearly-b2b783ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0f1644f9.js → HEAD CIRCUM_GIRLS.zscore.monthly-9be0a55a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-8e636021.js → HEAD CIRCUM_GIRLS.zscore.weekly-f059db98.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5d6f2179.js → HEAD CIRCUM_GIRLS.zscore.yearly-ae101747.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ba0059e1.js → HEIGHT_BOYS.percentile.monthly-390968ba.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-50a82859.js → HEIGHT_BOYS.percentile.weekly-4e497f0f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-080fc2db.js → HEIGHT_BOYS.percentile.yearly-921f6cea.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-820ff477.js → HEIGHT_BOYS.zscore.monthly-2dc40837.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1ddff730.js → HEIGHT_BOYS.zscore.weekly-b45d6071.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ec97e4f2.js → HEIGHT_BOYS.zscore.yearly-c53e7c97.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-54948f83.js → HEIGHT_GIRLS.percentile.monthly-8fb95fb0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c7951d7a.js → HEIGHT_GIRLS.percentile.weekly-c0669885.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-307b282a.js → HEIGHT_GIRLS.percentile.yearly-fa800462.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-122b78cc.js → HEIGHT_GIRLS.zscore.monthly-97217b46.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-25185cae.js → HEIGHT_GIRLS.zscore.weekly-2986a59d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-007321e7.js → HEIGHT_GIRLS.zscore.yearly-e7939d14.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e386f515.js → WEIGHT_BOYS.percentile.monthly-77888090.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-27d364bd.js → WEIGHT_BOYS.percentile.weekly-2a905506.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-25d11e78.js → WEIGHT_BOYS.percentile.yearly-626979fb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-43715f1e.js → WEIGHT_BOYS.zscore.monthly-1d61f28b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-9f6ff107.js → WEIGHT_BOYS.zscore.weekly-ea606741.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e706a415.js → WEIGHT_BOYS.zscore.yearly-ff9399be.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-22e5cd1e.js → WEIGHT_GIRLS.percentile.monthly-a1407c73.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-89891001.js → WEIGHT_GIRLS.percentile.weekly-19f2812d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-64dce69c.js → WEIGHT_GIRLS.percentile.yearly-3086c5f1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-244407d3.js → WEIGHT_GIRLS.zscore.monthly-f1ed4b3a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-86188e27.js → WEIGHT_GIRLS.zscore.weekly-b1241dc9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d602f7f3.js → WEIGHT_GIRLS.zscore.yearly-3150255e.js} +0 -0
- /package/build/esm/{constants-2a607b29.js → constants-99ad9f7f.js} +0 -0
- /package/build/esm/{cookieHelper-d4b86288.js → cookieHelper-7c566e73.js} +0 -0
- /package/build/esm/{isProduction-22a60e6c.js → isProduction-d5b5f0f6.js} +0 -0
- /package/build/esm/{localizeNumberFormat-14be14cd.js → localizeNumberFormat-058ec7dc.js} +0 -0
- /package/build/esm/{theme-25d03c98.js → theme-62332c00.js} +0 -0
- /package/build/esm/{translationsContext-8b14d38c.js → translationsContext-011e7259.js} +0 -0
- /package/build/esm/{types-58902c81.js → types-a8204e89.js} +0 -0
- /package/build/esm/{useOutsideClick-9eb9edf2.js → useOutsideClick-b9b32cec.js} +0 -0
- /package/build/esm/{useScrollbarSize-60f7624e.js → useScrollbarSize-0e261ad4.js} +0 -0
- /package/build/esm/{utils-1e2b6e44.js → utils-609f92c6.js} +0 -0
- /package/build/{isProduction-0af5eba1.js → isProduction-a249b948.js} +0 -0
- /package/build/{localizeNumberFormat-f2185b76.js → localizeNumberFormat-ff6bef12.js} +0 -0
- /package/build/{theme-c1044fdb.js → theme-2df74df1.js} +0 -0
- /package/build/{translationsContext-76f0f0ab.js → translationsContext-ea159be8.js} +0 -0
- /package/build/{tslib.es6-35a83a50.js → tslib.es6-96fcc615.js} +0 -0
- /package/build/{types-25a7649a.js → types-00a0ef24.js} +0 -0
- /package/build/{useOutsideClick-aeb115e1.js → useOutsideClick-5089283e.js} +0 -0
- /package/build/{useScrollbarSize-a8d87ada.js → useScrollbarSize-9b04dfe6.js} +0 -0
- /package/build/{utils-5e9bd883.js → utils-389aa237.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as n,b as e,_ as o,c as t,d as r}from"./tslib.es6-bbaba938.js";import i,{createContext as a,useContext as l,useState as s,useRef as c,useEffect as d,useMemo as m,useCallback as p}from"react";import{useInterval as u,useCounter as g}from"@mantine/hooks";import{H as b}from"./index.styled-22674d31.js";import{B as h}from"./index-45cdf6ab.js";import"./gAssets.js";import"./index.styled-93419bc4.js";import{c as f}from"./index-e7740917.js";import{M as x}from"./utils-1e2b6e44.js";import{t as E}from"./theme-25d03c98.js";import{Container as y,Input as v}from"@mantine/core";import"./index.styled-6efcb63d.js";import{u as w}from"./useTranslations-9f870bbc.js";import"./index-c6dbc7dd.js";import"lodash/debounce";import"./isProduction-22a60e6c.js";import{L as P}from"./index-b8842b68.js";import"dayjs";import"./screenSizeContext-35b94839.js";import k from"styled-components";import{L as S}from"./Locale-f95814cc.js";import"./translationsContext-8b14d38c.js";import"string-format";import{T as C}from"./index-13ef04dd.js";import{useForm as M,yupResolver as j}from"@mantine/form";import{e as T,O as I,D as N,R as z}from"./index-de2d08d4.js";import*as L from"yup";import B from"lodash/throttle";import{P as O}from"./index-a5631f5e.js";import"./index-483df985.js";import{format as F}from"date-fns";import{V as D}from"./Visible-a9656ab5.js";var V,H,U,q,R,A,_,W,Y=a({}),K=k.div(V||(V=n([""],[""]))),Z=k(C)(H||(H=n(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),G=k.div(U||(U=n(["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"],["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]))),J=k(y)(q||(q=n(["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"],["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"])),x.mbDown),Q=k.img(R||(R=n(["\n margin-bottom: 38px;\n"],["\n margin-bottom: 38px;\n"]))),X=function(n){var t,r=n.heading,a=n.description,s=n.children,c=n.className,d=n.imgSrc,m=e(n,["heading","description","children","className","imgSrc"]),p=l(Y),u=p.isMarryBaby,g=p.siteType;return i.createElement(J,o({},m,{className:"hhg-comp-onboarding-container ".concat(c),size:"sm"}),i.createElement(f,{type:u?g:(null===(t=P[process.env.UNIFY_LOCALE])||void 0===t?void 0:t.LOGO_TYPE)||"hellobacsi"}),i.createElement(G,null,d&&i.createElement(Q,{src:d,loading:"lazy"}),i.createElement(K,{className:"header"},i.createElement(b,{tag:"h3"},r),i.createElement(Z,{size:"p3",color:E.colors.gray600},a)),s))},$=function(n){return L.object().shape({phone:L.string().required(n("onboarding.updatePhone.error")).default("")})},nn=function(n){return L.object().shape({otp:L.string().required(n("onboarding.otpForm.error")).length(6,n("onboarding.otpForm.error")).default("")})},en=function(n){return L.object().shape({email:L.string().required(n("onboarding.errorMessage.requiredEmail")).email(n("onboarding.errorMessage.invalidEmail")).default(""),name:L.string().required(n("onboarding.errorMessage.requiredName"))})},on=function(n){return L.object().shape({password:L.string().required(n("onboarding.errorMessage.requiredPassword")).min(8,n("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,n("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:L.string().required(n("onboarding.errorMessage.requiredConfirmPassword")).oneOf([L.ref("password"),null],n("onboarding.errorMessage.passNotMatch")).default("")})},tn=k(X)(A||(A=n(["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"],["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"])),x.mbDown),rn=((_={})[S.Vietnam]="VN",_[S.Cambodia]="KH",_[S.Indonesia]="ID",_[S.Malaysia]="MY",_[S.PhilippinesEnglish]="PH",_[S.PhilippinesTagalog]="PH",_[S.Taiwan]="TW",_[S.Thailand]="TH",_[S.Myanmar]="MM",_),an=function(n){var e=n.onClose,a=n.onSubmit,l=n.canSkip,s=void 0===l||l,c=n.customFormTexts,d=w().t,m=M({initialValues:{phone:""},validate:j($(d))});return i.createElement(tn,{heading:(null==c?void 0:c.heading)||d("onboarding.updatePhone.heading"),description:(null==c?void 0:c.description)||d("onboarding.updatePhone.description")},i.createElement("form",{onSubmit:m.onSubmit((function(n){return t(void 0,void 0,void 0,(function(){return r(this,(function(e){return a(n.phone),[2]}))}))}),(function(n){console.log(n)}))},i.createElement("div",{className:"phone-input"},i.createElement(T,o({defaultCountry:rn[process.env.UNIFY_LOCALE]||"VN"},m.getInputProps("phone"))),i.createElement(v.Error,null,m.errors.phone)),i.createElement(h,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},d("onboarding.button.continue")),s&&i.createElement(h,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},d("onboarding.button.skip"))))};(W={})[S.Vietnam]="VN",W[S.Cambodia]="KH",W[S.Indonesia]="ID",W[S.Malaysia]="MY",W[S.PhilippinesEnglish]="PH",W[S.PhilippinesTagalog]="PH",W[S.Taiwan]="TW",W[S.Thailand]="TH",W[S.Myanmar]="MM";var ln,sn,cn,dn,mn,pn,un,gn,bn,hn,fn,xn,En=function(n){void 0===n&&(n="");var e=n.indexOf("@"),o=n.substring(0,e),t=o.length>3?3:o.length;return n.replace(n.substring(t,e),n.slice(t,e).replace(/./g,"x"))},yn=k(X)(ln||(ln=n(["\n .otp-input {\n margin-bottom: 36px;\n "," {\n margin-bottom: 20px;\n }\n .otpContainer {\n margin-bottom: 16px;\n }\n }\n .resend {\n display: flex;\n gap: 6px;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n a {\n text-decoration: underline;\n cursor: pointer;\n }\n }\n .phone-description {\n margin-left: 2px;\n margin-top: 2px;\n }\n .otp-description-edit-icon {\n cursor: pointer;\n vertical-align: bottom;\n /* height: 100%; */\n margin-bottom: 3px;\n margin-left: 3px;\n }\n"],["\n .otp-input {\n margin-bottom: 36px;\n "," {\n margin-bottom: 20px;\n }\n .otpContainer {\n margin-bottom: 16px;\n }\n }\n .resend {\n display: flex;\n gap: 6px;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n a {\n text-decoration: underline;\n cursor: pointer;\n }\n }\n .phone-description {\n margin-left: 2px;\n margin-top: 2px;\n }\n .otp-description-edit-icon {\n cursor: pointer;\n vertical-align: bottom;\n /* height: 100%; */\n margin-bottom: 3px;\n margin-left: 3px;\n }\n"])),x.mbDown,x.mbDown),vn=function(n){var e=n.onSubmit,a=n.phone,p=n.email,b=n.onResendCode,f=n.otpError,x=n.onClose,y=n.loading,P=n.onBack,k=n.canSkip,S=n.outOfEdit,T=l(Y),N=T.siteType,z=T.isMarryBaby,L=s(30),O=L[0],F=L[1],D=u((function(){return F((function(n){return n-1}))}),1e3),V=g(0,{min:0,max:3}),H=V[0],U=V[1],q=c(!0),R=w().t;d((function(){return D.start(),D.stop}),[]),d((function(){0===O&&(D.stop(),q.current=!1)}),[O]);var A=M({initialValues:{otp:""},validate:j(nn(R))});d((function(){f&&A.setFieldError("otp",f)}),[f]);var _=m((function(){return B((function(){q.current||(U.increment(),F(30),null==b||b(a||p),D.start(),q.current=!0)}),1e3,{trailing:!1})}),[a,p,b,D]);return i.createElement(yn,{heading:R("onboarding.otpForm.heading"),description:i.createElement(i.Fragment,null,i.createElement("span",{dangerouslySetInnerHTML:{__html:a?R("onboarding.otpForm.description",{phone:'<b style="color:'.concat(E.colors.gray800,'">').concat(a.slice(0,-3).replace(/./g,"x").concat(a.slice(-3)),"</b>")}):R("onboarding.otpForm.descriptionEmail",{email:'<b style="color:'.concat(E.colors.gray800,'">').concat(En(p),"</b>")})}}),!S&&i.createElement("svg",{onClick:function(){null==P||P()},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"otp-description-edit-icon"},i.createElement("path",{d:"M12.7812 1.33337C12.2987 1.33337 11.8162 1.51712 11.4479 1.88546L10.6667 2.66671L13.3333 5.33337L14.1146 4.55212C14.8506 3.81612 14.8506 2.62212 14.1146 1.88546C13.7463 1.51712 13.2638 1.33337 12.7812 1.33337ZM9.66667 3.66671L2 11.3334V14H4.66667L12.3333 6.33337L9.66667 3.66671Z",fill:"#ADB3BC"})))},i.createElement("form",{onSubmit:A.onSubmit((function(n){return t(void 0,void 0,void 0,(function(){return r(this,(function(o){return U.increment(),e(n.otp),[2]}))}))}),(function(n){console.log(n)}))},i.createElement("div",{className:"otp-input"},i.createElement(I,o({enterKeyHint:void 0,nonce:void 0},A.getInputProps("otp"))),i.createElement(v.Error,null,A.errors.otp)),i.createElement("div",{className:"resend"},i.createElement(C,{size:"p4",color:E.colors.gray400},R("onboarding.otpForm.notReceiveOTP")),i.createElement(C,{as:"a",size:"p4",color:z?E.mbColors.pink:E.colors.primaryBase,onClick:_},R("onboarding.otpForm.resendCode",{seconds:O}))),i.createElement(h,{theme:N,color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:y,disabled:y,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},R("onboarding.button.continue")),k&&H>=3&&i.createElement(h,{theme:N,color:"ghost",isBlock:!0,size:"lg",onClick:x,type:"button"},R("onboarding.button.skip"))))},wn=function(n){var e=n.onClose,t=n.onSubmit,r=n.canSkip,a=n.loading,s=n.errorMessage,c=n.initialData,m=w().t,p=l(Y).siteType,u=M({validate:j(en(m))});return d((function(){u.setValues(o(o({gender:"0"},c),(null==c?void 0:c.birthday)&&{birthday:new Date(c.birthday)}))}),[c]),d((function(){s&&u.setFieldError("email",s)}),[s]),i.createElement(X,{heading:m("onboarding.formEmail.heading"),description:m("onboarding.formEmail.description")},i.createElement("form",{className:"form",onSubmit:u.onSubmit((function(n){t(o(o({},n),{birthday:n.birthday&&F(n.birthday,"yyyy-MM-dd")}))}),(function(n){console.log({fieldErrors:n})}))},i.createElement(v.Wrapper,{label:m("onboarding.formEmail.yourName"),className:"input-control",withAsterisk:!0},i.createElement(v,o({},u.getInputProps("name"))),i.createElement(v.Error,{className:"field-error"},u.errors.name)),i.createElement(v.Wrapper,{label:m("onboarding.formEmail.yourEmail"),className:"input-control",withAsterisk:!0},i.createElement(v,o({},u.getInputProps("email"))),i.createElement(v.Error,{className:"field-error"},u.errors.email)),i.createElement(N,o({className:"input-control",label:m("onboarding.formEmail.yourBirthday")},u.getInputProps("birthday"))),i.createElement(z.Group,{value:u.values.gender,onChange:function(n){return u.setFieldValue("gender",n)},className:"radio-group"},i.createElement(z,{value:"0",label:m("onboarding.formEmail.genderMale")}),i.createElement(z,{value:"1",label:m("onboarding.formEmail.genderFemale")})),i.createElement(h,{color:"primary",isBlock:!0,size:"lg",type:"submit",theme:p,isLoading:a,disabled:a},m("onboarding.button.continue")),r&&i.createElement(h,{theme:p,color:"ghost",isBlock:!0,size:"lg",onClick:e},m("onboarding.button.skip"))))},Pn=function(n){var e=n.onClose,t=n.onSubmit,r=n.canSkip,a=n.errorMessage,l=n.loading,s=w().t,c=M({initialValues:{password:"",confirmPassword:""},validate:j(on(s))});return i.createElement(X,{heading:s("onboarding.updatePassword.heading"),description:s("onboarding.updatePassword.description")},i.createElement("form",{className:"form",onSubmit:c.onSubmit((function(n){return t((null==n?void 0:n.password)||"")}),(function(n){console.log({fieldErrors:n})}))},i.createElement(O,o({label:s("onboarding.updatePassword.password"),withAsterisk:!0,rightSection:i.createElement(D,null)},c.getInputProps("password"))),i.createElement(O,o({label:s("onboarding.updatePassword.confirmPassword"),withAsterisk:!0,rightSection:i.createElement(D,null)},c.getInputProps("confirmPassword"))),i.createElement(h,{color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:l,disabled:l},s("onboarding.button.continue")),r&&i.createElement(h,{color:"ghost",isBlock:!0,size:"lg",onClick:e},s("onboarding.button.skip")),a&&i.createElement(v.Error,{className:"form-error"},a)))},kn=k.div(sn||(sn=n(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n background: white;\n overflow-y: auto;\n"],["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n background: white;\n overflow-y: auto;\n"]))),Sn=k.div(cn||(cn=n(["\n height: 100%;\n "," {\n display: table;\n width: 100%;\n height: calc(100% - 25px);\n }\n"],["\n height: 100%;\n "," {\n display: table;\n width: 100%;\n height: calc(100% - 25px);\n }\n"])),x.lgPcUp),Cn=k.div(dn||(dn=n(["\n padding: 48px 24px 24px;\n\n "," {\n display: table-cell;\n\n &[data-has-banner='true'] {\n width: calc(100% - 640px);\n }\n }\n"],["\n padding: 48px 24px 24px;\n\n "," {\n display: table-cell;\n\n &[data-has-banner='true'] {\n width: calc(100% - 640px);\n }\n }\n"])),x.lgPcUp),Mn=k.div(mn||(mn=n(["\n width: 640px;\n padding: 16px 16px 0 16px;\n display: none;\n\n "," {\n width: 640px;\n display: table-cell;\n }\n"],["\n width: 640px;\n padding: 16px 16px 0 16px;\n display: none;\n\n "," {\n width: 640px;\n display: table-cell;\n }\n"])),x.lgPcUp),jn=k.div(pn||(pn=n(["\n background-color: ",";\n border-radius: 12px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n &[data-is-marry-baby='true'] {\n background-color: ",";\n }\n"],["\n background-color: ",";\n border-radius: 12px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n &[data-is-marry-baby='true'] {\n background-color: ",";\n }\n"])),E.colors.blue50,E.mbColors.tonePink),Tn=k.div(un||(un=n(["\n margin-top: 40px;\n padding: 24px 40px;\n"],["\n margin-top: 40px;\n padding: 24px 40px;\n"]))),In=k(b)(gn||(gn=n(["\n margin-bottom: 24px;\n text-align: center;\n"],["\n margin-bottom: 24px;\n text-align: center;\n"]))),Nn=k(C)(bn||(bn=n([""],[""]))),zn=k.img(hn||(hn=n(["\n width: 100%;\n display: block;\n"],["\n width: 100%;\n display: block;\n"]))),Ln=k.div(fn||(fn=n([""],[""])));!function(n){n[n.Phone=0]="Phone",n[n.OTP=1]="OTP",n[n.OTPEmail=2]="OTPEmail",n[n.PersonalInfo=3]="PersonalInfo",n[n.UpdatePassword=4]="UpdatePassword",n[n.Result=5]="Result"}(xn||(xn={}));var Bn=function(n){var a=n.onClose,l=n.canSkip,c=n.flow,d=void 0===c?[xn.Phone,xn.OTP]:c,m=n.step,u=n.onPhoneSubmit,b=n.onOtpSubmit,f=n.onPersonalInfoSubmit,x=n.onCreatePassByEmail,y=n.onResendCode,v=n.otpError,P=n.personalInfoError,k=n.createPassError,S=n.emailLoading,C=n.createPassLoading,M=n.otpLoading,j=n.customFormTexts,T=n.initialData,I=n.banner,N=n.resultScreenProps,z=n.siteType,L=e(n,["onClose","canSkip","flow","step","onPhoneSubmit","onOtpSubmit","onPersonalInfoSubmit","onCreatePassByEmail","onResendCode","otpError","personalInfoError","createPassError","emailLoading","createPassLoading","otpLoading","customFormTexts","initialData","banner","resultScreenProps","siteType"]),B=w().t,O=s(m||d[0]),F=O[0],D=O[1],V=s(""),H=V[0],U=V[1],q=s(""),R=q[0],A=q[1],_=g(0,{min:0,max:2}),W=_[0],K=_[1],Z=p((function(){var n=d.indexOf(F)+1;n<=d.length-1&&D(d[n])}),[F]),G=p((function(){var n=d.indexOf(F)-1;n>=0&&D(d[n])}),[F]),J=function(n){return t(void 0,void 0,void 0,(function(){var e;return r(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,b(n)];case 1:return!o.sent()&&Z(),[3,3];case 2:return e=o.sent(),console.error(e),[3,3];case 3:return[2]}}))}))},Q=function(){W>=2||(K.increment(),G())},$="marryBaby"===z;return console.log({isMarryBaby:$}),i.createElement(Y.Provider,{value:{siteType:z,isMarryBaby:$}},i.createElement(kn,o({},L),d.length>0?i.createElement(Sn,null,i.createElement(Cn,{"data-has-banner":"object"==typeof I},F===xn.Phone&&i.createElement(an,{onClose:a,canSkip:l,onSubmit:function(n){return t(void 0,void 0,void 0,(function(){var e;return r(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),U(n),[4,null==u?void 0:u(n)];case 1:return o.sent(),Z(),[3,3];case 2:return e=o.sent(),console.error(e),[3,3];case 3:return[2]}}))}))},customFormTexts:j.onboarding}),F===xn.OTP&&i.createElement(vn,{onClose:a,onSubmit:J,phone:H,onResendCode:y,otpError:v,loading:M,canSkip:l,onBack:Q,outOfEdit:W>=2}),F===xn.OTPEmail&&i.createElement(vn,{onClose:a,onSubmit:J,onResendCode:y,otpError:v,loading:M,canSkip:l,onBack:Q,outOfEdit:W>=2,email:R}),F===xn.PersonalInfo&&i.createElement(wn,{initialData:null==T?void 0:T[xn.PersonalInfo],onClose:a,canSkip:l,onSubmit:function(n){return t(void 0,void 0,void 0,(function(){var e;return r(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),A((null==n?void 0:n.email)||""),[4,null==f?void 0:f(n)];case 1:return!o.sent()&&Z(),[3,3];case 2:return e=o.sent(),console.error(e),[3,3];case 3:return[2]}}))}))},errorMessage:P,loading:S}),F===xn.UpdatePassword&&i.createElement(Pn,{onClose:a,canSkip:l,onSubmit:function(n){return t(void 0,void 0,void 0,(function(){var e;return r(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,null==x?void 0:x(n)];case 1:return o.sent(),!k&&Z(),[3,3];case 2:return e=o.sent(),console.error(e),[3,3];case 3:return[2]}}))}))},errorMessage:k,loading:C}),F===xn.Result&&i.createElement(X,o({},N),i.createElement(h,{theme:z,size:"lg",onClick:a,className:"form-button"},B("onboarding.button.continue")))),"object"==typeof I&&i.createElement(Mn,null,i.createElement(jn,{"data-is-marry-baby":$},i.createElement(Tn,null,(null==I?void 0:I.heading)&&i.createElement(In,{tag:"h1"},null==I?void 0:I.heading),(null==I?void 0:I.description)&&i.createElement(Nn,{size:"p1",color:E.colors.gray800},B("onboarding.welcomeScreen.content"))),(null==I?void 0:I.imgSrc)&&i.createElement(Ln,null,i.createElement(zn,{src:null==I?void 0:I.imgSrc,loading:"lazy"}))))):"Incorrect flow"))};export{rn as M,Bn as O,xn as a,an as b,vn as c};
|