@hhgtech/hhg-components 1.27.52 → 1.27.53
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.js +5 -5
- package/build/cache.js +1 -1
- package/build/care/api/paths.d.ts +3 -0
- package/build/care.js +1 -1
- package/build/components/atoms/bookingBtn/index.d.ts +11 -0
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/ui/cardAuthor/element/index.d.ts +1 -1
- package/build/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-7736c906.js → core-43a074ed.js} +1 -1
- package/build/{dataTransform-3122f5b4.js → dataTransform-15adba5b.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +7 -7
- package/build/esm/cache.js +1 -1
- package/build/esm/care/api/paths.d.ts +3 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/bookingBtn/index.d.ts +11 -0
- package/build/esm/components/atoms/index.d.ts +2 -0
- package/build/esm/components/ui/cardAuthor/element/index.d.ts +1 -1
- package/build/esm/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-2c3fddf5.js → core-d815f08a.js} +1 -1
- package/build/esm/{dataTransform-513c6b63.js → dataTransform-32d92304.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-c790da45.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-05592076.js +1 -0
- package/build/esm/{getSocialList-74c674b1.js → getSocialList-316f63d9.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-7c0d507b.js → index-05baeb78.js} +33 -33
- package/build/esm/{index-586459b9.js → index-299bf66d.js} +1 -1
- package/build/esm/{index-3cd5b6a6.js → index-301c2369.js} +1 -1
- package/build/esm/{index-fead378d.js → index-461b0cae.js} +1 -1
- package/build/esm/index-5df3a6dc.js +177 -0
- package/build/esm/index-613bf6dd.js +1 -0
- package/build/esm/index-7e706ea2.js +1 -0
- package/build/esm/index-8e4a4391.js +53 -0
- package/build/esm/index-9153e272.js +1 -0
- package/build/esm/{index-dc8eb595.js → index-9407cc2b.js} +1 -1
- package/build/esm/{index-dd9507d1.js → index-9efc85fc.js} +1 -1
- package/build/esm/{index-1e381703.js → index-a5e056f0.js} +1 -1
- package/build/esm/index-c1dfe9e5.js +75 -0
- package/build/esm/index-c1fceba7.js +1 -0
- package/build/esm/index-c3ae4cb2.js +1 -0
- package/build/esm/{index-ec428b00.js → index-c476d01d.js} +1 -1
- package/build/esm/index-c73bd94c.js +1 -0
- package/build/esm/index-cbc910b7.js +1 -0
- package/build/esm/index-d144811e.js +1 -0
- package/build/esm/index-d42fb136.js +1 -0
- package/build/esm/{index-02ce7fe6.js → index-ef612812.js} +1 -1
- package/build/esm/{index-54ac4800.js → index-f94bd6ec.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c8e5fb8f.js → index.styled-14b8d9f3.js} +4 -4
- package/build/esm/{index.styled-505b5dc1.js → index.styled-28e1a576.js} +90 -96
- package/build/esm/index.styled-9f8e530d.js +50 -0
- package/build/esm/lead.js +1 -1
- 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/onboardingV2.js +7 -7
- package/build/esm/paths-4967ea36.js +1 -0
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-77363cb8.js → routing-6ad68cdf.js} +1 -1
- package/build/esm/{screenSizeContext-8ff1435d.js → screenSizeContext-814791d7.js} +3 -3
- package/build/esm/together/components/molecules/cardAuthor/index.d.ts +5 -6
- package/build/esm/together.js +1 -1
- package/build/esm/{types-e3b60f4d.js → types-3dd5ccb2.js} +129 -129
- package/build/esm/{types-23debdba.js → types-f2356d16.js} +47 -47
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-d1e9ec95.js +1 -0
- package/build/esm/{useRafState-8f42d734.js → useRafState-d9b5a7b5.js} +1 -1
- package/build/esm/useTranslations-d55b34ca.js +1 -0
- package/build/esm/{utils-2390aba6.js → utils-202633d1.js} +1 -1
- package/build/esm/utils-9303f951.js +1433 -0
- package/build/esm/vaccination.js +49 -49
- package/build/fixedBottomAdBlock-a3eb8fdb.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-602c4525.js → getDynamicHealthTool-885e516b.js} +1 -1
- package/build/{getSocialList-3933ff91.js → getSocialList-ddafd859.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-b0530424.js → index-030c517e.js} +1 -1
- package/build/{index-c1601ffd.js → index-0e23b5c8.js} +1 -1
- package/build/{index-dbd1bebd.js → index-0f7473a3.js} +1 -1
- package/build/{index-c5ef9665.js → index-1edee1e5.js} +181 -181
- package/build/index-2ecdb356.js +1 -0
- package/build/{index-438b0e18.js → index-3186b4c2.js} +1 -1
- package/build/index-35024e12.js +53 -0
- package/build/{index-af337eae.js → index-38dd49fe.js} +1 -1
- package/build/{index-fdcfc142.js → index-432890af.js} +1 -1
- package/build/index-43a0c8cb.js +1 -0
- package/build/{index-ce974d0a.js → index-4d09020c.js} +3 -3
- package/build/{index-851d50cc.js → index-513477b0.js} +1 -1
- package/build/{index-f2b91297.js → index-5b3e0182.js} +1 -1
- package/build/index-7106b9da.js +75 -0
- package/build/{index-83d99cb6.js → index-772e6d28.js} +1 -1
- package/build/index-87cd21dc.js +1 -0
- package/build/{index-61b362c4.js → index-9133d78b.js} +1 -1
- package/build/{index-9c114d7c.js → index-bfaf26cf.js} +1 -1
- package/build/index-ddf9a6a7.js +1 -0
- package/build/index-e2f3db73.js +1 -0
- package/build/{index-84ee7459.js → index-eaa40717.js} +1 -1
- package/build/index-f5809050.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-0cdae0c8.js +50 -0
- package/build/{index.styled-97248e02.js → index.styled-a1114294.js} +1 -1
- package/build/index.styled-fce8e2f7.js +1866 -0
- package/build/lead.js +1 -1
- 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/onboardingV2.js +30 -30
- package/build/paths-bb2c80ec.js +1 -0
- package/build/pwg.js +3 -3
- package/build/{routing-fc70bd58.js → routing-7ba54726.js} +1 -1
- package/build/{screenSizeContext-025f5981.js → screenSizeContext-01da8252.js} +3 -3
- package/build/together/components/molecules/cardAuthor/index.d.ts +5 -6
- package/build/together.js +1 -1
- package/build/{types-33be2992.js → types-be7180f3.js} +119 -119
- package/build/{types-6ad1427a.js → types-e8b2fa8d.js} +35 -35
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-cbb217d7.js → useHealthToolCache-030fcde3.js} +1 -1
- package/build/{useRafState-516207de.js → useRafState-e17ab4ed.js} +1 -1
- package/build/{useTranslations-0fb1a549.js → useTranslations-1f9f0574.js} +1 -1
- package/build/{utils-ccaa298b.js → utils-a6015bf8.js} +1 -1
- package/build/utils-c3a382bb.js +1433 -0
- package/build/vaccination.js +12 -12
- package/package.json +1 -1
- package/build/esm/fixedBottomAdBlock-3116e268.js +0 -1
- package/build/esm/getDynamicHealthTool-a4362952.js +0 -1
- package/build/esm/index-0209a09f.js +0 -1
- package/build/esm/index-1717ed07.js +0 -1
- package/build/esm/index-5442c3d8.js +0 -1
- package/build/esm/index-612e83d1.js +0 -1
- package/build/esm/index-82e57601.js +0 -53
- package/build/esm/index-990c05f9.js +0 -1
- package/build/esm/index-9dff8754.js +0 -177
- package/build/esm/index-9f1a2f37.js +0 -1
- package/build/esm/index-c94cfe70.js +0 -112
- package/build/esm/index-ca34ee48.js +0 -1
- package/build/esm/index-df2609fe.js +0 -1315
- package/build/esm/index-e6e3f8e6.js +0 -1
- package/build/esm/index-ee741450.js +0 -1
- package/build/esm/index-f0a2d4c0.js +0 -1
- package/build/esm/index-f5432777.js +0 -75
- package/build/esm/index.styled-3958836b.js +0 -50
- package/build/esm/useHealthToolCache-5ed8b7d1.js +0 -1
- package/build/esm/useTranslations-550903e9.js +0 -1
- package/build/fixedBottomAdBlock-e2aad49d.js +0 -1
- package/build/index-0fa0b2f8.js +0 -1
- package/build/index-59dade5b.js +0 -75
- package/build/index-66929598.js +0 -112
- package/build/index-6851c2a4.js +0 -1
- package/build/index-6d86f715.js +0 -53
- package/build/index-77c63233.js +0 -1
- package/build/index-94dbd09f.js +0 -1315
- package/build/index-a131f638.js +0 -1
- package/build/index-a4df66e8.js +0 -1
- package/build/index-b4d01f89.js +0 -1
- package/build/index-d42bfbe5.js +0 -1
- package/build/index.styled-948e9bc3.js +0 -1872
- package/build/index.styled-e7cfa541.js +0 -50
- /package/build/{BMI_BOYS.percentile.monthly-498fe153.js → BMI_BOYS.percentile.monthly-022dcc0f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ecd189ac.js → BMI_BOYS.percentile.weekly-f29ea650.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-a3e40e76.js → BMI_BOYS.percentile.yearly-93cedf40.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d11155e2.js → BMI_BOYS.zscore.monthly-41f99977.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2646110c.js → BMI_BOYS.zscore.weekly-787cd444.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-080708d4.js → BMI_BOYS.zscore.yearly-0b362dce.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1e2e2ef4.js → BMI_GIRLS.percentile.monthly-55bbbe4c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-80b60b92.js → BMI_GIRLS.percentile.weekly-5aeb3f7f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9a084238.js → BMI_GIRLS.percentile.yearly-a6e9394f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-8dabb33f.js → BMI_GIRLS.zscore.monthly-6eb2d1eb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-8722df89.js → BMI_GIRLS.zscore.weekly-a078109a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-565c2f5d.js → BMI_GIRLS.zscore.yearly-f651558b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f9518412.js → HEAD CIRCUM_BOYS.percentile.monthly-ad1453af.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b6f1d55e.js → HEAD CIRCUM_BOYS.percentile.weekly-7c10679b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8bbd6cee.js → HEAD CIRCUM_BOYS.percentile.yearly-6c595d89.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-7304ca0f.js → HEAD CIRCUM_BOYS.zscore.monthly-2d9dc4d0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-1a93ac5c.js → HEAD CIRCUM_BOYS.zscore.weekly-f2b39380.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-23d8427c.js → HEAD CIRCUM_BOYS.zscore.yearly-9c40e964.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b5eec4e0.js → HEAD CIRCUM_GIRLS.percentile.monthly-7c9d1aff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f551ab09.js → HEAD CIRCUM_GIRLS.percentile.weekly-1ef90aa8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-642af68f.js → HEAD CIRCUM_GIRLS.percentile.yearly-5788ea6b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e936152b.js → HEAD CIRCUM_GIRLS.zscore.monthly-aa366018.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a08fa15c.js → HEAD CIRCUM_GIRLS.zscore.weekly-1c4710d9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7d81cf53.js → HEAD CIRCUM_GIRLS.zscore.yearly-692f0943.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a75c8362.js → HEIGHT_BOYS.percentile.monthly-72d8eaf2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-1e39465a.js → HEIGHT_BOYS.percentile.weekly-af39a4d2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b58a0825.js → HEIGHT_BOYS.percentile.yearly-50383571.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-88402806.js → HEIGHT_BOYS.zscore.monthly-d01130b7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e2105da0.js → HEIGHT_BOYS.zscore.weekly-bf32324a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-04d5aaf1.js → HEIGHT_BOYS.zscore.yearly-efdcd6d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d643ebf2.js → HEIGHT_GIRLS.percentile.monthly-ebd6eb7e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-78415a57.js → HEIGHT_GIRLS.percentile.weekly-47e25433.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-de74df85.js → HEIGHT_GIRLS.percentile.yearly-232743ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-317aecb9.js → HEIGHT_GIRLS.zscore.monthly-18eed153.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d7e508b2.js → HEIGHT_GIRLS.zscore.weekly-b8485b1f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-7d621a50.js → HEIGHT_GIRLS.zscore.yearly-f3eb47f4.js} +0 -0
- /package/build/{Onboarding-ad34b7e8.js → Onboarding-882daaf4.js} +0 -0
- /package/build/{Visible-33d9ca24.js → Visible-994227de.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-70c62db6.js → WEIGHT_BOYS.percentile.monthly-41cbf014.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7798be45.js → WEIGHT_BOYS.percentile.weekly-04e22fec.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-869fb083.js → WEIGHT_BOYS.percentile.yearly-fe7a528f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-811aac33.js → WEIGHT_BOYS.zscore.monthly-577cf78d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5831495f.js → WEIGHT_BOYS.zscore.weekly-f37e6906.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a2a6cc8a.js → WEIGHT_BOYS.zscore.yearly-06808cf6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c82122b6.js → WEIGHT_GIRLS.percentile.monthly-3b5e1451.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-555ccf32.js → WEIGHT_GIRLS.percentile.weekly-73753918.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d70ad393.js → WEIGHT_GIRLS.percentile.yearly-2af663ed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a3e90ae8.js → WEIGHT_GIRLS.zscore.monthly-f876f3dd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a8708b96.js → WEIGHT_GIRLS.zscore.weekly-d129915c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-dd81f4a0.js → WEIGHT_GIRLS.zscore.yearly-9c5e3ed7.js} +0 -0
- /package/build/{constants-c4aa5b9c.js → constants-c7034fd7.js} +0 -0
- /package/build/{cookieHelper-b8e43647.js → cookieHelper-75bc00af.js} +0 -0
- /package/build/{dataTransform-5ab0f573.js → dataTransform-1319f542.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-08aa9e17.js → BMI_BOYS.percentile.monthly-07860692.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-80ac55e4.js → BMI_BOYS.percentile.weekly-14b4de20.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-25cad6f2.js → BMI_BOYS.percentile.yearly-9d5fbfa6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-0dde6e18.js → BMI_BOYS.zscore.monthly-bbfe9cef.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-21cef262.js → BMI_BOYS.zscore.weekly-7c5dbf0f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-5387c80f.js → BMI_BOYS.zscore.yearly-50f55f62.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-da9b07c9.js → BMI_GIRLS.percentile.monthly-9856356b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-09a90324.js → BMI_GIRLS.percentile.weekly-e7abc17a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6c31648a.js → BMI_GIRLS.percentile.yearly-22fb201e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-14ba0f35.js → BMI_GIRLS.zscore.monthly-a13cafc4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-926deb7e.js → BMI_GIRLS.zscore.weekly-34a1d1f4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d1d40013.js → BMI_GIRLS.zscore.yearly-7b5c36d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ec21a661.js → HEAD CIRCUM_BOYS.percentile.monthly-6477cca5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3c55778c.js → HEAD CIRCUM_BOYS.percentile.weekly-27c2d1af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6b21ca13.js → HEAD CIRCUM_BOYS.percentile.yearly-8ca780c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-29221858.js → HEAD CIRCUM_BOYS.zscore.monthly-982f3004.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-98737449.js → HEAD CIRCUM_BOYS.zscore.weekly-d693e3d4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4db95570.js → HEAD CIRCUM_BOYS.zscore.yearly-18152314.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-90e18bd6.js → HEAD CIRCUM_GIRLS.percentile.monthly-4962431c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-79509352.js → HEAD CIRCUM_GIRLS.percentile.weekly-15dfb0f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f4742e08.js → HEAD CIRCUM_GIRLS.percentile.yearly-d2418e09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-cde4b65d.js → HEAD CIRCUM_GIRLS.zscore.monthly-836dbfcd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4daefd69.js → HEAD CIRCUM_GIRLS.zscore.weekly-9a14cdec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-30d30216.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b98b42f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-add85954.js → HEIGHT_BOYS.percentile.monthly-eab89f46.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fd979e63.js → HEIGHT_BOYS.percentile.weekly-8462a03c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c211be0d.js → HEIGHT_BOYS.percentile.yearly-71880888.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-671718ce.js → HEIGHT_BOYS.zscore.monthly-8751db5a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-875e45b7.js → HEIGHT_BOYS.zscore.weekly-23f11635.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-cabd1ae8.js → HEIGHT_BOYS.zscore.yearly-03cc033f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e791a1eb.js → HEIGHT_GIRLS.percentile.monthly-73f1bb63.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-13778d1b.js → HEIGHT_GIRLS.percentile.weekly-9144b832.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4b7349c5.js → HEIGHT_GIRLS.percentile.yearly-e28a966c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c5f22753.js → HEIGHT_GIRLS.zscore.monthly-2dfcf882.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e731dc75.js → HEIGHT_GIRLS.zscore.weekly-128db0bf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f70e7497.js → HEIGHT_GIRLS.zscore.yearly-108f1bcf.js} +0 -0
- /package/build/esm/{Onboarding-c2b062bc.js → Onboarding-2891aea6.js} +0 -0
- /package/build/esm/{Visible-650f139a.js → Visible-303b70eb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-aeadb3b4.js → WEIGHT_BOYS.percentile.monthly-79e6d964.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-160e5bbc.js → WEIGHT_BOYS.percentile.weekly-fb63286d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-28ec4690.js → WEIGHT_BOYS.percentile.yearly-9a853631.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-86cb8b3f.js → WEIGHT_BOYS.zscore.monthly-f6c09849.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f5fde817.js → WEIGHT_BOYS.zscore.weekly-7e124abe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-87c02ce9.js → WEIGHT_BOYS.zscore.yearly-6fc394d8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c146664e.js → WEIGHT_GIRLS.percentile.monthly-8a105b20.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2d9fd489.js → WEIGHT_GIRLS.percentile.weekly-092e711a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0b5eb494.js → WEIGHT_GIRLS.percentile.yearly-929c84fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-fcb9fdfa.js → WEIGHT_GIRLS.zscore.monthly-9b96ddb0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2986d60d.js → WEIGHT_GIRLS.zscore.weekly-a7aea7a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-eef31f2d.js → WEIGHT_GIRLS.zscore.yearly-ee514f8c.js} +0 -0
- /package/build/esm/{constants-90681c54.js → constants-52e7c5a1.js} +0 -0
- /package/build/esm/{cookieHelper-dde56e7e.js → cookieHelper-8e2d3e89.js} +0 -0
- /package/build/esm/{dataTransform-a5ab9819.js → dataTransform-23bb2f75.js} +0 -0
- /package/build/esm/{index-3e865989.js → index-642272ad.js} +0 -0
- /package/build/esm/{isProduction-f5811f03.js → isProduction-382e134a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-e702d224.js → localizeNumberFormat-93b69e17.js} +0 -0
- /package/build/esm/{normalizeLink-96165876.js → normalizeLink-31fc90ab.js} +0 -0
- /package/build/esm/{theme-fff35c1b.js → theme-f836e461.js} +0 -0
- /package/build/esm/{translationsContext-282b1dc1.js → translationsContext-fcee0ae6.js} +0 -0
- /package/build/esm/{tslib.es6-4051c568.js → tslib.es6-c405de5e.js} +0 -0
- /package/build/esm/{types-013115f6.js → types-030542d3.js} +0 -0
- /package/build/esm/{useIsInit-ee1ee601.js → useIsInit-dd3e0d5a.js} +0 -0
- /package/build/esm/{useOutsideClick-8a163413.js → useOutsideClick-348963f5.js} +0 -0
- /package/build/esm/{useScrollbarSize-98badeb4.js → useScrollbarSize-21588734.js} +0 -0
- /package/build/esm/{useUniqueId-e1fa0919.js → useUniqueId-dac8de59.js} +0 -0
- /package/build/esm/{utils-02f75338.js → utils-ce604344.js} +0 -0
- /package/build/{index-cb527fea.js → index-2abe345d.js} +0 -0
- /package/build/{isProduction-6c9232ec.js → isProduction-6f046dc2.js} +0 -0
- /package/build/{localizeNumberFormat-335ccb11.js → localizeNumberFormat-bdddbe5b.js} +0 -0
- /package/build/{normalizeLink-ca0030d4.js → normalizeLink-12494d60.js} +0 -0
- /package/build/{theme-a804bd66.js → theme-007b209f.js} +0 -0
- /package/build/{translationsContext-254b3e56.js → translationsContext-5bbe301a.js} +0 -0
- /package/build/{tslib.es6-c1567555.js → tslib.es6-6ee1dc31.js} +0 -0
- /package/build/{types-b5e56f20.js → types-94fc41fc.js} +0 -0
- /package/build/{useIsInit-37df1e49.js → useIsInit-b4d4f4a1.js} +0 -0
- /package/build/{useOutsideClick-28695d70.js → useOutsideClick-c7d73ad8.js} +0 -0
- /package/build/{useScrollbarSize-2af71757.js → useScrollbarSize-74481873.js} +0 -0
- /package/build/{useUniqueId-a5f1b1c9.js → useUniqueId-08ead9f0.js} +0 -0
- /package/build/{utils-4b60d0ca.js → utils-7af126d6.js} +0 -0
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-4051c568.js";import*as a from"react";import n,{useState as l,useEffect as r,Component as i,useCallback as o,forwardRef as s,useRef as c,useImperativeHandle as d,createContext as m}from"react";import h from"dayjs";import{L as p}from"./Onboarding-c2b062bc.js";import{Button as g,rem as f,createStyles as v,Text as u,AspectRatio as b,em as E,useMantineTheme as z,Box as w,Breadcrumbs as C,Textarea as x,Accordion as y,Indicator as j,Avatar as M,FileInput as H,createEmotionCache as k,NumberInput as O,PasswordInput as L,TextInput as B,Input as A,Checkbox as S,Slider as I,Radio as P,Flex as T,Tabs as N,ScrollArea as D,Popover as F}from"@mantine/core";import{B as R,M as $}from"./utils-02f75338.js";import V from"styled-components";import{Carousel as W}from"@mantine/carousel";import"./screenSizeContext-8ff1435d.js";import{t as _}from"./theme-fff35c1b.js";import{I as Z,s as G}from"./index-dd9507d1.js";import"./isProduction-f5811f03.js";import{CommonGAssets as K}from"./gAssets.js";import{a5 as U,a6 as Y,a7 as X,I as q}from"./index-df2609fe.js";import{I as Q}from"./index-f5432777.js";import{useDebouncedValue as J,useDisclosure as ee,useClickOutside as te}from"@mantine/hooks";import"./index-ec428b00.js";import"./translationsContext-282b1dc1.js";import"string-format";const ae={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},ne=t=>{var{variant:a,size:l,color:r,skipHover:i,className:o,dataEventCategory:s,dataEventAction:c,dataEventLabel:d,children:m}=t,h=e(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const p="error"===a,{classes:f,cx:v}=U({variant:a,size:l,color:r,skipHover:i,isError:p,children:m});return n.createElement(g,Object.assign({className:v(f.rootCustom,o),variant:ae[a],"data-event-category":s,"data-event-action":c,"data-event-label":d},h),m)},le={[p.Vietnam]:"vi",[p.Cambodia]:"km",[p.India]:"hi",[p.Indonesia]:"id",[p.Malaysia]:"ms",[p.Thailand]:"th",[p.Taiwan]:"zh-tw",[p.PhilippinesTagalog]:"tl-ph",[p.PhilippinesEnglish]:"en",[p.Myanmar]:"my"},re={[p.Vietnam]:()=>import("dayjs/locale/vi.js"),[p.Cambodia]:()=>import("dayjs/locale/km.js"),[p.India]:()=>import("dayjs/locale/hi.js"),[p.Indonesia]:()=>import("dayjs/locale/id.js"),[p.Malaysia]:()=>import("dayjs/locale/ms.js"),[p.Thailand]:()=>import("dayjs/locale/th.js"),[p.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[p.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[p.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[p.Myanmar]:()=>import("dayjs/locale/my.js")},ie=e=>{const[a,n]=l(!1);return r((()=>{t(void 0,void 0,void 0,(function*(){var t;n(!1),yield null===(t=re[e])||void 0===t?void 0:t.call(re),h.locale(le[e]),n(!0)}))}),[e]),{isLoaded:a}},oe=()=>"undefined"!=typeof window&&window.innerWidth<R.BREAK_POINT_MOBILE,se=()=>"undefined"!=typeof window&&window.innerWidth>=R.BREAK_POINT_MOBILE&&window.innerWidth<R.BREAK_POINT_PC,ce=()=>{const[e,t]=l(oe()),[a,n]=l(se());return r((()=>{const e=()=>{t(oe()),n(se())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class de extends i{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||n.createElement(n.Fragment,null):this.props.children}}const me=t=>{var{slidesToShow:a=1,children:l}=t,r=e(t,["slidesToShow","children"]);return(Array.isArray(l)?l.length:1)?n.createElement(de,null,n.createElement(W,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},r),l)):null};me.Slide=W.Slide;const he=V(me)`
|
|
2
|
-
cursor: grab;
|
|
3
|
-
width: 100%;
|
|
4
|
-
.mantine-Carousel-control {
|
|
5
|
-
background: rgb(255, 255, 255);
|
|
6
|
-
opacity: 1;
|
|
7
|
-
border: none;
|
|
8
|
-
border-radius: 0;
|
|
9
|
-
box-shadow: none;
|
|
10
|
-
&[data-inactive] {
|
|
11
|
-
opacity: 0;
|
|
12
|
-
cursor: default;
|
|
13
|
-
}
|
|
14
|
-
&:first-child {
|
|
15
|
-
padding-right: 24px;
|
|
16
|
-
background: linear-gradient(
|
|
17
|
-
90deg,
|
|
18
|
-
rgba(255, 255, 255, 1) 0%,
|
|
19
|
-
rgba(255, 255, 255, 1) 50%,
|
|
20
|
-
rgba(255, 255, 255, 0) 100%
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
&:last-child {
|
|
24
|
-
padding-left: 24px;
|
|
25
|
-
background: linear-gradient(
|
|
26
|
-
270deg,
|
|
27
|
-
rgba(255, 255, 255, 1) 0%,
|
|
28
|
-
rgba(255, 255, 255, 1) 50%,
|
|
29
|
-
rgba(255, 255, 255, 0) 100%
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.mantine-Carousel-container {
|
|
35
|
-
align-items: center;
|
|
36
|
-
}
|
|
37
|
-
`,pe={fontSize:{base:[f(16),f(16)],lg:[f(18),f(16)],md:[f(18),f(16)],sm:[f(16),f(14)],xs:[f(14),f(12)],s1:[f(22),f(18)],s2:[f(18),f(16)],s3:[f(16),f(14)],s4:[f(14),f(12)],s5:[f(12),f(12)],p1:[f(18),f(16)],p2:[f(16),f(16)],p3:[f(16),f(14)],p4:[f(14),f(12)],p5:[f(12),f(12)],c1:[f(16),f(14)],c2:[f(14),f(12)],n1:[f(12),f(12)],label1:[f(14),f(14)],label2:[f(12),f(12)]},lineHeight:{base:[f(24),f(24)],lg:[f(32),f(28)],md:[f(32),f(28)],sm:[f(24),f(22)],xs:[f(24),f(18)],s1:[f(32),f(26)],s2:[f(28),f(24)],s3:[f(24),f(24)],s4:[f(22),f(18)],s5:[f(18),f(18)],p1:[f(28),f(28)],p2:[f(24),f(24)],p3:[f(24),f(22)],p4:[f(22),f(18)],c1:[f(24),f(22)],c2:[f(22),f(18)],n1:[f(18),f(18)],label1:[f(22),f(22)],label2:[f(18),f(18)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}},ge=Object.assign({},pe);var fe=v(((e,t)=>{var a,n,l,r,i,o,s,c,d,m;const h=Object.assign({},ge),p=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],g=null===(n=h.lineHeight[null==t?void 0:t.size])||void 0===n?void 0:n[0],f=null!==(i=null===(r=null===(l=h.letterSpacing)||void 0===l?void 0:l[null==t?void 0:t.size])||void 0===r?void 0:r[0])&&void 0!==i?i:0,v=null===(o=h.fontSize[null==t?void 0:t.size])||void 0===o?void 0:o[1],u=null===(s=h.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],b=null!==(m=null===(d=null===(c=h.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==m?m:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:h.fontWeight[t.weight],fontSize:`${p}`,lineHeight:`${g}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${v}`,lineHeight:`${u}`,letterSpacing:b}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const ve=t=>{var a,{size:l,color:r,weight:i="regular",as:o="p",styles:s,className:c,dataEventCategory:d,dataEventAction:m,dataEventLabel:h}=t,p=e(t,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:g,classes:f,cx:v}=fe({size:l,weight:i},{name:"Text",styles:s});return n.createElement(u,Object.assign({className:v(f.root,c),color:r||("mb"===(null===(a=null==g?void 0:g.other)||void 0===a?void 0:a.template)?g.colors.delftGray[7]:g.colors.gray[7]),component:o,"data-event-category":d,"data-event-action":m,"data-event-label":h},p))};var ue=v(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const be=t=>{var{color:a,styles:l,className:r}=t,i=e(t,["color","styles","className"]);const{classes:o,cx:s}=ue({color:a},{name:"Anchor",styles:l});return n.createElement(ve,Object.assign({as:"a",className:s(o.root,r)},i))},Ee=t=>{var{children:a}=t,l=e(t,["children"]);return n.createElement(be,Object.assign({size:"p4",color:"gray.8"},l),a)},ze=e=>n.createElement(b,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),we={Button:{defaultProps:{size:"md"}}},Ce={Checkbox:{styles:{input:Y}}},xe=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],ye=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],je=(e=!1)=>Object.fromEntries((e?ye:xe).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),Me={Title:{styles:{root:Object.assign(Object.assign({fontWeight:ge.fontWeight.bold},je()),{[`&${$.mbDown}`]:Object.assign({},je(!0))})}}},He=e=>({InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:_.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:_.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:Z[e].separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${_.colors.gray200}`,transition:`all ${X} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${_.colors.red600}`,color:"#000"}})}}),ke={Radio:{}},Oe={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffc326","#fe921d","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},Le=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,colors:Object.assign(Object.assign(Object.assign({},Oe),_.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:e===p.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:E(R.BREAK_POINT_SMALL_MOBILE),sm:E(R.BREAK_POINT_MOBILE),md:E(R.BREAK_POINT_TABLET),lg:E(R.BREAK_POINT_PC),xl:E(R.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},He(e)),Ce),ke),we),Me),other:{template:t,defaultImage:K.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}),Be=t=>{var a,{children:i,showHomeIcon:s=!0,homeIconHref:c="/"}=t,d=e(t,["children","showHomeIcon","homeIconHref"]);const m=z(),h="mb"===(null===(a=null==m?void 0:m.other)||void 0===a?void 0:a.template),[p,g]=l(null),{isMobile:f}=ce(),[,v]=l(!0),u=o((()=>{v(!1)}),[]),b=o((()=>{setTimeout((()=>{v(!0)}),1e3)}),[]);return r((()=>(p&&(p.on("scroll",u),p.on("pointerUp",b)),()=>{p&&(p.off("scroll",u),p.on("pointerUp",b))})),[p,u,b]),n.createElement(he,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:f,slideSize:"0",getEmblaApi:g,controlsOffset:-52,previousControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},d),s&&n.createElement(me.Slide,{style:{borderRight:`1px solid ${Oe.neutral[1]}`}},n.createElement(Ee,{href:c,target:"_blank",className:"pointer-event-child-none"},n.createElement(w,{sx:Object.assign({},!h&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!h&&Oe.neutral[0],p:h?0:6},n.createElement(ze,{ratio:1,w:18},h?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),n.createElement(me.Slide,null),n.createElement(me.Slide,null,n.createElement(C,{styles:{separator:{marginInline:4}},separator:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},i)))};Be.Item=Ee;const Ae=V(x)`
|
|
38
|
-
.mantine-Textarea-input {
|
|
39
|
-
padding: 12px 16px;
|
|
40
|
-
background: #ffffff;
|
|
41
|
-
border: 1px solid ${_.colors.gray200};
|
|
42
|
-
border-radius: 4px;
|
|
43
|
-
}
|
|
44
|
-
`;var Se=v((e=>({root:{},inner:{},content:{padding:0},header:{borderBottom:`1px solid ${e.colors.neutral[1]}`,marginRight:0,marginBottom:0,padding:"1rem"},overlay:{},title:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",marginRight:0},body:{},close:{cursor:"pointer",width:"24px",height:"24px"}})));const Ie=V(y)`
|
|
45
|
-
.mantine-Accordion-label {
|
|
46
|
-
padding: 0;
|
|
47
|
-
}
|
|
48
|
-
.mantine-Accordion-control {
|
|
49
|
-
&:hover {
|
|
50
|
-
background-color: transparent;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.mantine-Accordion-item {
|
|
54
|
-
.mantine-Accordion-chevron {
|
|
55
|
-
> div {
|
|
56
|
-
background-repeat: no-repeat;
|
|
57
|
-
width: 16px;
|
|
58
|
-
height: 16px;
|
|
59
|
-
background-position: center;
|
|
60
|
-
background-image: url(${e=>e.closeChevron||K.getAssetPath("plus-icon.svg")});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
&[data-active='true'] {
|
|
64
|
-
.mantine-Accordion-chevron {
|
|
65
|
-
> div {
|
|
66
|
-
background-image: url(${e=>e.openChevron||K.getAssetPath("minus-icon.svg")});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
.mantine-Accordion-panel {
|
|
72
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
73
|
-
}
|
|
74
|
-
.mantine-Accordion-content {
|
|
75
|
-
white-space: pre-wrap;
|
|
76
|
-
}
|
|
77
|
-
`,Pe=t=>{var{children:a}=t,l=e(t,["children"]);return n.createElement(Ie,Object.assign({chevron:n.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},l),a)};Pe.Control=y.Control,Pe.Item=y.Item,Pe.Panel=y.Panel;const Te=K.getAssetPath("avatar.jpg"),Ne=t=>{var{withIndicator:a=!1,indicatorConfig:l=null,size:r=56,children:i,styles:o,placeholderText:s}=t,c=e(t,["withIndicator","indicatorConfig","size","children","styles","placeholderText"]);const d=()=>n.createElement(M,Object.assign({size:r,radius:"xl"},c,{imageProps:Object.assign({loading:"lazy"},c.imageProps),styles:{placeholder:{backgroundColor:c.color,color:"white"}}}),i||(s||n.createElement(Q,{src:Te,width:r,alt:c.alt||"avatar"})));return a?n.createElement(j,Object.assign({inline:!0,position:"bottom-end",offset:9},l,{styles:Object.assign({indicator:{backgroundColor:n.isValidElement(l.label)&&"transparent",zIndex:1}},o)}),d()):d()},De=300,Fe=k({key:"mantine",prepend:!1}),Re=t=>{var{value:a,onChange:i}=t,o=e(t,["value","onChange"]);const[s,c]=l(a),[d]=J(s,300);return r((()=>{null==i||i(d)}),[d]),r((()=>{c(a)}),[a]),n.createElement(O,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:c,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:s},o))},$e=K.getAssetPath("EyeVisible.svg"),Ve=K.getAssetPath("EyeHidden.svg"),We=s(((t,a)=>{const{size:l="md",visibilityToggleIcon:r}=t,i=e(t,["size","visibilityToggleIcon"]),o=r||(({reveal:e,size:t})=>e?n.createElement("img",{src:$e,width:t,loading:"lazy"}):n.createElement("img",{src:Ve,width:t,loading:"lazy"}));return n.createElement(L,Object.assign({ref:a,size:l,visibilityToggleIcon:o},i,{className:`input-control ${(null==i?void 0:i.className)||""}`}))})),_e=s(((t,a)=>{var{value:i,onChange:o,onChangeRaw:s}=t,c=e(t,["value","onChange","onChangeRaw"]);const[d,m]=l(i||""),[h]=J(d,300);return r((()=>{null==o||o(h)}),[h]),r((()=>{m(i)}),[i]),n.createElement(B,Object.assign({ref:a,size:"md",onChange:e=>{null==s||s(e),m(e.currentTarget.value)},value:d},c,{className:`input-control ${(null==c?void 0:c.className)||""}`}))}));_e.File=e=>n.createElement(H,Object.assign({size:"md"},e)),_e.Password=We,_e.Number=Re,_e.Wrapper=A.Wrapper;const Ze=e=>n.createElement(S,Object.assign({},e));Ze.Group=S.Group;const Ge=V(I)`
|
|
78
|
-
${e=>{const t=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
79
|
-
[data-theme='marryBaby'] & {
|
|
80
|
-
${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.mantine-Slider-label {
|
|
84
|
-
background-color: transparent;
|
|
85
|
-
color: #000;
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
font-weight: bold;
|
|
88
|
-
}
|
|
89
|
-
`,Ke=V.div`
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
.hhg-mantine-slider {
|
|
93
|
-
flex-grow: 1;
|
|
94
|
-
}
|
|
95
|
-
button {
|
|
96
|
-
path:not([stroke]) {
|
|
97
|
-
stroke: ${e=>e.theme.colors.primaryBase};
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
[data-theme='marryBaby'] & {
|
|
101
|
-
button {
|
|
102
|
-
path:not([stroke]) {
|
|
103
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
`,Ue=t=>{var{styles:a}=t,l=e(t,["styles"]);return n.createElement(P,Object.assign({size:"sm"},l,{styles:e=>Object.assign({radio:Object.assign(Object.assign({backgroundColor:"#fff"},Y),{"&:checked":{backgroundColor:"#fff"}}),icon:{color:e.colors[e.primaryColor][e.primaryShade]}},a)}))};Ue.Group=P.Group;var Ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Xe(e){var t={exports:{}};return e(t,t.exports),t.exports
|
|
108
|
-
/*!
|
|
109
|
-
Copyright (c) 2018 Jed Watson.
|
|
110
|
-
Licensed under the MIT License (MIT), see
|
|
111
|
-
http://jedwatson.github.io/classnames
|
|
112
|
-
*/}var qe=Xe((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var l=arguments[n];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var i=a.apply(null,l);i&&e.push(i)}}else if("object"===r){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var o in l)t.call(l,o)&&l[o]&&e.push(o)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function Qe(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,n)=>{t[n]&&(a[n]=t[n]||"")}))}return a}function Je(e){return e.join("")}var et="_2iQs0sk",tt="Ia6IojY";const at=s(((t,a)=>{const{maxLength:l=1,placeholder:r,className:i}=t,o=e(t,["maxLength","placeholder","className"]);return n.createElement("input",Object.assign({maxLength:l,className:qe(tt,"otpInput",i),placeholder:r,type:"number"},o,{ref:a}))})),nt=s(((e,t)=>{const{valueLength:a=6,type:i="number",value:s,defaultValue:m,placeholder:h,onChange:p,onBlur:g}=e,f=c(new Array(a).fill(null)),[v,u]=l(m||s),[b,E]=l(-1),[z,w]=l((()=>Qe(v,a))),C=o((()=>{if(-1===b)return;const e=f.current[b];if(e){e.value="";const t=z;t[b]="",w(t),u((()=>Je(t))),null==p||p(Je(t))}}),[b,p,z]),x=o((()=>{if(0===b)return;const e=f.current[b];e&&e.blur();const t=f.current[b-1];t&&t.focus()}),[b]),y=o((()=>{if(b===a-1)return;const e=f.current[b];e&&e.blur();const t=f.current[b+1];t&&t.focus()}),[b,a]),j=o((e=>{const t=e.target,a=t.value.toString().slice(0,1),n=f.current.findIndex((e=>e===t));if(-1!==n){const e=z;e[n]=a,w(e),u((()=>Je(e))),null==p||p(Je(e))}y()}),[y,p,z]),M=o((e=>{const t=e.target,a=f.current.findIndex((e=>e===t));"number"===i?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&E(a)}),[]),H=o((e=>{const t=Qe(e.clipboardData.getData("text/plain"),a),n=Je(t);w(t),u(n),null==p||p(n)}),[p,i,a]),k=o((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),x()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),x()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),y()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[C,y,x]);return d(t,(()=>f.current[0]),[]),r((()=>{w((()=>Qe(s,a))),u(s)}),[a,s]),n.createElement(T,{justify:"center",columnGap:8,className:qe(et,"otpContainer")},z.map(((e,t)=>n.createElement(at,{ref:e=>{f.current[t]=e},key:""+t,value:e,type:i,onChange:j,onFocus:M,onKeyDown:k,onPaste:H,onBlur:g,placeholder:h}))))})),lt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),a.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},a.createElement("g",{strokeLinejoin:"bevel"},a.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),a.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),a.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),a.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),a.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),a.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),a.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),a.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),a.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),a.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),a.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),a.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),a.createElement("g",{fill:"none",strokeWidth:.8},a.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),a.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),a.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),a.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),a.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),a.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),a.createElement("g",{id:"a"},a.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),a.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),a.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),a.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),a.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),a.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),a.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),a.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),a.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),a.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),a.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),a.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),a.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),a.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),a.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),a.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),a.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),a.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),a.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),a.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),a.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),a.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),a.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),rt=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),it=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),a.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),a.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},a.createElement("circle",{r:20,fill:"#008"}),a.createElement("circle",{r:17.5,fill:"#fff"}),a.createElement("circle",{r:3.5,fill:"#008"}),a.createElement("g",{id:"d"},a.createElement("g",{id:"c"},a.createElement("g",{id:"b"},a.createElement("g",{id:"a",fill:"#008"},a.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),a.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),a.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),a.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),ot=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},a.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),a.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),st=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),a.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),a.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),a.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),ct=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),a.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},a.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),dt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),a.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),a.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),a.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),mt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("clipPath",{id:"a"},a.createElement("path",{d:"M0 0h640v480H0z"})),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),a.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),a.createElement("g",{fill:"#fff"},a.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),a.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),a.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),a.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),a.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),a.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),a.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),a.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),a.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),a.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),a.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),a.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),a.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),a.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),a.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),a.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),a.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),a.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),a.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),a.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),a.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),a.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),a.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),ht=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),a.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),pt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),a.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},a.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),a.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),gt=Object.values(G).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),ft={PH:dt,KH:lt,ID:ot,IN:it,MM:ct,MY:st,TH:ht,TW:mt,VN:pt};var vt={phoneInput:"i-9Ibox",error:"YDWHh9b"};const ut=s(((a,i)=>{const{isError:o,defaultCountry:s,countries:c=gt,countryCallingCodeEditable:d=!1,defaultValue:m,value:h,onChange:p,className:g}=a,f=e(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[v,u]=l(m||h),[b,E]=l(null);return r((()=>{u(h)}),[h]),r((()=>{t(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");E(e)}))}),[]),b?n.createElement(b.default,Object.assign({ref:i,value:v,onChange:e=>{u(e),null==p||p(e)},countries:c,defaultCountry:s,countryCallingCodeEditable:d,className:qe(vt.phoneInput,{isError:o,[vt.error]:o},g),flagUrl:void 0,flagComponent:t=>{const{country:a,countryName:l,flagUrl:r}=t,i=e(t,["country","countryName","flagUrl"]),o=ft[a],s=a?`(+${b.getCountryCallingCode(a)})`:"";return o?n.createElement(n.Fragment,null,n.createElement(o,Object.assign({title:l},i)),n.createElement("span",{className:qe(vt.callingCode,"PhoneInputCountryIconCallingCode")},s)):n.createElement(n.Fragment,null)},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:qe(vt.arrowSelect,"PhoneInputArrowContainer")},n.createElement(rt,null))}},f)):null}));var bt=v(((e,t)=>{const{variant:a}=t,n={content:"none",top:0,bottom:0,zIndex:1,width:f(56)};return Object.assign({},"inline"===a&&{root:{},tabsList:{gap:f(24),borderBottom:"none",flexWrap:"nowrap"},tab:{padding:`${f(8)} 0`,color:e.colors.gray[4],borderColor:"transparent",borderBottomWidth:f(2),marginBottom:f(-1),transition:"border 0.2s ease","&:hover":{backgroundColor:"initial",borderColor:"transparent"},"&[data-active='true']":{color:e.fn.primaryColor(),borderColor:e.fn.primaryColor()}},tabRightSection:{},tabLabel:{},tabIcon:{},panel:{},scrollArea:{position:"relative","&.prev-bg":{"&:before":Object.assign(Object.assign({},n),{content:'""',position:"absolute",left:0,background:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"})},"&.next-bg":{"&:after":Object.assign(Object.assign({},n),{content:'""',position:"absolute",right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"})}},list:{borderBottom:`1px solid ${e.colors.neutral[1]}`},btn:{position:"absolute",top:"50%",zIndex:2,transform:"translate(0, -50%)",width:f(28),height:f(28),padding:0,background:"white",borderRadius:"50%",cursor:"pointer",filter:"drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))",".mantine-Button-icon":{display:"flex",alignItems:"center",justifyContent:"center"},"&.disabled":{opacity:0,zIndex:0}},prevBtn:{left:0},nextBtn:{right:0}})}));const Et=t=>{var a,{variant:i="inline",value:o,styles:s,children:d,dataList:m=[],tabProps:h,listProps:p,panelProps:g,TabComponentDisplay:f,startPadding:v=40,defaultValue:u}=t,b=e(t,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);const{cx:E,classes:z}=bt({variant:i},{name:"Tabs",styles:s}),w=c(null),C=c([]),[x,y]=l(u||(null===(a=null==m?void 0:m[0])||void 0===a?void 0:a.value)),[j,M]=l(0),[H,k]=l(!1),[O,L]=l(!0),[B,A]=l({x:0,y:0}),S=c(null),I=Object.assign({defaultValue:u,classNames:z},d?{value:o}:{value:x,onTabChange:e=>y(e)});r((()=>{y(o)}),[o]),r((()=>{var e,t,a;null===(e=S.current)||void 0===e||e.scrollTo({left:(null===(a=null===(t=null==C?void 0:C.current)||void 0===t?void 0:t[j])||void 0===a?void 0:a.offsetLeft)-v,behavior:"smooth"})}),[j]),r((()=>{M(m.findIndex((e=>e.value==x)))}),[x]),r((()=>{var e,t;L(0===B.x),k((null===(e=null==S?void 0:S.current)||void 0===e?void 0:e.clientWidth)+B.x===(null===(t=null==S?void 0:S.current)||void 0===t?void 0:t.scrollWidth))}),[B]);const P=({text:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:l})=>f?n.createElement(f,null,e):n.createElement(ve,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":l},e);return n.createElement(N,Object.assign({},I,b),d||n.createElement(n.Fragment,null,n.createElement(D,{className:E(z.scrollArea,`${O?"":"prev-bg"} ${H?"":"next-bg"}`),scrollbarSize:0,viewportRef:S,onScrollPositionChange:A},n.createElement(N.List,Object.assign({className:z.list,ref:w},p),m.map(((e,t)=>n.createElement(N.Tab,Object.assign({ref:e=>C.current[t]=e,className:z.tab,key:String(e.value),value:String(e.value)},h),n.createElement(P,Object.assign({},e)))))),n.createElement(ne,{className:E(z.btn,z.prevBtn,O?"disabled":""),unstyled:!0,onClick:()=>M(j-1>-1?j-1:0),leftIcon:n.createElement(q.ArrowLeft,{size:16})}),n.createElement(ne,{className:E(z.btn,z.nextBtn,H?"disabled":""),unstyled:!0,onClick:()=>M(j+1<m.length-1?j+1:m.length-1),leftIcon:n.createElement(q.ArrowRight,{size:16})})),m.map((e=>n.createElement(N.Panel,Object.assign({value:String(e.value),key:String(e.value)},g),e.content)))))};Et.List=N.List,Et.Tab=N.Tab,Et.Panel=N.Panel;const zt=m({}),wt=t=>{var{children:a,closeOnClickOutside:l=!0}=t,r=e(t,["children","closeOnClickOutside"]);const[i,{close:o,open:s}]=ee(!1),d=l?te(o):c(),m=Object.assign({},"function"==typeof a?{opened:i}:{});return n.createElement(zt.Provider,{value:{opened:i,close:o,open:s}},n.createElement(F,Object.assign({closeOnClickOutside:l},m,r),n.createElement("div",{ref:d},"function"==typeof a?a({open:s,close:o,opened:i}):a)))};wt.Target=F.Target,wt.Dropdown=F.Dropdown;export{be as A,ne as B,rt as C,De as D,ge as E,wt as F,it as I,st as M,Re as N,nt as O,dt as P,Ue as R,Ke as S,mt as T,pt as V,lt as a,ot as b,ct as c,ht as d,ve as e,Ne as f,ze as g,_e as h,Xe as i,Ye as j,Et as k,Ge as l,Se as m,le as n,ut as o,Ze as p,Ae as q,ie as r,Le as s,Oe as t,ce as u,Be as v,Pe as w,me as x,Fe as y,je as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useState as t,useRef as a,useEffect as o}from"react";import{u as d}from"./useTranslations-550903e9.js";import{t as r}from"./theme-fff35c1b.js";import{Z as l,I as c}from"./index-df2609fe.js";import{I as s}from"./index-54ac4800.js";import{M as n}from"./index-dc8eb595.js";import{T as m}from"./index-1e381703.js";import{u as i}from"./useScrollbarSize-98badeb4.js";import{createPortal as h}from"react-dom";import{S as p,a as u,b as y}from"./index-9dff8754.js";const b=({isActive:t,onChange:a,value:o="",onInputChange:i,siteType:h})=>{const{t:p}=d(),u="marryBaby"===h;return e.createElement(l,{onClick:()=>a("new"),"data-is-mb":u,"data-isActive":u&&t},"marryBaby"===h?e.createElement("div",{className:"title"},e.createElement(n,{type:"bodytext-1",color:r.colors.gray800},p("chooseBaby.new")),e.createElement("div",{className:t?"radio active":"radio"},t&&e.createElement(c.CheckActiveMB,{size:26}))):e.createElement("div",{className:"title"},e.createElement(m,{size:"p2",color:r.colors.gray800},p("chooseBaby.new")),e.createElement("div",{className:t?"radio active":"radio"})),e.createElement(s,{name:"name",value:o,size:"md",placeholder:p("chooseBaby.placeholder"),type:"text",onChange:i}))},v="hhg-modals",f=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},g=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},E=({type:d="lead",closeIcon:r,isOpen:l=!0,onClose:c,children:s,className:n="",animationType:m="slideTop",isStaticBackdrop:b=!1,siteType:E})=>{const[C,N]=t(!1),_=a(null),{width:j}=i();if(!_.current&&C&&(_.current=document.createElement("div")),o((()=>(N(!0),()=>{N(!1),f(),g()})),[]),o((()=>{if(C){const e=(()=>{let e=document.getElementById(v);return e||(e=document.createElement("div"),e.setAttribute("id",v),document.body.append(e)),e})();return e.appendChild(_.current),()=>{e.removeChild(_.current)}}}),[C]),o((()=>{l?document.body.classList.add("hhc-modal-show"):f()}),[l]),o((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=j+"px",document.body.classList.add("hhc-disabled-scroll")):g()}),[l,j]),!C)return null;const w=["hhg-modal__wrapper",n,m].filter((e=>e)).join(" ");return h(e.createElement(p,{className:w,"data-open":l,"data-type":d},!b&&e.createElement(u,{"data-open":l,onClick:c,"data-type":d}),!b&&"video"===d&&!!r&&e.createElement("div",{className:"hhg-modal__close",onClick:c},r),e.createElement(y,{className:"hhg-modal","data-open":l,"data-site-type":E},e.createElement("div",{className:"video"===d?"hhg-modal__video":"hhg-modal__content"},!!r&&"video"!==d&&e.createElement("div",{className:"hhg-modal__close",onClick:c},r),s))),_.current)};export{E as M,b as N};
|