@hhgtech/hhg-components 1.27.20 → 1.27.21
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/__mocks__/article.d.ts +112 -0
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/molecules/articleCard/_deprecated_index.d.ts +48 -0
- package/build/components/molecules/articleCard/articleCard.styles.d.ts +15 -0
- package/build/components/molecules/articleCard/horizontal.d.ts +5 -0
- package/build/components/molecules/articleCard/index.d.ts +24 -47
- package/build/components/molecules/articleCard/vertical.d.ts +5 -0
- package/build/components/molecules/index.d.ts +3 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-5fc7daa8.js +1 -0
- package/build/dataTransform-eb0fc094.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +9 -9
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-f4921406.js → core-7a68b678.js} +1 -1
- package/build/esm/dataTransform-3d1d4bc1.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-a443d842.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-b816e73e.js +1 -0
- package/build/esm/{getSocialList-0b1bc4d3.js → getSocialList-08ad8deb.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-fa4c894b.js → index-01b76a13.js} +2 -2
- package/build/esm/{index-cc528532.js → index-02167185.js} +1 -1
- package/build/esm/{index-5764840b.js → index-024fd863.js} +1 -1
- package/build/esm/{index-f9c8112c.js → index-0be36507.js} +1 -1
- package/build/esm/{index-0743f7be.js → index-2cc311bd.js} +1 -1
- package/build/esm/index-3c3b45c0.js +1 -0
- package/build/esm/{index-36770424.js → index-48211a00.js} +1 -1
- package/build/esm/{index-dcfae392.js → index-4a509cc6.js} +283 -283
- package/build/esm/{index-9c06b2b7.js → index-4b140eb5.js} +2 -2
- package/build/esm/index-560ba8a9.js +1 -0
- package/build/esm/{index-253fdb18.js → index-69e8fa65.js} +1 -1
- package/build/esm/{index-f5b54828.js → index-7310104f.js} +1 -1
- package/build/esm/{index-8f4eb7c8.js → index-796cd4b9.js} +1 -1
- package/build/esm/{index-94be123e.js → index-83466745.js} +1 -1
- package/build/esm/{index-fa3a3c6d.js → index-9403b310.js} +1 -1
- package/build/esm/{index-262dec12.js → index-944539e0.js} +1 -1
- package/build/esm/{index-6e7bc4c4.js → index-a3ee5512.js} +1 -1
- package/build/esm/{index-6c4357c8.js → index-a58b8d97.js} +2 -2
- package/build/esm/index-b3237719.js +1 -0
- package/build/esm/{index-75a8f3e1.js → index-c5017c09.js} +1 -1
- package/build/esm/{index-7f1fa778.js → index-deb1a19f.js} +1 -1
- package/build/esm/index-df563b31.js +1 -0
- package/build/esm/index-e895c809.js +1 -0
- package/build/esm/{index-1d241148.js → index-e9427dcc.js} +1 -1
- package/build/esm/{index-f1817571.js → index-ff1e020f.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-844a44e4.js → index.styled-19e06a97.js} +1 -1
- package/build/esm/{index.styled-061d8df4.js → index.styled-57ad1216.js} +2 -2
- package/build/esm/{index.styled-3e3f0a46.js → index.styled-b0c747db.js} +5 -5
- package/build/esm/{index.styled-725f9844.js → index.styled-d97859fe.js} +1 -1
- 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 +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-60b5d5fc.js → routing-273628ac.js} +1 -1
- package/build/esm/{screenSizeContext-406f4376.js → screenSizeContext-bb948f59.js} +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-d02f395c.js → translationsProvider-72e02090.js} +1 -1
- package/build/esm/{types-c8755532.js → types-5cd5ca0b.js} +13 -13
- package/build/esm/{types-3d44368f.js → types-b3e95c41.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-c36ffb1d.js +1 -0
- package/build/esm/{useRafState-772f2a32.js → useRafState-553a838e.js} +1 -1
- package/build/esm/useTranslations-7e9b125b.js +1 -0
- package/build/esm/{utils-0f683dd7.js → utils-99a40ef3.js} +1 -1
- package/build/esm/vaccination.js +3 -3
- package/build/fixedBottomAdBlock-69537d9d.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-25afa70f.js +1 -0
- package/build/{getSocialList-343eb33a.js → getSocialList-7aaf538f.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-1f3e9f0a.js → index-00f6f629.js} +1 -1
- package/build/{index-87ba90ad.js → index-00fc8857.js} +1 -1
- package/build/{index-fef5e844.js → index-086f9d4d.js} +1 -1
- package/build/{index-13ceff0d.js → index-1be002ea.js} +1 -1
- package/build/{index-9c44f2a9.js → index-1f26ab0c.js} +1 -1
- package/build/{index-3b26129e.js → index-2b1a52f1.js} +1 -1
- package/build/{index-1beecf74.js → index-46537d24.js} +3 -3
- package/build/{index-df0be7c9.js → index-57dc3044.js} +1 -1
- package/build/{index-c6d1cb99.js → index-5b294600.js} +1 -1
- package/build/{index-f3daef0c.js → index-6b9f731c.js} +1 -1
- package/build/{index-46136591.js → index-7116efd1.js} +1 -1
- package/build/{index-c6e74326.js → index-79b9bb52.js} +1 -1
- package/build/{index-7b1f23ce.js → index-9543d304.js} +1 -1
- package/build/{index-c5f81935.js → index-95c57647.js} +1 -1
- package/build/{index-b0648d3f.js → index-b4e06b47.js} +1 -1
- package/build/{index-3d50c0f8.js → index-d8f597f8.js} +1 -1
- package/build/{index-fcac92af.js → index-d9541579.js} +1 -1
- package/build/{index-aede4c03.js → index-df595a0f.js} +1 -1
- package/build/{index-453b67ec.js → index-e15ea45f.js} +1 -1
- package/build/index-e2b29459.js +1 -0
- package/build/{index-4b7fb19a.js → index-f15e13a4.js} +1 -1
- package/build/{index-575369f9.js → index-f64380d8.js} +1 -1
- package/build/{index-27fc8c1a.js → index-f770a569.js} +1 -1
- package/build/{index-e33a141e.js → index-f80f9ffb.js} +261 -261
- package/build/{index-5fec58a6.js → index-f99a6a7c.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-e088732b.js → index.styled-11afece1.js} +1 -1
- package/build/{index.styled-3b57f0ee.js → index.styled-6b77a261.js} +1 -1
- package/build/{index.styled-582ff164.js → index.styled-6ef5f0b5.js} +1 -1
- package/build/{index.styled-97514c69.js → index.styled-940f3ed8.js} +6 -6
- 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 +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-eda65989.js → routing-23f12b3b.js} +1 -1
- package/build/{screenSizeContext-63130b92.js → screenSizeContext-c3c6b5ab.js} +1 -1
- package/build/together/api/dataTransform.d.ts +11 -0
- package/build/together/interfaces/types.d.ts +163 -78
- package/build/together.js +1 -1
- package/build/{translationsProvider-304ad209.js → translationsProvider-80dd5bd5.js} +1 -1
- package/build/{types-47af7e63.js → types-4a368c57.js} +1 -1
- package/build/{types-402d7bf1.js → types-dd93c7ef.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-da048bf2.js +1 -0
- package/build/{useRafState-ee8200fb.js → useRafState-a27a2ac1.js} +1 -1
- package/build/{useTranslations-947db8a5.js → useTranslations-bdd3ff14.js} +1 -1
- package/build/utils-2639c99f.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-d40e01eb.js +0 -1
- package/build/dataTransform-dbeac253.js +0 -1
- package/build/esm/dataTransform-c2167199.js +0 -1
- package/build/esm/fixedBottomAdBlock-54a85d06.js +0 -1
- package/build/esm/getDynamicHealthTool-52e1f144.js +0 -1
- package/build/esm/index-1ddd5897.js +0 -1
- package/build/esm/index-27781055.js +0 -1
- package/build/esm/index-373719f8.js +0 -1
- package/build/esm/index-5f6a062f.js +0 -1
- package/build/esm/index-df931ff9.js +0 -1
- package/build/esm/useHealthToolCache-065d528b.js +0 -1
- package/build/esm/useTranslations-cdf037b8.js +0 -1
- package/build/fixedBottomAdBlock-7899cdae.js +0 -1
- package/build/getDynamicHealthTool-d27d36dc.js +0 -1
- package/build/index-af05d87a.js +0 -1
- package/build/useHealthToolCache-ed20dae6.js +0 -1
- package/build/utils-78d044db.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-4fa96134.js → BMI_BOYS.percentile.monthly-3a142091.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-328e67fe.js → BMI_BOYS.percentile.weekly-f36077cf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8fb3420a.js → BMI_BOYS.percentile.yearly-635dcbca.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-132c86f3.js → BMI_BOYS.zscore.monthly-d0ef44da.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-6f29f79f.js → BMI_BOYS.zscore.weekly-e644fac2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-760bb769.js → BMI_BOYS.zscore.yearly-f770abda.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3c57ce90.js → BMI_GIRLS.percentile.monthly-55e455b2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1671a325.js → BMI_GIRLS.percentile.weekly-0a24fcfe.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-fe6f71ef.js → BMI_GIRLS.percentile.yearly-b8403a72.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-4f308a9f.js → BMI_GIRLS.zscore.monthly-55b67539.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f11936a1.js → BMI_GIRLS.zscore.weekly-29170322.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-45143b67.js → BMI_GIRLS.zscore.yearly-99ea18b8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-20dee378.js → HEAD CIRCUM_BOYS.percentile.monthly-c557760f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f6cf55de.js → HEAD CIRCUM_BOYS.percentile.weekly-49b789b7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7d544c9e.js → HEAD CIRCUM_BOYS.percentile.yearly-a0b122cd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-57107b4e.js → HEAD CIRCUM_BOYS.zscore.monthly-ea6e10da.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d53c6386.js → HEAD CIRCUM_BOYS.zscore.weekly-8d3ccb80.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c8d4b541.js → HEAD CIRCUM_BOYS.zscore.yearly-bb5c019b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-27e8a294.js → HEAD CIRCUM_GIRLS.percentile.monthly-a60b1e64.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-7fb5af60.js → HEAD CIRCUM_GIRLS.percentile.weekly-11e9bafa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1b96e3ee.js → HEAD CIRCUM_GIRLS.percentile.yearly-47851bf9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-8be8ab8c.js → HEAD CIRCUM_GIRLS.zscore.monthly-4077630b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9fe66c94.js → HEAD CIRCUM_GIRLS.zscore.weekly-138146e2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3caabf26.js → HEAD CIRCUM_GIRLS.zscore.yearly-8235cb13.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1b19d2ae.js → HEIGHT_BOYS.percentile.monthly-3c0d867c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-aef0a594.js → HEIGHT_BOYS.percentile.weekly-6226a691.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d439286b.js → HEIGHT_BOYS.percentile.yearly-e30989a5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-dc0c30f4.js → HEIGHT_BOYS.zscore.monthly-a924def5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-56552293.js → HEIGHT_BOYS.zscore.weekly-64e8cffa.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-1dd3b2f1.js → HEIGHT_BOYS.zscore.yearly-fda83171.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-99add30f.js → HEIGHT_GIRLS.percentile.monthly-ebbeece9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-750cca51.js → HEIGHT_GIRLS.percentile.weekly-57967bc4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6ff37701.js → HEIGHT_GIRLS.percentile.yearly-86c0e2a1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-da18a350.js → HEIGHT_GIRLS.zscore.monthly-c05885bd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-09856b78.js → HEIGHT_GIRLS.zscore.weekly-b0e6a0e9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-1e405510.js → HEIGHT_GIRLS.zscore.yearly-b1ca3214.js} +0 -0
- /package/build/{Onboarding-ebc555c6.js → Onboarding-10ae5938.js} +0 -0
- /package/build/{Visible-9985755d.js → Visible-bbd6451e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-13211a04.js → WEIGHT_BOYS.percentile.monthly-b8510d82.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d58c486a.js → WEIGHT_BOYS.percentile.weekly-60e3f7a7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-91282f30.js → WEIGHT_BOYS.percentile.yearly-93b25e89.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d79fd04a.js → WEIGHT_BOYS.zscore.monthly-d121f9be.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-27de9410.js → WEIGHT_BOYS.zscore.weekly-136ee389.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-e9b0efeb.js → WEIGHT_BOYS.zscore.yearly-1e0c038d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-43390f3f.js → WEIGHT_GIRLS.percentile.monthly-c3f18b14.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-557c77e7.js → WEIGHT_GIRLS.percentile.weekly-568b2e0a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-760e0678.js → WEIGHT_GIRLS.percentile.yearly-d23bd671.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-35e4136e.js → WEIGHT_GIRLS.zscore.monthly-4517aa11.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-2a4fc090.js → WEIGHT_GIRLS.zscore.weekly-9f712fd5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-44345ab1.js → WEIGHT_GIRLS.zscore.yearly-dee1e4f4.js} +0 -0
- /package/build/{constants-08ec32ae.js → constants-059fba88.js} +0 -0
- /package/build/{cookieHelper-27a49116.js → cookieHelper-ef979911.js} +0 -0
- /package/build/{dataTransform-e3bf7318.js → dataTransform-dd8221c8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-4be4f026.js → BMI_BOYS.percentile.monthly-a26756cd.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-af8fdc10.js → BMI_BOYS.percentile.weekly-966c37af.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-4110edf0.js → BMI_BOYS.percentile.yearly-6edf1f94.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-baffa9bf.js → BMI_BOYS.zscore.monthly-891408db.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3134962a.js → BMI_BOYS.zscore.weekly-050f65e8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-f2753791.js → BMI_BOYS.zscore.yearly-3fa39d1e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f87d4291.js → BMI_GIRLS.percentile.monthly-b229e34c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-fefeaef2.js → BMI_GIRLS.percentile.weekly-65bd3de9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-4c375f80.js → BMI_GIRLS.percentile.yearly-5fa768f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e2072136.js → BMI_GIRLS.zscore.monthly-d6893f2d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c0d3c5ad.js → BMI_GIRLS.zscore.weekly-04d6052d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-bbd29215.js → BMI_GIRLS.zscore.yearly-2abfb8a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-cefddb34.js → HEAD CIRCUM_BOYS.percentile.monthly-b2c00937.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-2bb8bb96.js → HEAD CIRCUM_BOYS.percentile.weekly-d5d416fd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6367ad40.js → HEAD CIRCUM_BOYS.percentile.yearly-6bedd4de.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7615a3ae.js → HEAD CIRCUM_BOYS.zscore.monthly-28d0663c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a1452ea8.js → HEAD CIRCUM_BOYS.zscore.weekly-0339077c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9798a18b.js → HEAD CIRCUM_BOYS.zscore.yearly-596da936.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-1935051e.js → HEAD CIRCUM_GIRLS.percentile.monthly-a427b992.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-4cc5623c.js → HEAD CIRCUM_GIRLS.percentile.weekly-3501fb55.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-bf0d86ea.js → HEAD CIRCUM_GIRLS.percentile.yearly-9f3fc6cf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8c2471eb.js → HEAD CIRCUM_GIRLS.zscore.monthly-a1323150.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-eb72a5ba.js → HEAD CIRCUM_GIRLS.zscore.weekly-828ff49d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6e2568f0.js → HEAD CIRCUM_GIRLS.zscore.yearly-e46dac69.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d0a0e3c3.js → HEIGHT_BOYS.percentile.monthly-8f57a392.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a47ee377.js → HEIGHT_BOYS.percentile.weekly-d260baba.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e0b6e39f.js → HEIGHT_BOYS.percentile.yearly-47df0037.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5c1d26f7.js → HEIGHT_BOYS.zscore.monthly-dd63db22.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f160d44d.js → HEIGHT_BOYS.zscore.weekly-8b2b8dec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ffd98b8b.js → HEIGHT_BOYS.zscore.yearly-115d41b7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ab261e36.js → HEIGHT_GIRLS.percentile.monthly-2068f47c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-2b10a774.js → HEIGHT_GIRLS.percentile.weekly-26236bc7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8ce9104e.js → HEIGHT_GIRLS.percentile.yearly-d4dad0e3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b347f8f0.js → HEIGHT_GIRLS.zscore.monthly-184de5e0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2ab2a6d1.js → HEIGHT_GIRLS.zscore.weekly-b6d0d1ba.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-63677b6f.js → HEIGHT_GIRLS.zscore.yearly-68029906.js} +0 -0
- /package/build/esm/{Onboarding-b9a03ed3.js → Onboarding-b425de16.js} +0 -0
- /package/build/esm/{Visible-e01e49c9.js → Visible-0ddcce73.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9d992462.js → WEIGHT_BOYS.percentile.monthly-d5a4ded5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e3cead45.js → WEIGHT_BOYS.percentile.weekly-d5364eb9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c9d9289e.js → WEIGHT_BOYS.percentile.yearly-312717de.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e86fd8e3.js → WEIGHT_BOYS.zscore.monthly-8f58cd24.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7f113c50.js → WEIGHT_BOYS.zscore.weekly-bd54e817.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-dca792ab.js → WEIGHT_BOYS.zscore.yearly-b6752e86.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9a1d2e6f.js → WEIGHT_GIRLS.percentile.monthly-d8284b8e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1e56a78e.js → WEIGHT_GIRLS.percentile.weekly-9025a9b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f0f2e04e.js → WEIGHT_GIRLS.percentile.yearly-4d95f790.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-24e949dc.js → WEIGHT_GIRLS.zscore.monthly-41d2ef49.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a5e5db0e.js → WEIGHT_GIRLS.zscore.weekly-bb8b3e59.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-6a83bd38.js → WEIGHT_GIRLS.zscore.yearly-a20ad0ce.js} +0 -0
- /package/build/esm/{constants-adfc1af7.js → constants-16de50ca.js} +0 -0
- /package/build/esm/{cookieHelper-fb027e8b.js → cookieHelper-555e4df7.js} +0 -0
- /package/build/esm/{dataTransform-86e4e263.js → dataTransform-c5270174.js} +0 -0
- /package/build/esm/{index-17e070c5.js → index-c0bb968b.js} +0 -0
- /package/build/esm/{index-2cc0bbe5.js → index-de0a1075.js} +0 -0
- /package/build/esm/{isProduction-da7b81f2.js → isProduction-4824d4ae.js} +0 -0
- /package/build/esm/{localizeNumberFormat-351d0fd5.js → localizeNumberFormat-f0cd626c.js} +0 -0
- /package/build/esm/{normalizeLink-5db2ffa6.js → normalizeLink-2c40a8ff.js} +0 -0
- /package/build/esm/{theme-76cfb450.js → theme-65096834.js} +0 -0
- /package/build/esm/{translationsContext-1662b4e8.js → translationsContext-008485fb.js} +0 -0
- /package/build/esm/{tslib.es6-935f080f.js → tslib.es6-448e0a38.js} +0 -0
- /package/build/esm/{types-40d2aa4c.js → types-91686d2e.js} +0 -0
- /package/build/esm/{useIsInit-53cb6952.js → useIsInit-f8d461d7.js} +0 -0
- /package/build/esm/{useOutsideClick-08cac710.js → useOutsideClick-6b303c0c.js} +0 -0
- /package/build/esm/{useScrollbarSize-9ebbdfbf.js → useScrollbarSize-49f320c3.js} +0 -0
- /package/build/esm/{useUniqueId-473f5e3d.js → useUniqueId-da1c9d1f.js} +0 -0
- /package/build/esm/{utils-79fc4167.js → utils-2dd925b4.js} +0 -0
- /package/build/{index-daeb9cc5.js → index-5a88e402.js} +0 -0
- /package/build/{index-9e5b43f3.js → index-78e54dde.js} +0 -0
- /package/build/{isProduction-36925238.js → isProduction-8407abfb.js} +0 -0
- /package/build/{localizeNumberFormat-c1d14421.js → localizeNumberFormat-cc2e28a7.js} +0 -0
- /package/build/{normalizeLink-4572ea6b.js → normalizeLink-2c5f40d5.js} +0 -0
- /package/build/{theme-a579acf5.js → theme-c5a6785e.js} +0 -0
- /package/build/{translationsContext-b8100002.js → translationsContext-7210431d.js} +0 -0
- /package/build/{tslib.es6-546fbd3e.js → tslib.es6-a9f3656b.js} +0 -0
- /package/build/{types-54c3468f.js → types-1db52b8f.js} +0 -0
- /package/build/{useIsInit-ca718a2c.js → useIsInit-80686861.js} +0 -0
- /package/build/{useOutsideClick-8a3dfc26.js → useOutsideClick-fd068dca.js} +0 -0
- /package/build/{useScrollbarSize-ca91e319.js → useScrollbarSize-d22b5226.js} +0 -0
- /package/build/{useUniqueId-4f661606.js → useUniqueId-9078c6cc.js} +0 -0
- /package/build/{utils-1c50a2ef.js → utils-b2e9c50d.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-448e0a38.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-b425de16.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 N,Tabs as T,ScrollArea as D,Popover as F}from"@mantine/core";import{B as R,M as $}from"./utils-2dd925b4.js";import V from"styled-components";import{Carousel as W}from"@mantine/carousel";import"./screenSizeContext-bb948f59.js";import{t as _}from"./theme-65096834.js";import{I as Z,s as G}from"./index-796cd4b9.js";import"./isProduction-4824d4ae.js";import{CommonGAssets as K}from"./gAssets.js";import{$ as U,a0 as Y,a1 as X,I as q}from"./index-7310104f.js";import{useDebouncedValue as Q,useDisclosure as J,useClickOutside as ee}from"@mantine/hooks";import"./index-e9427dcc.js";import"./index-2cc311bd.js";import"./index.styled-19e06a97.js";import"./translationsContext-008485fb.js";import"string-format";import"./index-c0bb968b.js";const te={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},ae=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:te[a],"data-event-category":s,"data-event-action":c,"data-event-label":d},h),m)},ne={[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"},le={[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")},re=e=>{const[a,n]=l(!1);return r((()=>{t(void 0,void 0,void 0,(function*(){var t;n(!1),yield null===(t=le[e])||void 0===t?void 0:t.call(le),h.locale(ne[e]),n(!0)}))}),[e]),{isLoaded:a}},ie=()=>"undefined"!=typeof window&&window.innerWidth<R.BREAK_POINT_MOBILE,oe=()=>"undefined"!=typeof window&&window.innerWidth>=R.BREAK_POINT_MOBILE&&window.innerWidth<R.BREAK_POINT_PC,se=()=>{const[e,t]=l(ie()),[a,n]=l(oe());return r((()=>{const e=()=>{t(ie()),n(oe())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class ce 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 de=t=>{var{slidesToShow:a=1,children:l}=t,r=e(t,["slidesToShow","children"]);return(Array.isArray(l)?l.length:1)?n.createElement(ce,null,n.createElement(W,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},r),l)):null};de.Slide=W.Slide;const me=V(de)`
|
|
2
2
|
cursor: grab;
|
|
3
3
|
width: 100%;
|
|
4
4
|
.mantine-Carousel-control {
|
|
@@ -109,4 +109,4 @@ import{_ as e,a as t}from"./tslib.es6-935f080f.js";import*as a from"react";impor
|
|
|
109
109
|
Copyright (c) 2018 Jed Watson.
|
|
110
110
|
Licensed under the MIT License (MIT), see
|
|
111
111
|
http://jedwatson.github.io/classnames
|
|
112
|
-
*/}var Xe=Ye((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 Qe(e){return e.join("")}var Je="_2iQs0sk",et="Ia6IojY";const tt=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:Xe(et,"otpInput",i),placeholder:r,type:"number"},o,{ref:a}))})),at=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((()=>Qe(t))),null==p||p(Qe(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((()=>Qe(e))),null==p||p(Qe(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=Qe(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(N,{justify:"center",columnGap:8,className:Xe(Je,"otpContainer")},z.map(((e,t)=>n.createElement(tt,{ref:e=>{f.current[t]=e},key:""+t,value:e,type:i,onChange:j,onFocus:M,onKeyDown:k,onPaste:H,onBlur:g,placeholder:h}))))})),nt=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"}))),lt=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"})),rt=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)"}))),it=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"}))),ot=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"})),st=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)"}))),ct=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"})),dt=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"}))),mt=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"}))),ht=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"}))),pt=Object.values(G).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),gt={PH:ct,KH:nt,ID:it,IN:rt,MM:st,MY:ot,TH:mt,TW:dt,VN:ht};var ft={phoneInput:"i-9Ibox",error:"YDWHh9b"};const vt=s(((a,i)=>{const{isError:o,defaultCountry:s,countries:c=pt,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:Xe(ft.phoneInput,{isError:o,[ft.error]:o},g),flagUrl:void 0,flagComponent:t=>{const{country:a,countryName:l,flagUrl:r}=t,i=e(t,["country","countryName","flagUrl"]),o=gt[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:Xe(ft.callingCode,"PhoneInputCountryIconCallingCode")},s)):n.createElement(n.Fragment,null)},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:Xe(ft.arrowSelect,"PhoneInputArrowContainer")},n.createElement(lt,null))}},f)):null}));var ut=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 bt=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}=ut({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(fe,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":l},e);return n.createElement(T,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(T.List,Object.assign({className:z.list,ref:w},p),m.map(((e,t)=>n.createElement(T.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(ae,{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(ae,{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(T.Panel,Object.assign({value:String(e.value),key:String(e.value)},g),e.content)))))};bt.List=T.List,bt.Tab=T.Tab,bt.Panel=T.Panel;const Et=m({}),zt=t=>{var{children:a,closeOnClickOutside:l=!0}=t,r=e(t,["children","closeOnClickOutside"]);const[i,{close:o,open:s}]=J(!1),d=l?ee(o):c(),m=Object.assign({},"function"==typeof a?{opened:i}:{});return n.createElement(Et.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)))};zt.Target=F.Target,zt.Dropdown=F.Dropdown;export{ue as A,ae as B,lt as C,Te as D,pe as E,zt as F,rt as I,ot as M,Fe as N,at as O,ct as P,Ke as R,Ge as S,dt as T,ht as V,nt as a,it as b,st as c,mt as d,fe as e,We as f,Ye as g,Ue as h,bt as i,Ze as j,Ae as k,Ee as l,ne as m,vt as n,_e as o,Be as p,re as q,Oe as r,Le as s,ke as t,se as u,Ie as v,Ne as w,de as x,De as y,ye as z};
|
|
112
|
+
*/}var Xe=Ye((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 Qe(e){return e.join("")}var Je="_2iQs0sk",et="Ia6IojY";const tt=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:Xe(et,"otpInput",i),placeholder:r,type:"number"},o,{ref:a}))})),at=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((()=>Qe(t))),null==p||p(Qe(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((()=>Qe(e))),null==p||p(Qe(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=Qe(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(N,{justify:"center",columnGap:8,className:Xe(Je,"otpContainer")},z.map(((e,t)=>n.createElement(tt,{ref:e=>{f.current[t]=e},key:""+t,value:e,type:i,onChange:j,onFocus:M,onKeyDown:k,onPaste:H,onBlur:g,placeholder:h}))))})),nt=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"}))),lt=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"})),rt=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)"}))),it=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"}))),ot=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"})),st=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)"}))),ct=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"})),dt=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"}))),mt=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"}))),ht=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"}))),pt=Object.values(G).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),gt={PH:ct,KH:nt,ID:it,IN:rt,MM:st,MY:ot,TH:mt,TW:dt,VN:ht};var ft={phoneInput:"i-9Ibox",error:"YDWHh9b"};const vt=s(((a,i)=>{const{isError:o,defaultCountry:s,countries:c=pt,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:Xe(ft.phoneInput,{isError:o,[ft.error]:o},g),flagUrl:void 0,flagComponent:t=>{const{country:a,countryName:l,flagUrl:r}=t,i=e(t,["country","countryName","flagUrl"]),o=gt[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:Xe(ft.callingCode,"PhoneInputCountryIconCallingCode")},s)):n.createElement(n.Fragment,null)},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:Xe(ft.arrowSelect,"PhoneInputArrowContainer")},n.createElement(lt,null))}},f)):null}));var ut=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 bt=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}=ut({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(fe,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":l},e);return n.createElement(T,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(T.List,Object.assign({className:z.list,ref:w},p),m.map(((e,t)=>n.createElement(T.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(ae,{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(ae,{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(T.Panel,Object.assign({value:String(e.value),key:String(e.value)},g),e.content)))))};bt.List=T.List,bt.Tab=T.Tab,bt.Panel=T.Panel;const Et=m({}),zt=t=>{var{children:a,closeOnClickOutside:l=!0}=t,r=e(t,["children","closeOnClickOutside"]);const[i,{close:o,open:s}]=J(!1),d=l?ee(o):c(),m=Object.assign({},"function"==typeof a?{opened:i}:{});return n.createElement(Et.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)))};zt.Target=F.Target,zt.Dropdown=F.Dropdown;export{ue as A,ae as B,lt as C,Te as D,pe as E,zt as F,rt as I,ot as M,Fe as N,at as O,ct as P,Ke as R,Ge as S,dt as T,ht as V,nt as a,it as b,st as c,mt as d,fe as e,Ne as f,Ee as g,We as h,Ye as i,Ue as j,bt as k,Ze as l,Ae as m,ne as n,vt as o,_e as p,Be as q,re as r,Oe as s,ke as t,se as u,Le as v,Ie as w,de as x,De as y,ye as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-448e0a38.js";import l,{createContext as n,useContext as r,useRef as i,useState as t,useEffect as o}from"react";import{Carousel as s}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as c,useResizeObserver as a}from"@mantine/hooks";const u=s.Slide,v=n({}),m=(e,l)=>e>=l?e-l:e,h=n=>{var{children:r,blurFromCenter:u,blurFromIndex:h,blurLength:p=3,maxBlurOpacity:S=.5,onSlideChange:g,selectSlideWhenClick:f}=n,y=e(n,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:b}=c(),[C]=a(),k=i(null),[x,O]=t(0),I=()=>{var e,l,n,r,i;const t=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return t.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const o=null===(r=null==k?void 0:k.current)||void 0===r?void 0:r.selectedScrollSnap();O(o);const s=t.length,d=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,c=Math.floor(d/2),a=u?h+p-1:c,v=o+a,g=v===s?0:v>s?v-s:v,f=o-a,y=f<0?s+f:f>0?o-a:0,b=[...new Set(Array(2*a+1).fill("").map(((e,l)=>m(y+l,s))))];t.map(((e,l)=>{if(l===o?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const i=S/p;for(let t=0;t<p;t++){if(l===m(y+t,s)||l===(r=s,(n=g-t)<0?r+n:n)){e.style.opacity=String((t+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,r}))},j={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{I(),null==g||g(e)}};o((()=>{(null==k?void 0:k.current)&&I()}),[b]);const w=d((()=>{var e,l;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:E}=w();return l.createElement(v.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:x,selectSlideWhenClick:f}},l.createElement(s,Object.assign({classNames:{control:E.control},ref:C,slideSize:"auto",containScroll:"trimSnaps"},j,y,{loop:!0}),"function"==typeof r?r(x):r))};h.Slide=n=>{var{children:s,onClick:d,innerSlideProps:c}=n,a=e(n,["children","onClick","innerSlideProps"]);const{slider:m,selectSlideWhenClick:h}=r(v),p=i(),S=i(""),[g,f]=t(0);o((()=>{S.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==m?void 0:m.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===S.current)))}),[m]);const y={ref:p,"data-key":S.current,"data-index":g};return l.createElement(u,Object.assign({},y,a),l.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==m||m.scrollTo(g)),null==d||d(g)}},c),s))};export{h as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a}from"./tslib.es6-
|
|
1
|
+
import{_ as a}from"./tslib.es6-448e0a38.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:o="regular",className:c,style:n,children:d,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":o,style:Object.assign(Object.assign({},n),i?{"--custom-color":i}:void 0),className:`${t} ${c||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),d)};export{s as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-448e0a38.js";import t,{useState as a,useEffect as n}from"react";import{L as l}from"./Onboarding-b425de16.js";import{S as r,a as o,b as i}from"./index.styled-57ad1216.js";const c=c=>{var{data:s,isMobile:m,onSlideChange:g,pillProps:h,locale:p=l.Vietnam,blurFromIndex:v,blurLength:b}=c,C=e(c,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const u={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(m?2:4),blurLength:b||(m?1:3),onSlideChange:g},[k,w]=a("");return n((()=>{w(window.location.href)}),[]),t.createElement(r,Object.assign({},u,C,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(d,{currentUrl:k}),nextControlIcon:t.createElement(d,{currentUrl:k,isRight:!0})}),(e=>s.map(((a,n)=>t.createElement(o,Object.assign({key:n,onClick:g,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":k,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":k}},h),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(i,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":k,locale:p,name:a.name,icon:a.icon,className:n===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},d=({isRight:e,currentUrl:a})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":a,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{c as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as t}from"./utils-
|
|
1
|
+
import{M as t}from"./utils-2dd925b4.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Onboarding-b425de16.js";const r=e.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e}from"./tslib.es6-448e0a38.js";import t from"react";import{Modal as s}from"@mantine/core";import{CommonGAssets as l}from"./gAssets.js";import{m as a,e as o}from"./index-01b76a13.js";const r=r=>{var{title:n,styles:m}=r,i=e(r,["title","styles"]);const{classes:c}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:c},i,{withCloseButton:!1,title:i.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(o,{size:"s2",weight:"semiBold",as:"span"},n),t.createElement("img",{className:"mantine-Modal-close",src:l.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=i.onClose)||void 0===e?void 0:e.call(i)},style:{width:"16px"}}))})))};export{r as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,_ as t}from"./tslib.es6-
|
|
1
|
+
import{a as e,_ as t}from"./tslib.es6-448e0a38.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as o,Input as n}from"@mantine/core";import{S as c}from"./index-83466745.js";import"@mantine/dates";import{a as d}from"./index-796cd4b9.js";import{L as l}from"./Onboarding-b425de16.js";import"./gAssets.js";import{h as p}from"./index-01b76a13.js";import"./index-7310104f.js";import"dayjs";import"./screenSizeContext-bb948f59.js";import"styled-components";import"./theme-65096834.js";import"./utils-2dd925b4.js";import"./isProduction-4824d4ae.js";import{u as m}from"./useTranslations-7e9b125b.js";import"./index-02167185.js";import"@mantine/hooks";import"lodash/debounce";import{M as v}from"./utils-99a40ef3.js";const b={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,o]=a(u,b),{provinceByName:n,provinces:c,districts:p,wards:m,selectedProvince:h,selectedDistrict:j,selectedWard:y}=s,[g,E]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||l.Vietnam,`${d}/cities-data-${v[r]}.json`)).then((e=>e.json()));E(i);const{list:n}=i,c=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,n):n,p=Object.keys(c),m=Object.keys((null===(e=n[p[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(a=null===(s=n[p[0]])||void 0===s?void 0:s[m[0]])||void 0===a?void 0:a.list)||{});o({type:"SET_DATA",payload:{provinceByName:c,provinces:p,districts:m,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:c,districts:p,wards:m,selectedProvince:h,selectedDistrict:j,selectedWard:y,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=n[e])||void 0===t?void 0:t.list)||{});o({type:"SET_DISTRICTS",payload:s}),o({type:"SET_WARDS",payload:[]}),o({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=n[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});o({type:"SET_WARDS",payload:a}),o({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{o({type:"SELECT_WARD",payload:e})}}},j=e=>{var{error:a,provinces:d,placeholder:l}=e,v=t(e,["error","provinces","placeholder"]);const{t:b}=m(),{provinces:u,districts:j,wards:y,selectedProvince:g,selectedDistrict:E,selectedWard:C,handleProvinceChange:O,handleDistrictChange:S,handleWardChange:T}=h({provinces:d}),[D,f]=r("");return i((()=>{g&&E&&C&&D?v.onChange({selectedProvince:g,selectedDistrict:E,selectedWard:C,extraInfo:D}):v.onChange(null)}),[g,E,C,D]),s.createElement(p.Wrapper,Object.assign({withAsterisk:!0},v),s.createElement(o,null,s.createElement(c,{placeholder:(null==l?void 0:l.province)||b("onboarding.similac.input.city"),data:d?u:u.sort(),searchable:!0,onChange:O,value:g}),s.createElement(c,{placeholder:(null==l?void 0:l.district)||b("onboarding.similac.input.district"),data:j.sort(),searchable:!0,onChange:S,value:E,disabled:!g}),s.createElement(c,{placeholder:(null==l?void 0:l.ward)||b("onboarding.similac.input.ward"),searchable:!0,data:y.sort(),value:C,onChange:T,disabled:!g||!E}),s.createElement(p,{placeholder:(null==l?void 0:l.address)||b("onboarding.similac.input.no"),disabled:!g||!E||!C,value:D,onChange:f,style:{marginBottom:0}})),s.createElement(n.Error,{size:"md"},a))};export{j as A};
|