@hhgtech/hhg-components 1.23.53 → 1.23.55
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/{FullScreen-2337ce59.js → FullScreen-464d187d.js} +1 -1
- package/build/{Vietnam-43083dc8.js → Vietnam-70fad60d.js} +1 -1
- package/build/{Visible-737624e5.js → Visible-ccde66a2.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/avatar/index.d.ts +1 -1
- package/build/components/mantine/badge/index.d.ts +1 -1
- package/build/components/mantine/indicator/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-94747fdc.js → core-0326f9ae.js} +1 -1
- package/build/{defaultClassWrapper-8f204691.js → defaultClassWrapper-e6545aec.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{FullScreen-6514261e.js → FullScreen-033e68c4.js} +1 -1
- package/build/esm/{Vietnam-ea37e8a3.js → Vietnam-79ea7fd6.js} +1 -1
- package/build/esm/{Visible-644727e9.js → Visible-cb38d438.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-69b535e2.js → core-789501bc.js} +1 -1
- package/build/esm/defaultClassWrapper-df6eb1f9.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-9fac22dc.js → getDynamicHealthTool-ba21a127.js} +1 -1
- package/build/esm/{getSocialList-e5614c14.js → getSocialList-fa98373a.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-d5fe4345.js → index-103a41c7.js} +1 -1
- package/build/esm/{index-c4e45732.js → index-146fcda1.js} +1 -1
- package/build/esm/{index-45387221.js → index-164327bb.js} +1 -1
- package/build/esm/{index-ae37af07.js → index-19d60cfa.js} +1 -1
- package/build/esm/{index-b3150202.js → index-2dc0aebe.js} +1 -1
- package/build/esm/index-2e0a88c2.js +1 -0
- package/build/esm/{index-c7bed04d.js → index-3a9ba344.js} +1 -1
- package/build/esm/{index-03d2bf17.js → index-4b0f780a.js} +1 -1
- package/build/esm/{index-115080b3.js → index-5eb10add.js} +2 -2
- package/build/esm/{index-99466d85.js → index-6014171d.js} +1 -1
- package/build/esm/{index-5ed0135b.js → index-67f30064.js} +1 -1
- package/build/esm/{index-88f206c7.js → index-9de3afca.js} +1 -1
- package/build/esm/{index-04be5d08.js → index-b6619b35.js} +1 -1
- package/build/esm/{index-4855526c.js → index-bb4f8372.js} +1 -1
- package/build/esm/{index-8fb04a8e.js → index-c7fad7e9.js} +1 -1
- package/build/esm/{index-03bded98.js → index-c94d1eef.js} +1 -1
- package/build/esm/{index-2e1835d3.js → index-c9b52c32.js} +1 -1
- package/build/esm/{index-a268796e.js → index-f6913e60.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ceb61fc6.js → index.styled-21e1a169.js} +1 -1
- package/build/esm/{index.styled-3e28769c.js → index.styled-5831fca6.js} +1 -1
- package/build/esm/{index.styled-2c0dab2d.js → index.styled-d728ee67.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/pwg.js +1 -1
- package/build/esm/routing-49d2e577.js +1 -0
- package/build/esm/{screenSizeContext-5e3fcdcf.js → screenSizeContext-20344057.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-7ebc104f.js → translationsProvider-282a8b86.js} +1 -1
- package/build/esm/{types-84e629f7.js → types-155e6a3b.js} +1 -1
- package/build/esm/{types-f9b9100d.js → types-67af849a.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-48bf8072.js → useFbDataLayer-18b8c72c.js} +1 -1
- package/build/esm/useHealthToolCache-313f3006.js +1 -0
- package/build/esm/{useTranslations-08a1a072.js → useTranslations-2f1b3d5f.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-3ef957e0.js → getDynamicHealthTool-ab7d490b.js} +1 -1
- package/build/{getSocialList-5b5c1019.js → getSocialList-81236f4b.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-cd24a3c8.js → index-077b6ca0.js} +1 -1
- package/build/{index-9d114a73.js → index-30ecb08c.js} +1 -1
- package/build/{index-78b5fd37.js → index-36b32dc0.js} +1 -1
- package/build/{index-bc53f74d.js → index-376cb9df.js} +1 -1
- package/build/{index-d5467aea.js → index-666bc6b5.js} +1 -1
- package/build/{index-e2367fda.js → index-67fe4b2f.js} +1 -1
- package/build/{index-8637dd54.js → index-73821d83.js} +1 -1
- package/build/{index-73a1f132.js → index-7b286dc6.js} +1 -1
- package/build/index-8868f846.js +1 -0
- package/build/{index-ff5204f6.js → index-9817a397.js} +1 -1
- package/build/{index-e972db11.js → index-9875a37d.js} +1 -1
- package/build/{index-3077731c.js → index-a6f1ec91.js} +1 -1
- package/build/{index-08c911d9.js → index-b0d97f8c.js} +1 -1
- package/build/{index-d898667d.js → index-baf15fc9.js} +1 -1
- package/build/{index-b00dd1c5.js → index-cafd9053.js} +1 -1
- package/build/{index-42851fc0.js → index-d35ba576.js} +1 -1
- package/build/{index-6234217b.js → index-e24f310c.js} +1 -1
- package/build/{index-f3b8e206.js → index-f9509354.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-03a699ef.js → index.styled-0ff4c4a7.js} +1 -1
- package/build/{index.styled-06c6bbe1.js → index.styled-b7c14769.js} +1 -1
- package/build/{index.styled-4496e4f8.js → index.styled-eea4d014.js} +1 -1
- 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/pwg.js +1 -1
- package/build/{routing-549acafa.js → routing-69d0fd91.js} +1 -1
- package/build/{screenSizeContext-88a1dc86.js → screenSizeContext-73ab1bbc.js} +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-baef58ef.js → translationsProvider-bf8368d9.js} +1 -1
- package/build/{types-452d755d.js → types-b6021319.js} +1 -1
- package/build/{types-afea2c04.js → types-c28a92da.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-1f816c80.js → useFbDataLayer-7b4679f1.js} +1 -1
- package/build/useHealthToolCache-88d0419c.js +1 -0
- package/build/useTranslations-dff13f6c.js +1 -0
- package/package.json +1 -1
- package/build/esm/defaultClassWrapper-558fa1bb.js +0 -1
- package/build/esm/index-341f09ca.js +0 -1
- package/build/esm/routing-6b16b099.js +0 -1
- package/build/esm/useHealthToolCache-6cdcf1ef.js +0 -1
- package/build/index-4c45b85b.js +0 -1
- package/build/useHealthToolCache-15af7a71.js +0 -1
- package/build/useTranslations-65eb3df6.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-e1cb44fa.js → BMI_BOYS.percentile.monthly-ef511321.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-cd9c74ac.js → BMI_BOYS.percentile.weekly-f5a7cf82.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-58c5f396.js → BMI_BOYS.percentile.yearly-e5ddc7d7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1f6e39c2.js → BMI_BOYS.zscore.monthly-2b33031d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f0cabdba.js → BMI_BOYS.zscore.weekly-108e16e9.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e5504201.js → BMI_BOYS.zscore.yearly-1a30f00d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2142f392.js → BMI_GIRLS.percentile.monthly-6a1a4ed1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-2ad520e2.js → BMI_GIRLS.percentile.weekly-561ec653.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-7f5e66f5.js → BMI_GIRLS.percentile.yearly-fad4d401.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-fad94a2a.js → BMI_GIRLS.zscore.monthly-04058000.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-330889f3.js → BMI_GIRLS.zscore.weekly-e9bb19f8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-76080b3e.js → BMI_GIRLS.zscore.yearly-f16487bb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-71496886.js → HEAD CIRCUM_BOYS.percentile.monthly-f5f83a36.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-3a487c02.js → HEAD CIRCUM_BOYS.percentile.weekly-9096e8b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-df3c633b.js → HEAD CIRCUM_BOYS.percentile.yearly-ad1d33cd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-cd20d790.js → HEAD CIRCUM_BOYS.zscore.monthly-1fcbd65a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8d67d333.js → HEAD CIRCUM_BOYS.zscore.weekly-93832776.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b36a8c1b.js → HEAD CIRCUM_BOYS.zscore.yearly-8146b44b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3c761425.js → HEAD CIRCUM_GIRLS.percentile.monthly-076f11cb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-5302a622.js → HEAD CIRCUM_GIRLS.percentile.weekly-ac11b65f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ae42fd9a.js → HEAD CIRCUM_GIRLS.percentile.yearly-30e8c2d2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-90ed52ce.js → HEAD CIRCUM_GIRLS.zscore.monthly-8a93740b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-daab49b6.js → HEAD CIRCUM_GIRLS.zscore.weekly-1385f2c6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-bc0da79f.js → HEAD CIRCUM_GIRLS.zscore.yearly-fc817726.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-8be910e3.js → HEIGHT_BOYS.percentile.monthly-b92d111c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e356e486.js → HEIGHT_BOYS.percentile.weekly-fd7589cf.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-a9306ba7.js → HEIGHT_BOYS.percentile.yearly-247a0abd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ebe2965b.js → HEIGHT_BOYS.zscore.monthly-7c8220fb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-91b9960c.js → HEIGHT_BOYS.zscore.weekly-84059016.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3b5695c0.js → HEIGHT_BOYS.zscore.yearly-8220f7d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-3c7f0ad3.js → HEIGHT_GIRLS.percentile.monthly-3c2bc793.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7dc59322.js → HEIGHT_GIRLS.percentile.weekly-6f5a1652.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-edd3e795.js → HEIGHT_GIRLS.percentile.yearly-abae1e4a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-61977664.js → HEIGHT_GIRLS.zscore.monthly-f332f3d2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-dd704929.js → HEIGHT_GIRLS.zscore.weekly-11cd7d87.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-cfb081b9.js → HEIGHT_GIRLS.zscore.yearly-e83e35e1.js} +0 -0
- /package/build/{Locale-cab5fcd1.js → Locale-32c3b208.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2a6c91de.js → WEIGHT_BOYS.percentile.monthly-36fa36e1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-18b96d96.js → WEIGHT_BOYS.percentile.weekly-581ee9e0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-5b3ce79a.js → WEIGHT_BOYS.percentile.yearly-a572be89.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-0041125d.js → WEIGHT_BOYS.zscore.monthly-da30b453.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-48e34ec0.js → WEIGHT_BOYS.zscore.weekly-a10f1690.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-d9ece451.js → WEIGHT_BOYS.zscore.yearly-b0d7eaee.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5acbb1a2.js → WEIGHT_GIRLS.percentile.monthly-ed1a0caf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-936b9ef2.js → WEIGHT_GIRLS.percentile.weekly-ebd1a0d3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-4bf45130.js → WEIGHT_GIRLS.percentile.yearly-80f88760.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-bcf6b7fc.js → WEIGHT_GIRLS.zscore.monthly-2481971f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-47300ce2.js → WEIGHT_GIRLS.zscore.weekly-2363a98c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-927c824d.js → WEIGHT_GIRLS.zscore.yearly-4bdf5e51.js} +0 -0
- /package/build/{constants-4ac95194.js → constants-e68ab4bf.js} +0 -0
- /package/build/{cookieHelper-db341667.js → cookieHelper-42ffb6a3.js} +0 -0
- /package/build/{dataTransform-02b582c3.js → dataTransform-eac3a8d9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ffab2302.js → BMI_BOYS.percentile.monthly-d74e1a96.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c6f826a8.js → BMI_BOYS.percentile.weekly-06bf86fc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d5708b73.js → BMI_BOYS.percentile.yearly-f99427c4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-9c1cbc66.js → BMI_BOYS.zscore.monthly-d9c8f464.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-e5ce53f6.js → BMI_BOYS.zscore.weekly-f62036e6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-98ba4ddb.js → BMI_BOYS.zscore.yearly-43128d70.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-97b4f224.js → BMI_GIRLS.percentile.monthly-06273546.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ae755bc8.js → BMI_GIRLS.percentile.weekly-d3ef318f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-05e04649.js → BMI_GIRLS.percentile.yearly-9b6db112.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-69c070ab.js → BMI_GIRLS.zscore.monthly-bd062a25.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-25f3267e.js → BMI_GIRLS.zscore.weekly-00e1b192.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c6f747de.js → BMI_GIRLS.zscore.yearly-c411dbd6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-57510a41.js → HEAD CIRCUM_BOYS.percentile.monthly-8c119897.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1bcb4ab5.js → HEAD CIRCUM_BOYS.percentile.weekly-7b34aba8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d9b9c5ff.js → HEAD CIRCUM_BOYS.percentile.yearly-4191aada.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-48e5de7f.js → HEAD CIRCUM_BOYS.zscore.monthly-3fb6fe2a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-791d6506.js → HEAD CIRCUM_BOYS.zscore.weekly-ee01c34c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9e9c7b5e.js → HEAD CIRCUM_BOYS.zscore.yearly-c71b6292.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0a8e8109.js → HEAD CIRCUM_GIRLS.percentile.monthly-df78a85f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1680fc3c.js → HEAD CIRCUM_GIRLS.percentile.weekly-f5989039.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-dc4f9287.js → HEAD CIRCUM_GIRLS.percentile.yearly-c0c3bc78.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5f819161.js → HEAD CIRCUM_GIRLS.zscore.monthly-4102e188.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-13ef7bcd.js → HEAD CIRCUM_GIRLS.zscore.weekly-0727989c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c4f3e23a.js → HEAD CIRCUM_GIRLS.zscore.yearly-5e7ba858.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e8d97235.js → HEIGHT_BOYS.percentile.monthly-1acb0189.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-31c047c5.js → HEIGHT_BOYS.percentile.weekly-fbfd8311.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b38b436f.js → HEIGHT_BOYS.percentile.yearly-c733eb6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-04994bd9.js → HEIGHT_BOYS.zscore.monthly-2f479401.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-61d0e68c.js → HEIGHT_BOYS.zscore.weekly-d3b70755.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4805786d.js → HEIGHT_BOYS.zscore.yearly-115f3b09.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9bc4c304.js → HEIGHT_GIRLS.percentile.monthly-06728615.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-48a637d5.js → HEIGHT_GIRLS.percentile.weekly-954f056e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-15059b8e.js → HEIGHT_GIRLS.percentile.yearly-6af3b14d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-635564b6.js → HEIGHT_GIRLS.zscore.monthly-ee5b46b8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3281460b.js → HEIGHT_GIRLS.zscore.weekly-2fcb8b9b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fa669352.js → HEIGHT_GIRLS.zscore.yearly-2c701484.js} +0 -0
- /package/build/esm/{Locale-d4c04baf.js → Locale-69a52356.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c24bfbf8.js → WEIGHT_BOYS.percentile.monthly-0380a4e6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-567f4820.js → WEIGHT_BOYS.percentile.weekly-bfae048d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f03931bd.js → WEIGHT_BOYS.percentile.yearly-d5953171.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-12ec6f51.js → WEIGHT_BOYS.zscore.monthly-c0b70d63.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2a0132ad.js → WEIGHT_BOYS.zscore.weekly-9ed5b214.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d0cb8f9d.js → WEIGHT_BOYS.zscore.yearly-856711fd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7d846ad5.js → WEIGHT_GIRLS.percentile.monthly-da72c730.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-e4393bcb.js → WEIGHT_GIRLS.percentile.weekly-e631ffe9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-3c0f2691.js → WEIGHT_GIRLS.percentile.yearly-a1d7ff3d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d6f02418.js → WEIGHT_GIRLS.zscore.monthly-0d62a662.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a33f9fbe.js → WEIGHT_GIRLS.zscore.weekly-1f3eadf2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7de2abd2.js → WEIGHT_GIRLS.zscore.yearly-ac06e1cd.js} +0 -0
- /package/build/esm/{constants-0876040f.js → constants-903be492.js} +0 -0
- /package/build/esm/{cookieHelper-55a56f73.js → cookieHelper-976f42d9.js} +0 -0
- /package/build/esm/{dataTransform-d069dd12.js → dataTransform-239e31f5.js} +0 -0
- /package/build/esm/{isProduction-c2976ce9.js → isProduction-01c83152.js} +0 -0
- /package/build/esm/{localizeNumberFormat-357388e4.js → localizeNumberFormat-fe3a9b22.js} +0 -0
- /package/build/esm/{theme-54766621.js → theme-96058860.js} +0 -0
- /package/build/esm/{translationsContext-5508c0bb.js → translationsContext-dd8efa79.js} +0 -0
- /package/build/esm/{tslib.es6-83a7e7cf.js → tslib.es6-35559a01.js} +0 -0
- /package/build/esm/{types-e9490008.js → types-76819eaf.js} +0 -0
- /package/build/esm/{useOutsideClick-8443a562.js → useOutsideClick-faa687a0.js} +0 -0
- /package/build/esm/{useScrollbarSize-766e01a5.js → useScrollbarSize-bb280084.js} +0 -0
- /package/build/esm/{utils-ffbab8d6.js → utils-9cd9b77f.js} +0 -0
- /package/build/{isProduction-e241ba41.js → isProduction-c472f5df.js} +0 -0
- /package/build/{localizeNumberFormat-bf9e6e11.js → localizeNumberFormat-ce97cb62.js} +0 -0
- /package/build/{theme-11802669.js → theme-7f4f2614.js} +0 -0
- /package/build/{translationsContext-b0a4a4f5.js → translationsContext-4c5447b6.js} +0 -0
- /package/build/{tslib.es6-3992f591.js → tslib.es6-12cb6a82.js} +0 -0
- /package/build/{types-cf71ad96.js → types-a7b6eb60.js} +0 -0
- /package/build/{useOutsideClick-22eb12ab.js → useOutsideClick-1b1cf232.js} +0 -0
- /package/build/{useScrollbarSize-e8fe8af0.js → useScrollbarSize-d379bcca.js} +0 -0
- /package/build/{utils-0a9d5e6b.js → utils-1da403cf.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a,_ as t}from"./tslib.es6-
|
|
1
|
+
import{c as a,_ as t}from"./tslib.es6-35559a01.js";import e from"react";var d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",r="ITgol3T",n="cD-HMFz",s="oAG2-aJ",l="Y9fGCaj",C=function(C){var m=C.size,u=C.color,h=void 0===u?"primary":u,p=C.theme,v=void 0===p?"helloSites":p,g=C.isDisabled,k=C.isBlock,P=C.title,E=C.className,y=C.onClick,N=C.icon,w=C.children,b=C.isLoading,f=void 0!==b&&b,L=C.loadingText,B=C.dataEventCategory,x=C.dataEventAction,A=C.dataEventLabel,T=C.dataProductChannel,z=C.dataProductSku,D=C.dataProductBrand,S=C.dataProductName,F=C.dataProductPrice,M=C.dataProductCategory,j=C.dataProductPosition,G=C.type,W=a(C,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]),Z={"data-event-category":B,"data-event-action":x,"data-event-label":A,"data-product-channel":T,"data-product-sku":z,"data-product-brand":D,"data-product-name":S,"data-product-price":F,"data-product-category":M,"data-product-position":j},H=e.createElement("span",{className:o},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{className:l,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.createElement("path",{className:s,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"})));return e.createElement("button",t({},Z,{className:"".concat(r," ").concat(E||""),"data-size":m,"data-color":h,"data-block":k,"data-has-icon":!!N||void 0,"data-theme":v,disabled:g,onClick:function(a){!f&&!g&&y&&y(a)},title:P,"data-is-loading":f,type:G},W),e.createElement("span",{className:i},(N||f)&&e.createElement("span",{className:n},f?H:N," "),w&&e.createElement("span",{className:c},f&&L||w)))};export{C as B};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,_ as t}from"./tslib.es6-35559a01.js";import a from"react";import{S as r,a as o}from"./index.styled-21e1a169.js";var l=function(o){var l=o.type,s=o.color,y=o.style,n=e(o,["type","color","style"]);return a.createElement(r,t({type:l,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[l],style:t(t({},s&&{"--text-color":s}),y)},n))},s=function(r){var l=r.type,s=r.color,y=r.style,n=e(r,["type","color","style"]);return a.createElement(o,t({"data-type":l,style:t(t({},y),s&&{"--text-color":s})},n))};export{s as M,l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a,_ as e}from"./tslib.es6-
|
|
1
|
+
import{c as a,_ as e}from"./tslib.es6-35559a01.js";import t from"react";var r="wIj6fkD",o=function(o){var s=o.size,c=void 0===s?"base":s,d=o.type,n=void 0===d?"regular":d,i=o.className,l=o.style,p=o.children,v=o.color,m=o.dataEventCategory,y=o.dataEventAction,E=o.dataEventLabel,b=o.as,u=void 0===b?"p":b,w=o.wordWrap,f=o.isUppercase,g=a(o,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]),z=u;return t.createElement(z,e({"data-size":c,"data-type":n,style:e(e({},l),v?{"--custom-color":v}:void 0),className:"".concat(r," ").concat(i||""),"data-event-category":m,"data-event-action":y,"data-event-label":E,"data-word-wrap":w,"data-is-uppercase":f},g),p)};export{o as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n,c as e,_ as r}from"./tslib.es6-
|
|
1
|
+
import{b as n,c as e,_ as r}from"./tslib.es6-35559a01.js";import o,{useMemo as i}from"react";import{L as t}from"./Locale-69a52356.js";import{CommonGAssets as l}from"./gAssets.js";import{t as c}from"./theme-96058860.js";import{T as a}from"./index-3a9ba344.js";import s from"styled-components";import{C as p}from"./index-67f30064.js";var d,u,m,x,g,b=s.div(d||(d=n(["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"],["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"])),(function(n){return n.size}),(function(n){return n.size}),(function(n){return n.backgroundColor||c.colors.white}),(function(n){return n.borderRadius||"50%"}),(function(n){return n.iconSize}),(function(n){return n.iconSize})),h=s.div(u||(u=n(["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.pink100})),f=[t.Myanmar,t.Taiwan],w=s((function(n){var t=n.icon,s=n.name,p=n.className,d=n.locale,u=void 0===d?"en-PH":d,m=n.onSelect,x=e(n,["icon","name","className","locale","onSelect"]),g=i((function(){return null==p?void 0:p.includes("selected-week-pill")}),[p]);return o.createElement(h,r({onClick:m,className:p?"week-pill".concat(" non-pointer-event-child ",p):"week-pill non-pointer-event-child"},x),o.createElement(b,{size:64,iconSize:40,backgroundColor:c.colors.white},o.createElement("img",{src:t||l.getAssetPath("week_default.png"),alt:""})),g?o.createElement(a,r({type:"semiBold",size:"n1",color:c.colors.gray800},f.includes(u)&&{style:{fontSize:"10px"}}),s):o.createElement(a,r({size:"n1",color:c.colors.gray600},f.includes(u)&&{style:{fontSize:"10px"}}),s))}))(m||(m=n(["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"],["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"]))),k=s(p.Slide)(x||(x=n([""],[""]))),v=s(p)(g||(g=n(["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"],["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"]))),y=function(n){var i=n.data,l=n.isMobile,c=n.onSlideChange,a=n.pillProps,s=n.locale,p=void 0===s?t.Vietnam:s,d=n.blurFromIndex,u=n.blurLength,m=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),x={withControls:!l,slideGap:16,blurFromCenter:!0,blurFromIndex:d||(l?2:4),blurLength:u||(l?1:3),onSlideChange:c};return o.createElement(v,r({},x,m),(function(n){return i.map((function(e,i){return o.createElement(k,r({key:i,onClick:c},a),o.createElement("div",{className:"centerred-pill-wrapper"},o.createElement(w,{locale:p,name:e.name,icon:e.icon,className:i===n?"selected-week-pill":""})))}))}))};export{y as P};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{c as n,d as e,e as t,_ as r,b as a}from"./tslib.es6-
|
|
1
|
+
import{c as n,d as e,e as t,_ as r,b as a}from"./tslib.es6-35559a01.js";import o,{forwardRef as i,useState as l,useEffect as c,useRef as s,useCallback as u,useImperativeHandle as d}from"react";import{P as m,a as p,I as f,b as g,c as h,M as v,d as b,T as y,V as x,C}from"./Vietnam-79ea7fd6.js";import{s as w,I as k}from"./index-103a41c7.js";import{Image as j,Textarea as S,Modal as E,Accordion as I,Indicator as A,Avatar as P,Checkbox as M,Slider as D,Radio as N,Flex as T}from"@mantine/core";import{CommonGAssets as z}from"./gAssets.js";import{DatePicker as R,DateRangePicker as V}from"@mantine/dates";import B,{css as L}from"styled-components";import"dayjs";import"./screenSizeContext-20344057.js";import{t as W}from"./theme-96058860.js";import"./utils-9cd9b77f.js";import"./isProduction-01c83152.js";import{L as F}from"./Locale-69a52356.js";import{Carousel as O}from"@mantine/carousel";import{g as G}from"./defaultClassWrapper-df6eb1f9.js";import{c as H}from"./index-b6619b35.js";
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/var U,Y,K,_,Q=H((function(n){!function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)n.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&n.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)e.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}()})),q=Object.values(w).reduce((function(n,e){var t=e.phoneCountry;return n.includes(t)||n.push(t),n}),[]),J={PH:m,KH:p,ID:f,IN:g,MM:h,MY:v,TH:b,TW:y,VN:x},X={phoneInput:"i-9Ibox",error:"YDWHh9b"},Z=i((function(a,i){var s,u=a.isError,d=a.defaultCountry,m=a.countries,p=void 0===m?q:m,f=a.countryCallingCodeEditable,g=void 0!==f&&f,h=a.defaultValue,v=a.value,b=a.onChange,y=a.className,x=n(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),w=l(h||v),k=w[0],j=w[1],S=l(null),E=S[0],I=S[1];return c((function(){j(v)}),[v]),c((function(){e(void 0,void 0,void 0,(function(){var n;return t(this,(function(e){switch(e.label){case 0:return[4,import("react-phone-number-input")];case 1:return n=e.sent(),I(n),[2]}}))}))}),[]),E?o.createElement(E.default,r({ref:i,value:k,onChange:function(n){j(n),null==b||b(n)},countries:p,defaultCountry:d,countryCallingCodeEditable:g,className:Q(X.phoneInput,(s={isError:u},s[X.error]=u,s),y),flagUrl:void 0,flagComponent:function(e){var t=e.country,a=e.countryName;e.flagUrl;var i=n(e,["country","countryName","flagUrl"]),l=J[t],c=t?"(+".concat(E.getCountryCallingCode(t),")"):"";return l?o.createElement(o.Fragment,null,o.createElement(l,r({title:a},i)),o.createElement("span",{className:Q(X.callingCode,"PhoneInputCountryIconCallingCode")},c)):o.createElement(o.Fragment,null)},countrySelectProps:{arrowComponent:function(){return o.createElement("div",{className:Q(X.arrowSelect,"PhoneInputArrowContainer")},o.createElement(C,null))}}},x)):null})),$=B(R)(Y||(Y=a(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&L(U||(U=a(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),nn=B(V)(_||(_=a(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&L(K||(K=a(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),en=function(n){return o.createElement($,r({size:"md",clearable:!1,fullWidth:!0,rightSection:o.createElement(j,{src:z.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};en.Range=function(n){return o.createElement(nn,r({size:"md",clearable:!1,fullWidth:!0,rightSection:o.createElement(j,{src:z.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var tn,rn,an,on=B(S)(tn||(tn=a(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),W.colors.gray200),ln=B(E)(rn||(rn=a(["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"],["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"])),W.colors.neutral100),cn=B(I)(an||(an=a(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(n){return n.closeChevron||z.getAssetPath("plus-icon.svg")}),(function(n){return n.openChevron||z.getAssetPath("minus-icon.svg")})),sn=function(e){var t=e.children,a=n(e,["children"]);return o.createElement(cn,r({chevron:o.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},a),t)};sn.Control=I.Control,sn.Item=I.Item,sn.Panel=I.Panel;var un=z.getAssetPath("avatar.jpg"),dn=function(e){var t=e.withIndicator,a=void 0!==t&&t,i=e.indicatorConfig,l=void 0===i?null:i,c=e.size,s=void 0===c?56:c,u=e.children,d=n(e,["withIndicator","indicatorConfig","size","children"]),m=function(){return o.createElement(P,r({size:s,radius:"xl"},d),u||o.createElement("img",{src:un,width:s}))};return a?o.createElement(A,r({inline:!0,position:"bottom-end",offset:9},l,{styles:{indicator:{backgroundColor:o.isValidElement(l.label)&&"transparent",zIndex:1}}}),m()):m()},mn=function(e){var t=e.slidesToShow,a=void 0===t?1:t,i=e.children,l=n(e,["slidesToShow","children"]);return o.createElement(O,r({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),i)};mn.Slide=O.Slide;var pn=function(n){return o.createElement(M,r({},n))};pn.Group=M.Group;var fn,gn,hn,vn,bn,yn="hhgcomp-mantine-slider-slider",xn=G(B(D)(fn||(fn=a(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(n){return n.color||n.theme.colors.primaryBase})),yn),Cn=B.div(gn||(gn=a(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),yn),wn=B(N)(hn||(hn=a(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(n){return n.color||W.colors.primaryBase})),kn=function(n){return o.createElement(wn,r({size:"sm"},n))};kn.Group=N.Group;var jn=((vn={})[F.Vietnam]="vi",vn[F.Cambodia]="km",vn[F.India]="hi",vn[F.Indonesia]="id",vn[F.Malaysia]="ms",vn[F.Thailand]="th",vn[F.Taiwan]="zh-tw",vn[F.PhilippinesTagalog]="tl-ph",vn[F.PhilippinesEnglish]="en",vn[F.Myanmar]="my",vn),Sn=((bn={})[F.Vietnam]=function(){return import("dayjs/locale/vi.js")},bn[F.Cambodia]=function(){return import("dayjs/locale/km.js")},bn[F.India]=function(){return import("dayjs/locale/hi.js")},bn[F.Indonesia]=function(){return import("dayjs/locale/id.js")},bn[F.Malaysia]=function(){return import("dayjs/locale/ms.js")},bn[F.Thailand]=function(){return import("dayjs/locale/th.js")},bn[F.Taiwan]=function(){return import("dayjs/locale/zh-tw.js")},bn[F.PhilippinesTagalog]=function(){return import("dayjs/locale/tl-ph.js")},bn[F.PhilippinesEnglish]=function(){return import("dayjs/locale/en.js")},bn[F.Myanmar]=function(){return import("dayjs/locale/my.js")},bn),En=function(n){c((function(){var e;null===(e=Sn[n])||void 0===e||e.call(Sn)}),[n])},In={"&:hover":{borderColor:"".concat(W.colors.blue200),boxShadow:"0 0 2px 2px ".concat(W.colors.blue200)}},An=function(n){return{datesLocale:jn[n],dateFormat:k[n].dateFormat,fontFamily:n===F.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:k[n].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(W.colors.blue200),boxShadow:"0 0 2px 2px ".concat(W.colors.blue200)}},rightSection:{pointerEvents:"none",cursor:"default"},invalid:{color:"#000"}}},Checkbox:{styles:{input:In}},Radio:{styles:{radio:r(r({backgroundColor:"#ffffff"},In),{"&:checked":{backgroundColor:"#ffffff"}})}}}}};function Pn(n,e){void 0===e&&(e=6);var t=new Array(e).fill("");if(n){var r=n.toString().split("");t.map((function(n,e){r[e]&&(t[e]=r[e]||"")}))}return t}function Mn(n){return n.join("")}var Dn="_2iQs0sk",Nn="Ia6IojY",Tn=i((function(e,t){var a=e.maxLength,i=void 0===a?1:a,l=e.placeholder,c=e.className,s=n(e,["maxLength","placeholder","className"]);return o.createElement("input",r({maxLength:i,className:Q(Nn,"otpInput",c),placeholder:l,type:"number"},s,{ref:t}))})),zn=i((function(n,e){var t=n.valueLength,r=void 0===t?6:t,a=n.type,i=void 0===a?"number":a,m=n.value,p=n.defaultValue,f=n.onChange,g=n.onBlur,h=s(new Array(r).fill(null)),v=l(p||m),b=v[0],y=v[1],x=l(-1),C=x[0],w=x[1],k=l((function(){return Pn(b,r)})),j=k[0],S=k[1],E=u((function(){if(-1!==C){var n=h.current[C];if(n){n.value="";var e=j;e[C]="",S(e),y((function(){return Mn(e)})),null==f||f(Mn(e))}}}),[C,f,j]),I=u((function(){if(0!==C){var n=h.current[C];n&&n.blur();var e=h.current[C-1];e&&e.focus()}}),[C]),A=u((function(){if(C!==r-1){var n=h.current[C];n&&n.blur();var e=h.current[C+1];e&&e.focus()}}),[C,r]),P=u((function(n){var e=n.target,t=e.value.toString().slice(0,1),r=h.current.findIndex((function(n){return n===e}));if(-1!==r){var a=j;a[r]=t,S(a),y((function(){return Mn(a)})),null==f||f(Mn(a))}A()}),[A,f,j]),M=u((function(n){var e=n.target,t=h.current.findIndex((function(n){return n===e}));"number"===i?e.select():e.setSelectionRange(0,e.value.length,"backward"),-1!==t&&w(t)}),[]),D=u((function(n){var e=Pn(n.clipboardData.getData("text/plain"),r),t=Mn(e);S(e),y(t),null==f||f(t)}),[f,i,r]),N=u((function(n){8===n.keyCode||"Backspace"===n.key?(n.preventDefault(),E(),I()):46===n.keyCode||"Delete"===n.key?(n.preventDefault(),E()):37===n.keyCode||"ArrowLeft"===n.key?(n.preventDefault(),I()):39===n.keyCode||"ArrowRight"===n.key?(n.preventDefault(),A()):32!==n.keyCode&&" "!==n.key&&"Spacebar"!==n.key&&"Space"!==n.key||n.preventDefault()}),[E,A,I]);return d(e,(function(){return h.current[0]}),[]),c((function(){S((function(){return Pn(m,r)})),y(m)}),[r,m]),o.createElement(T,{justify:"center",columnGap:8,className:Q(Dn,"otpContainer")},j.map((function(n,e){return o.createElement(Tn,{ref:function(n){h.current[e]=n},key:""+e,value:n,type:i,onChange:P,onFocus:M,onKeyDown:N,onPaste:D,onBlur:g})})))}));export{sn as A,mn as C,en as D,jn as M,zn as O,Z as P,kn as R,on as S,ln as a,Cn as b,xn as c,dn as d,pn as e,An as g,En as u};
|
|
6
|
+
*/var U,Y,K,_,Q=H((function(n){!function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)n.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&n.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)e.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}()})),q=Object.values(w).reduce((function(n,e){var t=e.phoneCountry;return n.includes(t)||n.push(t),n}),[]),J={PH:m,KH:p,ID:f,IN:g,MM:h,MY:v,TH:b,TW:y,VN:x},X={phoneInput:"i-9Ibox",error:"YDWHh9b"},Z=i((function(a,i){var s,u=a.isError,d=a.defaultCountry,m=a.countries,p=void 0===m?q:m,f=a.countryCallingCodeEditable,g=void 0!==f&&f,h=a.defaultValue,v=a.value,b=a.onChange,y=a.className,x=n(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),w=l(h||v),k=w[0],j=w[1],S=l(null),E=S[0],I=S[1];return c((function(){j(v)}),[v]),c((function(){e(void 0,void 0,void 0,(function(){var n;return t(this,(function(e){switch(e.label){case 0:return[4,import("react-phone-number-input")];case 1:return n=e.sent(),I(n),[2]}}))}))}),[]),E?o.createElement(E.default,r({ref:i,value:k,onChange:function(n){j(n),null==b||b(n)},countries:p,defaultCountry:d,countryCallingCodeEditable:g,className:Q(X.phoneInput,(s={isError:u},s[X.error]=u,s),y),flagUrl:void 0,flagComponent:function(e){var t=e.country,a=e.countryName;e.flagUrl;var i=n(e,["country","countryName","flagUrl"]),l=J[t],c=t?"(+".concat(E.getCountryCallingCode(t),")"):"";return l?o.createElement(o.Fragment,null,o.createElement(l,r({title:a},i)),o.createElement("span",{className:Q(X.callingCode,"PhoneInputCountryIconCallingCode")},c)):o.createElement(o.Fragment,null)},countrySelectProps:{arrowComponent:function(){return o.createElement("div",{className:Q(X.arrowSelect,"PhoneInputArrowContainer")},o.createElement(C,null))}}},x)):null})),$=B(R)(Y||(Y=a(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&L(U||(U=a(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),nn=B(V)(_||(_=a(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&L(K||(K=a(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),en=function(n){return o.createElement($,r({size:"md",clearable:!1,fullWidth:!0,rightSection:o.createElement(j,{src:z.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};en.Range=function(n){return o.createElement(nn,r({size:"md",clearable:!1,fullWidth:!0,rightSection:o.createElement(j,{src:z.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var tn,rn,an,on=B(S)(tn||(tn=a(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),W.colors.gray200),ln=B(E)(rn||(rn=a(["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"],["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"])),W.colors.neutral100),cn=B(I)(an||(an=a(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(n){return n.closeChevron||z.getAssetPath("plus-icon.svg")}),(function(n){return n.openChevron||z.getAssetPath("minus-icon.svg")})),sn=function(e){var t=e.children,a=n(e,["children"]);return o.createElement(cn,r({chevron:o.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},a),t)};sn.Control=I.Control,sn.Item=I.Item,sn.Panel=I.Panel;var un=z.getAssetPath("avatar.jpg"),dn=function(e){var t=e.withIndicator,a=void 0!==t&&t,i=e.indicatorConfig,l=void 0===i?null:i,c=e.size,s=void 0===c?56:c,u=e.children,d=e.styles,m=n(e,["withIndicator","indicatorConfig","size","children","styles"]),p=function(){return o.createElement(P,r({size:s,radius:"xl"},m),u||o.createElement("img",{src:un,width:s}))};return a?o.createElement(A,r({inline:!0,position:"bottom-end",offset:9},l,{styles:r({indicator:{backgroundColor:o.isValidElement(l.label)&&"transparent",zIndex:1}},d)}),p()):p()},mn=function(e){var t=e.slidesToShow,a=void 0===t?1:t,i=e.children,l=n(e,["slidesToShow","children"]);return o.createElement(O,r({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),i)};mn.Slide=O.Slide;var pn=function(n){return o.createElement(M,r({},n))};pn.Group=M.Group;var fn,gn,hn,vn,bn,yn="hhgcomp-mantine-slider-slider",xn=G(B(D)(fn||(fn=a(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(n){return n.color||n.theme.colors.primaryBase})),yn),Cn=B.div(gn||(gn=a(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),yn),wn=B(N)(hn||(hn=a(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(n){return n.color||W.colors.primaryBase})),kn=function(n){return o.createElement(wn,r({size:"sm"},n))};kn.Group=N.Group;var jn=((vn={})[F.Vietnam]="vi",vn[F.Cambodia]="km",vn[F.India]="hi",vn[F.Indonesia]="id",vn[F.Malaysia]="ms",vn[F.Thailand]="th",vn[F.Taiwan]="zh-tw",vn[F.PhilippinesTagalog]="tl-ph",vn[F.PhilippinesEnglish]="en",vn[F.Myanmar]="my",vn),Sn=((bn={})[F.Vietnam]=function(){return import("dayjs/locale/vi.js")},bn[F.Cambodia]=function(){return import("dayjs/locale/km.js")},bn[F.India]=function(){return import("dayjs/locale/hi.js")},bn[F.Indonesia]=function(){return import("dayjs/locale/id.js")},bn[F.Malaysia]=function(){return import("dayjs/locale/ms.js")},bn[F.Thailand]=function(){return import("dayjs/locale/th.js")},bn[F.Taiwan]=function(){return import("dayjs/locale/zh-tw.js")},bn[F.PhilippinesTagalog]=function(){return import("dayjs/locale/tl-ph.js")},bn[F.PhilippinesEnglish]=function(){return import("dayjs/locale/en.js")},bn[F.Myanmar]=function(){return import("dayjs/locale/my.js")},bn),En=function(n){c((function(){var e;null===(e=Sn[n])||void 0===e||e.call(Sn)}),[n])},In={"&:hover":{borderColor:"".concat(W.colors.blue200),boxShadow:"0 0 2px 2px ".concat(W.colors.blue200)}},An=function(n){return{datesLocale:jn[n],dateFormat:k[n].dateFormat,fontFamily:n===F.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:k[n].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(W.colors.blue200),boxShadow:"0 0 2px 2px ".concat(W.colors.blue200)}},rightSection:{pointerEvents:"none",cursor:"default"},invalid:{color:"#000"}}},Checkbox:{styles:{input:In}},Radio:{styles:{radio:r(r({backgroundColor:"#ffffff"},In),{"&:checked":{backgroundColor:"#ffffff"}})}}}}};function Pn(n,e){void 0===e&&(e=6);var t=new Array(e).fill("");if(n){var r=n.toString().split("");t.map((function(n,e){r[e]&&(t[e]=r[e]||"")}))}return t}function Mn(n){return n.join("")}var Dn="_2iQs0sk",Nn="Ia6IojY",Tn=i((function(e,t){var a=e.maxLength,i=void 0===a?1:a,l=e.placeholder,c=e.className,s=n(e,["maxLength","placeholder","className"]);return o.createElement("input",r({maxLength:i,className:Q(Nn,"otpInput",c),placeholder:l,type:"number"},s,{ref:t}))})),zn=i((function(n,e){var t=n.valueLength,r=void 0===t?6:t,a=n.type,i=void 0===a?"number":a,m=n.value,p=n.defaultValue,f=n.onChange,g=n.onBlur,h=s(new Array(r).fill(null)),v=l(p||m),b=v[0],y=v[1],x=l(-1),C=x[0],w=x[1],k=l((function(){return Pn(b,r)})),j=k[0],S=k[1],E=u((function(){if(-1!==C){var n=h.current[C];if(n){n.value="";var e=j;e[C]="",S(e),y((function(){return Mn(e)})),null==f||f(Mn(e))}}}),[C,f,j]),I=u((function(){if(0!==C){var n=h.current[C];n&&n.blur();var e=h.current[C-1];e&&e.focus()}}),[C]),A=u((function(){if(C!==r-1){var n=h.current[C];n&&n.blur();var e=h.current[C+1];e&&e.focus()}}),[C,r]),P=u((function(n){var e=n.target,t=e.value.toString().slice(0,1),r=h.current.findIndex((function(n){return n===e}));if(-1!==r){var a=j;a[r]=t,S(a),y((function(){return Mn(a)})),null==f||f(Mn(a))}A()}),[A,f,j]),M=u((function(n){var e=n.target,t=h.current.findIndex((function(n){return n===e}));"number"===i?e.select():e.setSelectionRange(0,e.value.length,"backward"),-1!==t&&w(t)}),[]),D=u((function(n){var e=Pn(n.clipboardData.getData("text/plain"),r),t=Mn(e);S(e),y(t),null==f||f(t)}),[f,i,r]),N=u((function(n){8===n.keyCode||"Backspace"===n.key?(n.preventDefault(),E(),I()):46===n.keyCode||"Delete"===n.key?(n.preventDefault(),E()):37===n.keyCode||"ArrowLeft"===n.key?(n.preventDefault(),I()):39===n.keyCode||"ArrowRight"===n.key?(n.preventDefault(),A()):32!==n.keyCode&&" "!==n.key&&"Spacebar"!==n.key&&"Space"!==n.key||n.preventDefault()}),[E,A,I]);return d(e,(function(){return h.current[0]}),[]),c((function(){S((function(){return Pn(m,r)})),y(m)}),[r,m]),o.createElement(T,{justify:"center",columnGap:8,className:Q(Dn,"otpContainer")},j.map((function(n,e){return o.createElement(Tn,{ref:function(n){h.current[e]=n},key:""+e,value:n,type:i,onChange:P,onFocus:M,onKeyDown:N,onPaste:D,onBlur:g})})))}));export{sn as A,mn as C,en as D,jn as M,zn as O,Z as P,kn as R,on as S,ln as a,Cn as b,xn as c,dn as d,pn as e,An as g,En as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-35559a01.js";import t,{forwardRef as r}from"react";var a=r((function(r,a){return t.createElement("circle",e({},r,{ref:a}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));export{a as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e,_ as n}from"./tslib.es6-
|
|
1
|
+
import{c as e,_ as n}from"./tslib.es6-35559a01.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as a}from"@mantine/hooks";var u=d.Slide,s=l({}),p=function(e,n){return e>=n?e-n:e},f=function(l){var i=l.children,u=l.blurFromCenter,f=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,g=l.selectSlideWhenClick,b=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=a(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=u?f+h-1:c,a=l+d,s=a===t?0:a>t?a-t:a,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return p(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===p(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:g}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,b,{loop:!0}),"function"==typeof i?i(F):i))};f.Slide=function(l){var d=l.children,a=l.onClick,p=e(l,["children","onClick"]),f=i(s),v=f.slider,h=f.selectSlideWhenClick,m=t(),x=t(""),S=o(0),g=S[0],b=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];b(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":g,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(u,n({},y,p),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(g)),null==a||a(g)}},d))};export{f as C};
|