@hhgtech/hhg-components 1.29.412-beta-3 → 1.29.412-beta-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-cd4d4ec8.js → InputDate-4d88d2c9.js} +3 -3
- package/build/{LastPeriod-8e3e8135.js → LastPeriod-5e58ca9c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-635fe3f0.js → MobileBottomNavigationIcon-7f2bf4b5.js} +3 -3
- package/build/{Spinner-ed83f977.js → Spinner-36790d56.js} +1 -1
- package/build/{WhatsApp-a7525f38.js → WhatsApp-97b9ae79.js} +1 -1
- package/build/adapters.js +22 -21
- package/build/atoms.js +54 -53
- package/build/babyGrowth.js +84 -83
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +2 -1
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/icons/CheckboxWithState.d.ts +4 -0
- package/build/components/mantine/button/index.styles.d.ts +2 -0
- package/build/components/mantine/checkbox/index.styles.d.ts +16 -0
- package/build/components/mantine/index.d.ts +3 -2
- package/build/components/mantine/provider/index.d.ts +3 -1
- package/build/components/mantine/text/index.d.ts +3 -2
- package/build/components/mantine/text/index.styles.d.ts +2 -0
- package/build/components/mantine/theme/button.d.ts +3 -1
- package/build/components/mantine/theme/colors.d.ts +34 -0
- package/build/components/mantine/theme/heading.d.ts +9 -8
- package/build/components/mantine/theme/index.d.ts +2 -2
- package/build/components/mantine/theme/text.d.ts +182 -86
- package/build/components/mantine/theme/{other.d.ts → types.d.ts} +6 -3
- package/build/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components.js +147 -146
- package/build/{constants-6b0bf2af.js → constants-fca7ed09.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-00225db2.js → core-d6150323.js} +1 -1
- package/build/{dataTransform-b6e7210d.js → dataTransform-caaa5907.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-c30b23dc.js → editor-3cf54856.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +26 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -21
- package/build/embeddedHeathToolCards_babyVaccine.js +25 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +25 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +25 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +29 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +30 -29
- package/build/esm/{InputDate-bc234309.js → InputDate-42a52b72.js} +3 -3
- package/build/esm/{LastPeriod-f5722af0.js → LastPeriod-ce047ec8.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-034a7efd.js → MobileBottomNavigationIcon-2ad51136.js} +3 -3
- package/build/esm/{Spinner-d51a599e.js → Spinner-65efad1e.js} +1 -1
- package/build/esm/{WhatsApp-9051eab5.js → WhatsApp-2d19acbe.js} +1 -1
- package/build/esm/adapters.js +22 -21
- package/build/esm/atoms.js +50 -49
- package/build/esm/babyGrowth.js +84 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +2 -1
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/icons/CheckboxWithState.d.ts +4 -0
- package/build/esm/components/mantine/button/index.styles.d.ts +2 -0
- package/build/esm/components/mantine/checkbox/index.styles.d.ts +16 -0
- package/build/esm/components/mantine/index.d.ts +3 -2
- package/build/esm/components/mantine/provider/index.d.ts +3 -1
- package/build/esm/components/mantine/text/index.d.ts +3 -2
- package/build/esm/components/mantine/text/index.styles.d.ts +2 -0
- package/build/esm/components/mantine/theme/button.d.ts +3 -1
- package/build/esm/components/mantine/theme/colors.d.ts +34 -0
- package/build/esm/components/mantine/theme/heading.d.ts +9 -8
- package/build/esm/components/mantine/theme/index.d.ts +2 -2
- package/build/esm/components/mantine/theme/text.d.ts +182 -86
- package/build/esm/components/mantine/theme/{other.d.ts → types.d.ts} +6 -3
- package/build/esm/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/esm/components/molecules/tabs/index.d.ts +1 -1
- package/build/esm/components.js +99 -98
- package/build/esm/{constants-817356db.js → constants-72ab4267.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-1ad461b4.js → core-5ddc04b0.js} +1 -1
- package/build/esm/{dataTransform-88410b63.js → dataTransform-eba5b267.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-820ccc93.js → editor-0fe1306b.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +26 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -21
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +25 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +25 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +25 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +29 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +30 -29
- package/build/esm/footer.js +23 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-db73ea4e.js → healthTools-0a082ccd.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +21 -20
- package/build/esm/healthToolsForm.js +35 -34
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-dc2af9b7.js → index-02660a4c.js} +2 -2
- package/build/esm/{index-1055c903.js → index-068f3049.js} +1 -1
- package/build/esm/{index-cc694dcc.js → index-0a7a1446.js} +1 -1
- package/build/esm/{index-c926d6cd.js → index-1951903d.js} +2 -2
- package/build/esm/{index-014e8776.js → index-1cc5d174.js} +2 -2
- package/build/esm/{index-90947255.js → index-2279b723.js} +3 -3
- package/build/esm/index-248cfab5.js +15 -0
- package/build/esm/{index-19888ef6.js → index-25fb7652.js} +6 -6
- package/build/esm/{index-6c6ad707.js → index-2b2ea753.js} +17 -18
- package/build/esm/{index-a3c81f3d.js → index-2cf86791.js} +13 -13
- package/build/esm/{index-f711c325.js → index-3325d0a2.js} +7 -7
- package/build/esm/{index-3d3a5d1a.js → index-3529fd9f.js} +22 -22
- package/build/esm/{index-d406fd37.js → index-370c397d.js} +24 -24
- package/build/esm/{index-5ebb549d.js → index-384465c9.js} +6 -6
- package/build/esm/{index-5eeb0d0c.js → index-38ccf36d.js} +15 -18
- package/build/esm/{index-968461e7.js → index-3b39cce1.js} +13 -13
- package/build/esm/{index-005ee2c6.js → index-3c8c91b1.js} +16 -16
- package/build/esm/{index-e1bfb720.js → index-3e8f30c8.js} +4 -4
- package/build/esm/{index-935bc6d9.js → index-457dae08.js} +3 -3
- package/build/esm/{index-95f7203b.js → index-465ab7fa.js} +2 -2
- package/build/esm/{index-583e1565.js → index-47dc8c77.js} +2 -2
- package/build/esm/{useScreenSize-d790fa96.js → index-4c111702.js} +19 -19
- package/build/esm/{index-c2ac9617.js → index-4f4c3472.js} +2 -2
- package/build/esm/{index-e57d7bf0.js → index-51a7f6b1.js} +5 -5
- package/build/esm/{index-b514b96f.js → index-5393778c.js} +7 -7
- package/build/esm/{index-554801f1.js → index-578e7338.js} +16 -16
- package/build/esm/{index-2c50fcbe.js → index-5925d0c6.js} +22 -39
- package/build/esm/{index-af9850a0.js → index-5e60294b.js} +6 -6
- package/build/esm/{index-1556aa13.js → index-60d5878c.js} +2 -2
- package/build/esm/{index-afbce5d2.js → index-62cdfcec.js} +2 -2
- package/build/esm/{index-4c3cedac.js → index-636e624d.js} +1 -1
- package/build/esm/{index-1f2721c8.js → index-65b0aeab.js} +15 -17
- package/build/esm/{index-a1f8429c.js → index-66b5509b.js} +32 -32
- package/build/esm/{index-4f6f0dc7.js → index-6d711e31.js} +21 -21
- package/build/esm/{index-75e7cf51.js → index-6dc086bd.js} +6 -6
- package/build/esm/{index-06651425.js → index-7667f20e.js} +2 -2
- package/build/esm/{index-e726db73.js → index-790ed0c0.js} +31 -8
- package/build/esm/{index-052c0826.js → index-811121e4.js} +13 -16
- package/build/esm/{index-c18dfa3b.js → index-81f711d2.js} +1 -1
- package/build/esm/{index-d0823f56.js → index-85176faa.js} +2 -2
- package/build/esm/{index-394ef03a.js → index-87c61a9f.js} +727 -939
- package/build/esm/{index-30485f1e.js → index-9502703c.js} +1 -1
- package/build/esm/{index-438a9937.js → index-95b12dad.js} +13 -13
- package/build/esm/{index-081eb433.js → index-962c2a21.js} +3 -3
- package/build/esm/{index-0472208f.js → index-a0d8317f.js} +25 -25
- package/build/esm/{index-7abdc4e4.js → index-a9752a1d.js} +5 -5
- package/build/esm/{index-f94821a8.js → index-a9ea4437.js} +1 -1
- package/build/esm/{index-78f853ea.js → index-b170b70c.js} +2 -2
- package/build/esm/{index-1f5d5c7c.js → index-b7546888.js} +17 -17
- package/build/esm/{index-8c814627.js → index-bad4a2c2.js} +2 -2
- package/build/esm/{index-67ead9e1.js → index-bd35f293.js} +3 -3
- package/build/esm/{index-efc50609.js → index-bd7eed26.js} +15 -15
- package/build/esm/{index-59731f99.js → index-bf9bdf96.js} +11 -11
- package/build/esm/{index-69fd55a9.js → index-c00cb686.js} +2 -2
- package/build/esm/{index-ded4c0df.js → index-c5578516.js} +4 -4
- package/build/esm/{index-9dbe456e.js → index-c8988fb3.js} +1 -1
- package/build/esm/{index-382ffd33.js → index-cca914f1.js} +17 -17
- package/build/esm/{index-5fb90666.js → index-d0e7464b.js} +13 -13
- package/build/esm/{index-c8d6191b.js → index-d558dc68.js} +6 -6
- package/build/esm/{index-2372ae6a.js → index-d6d56c89.js} +3 -3
- package/build/esm/{index-5a94ff92.js → index-db344432.js} +30 -30
- package/build/esm/{index-da032491.js → index-ead7fbf0.js} +32 -31
- package/build/esm/{index-c357ed8c.js → index-eafd534c.js} +3 -3
- package/build/esm/{index-162dba63.js → index-ebcfb256.js} +1 -1
- package/build/esm/{index-23c8c7e5.js → index-f176906a.js} +10 -10
- package/build/esm/index-fc143ae0.js +669 -0
- package/build/esm/{index-31404bb4.js → index-fc7e8e0c.js} +17 -17
- package/build/esm/{index-ef98da2a.js → index-fd934e1a.js} +13 -16
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +120 -119
- package/build/esm/{labelSorting-f1cd683e.js → labelSorting-25a2a1d3.js} +4 -4
- package/build/esm/lead/components/close.d.ts +1 -1
- package/build/esm/lead/services/index.d.ts +1 -1
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +121 -136
- package/build/esm/{logoIcon-b511bf4e.js → logoIcon-1c340660.js} +2 -2
- package/build/esm/mantine.js +32 -39
- package/build/esm/misc.js +20 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +76 -75
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +18 -17
- package/build/esm/navigation.js +49 -48
- package/build/esm/navigationLogoutPopup.js +11 -9
- package/build/esm/navigationProfileButton.js +28 -27
- package/build/esm/onboardingV2.js +31 -30
- package/build/esm/organisms.js +53 -52
- package/build/esm/{post-503fb1ec.js → post-290b0e81.js} +2 -2
- package/build/esm/profileNavigation.js +21 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +24 -23
- package/build/esm/shared-e4cb7552.js +3 -0
- package/build/esm/ssoV2.js +31 -30
- package/build/esm/{store-6f544991.js → store-741bab6b.js} +3 -3
- package/build/esm/subot.js +37 -36
- package/build/esm/surveyOrPremiumBanner.js +36 -35
- package/build/esm/surveyQuestionCard.js +11 -10
- package/build/esm/{surveyThankyouCard-e0f86049.js → surveyThankyouCard-e9cb280a.js} +5 -5
- package/build/esm/text-b64a24d2.js +202 -0
- package/build/esm/together.js +58 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +32 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -51
- package/build/esm/togetherMoleculesCardAuthor.js +29 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -39
- package/build/esm/togetherOrganisms.js +52 -51
- package/build/esm/togetherRichTextEditor.js +18 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-6c5bfb22.js → translationsProvider-e6001603.js} +1 -1
- package/build/esm/{treePopoverMenu-a01deaae.js → treePopoverMenu-ec1090df.js} +19 -19
- package/build/esm/{types-2932377f.js → types-8d68765e.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-fce3f53d.js → useCategory-ba14e587.js} +5 -5
- package/build/esm/{useHealthToolCache-23f72b56.js → useHealthToolCache-6c432e54.js} +1 -1
- package/build/esm/{usePlacesAutocomplete-4e345f24.js → usePlacesAutocomplete-a19b3eed.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-e02eae01.js → utils-0e4a304c.js} +2 -2
- package/build/esm/{utils-f1ec3f06.js → utils-1b8c5cb1.js} +2 -2
- package/build/esm/{utils-71a76156.js → utils-1ba8999a.js} +3 -3
- package/build/esm/{utils-0aaa46fa.js → utils-2311da8f.js} +5 -5
- package/build/esm/vaccination.js +22 -21
- package/build/footer.js +23 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-d9930a89.js → healthTools-f7f84f66.js} +1 -1
- package/build/healthToolsCardWrapper.js +21 -20
- package/build/healthToolsForm.js +35 -34
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-b7c30232.js → index-0498755d.js} +1 -1
- package/build/{index-9c6c67a0.js → index-061a27be.js} +50 -50
- package/build/{index-c1478597.js → index-109f33e9.js} +2 -2
- package/build/{index-e249d353.js → index-13e12bc2.js} +17 -18
- package/build/{index-a64892ea.js → index-1917594a.js} +3 -3
- package/build/{index-a305bacb.js → index-1b50ccd5.js} +22 -22
- package/build/{index-af554c34.js → index-1bb990de.js} +3 -3
- package/build/{index-98d1b94f.js → index-1c3ee1e7.js} +2 -2
- package/build/{index-ca2eb15b.js → index-2338a36d.js} +1 -1
- package/build/{index-a253dfbe.js → index-29ffb26b.js} +3 -3
- package/build/{index-f79cfba7.js → index-2ce43fea.js} +5 -5
- package/build/{index-52ca120b.js → index-421b33ac.js} +3 -3
- package/build/index-42c88e09.js +700 -0
- package/build/{index-55d2ee6d.js → index-47513cfb.js} +13 -13
- package/build/{index-aefe5328.js → index-4d99dd04.js} +32 -31
- package/build/{index-68c54bc0.js → index-5084b8bb.js} +2 -2
- package/build/{index-e2d62a9b.js → index-555e661f.js} +1 -1
- package/build/{index-97450a1d.js → index-576cbad9.js} +2 -2
- package/build/{index-890cb97a.js → index-5cdedff5.js} +36 -36
- package/build/{index-d5d47950.js → index-63ae9134.js} +2 -2
- package/build/{index-5e887aac.js → index-680c3d0f.js} +31 -8
- package/build/{index-15d7ed1c.js → index-68724fe8.js} +15 -15
- package/build/{index-47102263.js → index-6910ba7d.js} +13 -13
- package/build/{index-d6a6ffd7.js → index-6bba38a3.js} +17 -17
- package/build/{index-a68534e5.js → index-6ede5c69.js} +32 -32
- package/build/{index-41adfb46.js → index-73f4b732.js} +20 -20
- package/build/{index-54d18697.js → index-76dccd64.js} +17 -17
- package/build/{index-393ce268.js → index-77b7fb3e.js} +2 -2
- package/build/{index-a54dcc10.js → index-78f83077.js} +2 -2
- package/build/{index-e6dc6a15.js → index-7950fd07.js} +6 -6
- package/build/{index-365de242.js → index-7c8eb0d4.js} +13 -16
- package/build/index-7ef6f580.js +21 -0
- package/build/{index-6f2bf20c.js → index-80a3f363.js} +12 -12
- package/build/{index-b7ea5712.js → index-815c191b.js} +2 -2
- package/build/{index-e518fb40.js → index-8277b991.js} +1 -1
- package/build/{index-185d43d2.js → index-82f6a124.js} +22 -40
- package/build/{index-3fe3ed9b.js → index-83c0de19.js} +30 -30
- package/build/{index-d1b47679.js → index-975fc897.js} +8 -8
- package/build/{index-ef00b9e3.js → index-9fcafe5a.js} +2 -2
- package/build/{index-cef8de22.js → index-a1726bde.js} +11 -11
- package/build/{index-fc2e43bc.js → index-a4869716.js} +1 -1
- package/build/{index-42c9e774.js → index-a673de5a.js} +2 -2
- package/build/{index-9b13762c.js → index-aa772f92.js} +3 -3
- package/build/{index-fe5f29e3.js → index-aaed7aa9.js} +2 -2
- package/build/{index-d38ba057.js → index-ac2eae75.js} +2 -2
- package/build/{index-834ba1bd.js → index-ac93a75f.js} +4 -4
- package/build/{index-31f6b28e.js → index-b1f7c296.js} +1 -1
- package/build/{index-efb3f749.js → index-b655fed0.js} +41 -41
- package/build/{index-3653d12c.js → index-b6c5a5d0.js} +15 -17
- package/build/{index-ff7e6e0a.js → index-bc98cdca.js} +7 -7
- package/build/{useScreenSize-b975e307.js → index-bd6e0ada.js} +19 -19
- package/build/{index-0316dcea.js → index-bf91f4ec.js} +13 -13
- package/build/{index-19d58e10.js → index-bfbb2819.js} +4 -4
- package/build/{index-90fd8808.js → index-c1afab95.js} +17 -17
- package/build/{index-2bfbd76c.js → index-c753d613.js} +50 -50
- package/build/{index-db23ad45.js → index-c9a9272d.js} +10 -10
- package/build/{index-c7c8e481.js → index-cd2e6f37.js} +13 -13
- package/build/{index-664f149e.js → index-d0811997.js} +64 -64
- package/build/{index-f55867ec.js → index-d7f04646.js} +2 -2
- package/build/{index-6f3b99ef.js → index-dfe59ce0.js} +1 -1
- package/build/{index-22c87e20.js → index-e0e87869.js} +715 -929
- package/build/{index-953af136.js → index-e22c74ab.js} +7 -7
- package/build/{index-1c0f5318.js → index-e699f903.js} +6 -6
- package/build/{index-5b9fcc5c.js → index-ec6faa3f.js} +3 -3
- package/build/{index-25892b93.js → index-ecfa35d8.js} +5 -5
- package/build/{index-ced6eb04.js → index-ed879329.js} +15 -18
- package/build/{index-d269745d.js → index-ede09323.js} +2 -2
- package/build/{index-7addffc0.js → index-fde5462f.js} +13 -16
- package/build/index.css +1 -1
- package/build/index.js +190 -189
- package/build/{labelSorting-f3b0a677.js → labelSorting-8d8b18d5.js} +4 -4
- package/build/lead/components/close.d.ts +1 -1
- package/build/lead/services/index.d.ts +1 -1
- package/build/lead.css +1 -1
- package/build/lead.js +127 -142
- package/build/{logoIcon-297caf72.js → logoIcon-d7753fe6.js} +3 -3
- package/build/mantine.js +44 -43
- package/build/misc.js +26 -25
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +76 -75
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +33 -32
- package/build/navigation.js +49 -48
- package/build/navigationLogoutPopup.js +11 -9
- package/build/navigationProfileButton.js +28 -27
- package/build/onboardingV2.js +54 -53
- package/build/organisms.js +53 -52
- package/build/{post-bea75e44.js → post-f179ce05.js} +2 -2
- package/build/profileNavigation.js +21 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +24 -23
- package/build/shared-8fffd5f5.js +5 -0
- package/build/ssoV2.js +112 -111
- package/build/{store-2a8a93c2.js → store-fda7380f.js} +3 -3
- package/build/subot.js +36 -35
- package/build/surveyOrPremiumBanner.js +36 -35
- package/build/surveyQuestionCard.js +11 -10
- package/build/{surveyThankyouCard-e5599d58.js → surveyThankyouCard-9c0e044a.js} +5 -5
- package/build/text-0463639f.js +204 -0
- package/build/together.js +58 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +32 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -51
- package/build/togetherMoleculesCardAuthor.js +29 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -39
- package/build/togetherOrganisms.js +52 -51
- package/build/togetherRichTextEditor.js +18 -17
- package/build/togetherShareBox.js +17 -17
- package/build/{translationsProvider-b4ad201f.js → translationsProvider-71655eaa.js} +1 -1
- package/build/{treePopoverMenu-85da25d3.js → treePopoverMenu-8cdb52a8.js} +47 -47
- package/build/{types-c1891a51.js → types-86303520.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-716f1cec.js → useCategory-56484bb4.js} +5 -5
- package/build/{useHealthToolCache-bfc65bdb.js → useHealthToolCache-8e177864.js} +1 -1
- package/build/{usePlacesAutocomplete-8298e962.js → usePlacesAutocomplete-c3982c3c.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-21208da8.js → utils-594d7ef0.js} +5 -5
- package/build/{utils-5e6a178d.js → utils-74179bc2.js} +2 -2
- package/build/{utils-ac3acc4a.js → utils-81d92fe1.js} +2 -2
- package/build/{utils-4b3fe0f1.js → utils-c0ae301e.js} +3 -3
- package/build/vaccination.js +35 -34
- package/package.json +2 -2
- package/build/components/mantine/text/index.styled.d.ts +0 -4
- package/build/esm/components/mantine/text/index.styled.d.ts +0 -4
- package/build/esm/other-538b6824.js +0 -103
- package/build/esm/useMantineLocale-1b51a3e8.js +0 -156
- package/build/other-64c2fb07.js +0 -105
- package/build/useMantineLocale-917536ef.js +0 -187
- /package/build/{BMI_BOYS.percentile.monthly-7d21250c.js → BMI_BOYS.percentile.monthly-495d1d6d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-dfcda689.js → BMI_BOYS.percentile.weekly-49b71caa.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-c0c5dfdc.js → BMI_BOYS.percentile.yearly-38a2a668.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-29e8d9e6.js → BMI_BOYS.zscore.monthly-885a4827.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-461b3d49.js → BMI_BOYS.zscore.weekly-49cb68e7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-79d74fc4.js → BMI_BOYS.zscore.yearly-ea806b16.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-4bb2c6bd.js → BMI_GIRLS.percentile.monthly-e5e2fad1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d9e4514d.js → BMI_GIRLS.percentile.weekly-bb8e93d3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f9b4c8a0.js → BMI_GIRLS.percentile.yearly-82fb26e9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-9d87eec8.js → BMI_GIRLS.zscore.monthly-d48b6c42.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-34c696f1.js → BMI_GIRLS.zscore.weekly-206649fc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ebf9bc12.js → BMI_GIRLS.zscore.yearly-99416a26.js} +0 -0
- /package/build/{ChevronDown-28365500.js → ChevronDown-83caaab6.js} +0 -0
- /package/build/{Close-049e73f2.js → Close-4c9514ad.js} +0 -0
- /package/build/{Google-2b9eef5d.js → Google-28fd856c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-47bc7694.js → HEAD CIRCUM_BOYS.percentile.monthly-5adb3549.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4bd94405.js → HEAD CIRCUM_BOYS.percentile.weekly-157f580e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d30568b3.js → HEAD CIRCUM_BOYS.percentile.yearly-a9cb1445.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e1fe2158.js → HEAD CIRCUM_BOYS.zscore.monthly-181c411a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-38febd47.js → HEAD CIRCUM_BOYS.zscore.weekly-658dd4c1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-21977c48.js → HEAD CIRCUM_BOYS.zscore.yearly-50509a6b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6c02465d.js → HEAD CIRCUM_GIRLS.percentile.monthly-0d06927c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e44398b3.js → HEAD CIRCUM_GIRLS.percentile.weekly-78ba4d80.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-90ab5acb.js → HEAD CIRCUM_GIRLS.percentile.yearly-2cdd4aeb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5176bc3f.js → HEAD CIRCUM_GIRLS.zscore.monthly-56a6e6ee.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c570855d.js → HEAD CIRCUM_GIRLS.zscore.weekly-0dcd82f7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-1e404dad.js → HEAD CIRCUM_GIRLS.zscore.yearly-45bd6e82.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-24b680a2.js → HEIGHT_BOYS.percentile.monthly-abdad167.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-b32429c3.js → HEIGHT_BOYS.percentile.weekly-f59e8945.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-8947e64f.js → HEIGHT_BOYS.percentile.yearly-34af777d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8aaf6ddb.js → HEIGHT_BOYS.zscore.monthly-367014fe.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e5e62187.js → HEIGHT_BOYS.zscore.weekly-d0fa5fe0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c2e693fb.js → HEIGHT_BOYS.zscore.yearly-c33b6665.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-02238873.js → HEIGHT_GIRLS.percentile.monthly-80516b96.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1757b11a.js → HEIGHT_GIRLS.percentile.weekly-89e826d6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3dc5572f.js → HEIGHT_GIRLS.percentile.yearly-724e1505.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-d14a0c7b.js → HEIGHT_GIRLS.zscore.monthly-c08c4388.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-14e51e8b.js → HEIGHT_GIRLS.zscore.weekly-7790f63b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0396627d.js → HEIGHT_GIRLS.zscore.yearly-eb11ba58.js} +0 -0
- /package/build/{Locale-b34a7c99.js → Locale-6e42e9a5.js} +0 -0
- /package/build/{Visible-9351d1c0.js → Visible-062209e9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f71b6ce0.js → WEIGHT_BOYS.percentile.monthly-e73f1ec9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0e7f7794.js → WEIGHT_BOYS.percentile.weekly-3b59c4cc.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-dfc9dbbf.js → WEIGHT_BOYS.percentile.yearly-2620ff5d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6838d6ed.js → WEIGHT_BOYS.zscore.monthly-b494fc63.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-3595d0b8.js → WEIGHT_BOYS.zscore.weekly-c6c8197a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-75ace315.js → WEIGHT_BOYS.zscore.yearly-1c1966c5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ffa7f861.js → WEIGHT_GIRLS.percentile.monthly-4f3e9931.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3a255ab9.js → WEIGHT_GIRLS.percentile.weekly-cbf33b05.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d7e20986.js → WEIGHT_GIRLS.percentile.yearly-518c1c83.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e72787c5.js → WEIGHT_GIRLS.zscore.monthly-2ef5dc9f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-7da7bfda.js → WEIGHT_GIRLS.zscore.weekly-5356e760.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a415c19a.js → WEIGHT_GIRLS.zscore.yearly-55533b2e.js} +0 -0
- /package/build/{animation-d70a2e50.js → animation-925ee51e.js} +0 -0
- /package/build/{constants-ae8234f9.js → constants-37687a5a.js} +0 -0
- /package/build/{constants-485f8c07.js → constants-576bd71e.js} +0 -0
- /package/build/{constants-4039401d.js → constants-d14168b8.js} +0 -0
- /package/build/{dataTransform-921f73ed.js → dataTransform-bb3b6e34.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ecb2d4c3.js → BMI_BOYS.percentile.monthly-eea59610.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-e33e5833.js → BMI_BOYS.percentile.weekly-102da987.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-6d9cde8f.js → BMI_BOYS.percentile.yearly-51a28d2a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c4435756.js → BMI_BOYS.zscore.monthly-19d16ed8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-49f479b9.js → BMI_BOYS.zscore.weekly-e62c9829.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c3ea230a.js → BMI_BOYS.zscore.yearly-235919a5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-210b781d.js → BMI_GIRLS.percentile.monthly-6b02681f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ca62028d.js → BMI_GIRLS.percentile.weekly-9f33496e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-94db74c7.js → BMI_GIRLS.percentile.yearly-df5035b7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-3dc26a3b.js → BMI_GIRLS.zscore.monthly-474f0321.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-e3226031.js → BMI_GIRLS.zscore.weekly-e9a8c674.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-dd844256.js → BMI_GIRLS.zscore.yearly-5ad44185.js} +0 -0
- /package/build/esm/{ChevronDown-ffaaac2f.js → ChevronDown-c0d34505.js} +0 -0
- /package/build/esm/{Close-fc68d0c1.js → Close-8ce396d8.js} +0 -0
- /package/build/esm/{Google-0d82aa27.js → Google-5d3147b8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-da9ded28.js → HEAD CIRCUM_BOYS.percentile.monthly-f0802703.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6c700f8b.js → HEAD CIRCUM_BOYS.percentile.weekly-37bef106.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c6b668c8.js → HEAD CIRCUM_BOYS.percentile.yearly-bf51db13.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e7e86ed0.js → HEAD CIRCUM_BOYS.zscore.monthly-d5643fd5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ae0d801e.js → HEAD CIRCUM_BOYS.zscore.weekly-22857002.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-602e5e2c.js → HEAD CIRCUM_BOYS.zscore.yearly-ffc27c31.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-6c64c4b5.js → HEAD CIRCUM_GIRLS.percentile.monthly-e5506fac.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9653f423.js → HEAD CIRCUM_GIRLS.percentile.weekly-a88a1baa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e3c6d4be.js → HEAD CIRCUM_GIRLS.percentile.yearly-e2c1feff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5f241789.js → HEAD CIRCUM_GIRLS.zscore.monthly-9d07604f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4d68c632.js → HEAD CIRCUM_GIRLS.zscore.weekly-094f3cc5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0982b21c.js → HEAD CIRCUM_GIRLS.zscore.yearly-a3531dc6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ffd4e147.js → HEIGHT_BOYS.percentile.monthly-93e7d4e8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-00502777.js → HEIGHT_BOYS.percentile.weekly-745d56cb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-6cf09f13.js → HEIGHT_BOYS.percentile.yearly-a3f16b75.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-90c361a3.js → HEIGHT_BOYS.zscore.monthly-45878ddb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-6e70dce7.js → HEIGHT_BOYS.zscore.weekly-7fdcac6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-612efb70.js → HEIGHT_BOYS.zscore.yearly-fcbc3730.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-abdd4b53.js → HEIGHT_GIRLS.percentile.monthly-0d14928f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7199c404.js → HEIGHT_GIRLS.percentile.weekly-fa87dcc1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-07c95df1.js → HEIGHT_GIRLS.percentile.yearly-cf52a12d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-39d20ca7.js → HEIGHT_GIRLS.zscore.monthly-84db88c4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b0f1503b.js → HEIGHT_GIRLS.zscore.weekly-581aa757.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-70e067fb.js → HEIGHT_GIRLS.zscore.yearly-77e973ae.js} +0 -0
- /package/build/esm/{Locale-37173809.js → Locale-6d5b090d.js} +0 -0
- /package/build/esm/{Visible-4441d797.js → Visible-6e7f184f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a5fca38a.js → WEIGHT_BOYS.percentile.monthly-aaf2c4b9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2a6b248d.js → WEIGHT_BOYS.percentile.weekly-fa672374.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1e1f643d.js → WEIGHT_BOYS.percentile.yearly-b4e9f67a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9eff2c96.js → WEIGHT_BOYS.zscore.monthly-a0b87fa5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-38176505.js → WEIGHT_BOYS.zscore.weekly-9b597599.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b3939f3c.js → WEIGHT_BOYS.zscore.yearly-74690774.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f56426cb.js → WEIGHT_GIRLS.percentile.monthly-c734d14a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-283dc5a1.js → WEIGHT_GIRLS.percentile.weekly-a2cf36ce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f532ccdb.js → WEIGHT_GIRLS.percentile.yearly-57ab406f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-4cc525a0.js → WEIGHT_GIRLS.zscore.monthly-37d805a9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2d694ba4.js → WEIGHT_GIRLS.zscore.weekly-88235741.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e4a77bce.js → WEIGHT_GIRLS.zscore.yearly-ad305588.js} +0 -0
- /package/build/esm/{animation-58883a14.js → animation-2ee98a7e.js} +0 -0
- /package/build/esm/{constants-ba789c89.js → constants-2e739cf5.js} +0 -0
- /package/build/esm/{constants-456642e1.js → constants-3aea8884.js} +0 -0
- /package/build/esm/{constants-3c116aeb.js → constants-a975472e.js} +0 -0
- /package/build/esm/{dataTransform-a145d17b.js → dataTransform-87ef1e83.js} +0 -0
- /package/build/esm/{index-332476ff.js → index-07a8ac7c.js} +0 -0
- /package/build/esm/{index-12a75e5f.js → index-4675ec1b.js} +0 -0
- /package/build/esm/{index-16440e37.js → index-5c16756e.js} +0 -0
- /package/build/esm/{index-5eeb9c57.js → index-68f12612.js} +0 -0
- /package/build/esm/{index-3915fcea.js → index-77fbfcaa.js} +0 -0
- /package/build/esm/{index-f55e27e1.js → index-7cfcf7f8.js} +0 -0
- /package/build/esm/{index-988d42cc.js → index-acb6b797.js} +0 -0
- /package/build/esm/{index-bc27345c.js → index-af134eed.js} +0 -0
- /package/build/esm/{index.styles-500c688b.js → index.styles-189956a8.js} +0 -0
- /package/build/esm/{localizeNumberFormat-04cf577d.js → localizeNumberFormat-4b7b1ad3.js} +0 -0
- /package/build/esm/{normalizeLink-00bd72eb.js → normalizeLink-1e98b80f.js} +0 -0
- /package/build/esm/{number-19cd0e23.js → number-b1add917.js} +0 -0
- /package/build/esm/{paths-c83fe00b.js → paths-cb2bba84.js} +0 -0
- /package/build/esm/{translationsContext-642b47c6.js → translationsContext-28d624ca.js} +0 -0
- /package/build/esm/{tslib.es6-110d8bc2.js → tslib.es6-61640d6d.js} +0 -0
- /package/build/esm/{types-f2feb6d1.js → types-fa45c03c.js} +0 -0
- /package/build/esm/{useIsInit-2b5ac834.js → useIsInit-1e882037.js} +0 -0
- /package/build/esm/{useOutsideClick-918fa4b7.js → useOutsideClick-e047f730.js} +0 -0
- /package/build/esm/{useScrollbarSize-71ca04e9.js → useScrollbarSize-9e601c57.js} +0 -0
- /package/build/esm/{useUniqueId-19b4f31f.js → useUniqueId-a02de55f.js} +0 -0
- /package/build/esm/{utils-cfd7d31f.js → utils-a0b67a4b.js} +0 -0
- /package/build/{index-d06bd4be.js → index-06b86230.js} +0 -0
- /package/build/{index-99ac70a1.js → index-08477066.js} +0 -0
- /package/build/{index-4a6ecd04.js → index-5e115812.js} +0 -0
- /package/build/{index-753aeb3c.js → index-7374a860.js} +0 -0
- /package/build/{index-948e5a74.js → index-8058c379.js} +0 -0
- /package/build/{index-852cea79.js → index-9af9ee66.js} +0 -0
- /package/build/{index-7e2058c3.js → index-b1225d2b.js} +0 -0
- /package/build/{index-90164501.js → index-f5a79add.js} +0 -0
- /package/build/{index.styles-a0a0d3ce.js → index.styles-f592a7d3.js} +0 -0
- /package/build/{localizeNumberFormat-2f0e955a.js → localizeNumberFormat-15c8a92d.js} +0 -0
- /package/build/{normalizeLink-1415f8ea.js → normalizeLink-02f5d85c.js} +0 -0
- /package/build/{number-c822c5b1.js → number-4e901704.js} +0 -0
- /package/build/{paths-992a9d4b.js → paths-ea25becd.js} +0 -0
- /package/build/{translationsContext-62e3146d.js → translationsContext-669881fd.js} +0 -0
- /package/build/{tslib.es6-6b040188.js → tslib.es6-016641ae.js} +0 -0
- /package/build/{types-c25b666d.js → types-2e4b62ef.js} +0 -0
- /package/build/{useIsInit-603d1337.js → useIsInit-dafa42f4.js} +0 -0
- /package/build/{useOutsideClick-903e364b.js → useOutsideClick-308faf27.js} +0 -0
- /package/build/{useScrollbarSize-a0065497.js → useScrollbarSize-bafad55c.js} +0 -0
- /package/build/{useUniqueId-dc6fe3ae.js → useUniqueId-d59504fc.js} +0 -0
- /package/build/{utils-f79c16ef.js → utils-d227563f.js} +0 -0
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-016641ae.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var other = require('@hhgtech/icons/other');
|
|
6
6
|
var core = require('@mantine/core');
|
|
7
7
|
var hooks = require('@mantine/hooks');
|
|
8
|
-
var index
|
|
9
|
-
var
|
|
8
|
+
var index = require('./index-b1225d2b.js');
|
|
9
|
+
var index$2 = require('./index-bd6e0ada.js');
|
|
10
10
|
var styled = require('@emotion/styled');
|
|
11
11
|
var carousel = require('@mantine/carousel');
|
|
12
|
-
var index$
|
|
13
|
-
require('./index-
|
|
12
|
+
var index$1 = require('./index-680c3d0f.js');
|
|
13
|
+
var index$3 = require('./index-42c88e09.js');
|
|
14
14
|
var miscTheme = require('./miscTheme.js');
|
|
15
|
-
var
|
|
16
|
-
var useMantineLocale = require('./useMantineLocale-917536ef.js');
|
|
17
|
-
var index = require('./index-b7ea5712.js');
|
|
18
|
-
var index$1 = require('./index-185d43d2.js');
|
|
19
|
-
var Locale = require('./Locale-b34a7c99.js');
|
|
15
|
+
var text = require('./text-0463639f.js');
|
|
20
16
|
var cn = require('classnames');
|
|
21
|
-
var useUniqueId = require('./useUniqueId-
|
|
17
|
+
var useUniqueId = require('./useUniqueId-d59504fc.js');
|
|
22
18
|
var constantsSite = require('./constantsSite.js');
|
|
23
19
|
var core$1 = require('@hhgtech/icons/core');
|
|
20
|
+
var index$4 = require('./index-82f6a124.js');
|
|
24
21
|
|
|
25
22
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
26
23
|
|
|
@@ -46,935 +43,341 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
46
43
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
47
44
|
var cn__default = /*#__PURE__*/_interopDefault(cn);
|
|
48
45
|
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
var _a;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
display: 'inline-flex',
|
|
65
|
-
gap: 4,
|
|
66
|
-
marginBottom: '0.25rem',
|
|
67
|
-
fontWeight: 600,
|
|
68
|
-
fontSize: '14px',
|
|
69
|
-
lineHeight: '22px',
|
|
70
|
-
color: miscTheme.theme.colors.gray600,
|
|
71
|
-
},
|
|
72
|
-
description: {
|
|
73
|
-
fontWeight: 400,
|
|
74
|
-
fontSize: '12px',
|
|
75
|
-
lineHeight: '18px',
|
|
76
|
-
color: miscTheme.theme.colors.gray600,
|
|
77
|
-
marginBottom: '0.25rem',
|
|
78
|
-
},
|
|
79
|
-
error: {
|
|
80
|
-
marginTop: '0.25rem',
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
NumberInput: {
|
|
85
|
-
defaultProps: {
|
|
86
|
-
decimalSeparator: (_a = index.ISO_FORMAT[locale]) === null || _a === void 0 ? void 0 : _a.separator,
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
Input: {
|
|
90
|
-
styles: (_theme, _, { size }) => ({
|
|
91
|
-
input: {
|
|
92
|
-
border: `1px solid ${miscTheme.theme.colors.gray200}`,
|
|
93
|
-
transition: `all ${index$1.ANIMATION_DURATION} ease-in-out`,
|
|
94
|
-
['&:not(.mantine-Textarea-input)']: Object.assign({}, (() => {
|
|
95
|
-
switch (size) {
|
|
96
|
-
case 'lg':
|
|
97
|
-
return {
|
|
98
|
-
height: 48,
|
|
99
|
-
fontSize: 16,
|
|
100
|
-
minHeight: 'unset',
|
|
101
|
-
lineHeight: '24px',
|
|
102
|
-
};
|
|
103
|
-
case 'md':
|
|
104
|
-
return {
|
|
105
|
-
height: 40,
|
|
106
|
-
fontSize: 14,
|
|
107
|
-
lineHeight: '22px',
|
|
108
|
-
minHeight: 'unset',
|
|
109
|
-
};
|
|
110
|
-
case 'sm':
|
|
111
|
-
return {
|
|
112
|
-
height: 32,
|
|
113
|
-
fontSize: 14,
|
|
114
|
-
lineHeight: '22px',
|
|
115
|
-
minHeight: 'unset',
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
})()),
|
|
119
|
-
'&:hover': {
|
|
120
|
-
border: `1px solid ${_theme.primaryColor}`,
|
|
121
|
-
// boxShadow: `0 0 2px 2px ${theme.colors.primary200}`,
|
|
122
|
-
},
|
|
123
|
-
'&:focus': {
|
|
124
|
-
boxShadow: `0px 0px 0px 2px ${_theme.colors[_theme.primaryColor][2]}`,
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
'&[data-invalid="true"]': {
|
|
128
|
-
border: `1px solid ${miscTheme.theme.colors.red600}`,
|
|
129
|
-
color: '#000',
|
|
130
|
-
},
|
|
131
|
-
}),
|
|
132
|
-
},
|
|
46
|
+
const Select = React.forwardRef((_a, ref) => {
|
|
47
|
+
var { keepSearch = false } = _a, props = tslib_es6.__rest(_a, ["keepSearch"]);
|
|
48
|
+
if (keepSearch) {
|
|
49
|
+
return (React__namespace["default"].createElement(_AutoComplete, Object.assign({}, props, { ref: ref })));
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
return React__namespace["default"].createElement(_Select, Object.assign({}, props, { ref: ref }));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
const _AutoComplete = React.forwardRef((_a, ref) => {
|
|
56
|
+
var { value, defaultValue, onChange, clearable } = _a, props = tslib_es6.__rest(_a, ["value", "defaultValue", "onChange", "clearable"]);
|
|
57
|
+
const [_value, handleChange] = hooks.useUncontrolled({
|
|
58
|
+
value,
|
|
59
|
+
defaultValue,
|
|
60
|
+
onChange,
|
|
133
61
|
});
|
|
134
|
-
|
|
62
|
+
const onClear = () => {
|
|
63
|
+
handleChange('');
|
|
64
|
+
};
|
|
65
|
+
return (React__namespace["default"].createElement(core.Autocomplete, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(core.Image, { src: index.CommonGAssets.getAssetPath('chevron-down.svg'), fit: "none" }), size: "md", maxDropdownHeight: 300, onChange: (e) => handleChange(e), value: _value }, props, (clearable && (_value === null || _value === void 0 ? void 0 : _value.length) > 0
|
|
66
|
+
? {
|
|
67
|
+
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
68
|
+
React__namespace["default"].createElement(_IconSelect, null))),
|
|
69
|
+
}
|
|
70
|
+
: {}))));
|
|
71
|
+
});
|
|
72
|
+
const _Select = React.forwardRef((_a, ref) => {
|
|
73
|
+
var { searchValue, onSearchChange } = _a, props = tslib_es6.__rest(_a, ["searchValue", "onSearchChange"]);
|
|
74
|
+
const [_searchValue, handleSearchChange] = hooks.useUncontrolled({
|
|
75
|
+
defaultValue: '',
|
|
76
|
+
value: searchValue,
|
|
77
|
+
onChange: onSearchChange,
|
|
78
|
+
});
|
|
79
|
+
const onClear = () => {
|
|
80
|
+
handleSearchChange('');
|
|
81
|
+
};
|
|
82
|
+
return (React__namespace["default"].createElement(core.Select, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(other.ArrowDown, { size: 18 }), rightSectionProps: { style: { pointerEvents: 'none' } }, size: "md", maxDropdownHeight: 300, onSearchChange: (e) => handleSearchChange(e), searchValue: _searchValue }, props, (props.clearable && (_searchValue === null || _searchValue === void 0 ? void 0 : _searchValue.length) > 0
|
|
83
|
+
? {
|
|
84
|
+
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
85
|
+
React__namespace["default"].createElement(_IconSelect, null))),
|
|
86
|
+
}
|
|
87
|
+
: {}))));
|
|
88
|
+
});
|
|
89
|
+
const _IconSelect = () => (React__namespace["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
90
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z", fill: "#8C8C8C" })));
|
|
135
91
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
92
|
+
class ErrorBoundary extends React.Component {
|
|
93
|
+
constructor() {
|
|
94
|
+
super(...arguments);
|
|
95
|
+
this.state = {
|
|
96
|
+
hasError: false,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
static getDerivedStateFromError() {
|
|
100
|
+
// Update state so the next render will show the fallback UI.
|
|
101
|
+
return { hasError: true };
|
|
102
|
+
}
|
|
103
|
+
componentDidCatch(error, errorInfo) {
|
|
104
|
+
console.error('Uncaught error:', error, errorInfo);
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
if (this.state.hasError) {
|
|
108
|
+
return this.props.fallback || React__namespace["default"].createElement(React__namespace["default"].Fragment, null);
|
|
109
|
+
}
|
|
110
|
+
return this.props.children;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
152
113
|
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
'#2743ad',
|
|
165
|
-
],
|
|
166
|
-
mb: [
|
|
167
|
-
'#FFE9F1',
|
|
168
|
-
'#F8CCDC',
|
|
169
|
-
'#F5B4CB',
|
|
170
|
-
'#F29CBA',
|
|
171
|
-
'#EE84AA',
|
|
172
|
-
'#EB6B99',
|
|
173
|
-
'#E85388',
|
|
174
|
-
'#D34C7C',
|
|
175
|
-
'#BE446F',
|
|
176
|
-
'#A93D63',
|
|
177
|
-
],
|
|
178
|
-
blue: [
|
|
179
|
-
'#e3f2ff',
|
|
180
|
-
'#bcdeff',
|
|
181
|
-
'#91caff',
|
|
182
|
-
'#65b5ff',
|
|
183
|
-
'#45a4ff',
|
|
184
|
-
'#2b94ff',
|
|
185
|
-
'#2d87f3',
|
|
186
|
-
'#2c74df',
|
|
187
|
-
'#2b62cd',
|
|
188
|
-
'#2743ad',
|
|
189
|
-
],
|
|
190
|
-
gray: [
|
|
191
|
-
'#fafafa',
|
|
192
|
-
'#f2f2f2',
|
|
193
|
-
'#d9d9d9',
|
|
194
|
-
'#bfbfbf',
|
|
195
|
-
'#8c8c8c',
|
|
196
|
-
'#737373',
|
|
197
|
-
'#595959',
|
|
198
|
-
'#404040',
|
|
199
|
-
'#262626',
|
|
200
|
-
'#1a1a1a',
|
|
201
|
-
],
|
|
202
|
-
delftGray: [
|
|
203
|
-
'#F3F3F3',
|
|
204
|
-
'#EAEAEC',
|
|
205
|
-
'#D9DAE2',
|
|
206
|
-
'#B9BAC8',
|
|
207
|
-
'#9898A9',
|
|
208
|
-
'#7C7C8F',
|
|
209
|
-
'#5A5A72',
|
|
210
|
-
'#3E3F58',
|
|
211
|
-
'#202135',
|
|
212
|
-
'#0C0C12',
|
|
213
|
-
],
|
|
214
|
-
neutral: [
|
|
215
|
-
'#f7f9fc',
|
|
216
|
-
'#e4e8ec',
|
|
217
|
-
'#d2d6dc',
|
|
218
|
-
'#bfc5cc',
|
|
219
|
-
'#adb3bc',
|
|
220
|
-
'#9aa2ac',
|
|
221
|
-
'#87909c',
|
|
222
|
-
'#757f8c',
|
|
223
|
-
'#626d7c',
|
|
224
|
-
'#545E6C',
|
|
225
|
-
],
|
|
226
|
-
green: [
|
|
227
|
-
'#e0f8ee',
|
|
228
|
-
'#b3eed5',
|
|
229
|
-
'#7ce2b9',
|
|
230
|
-
'#2ed69e',
|
|
231
|
-
'#00CB8A',
|
|
232
|
-
'#00C076',
|
|
233
|
-
'#00B16A',
|
|
234
|
-
'#009E5C',
|
|
235
|
-
'#008C50',
|
|
236
|
-
'#006C39',
|
|
237
|
-
],
|
|
238
|
-
pink: [
|
|
239
|
-
'#fff1f6',
|
|
240
|
-
'#ffdce9',
|
|
241
|
-
'#fec7dc',
|
|
242
|
-
'#feb2cf',
|
|
243
|
-
'#fe9dc2',
|
|
244
|
-
'#fd87b4',
|
|
245
|
-
'#fd72a7',
|
|
246
|
-
'#fc5d9a',
|
|
247
|
-
'#fc488d',
|
|
248
|
-
'#e92d74',
|
|
249
|
-
],
|
|
250
|
-
violet: [
|
|
251
|
-
'#F5EDFF',
|
|
252
|
-
'#E7D2F7',
|
|
253
|
-
'#D8B7F0',
|
|
254
|
-
'#CA9CE8',
|
|
255
|
-
'#BB82E1',
|
|
256
|
-
'#AD67D9',
|
|
257
|
-
'#9E4CD1',
|
|
258
|
-
'#9031CA',
|
|
259
|
-
'#8116C2',
|
|
260
|
-
'#63059D',
|
|
261
|
-
],
|
|
262
|
-
yellow: [
|
|
263
|
-
'#fff8e2',
|
|
264
|
-
'#ffecb6',
|
|
265
|
-
'#ffe187',
|
|
266
|
-
'#ffd658',
|
|
267
|
-
'#ffcb37',
|
|
268
|
-
'#ffc326',
|
|
269
|
-
'#ffb521',
|
|
270
|
-
'#fea21e',
|
|
271
|
-
'#fe921d',
|
|
272
|
-
'#fc7419',
|
|
273
|
-
],
|
|
274
|
-
teal: [
|
|
275
|
-
'#e0f7fc',
|
|
276
|
-
'#b1ebf8',
|
|
277
|
-
'#7ddff3',
|
|
278
|
-
'#44d1ec',
|
|
279
|
-
'#00c7e6',
|
|
280
|
-
'#00bee0',
|
|
281
|
-
'#00aecd',
|
|
282
|
-
'#0099b2',
|
|
283
|
-
'#008599',
|
|
284
|
-
'#00626c',
|
|
285
|
-
],
|
|
286
|
-
indigol: [
|
|
287
|
-
'#CEDDF0',
|
|
288
|
-
'#ACC5E6',
|
|
289
|
-
'#95B3DA',
|
|
290
|
-
'#85A6CF',
|
|
291
|
-
'#6D91BE',
|
|
292
|
-
'#5F85B5',
|
|
293
|
-
'#4C77AC',
|
|
294
|
-
'#35639C',
|
|
295
|
-
'#284A75',
|
|
296
|
-
'#1B3250',
|
|
297
|
-
],
|
|
298
|
-
red: [
|
|
299
|
-
'#fae9e8',
|
|
300
|
-
'#feccbf',
|
|
301
|
-
'#FEAA96',
|
|
302
|
-
'#f44d2c',
|
|
303
|
-
'#ff6f4d',
|
|
304
|
-
'#ff5331',
|
|
305
|
-
'#f44d2c',
|
|
306
|
-
'#e64728',
|
|
307
|
-
'#d84023',
|
|
308
|
-
'#bf331b',
|
|
309
|
-
],
|
|
310
|
-
redViolet: [
|
|
311
|
-
'#F3EAEB',
|
|
312
|
-
'#E8D5D7',
|
|
313
|
-
'#DDC1C4',
|
|
314
|
-
'#D1ACB0',
|
|
315
|
-
'#C5979C',
|
|
316
|
-
'#BA8288',
|
|
317
|
-
'#AF6D74',
|
|
318
|
-
'#A35961',
|
|
319
|
-
'#97444D',
|
|
320
|
-
'#8C2F39',
|
|
321
|
-
],
|
|
114
|
+
const CarouselWrapper$1 = (_a) => {
|
|
115
|
+
var { slidesToShow = 1, children } = _a, props = tslib_es6.__rest(_a, ["slidesToShow", "children"]);
|
|
116
|
+
const length = Array.isArray(children) ? children.length : 1;
|
|
117
|
+
if (!length)
|
|
118
|
+
return null;
|
|
119
|
+
return (React__namespace["default"].createElement(ErrorBoundary, null,
|
|
120
|
+
React__namespace["default"].createElement(carousel.Carousel
|
|
121
|
+
// get 2 precision number
|
|
122
|
+
, Object.assign({
|
|
123
|
+
// get 2 precision number
|
|
124
|
+
slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
|
|
322
125
|
};
|
|
323
|
-
const
|
|
126
|
+
const Carousel = CarouselWrapper$1;
|
|
127
|
+
Carousel.Slide = carousel.Carousel.Slide;
|
|
128
|
+
|
|
129
|
+
const StyledCarousel = styled__default["default"](Carousel) `
|
|
130
|
+
cursor: grab;
|
|
131
|
+
width: 100%;
|
|
132
|
+
.mantine-Carousel-control {
|
|
133
|
+
background: rgb(255, 255, 255);
|
|
134
|
+
opacity: 1;
|
|
135
|
+
border: none;
|
|
136
|
+
border-radius: 0;
|
|
137
|
+
box-shadow: none;
|
|
138
|
+
&[data-inactive] {
|
|
139
|
+
opacity: 0;
|
|
140
|
+
cursor: default;
|
|
141
|
+
}
|
|
142
|
+
&:first-child {
|
|
143
|
+
padding-right: 24px;
|
|
144
|
+
background: linear-gradient(
|
|
145
|
+
90deg,
|
|
146
|
+
rgba(255, 255, 255, 1) 0%,
|
|
147
|
+
rgba(255, 255, 255, 1) 50%,
|
|
148
|
+
rgba(255, 255, 255, 0) 100%
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
&:last-child {
|
|
152
|
+
padding-left: 24px;
|
|
153
|
+
background: linear-gradient(
|
|
154
|
+
270deg,
|
|
155
|
+
rgba(255, 255, 255, 1) 0%,
|
|
156
|
+
rgba(255, 255, 255, 1) 50%,
|
|
157
|
+
rgba(255, 255, 255, 0) 100%
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.mantine-Carousel-container {
|
|
163
|
+
align-items: center;
|
|
164
|
+
}
|
|
165
|
+
`;
|
|
166
|
+
|
|
167
|
+
var useStyles$2 = core.createStyles((_theme, _params) => {
|
|
324
168
|
return {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
fontFamily: (locale === Locale.LOCALE.Cambodia
|
|
331
|
-
? 'Battambang'
|
|
332
|
-
: locale === Locale.LOCALE.Thailand
|
|
333
|
-
? 'Noto Sans Thai'
|
|
334
|
-
: 'Inter') +
|
|
335
|
-
`, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif`,
|
|
336
|
-
breakpoints: {
|
|
337
|
-
xs: core.em(utils.Breakpoints.BREAK_POINT_SMALL_MOBILE),
|
|
338
|
-
sm: core.em(utils.Breakpoints.BREAK_POINT_MOBILE),
|
|
339
|
-
md: core.em(utils.Breakpoints.BREAK_POINT_TABLET),
|
|
340
|
-
lg: core.em(utils.Breakpoints.BREAK_POINT_PC),
|
|
341
|
-
xl: core.em(utils.Breakpoints.BREAK_POINT_LGPC),
|
|
342
|
-
},
|
|
343
|
-
components: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, GlobalInputStyle(locale)), getGlobalRadioStyle), GlobalButtonStyle), useMantineLocale.GlobalHeadingStyle), useMantineLocale.GlobalContainerStyle),
|
|
344
|
-
other: {
|
|
345
|
-
template,
|
|
346
|
-
defaultImage: index$2.CommonGAssets.getAssetPath(template === 'mb' ? 'default-image-mb.jpg' : 'default-image.jpg'),
|
|
169
|
+
root: {
|
|
170
|
+
color: _params.color ||
|
|
171
|
+
(_theme.primaryColor === 'hb'
|
|
172
|
+
? _theme.colors.hb[6]
|
|
173
|
+
: _theme.fn.primaryColor()),
|
|
347
174
|
},
|
|
348
175
|
};
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(useScreenSize.ImageWrap, Object.assign({ alt: "round cambodia flag", src: index$2.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
352
|
-
const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(useScreenSize.ImageWrap, Object.assign({ alt: "square cambodia flag", src: index$2.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
176
|
+
});
|
|
353
177
|
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
React__namespace["default"].createElement("path", { d: "M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z", fill: "#3F51B5" }),
|
|
360
|
-
React__namespace["default"].createElement("path", { d: "M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z", fill: "white" }),
|
|
361
|
-
React__namespace["default"].createElement("path", { d: "M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z", fill: "#3F51B5" }),
|
|
362
|
-
React__namespace["default"].createElement("path", { d: "M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z", fill: "#3F51B5" }),
|
|
363
|
-
React__namespace["default"].createElement("path", { d: "M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z", fill: "white" }),
|
|
364
|
-
React__namespace["default"].createElement("path", { d: "M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z", fill: "white" }),
|
|
365
|
-
React__namespace["default"].createElement("path", { d: "M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z", fill: "white" }),
|
|
366
|
-
React__namespace["default"].createElement("path", { d: "M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z", fill: "white" }),
|
|
367
|
-
React__namespace["default"].createElement("path", { d: "M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z", fill: "white" }),
|
|
368
|
-
React__namespace["default"].createElement("path", { d: "M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z", fill: "white" }),
|
|
369
|
-
React__namespace["default"].createElement("path", { d: "M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z", fill: "white" }),
|
|
370
|
-
React__namespace["default"].createElement("path", { d: "M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z", fill: "white" }),
|
|
371
|
-
React__namespace["default"].createElement("path", { d: "M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z", fill: "white" }),
|
|
372
|
-
React__namespace["default"].createElement("path", { d: "M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z", fill: "white" }),
|
|
373
|
-
React__namespace["default"].createElement("path", { d: "M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z", fill: "white" }),
|
|
374
|
-
React__namespace["default"].createElement("path", { d: "M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z", fill: "#E53935" }),
|
|
375
|
-
React__namespace["default"].createElement("path", { d: "M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z", fill: "#E53935" }),
|
|
376
|
-
React__namespace["default"].createElement("path", { d: "M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z", fill: "white" }),
|
|
377
|
-
React__namespace["default"].createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
|
|
378
|
-
React__namespace["default"].createElement("path", { d: "M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z", fill: "white" }),
|
|
379
|
-
React__namespace["default"].createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
|
|
380
|
-
React__namespace["default"].createElement("path", { d: "M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z", fill: "#E53935" }),
|
|
381
|
-
React__namespace["default"].createElement("path", { d: "M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z", fill: "#E53935" }),
|
|
382
|
-
React__namespace["default"].createElement("path", { d: "M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z", fill: "#E53935" }),
|
|
383
|
-
React__namespace["default"].createElement("path", { d: "M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z", fill: "#E53935" }),
|
|
384
|
-
React__namespace["default"].createElement("path", { d: "M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z", fill: "#E53935" }))));
|
|
385
|
-
const EnglishSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
|
|
386
|
-
React__namespace["default"].createElement("g", null,
|
|
387
|
-
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
|
|
388
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z", fill: "#3F51B5" })),
|
|
389
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
|
|
390
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
|
|
391
|
-
React__namespace["default"].createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
|
|
392
|
-
React__namespace["default"].createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
|
|
393
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
|
|
394
|
-
React__namespace["default"].createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
|
|
395
|
-
React__namespace["default"].createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
|
|
396
|
-
React__namespace["default"].createElement("path", { d: "M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z", fill: "#E53935" }),
|
|
397
|
-
React__namespace["default"].createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
178
|
+
const Anchor = (_a) => {
|
|
179
|
+
var { color, styles, className } = _a, rest = tslib_es6.__rest(_a, ["color", "styles", "className"]);
|
|
180
|
+
const { classes, cx } = useStyles$2({ color }, { name: 'Anchor', styles });
|
|
181
|
+
return React__namespace["default"].createElement(index$1.Text, Object.assign({ as: "a", className: cx(classes.root, className) }, rest));
|
|
182
|
+
};
|
|
398
183
|
|
|
399
|
-
const
|
|
400
|
-
|
|
184
|
+
const BreadcrumbItem = (_a) => {
|
|
185
|
+
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
186
|
+
return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
187
|
+
};
|
|
401
188
|
|
|
402
|
-
const
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
React__namespace["default"].createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
|
|
411
|
-
};
|
|
412
|
-
const IndonesiaSquareIcon = (_a) => {
|
|
413
|
-
var rest = tslib_es6.__rest(_a, []);
|
|
414
|
-
const clipPathId = useUniqueId.useUniqueId();
|
|
415
|
-
return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
|
|
416
|
-
React__namespace["default"].createElement("g", { clipPath: `url(#${clipPathId})` },
|
|
417
|
-
React__namespace["default"].createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
|
|
418
|
-
React__namespace["default"].createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
|
|
419
|
-
React__namespace["default"].createElement("defs", null,
|
|
420
|
-
React__namespace["default"].createElement("clipPath", { id: clipPathId },
|
|
421
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
|
|
189
|
+
const AspectRatio = (props) => {
|
|
190
|
+
return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
|
|
191
|
+
borderRadius: 4,
|
|
192
|
+
overflow: 'hidden',
|
|
193
|
+
'> img': {
|
|
194
|
+
objectFit: 'contain',
|
|
195
|
+
},
|
|
196
|
+
} }, props)));
|
|
422
197
|
};
|
|
423
198
|
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
React__namespace["default"].createElement("
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
199
|
+
const _Breadcrumbs = (_a) => {
|
|
200
|
+
var _b;
|
|
201
|
+
var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = tslib_es6.__rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
|
|
202
|
+
const theme = core.useMantineTheme();
|
|
203
|
+
const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
|
|
204
|
+
const [embla, setEmbla] = React.useState(null);
|
|
205
|
+
const { isMobile } = index$2.useScreenSize();
|
|
206
|
+
const [, setShouldAllowClick] = React.useState(true);
|
|
207
|
+
const handleScroll = React.useCallback(() => {
|
|
208
|
+
setShouldAllowClick(false);
|
|
209
|
+
}, []);
|
|
210
|
+
const handlePointerUp = React.useCallback(() => {
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
setShouldAllowClick(true);
|
|
213
|
+
}, 1000);
|
|
214
|
+
}, []);
|
|
215
|
+
React.useEffect(() => {
|
|
216
|
+
if (embla) {
|
|
217
|
+
embla.on('scroll', handleScroll);
|
|
218
|
+
embla.on('pointerUp', handlePointerUp);
|
|
219
|
+
}
|
|
220
|
+
return () => {
|
|
221
|
+
if (embla) {
|
|
222
|
+
embla.off('scroll', handleScroll);
|
|
223
|
+
embla.on('pointerUp', handlePointerUp);
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
}, [embla, handleScroll, handlePointerUp]);
|
|
227
|
+
return (React__namespace["default"].createElement(StyledCarousel, Object.assign({ align: "center", slideGap: "xs", dragFree: true, draggable: isMobile, slideSize: "0", getEmblaApi: setEmbla, controlsOffset: -52, previousControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
228
|
+
React__namespace["default"].createElement("path", { d: "M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z", fill: "#595959" })), nextControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
229
|
+
React__namespace["default"].createElement("path", { d: "M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z", fill: "#595959" })) }, rest),
|
|
230
|
+
showHomeIcon && (React__namespace["default"].createElement(Carousel.Slide, { style: { borderRight: `1px solid ${index$3.themeColors.neutral[1]}` } },
|
|
231
|
+
React__namespace["default"].createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
|
|
232
|
+
React__namespace["default"].createElement(core.Box, { sx: Object.assign({}, (!isMarryBaby && {
|
|
233
|
+
borderRadius: '50%',
|
|
234
|
+
display: 'flex',
|
|
235
|
+
justifyContent: 'center',
|
|
236
|
+
alignItems: 'center',
|
|
237
|
+
})), bg: !isMarryBaby && index$3.themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
|
|
238
|
+
React__namespace["default"].createElement(AspectRatio, { ratio: 1, w: 18 }, isMarryBaby ? (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
239
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z", fill: "#3E3F58" }),
|
|
240
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z", fill: "#3E3F58" }))) : (React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
241
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z", fill: "#595959" })))))))),
|
|
242
|
+
React__namespace["default"].createElement(Carousel.Slide, null),
|
|
243
|
+
React__namespace["default"].createElement(Carousel.Slide, null,
|
|
244
|
+
React__namespace["default"].createElement(core.Breadcrumbs, { styles: {
|
|
245
|
+
separator: {
|
|
246
|
+
marginInline: 4,
|
|
247
|
+
},
|
|
248
|
+
}, separator: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
249
|
+
React__namespace["default"].createElement("path", { d: "M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z", fill: "#8C8C8C" })) }, children))));
|
|
250
|
+
};
|
|
251
|
+
const Breadcrumbs = _Breadcrumbs;
|
|
252
|
+
Breadcrumbs.Item = BreadcrumbItem;
|
|
459
253
|
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z", fill: "white" }),
|
|
469
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z", fill: "white" }),
|
|
470
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z", fill: "white" }),
|
|
471
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z", fill: "white" }))));
|
|
472
|
-
const MyanmarSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
473
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
|
|
474
|
-
React__namespace["default"].createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
|
|
475
|
-
React__namespace["default"].createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
|
|
476
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
|
|
477
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z", fill: "white" }),
|
|
478
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z", fill: "white" }),
|
|
479
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
480
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
254
|
+
const StyledTextArea = styled__default["default"](core.Textarea) `
|
|
255
|
+
.mantine-Textarea-input {
|
|
256
|
+
padding: 12px 16px;
|
|
257
|
+
background: #ffffff;
|
|
258
|
+
border: 1px solid ${miscTheme.theme.colors.gray200};
|
|
259
|
+
border-radius: 4px;
|
|
260
|
+
}
|
|
261
|
+
`;
|
|
481
262
|
|
|
482
|
-
const
|
|
483
|
-
|
|
263
|
+
const StyledAccordion = styled__default["default"](core.Accordion) `
|
|
264
|
+
.mantine-Accordion-label {
|
|
265
|
+
padding: 0;
|
|
266
|
+
}
|
|
267
|
+
.mantine-Accordion-control {
|
|
268
|
+
&:hover {
|
|
269
|
+
background-color: transparent;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
.mantine-Accordion-item {
|
|
273
|
+
.mantine-Accordion-chevron {
|
|
274
|
+
> div {
|
|
275
|
+
background-repeat: no-repeat;
|
|
276
|
+
width: 16px;
|
|
277
|
+
height: 16px;
|
|
278
|
+
background-position: center;
|
|
279
|
+
background-image: url(${(props) => props.closeChevron || index.CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
&[data-active='true'] {
|
|
283
|
+
.mantine-Accordion-chevron {
|
|
284
|
+
> div {
|
|
285
|
+
background-image: url(${(props) => props.openChevron || index.CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
.mantine-Accordion-panel {
|
|
291
|
+
border-radius: ${miscTheme.theme.borderRadius};
|
|
292
|
+
}
|
|
293
|
+
.mantine-Accordion-content {
|
|
294
|
+
white-space: pre-wrap;
|
|
295
|
+
}
|
|
296
|
+
`;
|
|
484
297
|
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
React__namespace["default"].createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
|
|
494
|
-
React__namespace["default"].createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
|
|
495
|
-
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
496
|
-
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
497
|
-
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
498
|
-
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
499
|
-
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
500
|
-
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
501
|
-
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
502
|
-
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
503
|
-
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
504
|
-
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
505
|
-
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
506
|
-
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
507
|
-
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })))));
|
|
508
|
-
const TaiwanSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
509
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
|
|
510
|
-
React__namespace["default"].createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
|
|
511
|
-
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
512
|
-
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
513
|
-
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
514
|
-
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
515
|
-
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
516
|
-
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
517
|
-
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
518
|
-
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
519
|
-
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
520
|
-
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
521
|
-
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
522
|
-
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
523
|
-
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })));
|
|
298
|
+
const _Accordion = (_a) => {
|
|
299
|
+
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
300
|
+
return (React__namespace["default"].createElement(StyledAccordion, Object.assign({ chevron: React__namespace["default"].createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
|
|
301
|
+
};
|
|
302
|
+
const Accordion = _Accordion;
|
|
303
|
+
Accordion.Control = core.Accordion.Control;
|
|
304
|
+
Accordion.Item = core.Accordion.Item;
|
|
305
|
+
Accordion.Panel = core.Accordion.Panel;
|
|
524
306
|
|
|
525
|
-
const
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
React__namespace["default"].createElement(
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
307
|
+
const DEFAULT_AVATAR = index.CommonGAssets.getAssetPath('avatar.jpg');
|
|
308
|
+
const Avatar = (_a) => {
|
|
309
|
+
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
310
|
+
avatarProps = tslib_es6.__rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
311
|
+
const generateAvatar = () => {
|
|
312
|
+
return (React__namespace["default"].createElement(core.Avatar, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
|
|
313
|
+
placeholder: {
|
|
314
|
+
backgroundColor: avatarProps.color,
|
|
315
|
+
color: 'white',
|
|
316
|
+
},
|
|
317
|
+
} }), children ? (children) : placeholderText ? (placeholderText) : (React__namespace["default"].createElement(index$2.ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
|
|
318
|
+
};
|
|
319
|
+
if (withIndicator)
|
|
320
|
+
return (React__namespace["default"].createElement(core.Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
|
|
321
|
+
backgroundColor: React__namespace["default"].isValidElement(indicatorConfig.label) && 'transparent',
|
|
322
|
+
zIndex: 1,
|
|
323
|
+
} }, styles) }), generateAvatar()));
|
|
324
|
+
return generateAvatar();
|
|
325
|
+
};
|
|
536
326
|
|
|
537
|
-
const
|
|
538
|
-
React__namespace["default"].createElement("
|
|
539
|
-
|
|
540
|
-
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
541
|
-
React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
|
|
542
|
-
React__namespace["default"].createElement("path", { d: "M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z", fill: "#FFEB3B" }))));
|
|
543
|
-
const VietnamSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
544
|
-
React__namespace["default"].createElement("g", null,
|
|
545
|
-
React__namespace["default"].createElement("clipPath", null,
|
|
546
|
-
React__namespace["default"].createElement("rect", { width: "24", height: "16", fill: "white" })),
|
|
547
|
-
React__namespace["default"].createElement("path", { d: "M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z", fill: "#DA251D" }),
|
|
548
|
-
React__namespace["default"].createElement("path", { d: "M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z", fill: "#FFEB3B" }))));
|
|
327
|
+
const FileInput = (props) => {
|
|
328
|
+
return React__namespace["default"].createElement(core.FileInput, Object.assign({ size: "md" }, props));
|
|
329
|
+
};
|
|
549
330
|
|
|
550
|
-
|
|
331
|
+
const DEBOUNCED_TIME = 300;
|
|
332
|
+
const emotionCache = core.createEmotionCache({
|
|
333
|
+
key: 'mantine',
|
|
334
|
+
prepend: false,
|
|
335
|
+
});
|
|
551
336
|
|
|
552
|
-
const
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
break;
|
|
568
|
-
case 'th':
|
|
569
|
-
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
570
|
-
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
571
|
-
break;
|
|
572
|
-
case 'km':
|
|
573
|
-
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
574
|
-
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
575
|
-
break;
|
|
576
|
-
case 'ms':
|
|
577
|
-
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
578
|
-
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
579
|
-
break;
|
|
580
|
-
case 'my':
|
|
581
|
-
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
582
|
-
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
583
|
-
break;
|
|
584
|
-
case 'tl':
|
|
585
|
-
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
586
|
-
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
587
|
-
break;
|
|
588
|
-
case 'hi':
|
|
589
|
-
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
590
|
-
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
591
|
-
break;
|
|
592
|
-
case 'zh':
|
|
593
|
-
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
594
|
-
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
595
|
-
break;
|
|
596
|
-
}
|
|
597
|
-
if (!flag && !flagRounded) {
|
|
598
|
-
switch (country) {
|
|
599
|
-
case 'VN':
|
|
600
|
-
flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
|
|
601
|
-
flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
|
|
602
|
-
break;
|
|
603
|
-
case 'ID':
|
|
604
|
-
flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
605
|
-
flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
606
|
-
break;
|
|
607
|
-
case 'TH':
|
|
608
|
-
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
609
|
-
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
610
|
-
break;
|
|
611
|
-
case 'KH':
|
|
612
|
-
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
613
|
-
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
614
|
-
break;
|
|
615
|
-
case 'MY':
|
|
616
|
-
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
617
|
-
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
618
|
-
break;
|
|
619
|
-
case 'MM':
|
|
620
|
-
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
621
|
-
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
622
|
-
break;
|
|
623
|
-
case 'PH':
|
|
624
|
-
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
625
|
-
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
626
|
-
break;
|
|
627
|
-
case 'IN':
|
|
628
|
-
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
629
|
-
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
630
|
-
break;
|
|
631
|
-
case 'TW':
|
|
632
|
-
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
633
|
-
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
634
|
-
break;
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
return (React__namespace["default"].createElement("div", { className: `${styles$2.flag} ${className || ''}`, style: {
|
|
638
|
-
'--width': width || 20,
|
|
639
|
-
'--height': height || 20,
|
|
640
|
-
} }, rounded ? flagRounded : flag));
|
|
337
|
+
const NumberInput = (_a) => {
|
|
338
|
+
var { value: _value, onChange: _onChange } = _a, props = tslib_es6.__rest(_a, ["value", "onChange"]);
|
|
339
|
+
const [value, setValue] = React.useState(_value);
|
|
340
|
+
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
341
|
+
React.useEffect(() => {
|
|
342
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
343
|
+
}, [debounced]);
|
|
344
|
+
React.useEffect(() => {
|
|
345
|
+
setValue(_value);
|
|
346
|
+
}, [_value]);
|
|
347
|
+
return (React__namespace["default"].createElement(core.NumberInput, Object.assign({ size: "md", stepHoldDelay: 500, stepHoldInterval: (t) => Math.max(1000 / Math.pow(t, 2), 25), onChange: setValue, hideControls: true, min: 0, formatter: (value) => {
|
|
348
|
+
if (Number(value) === 0)
|
|
349
|
+
return value;
|
|
350
|
+
return value || '';
|
|
351
|
+
}, removeTrailingZeros: true, value: value }, props)));
|
|
641
352
|
};
|
|
642
353
|
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
});
|
|
652
|
-
const
|
|
653
|
-
|
|
654
|
-
const [_value, handleChange] = hooks.useUncontrolled({
|
|
655
|
-
value,
|
|
656
|
-
defaultValue,
|
|
657
|
-
onChange,
|
|
658
|
-
});
|
|
659
|
-
const onClear = () => {
|
|
660
|
-
handleChange('');
|
|
661
|
-
};
|
|
662
|
-
return (React__namespace["default"].createElement(core.Autocomplete, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(core.Image, { src: index$2.CommonGAssets.getAssetPath('chevron-down.svg'), fit: "none" }), size: "md", maxDropdownHeight: 300, onChange: (e) => handleChange(e), value: _value }, props, (clearable && (_value === null || _value === void 0 ? void 0 : _value.length) > 0
|
|
663
|
-
? {
|
|
664
|
-
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
665
|
-
React__namespace["default"].createElement(_IconSelect, null))),
|
|
666
|
-
}
|
|
667
|
-
: {}))));
|
|
668
|
-
});
|
|
669
|
-
const _Select = React.forwardRef((_a, ref) => {
|
|
670
|
-
var { searchValue, onSearchChange } = _a, props = tslib_es6.__rest(_a, ["searchValue", "onSearchChange"]);
|
|
671
|
-
const [_searchValue, handleSearchChange] = hooks.useUncontrolled({
|
|
672
|
-
defaultValue: '',
|
|
673
|
-
value: searchValue,
|
|
674
|
-
onChange: onSearchChange,
|
|
675
|
-
});
|
|
676
|
-
const onClear = () => {
|
|
677
|
-
handleSearchChange('');
|
|
678
|
-
};
|
|
679
|
-
return (React__namespace["default"].createElement(core.Select, Object.assign({ ref: ref, rightSection: React__namespace["default"].createElement(other.ArrowDown, { size: 18 }), rightSectionProps: { style: { pointerEvents: 'none' } }, size: "md", maxDropdownHeight: 300, onSearchChange: (e) => handleSearchChange(e), searchValue: _searchValue }, props, (props.clearable && (_searchValue === null || _searchValue === void 0 ? void 0 : _searchValue.length) > 0
|
|
680
|
-
? {
|
|
681
|
-
rightSection: (React__namespace["default"].createElement(core.ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
682
|
-
React__namespace["default"].createElement(_IconSelect, null))),
|
|
683
|
-
}
|
|
684
|
-
: {}))));
|
|
685
|
-
});
|
|
686
|
-
const _IconSelect = () => (React__namespace["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
687
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z", fill: "#8C8C8C" })));
|
|
688
|
-
|
|
689
|
-
class ErrorBoundary extends React.Component {
|
|
690
|
-
constructor() {
|
|
691
|
-
super(...arguments);
|
|
692
|
-
this.state = {
|
|
693
|
-
hasError: false,
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
static getDerivedStateFromError() {
|
|
697
|
-
// Update state so the next render will show the fallback UI.
|
|
698
|
-
return { hasError: true };
|
|
699
|
-
}
|
|
700
|
-
componentDidCatch(error, errorInfo) {
|
|
701
|
-
console.error('Uncaught error:', error, errorInfo);
|
|
702
|
-
}
|
|
703
|
-
render() {
|
|
704
|
-
if (this.state.hasError) {
|
|
705
|
-
return this.props.fallback || React__namespace["default"].createElement(React__namespace["default"].Fragment, null);
|
|
706
|
-
}
|
|
707
|
-
return this.props.children;
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
const CarouselWrapper$1 = (_a) => {
|
|
712
|
-
var { slidesToShow = 1, children } = _a, props = tslib_es6.__rest(_a, ["slidesToShow", "children"]);
|
|
713
|
-
const length = Array.isArray(children) ? children.length : 1;
|
|
714
|
-
if (!length)
|
|
715
|
-
return null;
|
|
716
|
-
return (React__namespace["default"].createElement(ErrorBoundary, null,
|
|
717
|
-
React__namespace["default"].createElement(carousel.Carousel
|
|
718
|
-
// get 2 precision number
|
|
719
|
-
, Object.assign({
|
|
720
|
-
// get 2 precision number
|
|
721
|
-
slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
|
|
722
|
-
};
|
|
723
|
-
const Carousel = CarouselWrapper$1;
|
|
724
|
-
Carousel.Slide = carousel.Carousel.Slide;
|
|
725
|
-
|
|
726
|
-
const StyledCarousel = styled__default["default"](Carousel) `
|
|
727
|
-
cursor: grab;
|
|
728
|
-
width: 100%;
|
|
729
|
-
.mantine-Carousel-control {
|
|
730
|
-
background: rgb(255, 255, 255);
|
|
731
|
-
opacity: 1;
|
|
732
|
-
border: none;
|
|
733
|
-
border-radius: 0;
|
|
734
|
-
box-shadow: none;
|
|
735
|
-
&[data-inactive] {
|
|
736
|
-
opacity: 0;
|
|
737
|
-
cursor: default;
|
|
738
|
-
}
|
|
739
|
-
&:first-child {
|
|
740
|
-
padding-right: 24px;
|
|
741
|
-
background: linear-gradient(
|
|
742
|
-
90deg,
|
|
743
|
-
rgba(255, 255, 255, 1) 0%,
|
|
744
|
-
rgba(255, 255, 255, 1) 50%,
|
|
745
|
-
rgba(255, 255, 255, 0) 100%
|
|
746
|
-
);
|
|
747
|
-
}
|
|
748
|
-
&:last-child {
|
|
749
|
-
padding-left: 24px;
|
|
750
|
-
background: linear-gradient(
|
|
751
|
-
270deg,
|
|
752
|
-
rgba(255, 255, 255, 1) 0%,
|
|
753
|
-
rgba(255, 255, 255, 1) 50%,
|
|
754
|
-
rgba(255, 255, 255, 0) 100%
|
|
755
|
-
);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
.mantine-Carousel-container {
|
|
760
|
-
align-items: center;
|
|
761
|
-
}
|
|
762
|
-
`;
|
|
763
|
-
|
|
764
|
-
var useStyles$1 = core.createStyles((_theme, _params) => {
|
|
765
|
-
return {
|
|
766
|
-
root: {
|
|
767
|
-
color: _params.color ||
|
|
768
|
-
(_theme.primaryColor === 'hb'
|
|
769
|
-
? _theme.colors.hb[6]
|
|
770
|
-
: _theme.fn.primaryColor()),
|
|
771
|
-
},
|
|
772
|
-
};
|
|
354
|
+
const EyeVisible = index.CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
355
|
+
const EyeHidden = index.CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
356
|
+
// Fix re-render issue
|
|
357
|
+
const RenderVisibleToggleIcon = ({ reveal, size, }) => (React__namespace["default"].createElement("img", { src: reveal ? EyeVisible : EyeHidden, style: {
|
|
358
|
+
width: size,
|
|
359
|
+
height: size,
|
|
360
|
+
}, loading: "lazy" }));
|
|
361
|
+
const PasswordInput = React.forwardRef((props, ref) => {
|
|
362
|
+
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = tslib_es6.__rest(props, ["size", "visibilityToggleIcon"]);
|
|
363
|
+
const visibilityToggleIcon = visibilityToggleIconProps || RenderVisibleToggleIcon;
|
|
364
|
+
return (React__namespace["default"].createElement(core.PasswordInput, Object.assign({ ref: ref, size: size, visibilityToggleIcon: visibilityToggleIcon }, restProps, { className: `input-control ${(restProps === null || restProps === void 0 ? void 0 : restProps.className) || ''}` })));
|
|
773
365
|
});
|
|
774
366
|
|
|
775
|
-
const
|
|
776
|
-
var {
|
|
777
|
-
const
|
|
778
|
-
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
const BreadcrumbItem = (_a) => {
|
|
782
|
-
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
783
|
-
return (React__namespace["default"].createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
const AspectRatio = (props) => {
|
|
787
|
-
return (React__namespace["default"].createElement(core.AspectRatio, Object.assign({ sx: {
|
|
788
|
-
borderRadius: 4,
|
|
789
|
-
overflow: 'hidden',
|
|
790
|
-
'> img': {
|
|
791
|
-
objectFit: 'contain',
|
|
792
|
-
},
|
|
793
|
-
} }, props)));
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
const _Breadcrumbs = (_a) => {
|
|
797
|
-
var _b;
|
|
798
|
-
var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = tslib_es6.__rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
|
|
799
|
-
const theme = core.useMantineTheme();
|
|
800
|
-
const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
|
|
801
|
-
const [embla, setEmbla] = React.useState(null);
|
|
802
|
-
const { isMobile } = useScreenSize.useScreenSize();
|
|
803
|
-
const [, setShouldAllowClick] = React.useState(true);
|
|
804
|
-
const handleScroll = React.useCallback(() => {
|
|
805
|
-
setShouldAllowClick(false);
|
|
806
|
-
}, []);
|
|
807
|
-
const handlePointerUp = React.useCallback(() => {
|
|
808
|
-
setTimeout(() => {
|
|
809
|
-
setShouldAllowClick(true);
|
|
810
|
-
}, 1000);
|
|
811
|
-
}, []);
|
|
367
|
+
const InputWrapper = React.forwardRef((_a, ref) => {
|
|
368
|
+
var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = tslib_es6.__rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
|
|
369
|
+
const [value, setValue] = React.useState(_value || '');
|
|
370
|
+
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
812
371
|
React.useEffect(() => {
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
};
|
|
823
|
-
}, [embla, handleScroll, handlePointerUp]);
|
|
824
|
-
return (React__namespace["default"].createElement(StyledCarousel, Object.assign({ align: "center", slideGap: "xs", dragFree: true, draggable: isMobile, slideSize: "0", getEmblaApi: setEmbla, controlsOffset: -52, previousControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
825
|
-
React__namespace["default"].createElement("path", { d: "M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z", fill: "#595959" })), nextControlIcon: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
826
|
-
React__namespace["default"].createElement("path", { d: "M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z", fill: "#595959" })) }, rest),
|
|
827
|
-
showHomeIcon && (React__namespace["default"].createElement(Carousel.Slide, { style: { borderRight: `1px solid ${themeColors.neutral[1]}` } },
|
|
828
|
-
React__namespace["default"].createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
|
|
829
|
-
React__namespace["default"].createElement(core.Box, { sx: Object.assign({}, (!isMarryBaby && {
|
|
830
|
-
borderRadius: '50%',
|
|
831
|
-
display: 'flex',
|
|
832
|
-
justifyContent: 'center',
|
|
833
|
-
alignItems: 'center',
|
|
834
|
-
})), bg: !isMarryBaby && themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
|
|
835
|
-
React__namespace["default"].createElement(AspectRatio, { ratio: 1, w: 18 }, isMarryBaby ? (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
836
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z", fill: "#3E3F58" }),
|
|
837
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z", fill: "#3E3F58" }))) : (React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
838
|
-
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z", fill: "#595959" })))))))),
|
|
839
|
-
React__namespace["default"].createElement(Carousel.Slide, null),
|
|
840
|
-
React__namespace["default"].createElement(Carousel.Slide, null,
|
|
841
|
-
React__namespace["default"].createElement(core.Breadcrumbs, { styles: {
|
|
842
|
-
separator: {
|
|
843
|
-
marginInline: 4,
|
|
844
|
-
},
|
|
845
|
-
}, separator: React__namespace["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
846
|
-
React__namespace["default"].createElement("path", { d: "M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z", fill: "#8C8C8C" })) }, children))));
|
|
847
|
-
};
|
|
848
|
-
const Breadcrumbs = _Breadcrumbs;
|
|
849
|
-
Breadcrumbs.Item = BreadcrumbItem;
|
|
850
|
-
|
|
851
|
-
const StyledTextArea = styled__default["default"](core.Textarea) `
|
|
852
|
-
.mantine-Textarea-input {
|
|
853
|
-
padding: 12px 16px;
|
|
854
|
-
background: #ffffff;
|
|
855
|
-
border: 1px solid ${miscTheme.theme.colors.gray200};
|
|
856
|
-
border-radius: 4px;
|
|
857
|
-
}
|
|
858
|
-
`;
|
|
859
|
-
|
|
860
|
-
const StyledAccordion = styled__default["default"](core.Accordion) `
|
|
861
|
-
.mantine-Accordion-label {
|
|
862
|
-
padding: 0;
|
|
863
|
-
}
|
|
864
|
-
.mantine-Accordion-control {
|
|
865
|
-
&:hover {
|
|
866
|
-
background-color: transparent;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
.mantine-Accordion-item {
|
|
870
|
-
.mantine-Accordion-chevron {
|
|
871
|
-
> div {
|
|
872
|
-
background-repeat: no-repeat;
|
|
873
|
-
width: 16px;
|
|
874
|
-
height: 16px;
|
|
875
|
-
background-position: center;
|
|
876
|
-
background-image: url(${(props) => props.closeChevron || index$2.CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
&[data-active='true'] {
|
|
880
|
-
.mantine-Accordion-chevron {
|
|
881
|
-
> div {
|
|
882
|
-
background-image: url(${(props) => props.openChevron || index$2.CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
.mantine-Accordion-panel {
|
|
888
|
-
border-radius: ${miscTheme.theme.borderRadius};
|
|
889
|
-
}
|
|
890
|
-
.mantine-Accordion-content {
|
|
891
|
-
white-space: pre-wrap;
|
|
892
|
-
}
|
|
893
|
-
`;
|
|
894
|
-
|
|
895
|
-
const _Accordion = (_a) => {
|
|
896
|
-
var { children } = _a, rest = tslib_es6.__rest(_a, ["children"]);
|
|
897
|
-
return (React__namespace["default"].createElement(StyledAccordion, Object.assign({ chevron: React__namespace["default"].createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
|
|
898
|
-
};
|
|
899
|
-
const Accordion = _Accordion;
|
|
900
|
-
Accordion.Control = core.Accordion.Control;
|
|
901
|
-
Accordion.Item = core.Accordion.Item;
|
|
902
|
-
Accordion.Panel = core.Accordion.Panel;
|
|
903
|
-
|
|
904
|
-
const DEFAULT_AVATAR = index$2.CommonGAssets.getAssetPath('avatar.jpg');
|
|
905
|
-
const Avatar = (_a) => {
|
|
906
|
-
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
907
|
-
avatarProps = tslib_es6.__rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
908
|
-
const generateAvatar = () => {
|
|
909
|
-
return (React__namespace["default"].createElement(core.Avatar, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
|
|
910
|
-
placeholder: {
|
|
911
|
-
backgroundColor: avatarProps.color,
|
|
912
|
-
color: 'white',
|
|
913
|
-
},
|
|
914
|
-
} }), children ? (children) : placeholderText ? (placeholderText) : (React__namespace["default"].createElement(useScreenSize.ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
|
|
915
|
-
};
|
|
916
|
-
if (withIndicator)
|
|
917
|
-
return (React__namespace["default"].createElement(core.Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
|
|
918
|
-
backgroundColor: React__namespace["default"].isValidElement(indicatorConfig.label) && 'transparent',
|
|
919
|
-
zIndex: 1,
|
|
920
|
-
} }, styles) }), generateAvatar()));
|
|
921
|
-
return generateAvatar();
|
|
922
|
-
};
|
|
923
|
-
|
|
924
|
-
const FileInput = (props) => {
|
|
925
|
-
return React__namespace["default"].createElement(core.FileInput, Object.assign({ size: "md" }, props));
|
|
926
|
-
};
|
|
927
|
-
|
|
928
|
-
const DEBOUNCED_TIME = 300;
|
|
929
|
-
const emotionCache = core.createEmotionCache({
|
|
930
|
-
key: 'mantine',
|
|
931
|
-
prepend: false,
|
|
932
|
-
});
|
|
933
|
-
|
|
934
|
-
const NumberInput = (_a) => {
|
|
935
|
-
var { value: _value, onChange: _onChange } = _a, props = tslib_es6.__rest(_a, ["value", "onChange"]);
|
|
936
|
-
const [value, setValue] = React.useState(_value);
|
|
937
|
-
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
938
|
-
React.useEffect(() => {
|
|
939
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
940
|
-
}, [debounced]);
|
|
941
|
-
React.useEffect(() => {
|
|
942
|
-
setValue(_value);
|
|
943
|
-
}, [_value]);
|
|
944
|
-
return (React__namespace["default"].createElement(core.NumberInput, Object.assign({ size: "md", stepHoldDelay: 500, stepHoldInterval: (t) => Math.max(1000 / Math.pow(t, 2), 25), onChange: setValue, hideControls: true, min: 0, formatter: (value) => {
|
|
945
|
-
if (Number(value) === 0)
|
|
946
|
-
return value;
|
|
947
|
-
return value || '';
|
|
948
|
-
}, removeTrailingZeros: true, value: value }, props)));
|
|
949
|
-
};
|
|
950
|
-
|
|
951
|
-
const EyeVisible = index$2.CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
952
|
-
const EyeHidden = index$2.CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
953
|
-
// Fix re-render issue
|
|
954
|
-
const RenderVisibleToggleIcon = ({ reveal, size, }) => (React__namespace["default"].createElement("img", { src: reveal ? EyeVisible : EyeHidden, style: {
|
|
955
|
-
width: size,
|
|
956
|
-
height: size,
|
|
957
|
-
}, loading: "lazy" }));
|
|
958
|
-
const PasswordInput = React.forwardRef((props, ref) => {
|
|
959
|
-
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = tslib_es6.__rest(props, ["size", "visibilityToggleIcon"]);
|
|
960
|
-
const visibilityToggleIcon = visibilityToggleIconProps || RenderVisibleToggleIcon;
|
|
961
|
-
return (React__namespace["default"].createElement(core.PasswordInput, Object.assign({ ref: ref, size: size, visibilityToggleIcon: visibilityToggleIcon }, restProps, { className: `input-control ${(restProps === null || restProps === void 0 ? void 0 : restProps.className) || ''}` })));
|
|
962
|
-
});
|
|
963
|
-
|
|
964
|
-
const InputWrapper = React.forwardRef((_a, ref) => {
|
|
965
|
-
var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = tslib_es6.__rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
|
|
966
|
-
const [value, setValue] = React.useState(_value || '');
|
|
967
|
-
const [debounced] = hooks.useDebouncedValue(value, DEBOUNCED_TIME);
|
|
968
|
-
React.useEffect(() => {
|
|
969
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
970
|
-
}, [debounced]);
|
|
971
|
-
React.useEffect(() => {
|
|
972
|
-
setValue(_value);
|
|
973
|
-
}, [_value]);
|
|
974
|
-
return (React__namespace["default"].createElement(core.TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
|
|
975
|
-
if (typeof maxLength === 'number' &&
|
|
976
|
-
event.currentTarget.value.length > maxLength) {
|
|
977
|
-
return;
|
|
372
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
373
|
+
}, [debounced]);
|
|
374
|
+
React.useEffect(() => {
|
|
375
|
+
setValue(_value);
|
|
376
|
+
}, [_value]);
|
|
377
|
+
return (React__namespace["default"].createElement(core.TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
|
|
378
|
+
if (typeof maxLength === 'number' &&
|
|
379
|
+
event.currentTarget.value.length > maxLength) {
|
|
380
|
+
return;
|
|
978
381
|
}
|
|
979
382
|
onChangeRaw === null || onChangeRaw === void 0 ? void 0 : onChangeRaw(event);
|
|
980
383
|
setValue(event.currentTarget.value);
|
|
@@ -1122,8 +525,86 @@ const CarouselWrapper = (_a) => {
|
|
|
1122
525
|
const CentralCarousel = CarouselWrapper;
|
|
1123
526
|
CentralCarousel.Slide = CustomSlide;
|
|
1124
527
|
|
|
528
|
+
const CheckboxWithState = (_a) => {
|
|
529
|
+
var { size = 24, isSolid, isActive } = _a, rest = tslib_es6.__rest(_a, ["size", "isSolid", "isActive"]);
|
|
530
|
+
return isSolid ? (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
531
|
+
React__namespace["default"].createElement("path", { d: "M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z", fill: "#2D87F3" }),
|
|
532
|
+
React__namespace["default"].createElement("path", { d: "M6.38904 10.2778L8.88904 13.0556L13.6113 6.94446", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
533
|
+
React__namespace["default"].createElement("path", { d: "M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z", stroke: "#2D87F3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }))) : isActive ? (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
534
|
+
React__namespace["default"].createElement("path", { opacity: ".2", d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", fill: "#2D87F3" }),
|
|
535
|
+
React__namespace["default"].createElement("path", { d: "m6.389 10.278 2.5 2.778 4.722-6.111", stroke: "#2D87F3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
536
|
+
React__namespace["default"].createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", stroke: "#2D87F3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }))) : (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
537
|
+
React__namespace["default"].createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", fill: "#ADB3BC", fillOpacity: ".3" }),
|
|
538
|
+
React__namespace["default"].createElement("path", { d: "m6.389 10.278 2.5 2.778 4.722-6.111", stroke: "#ADB3BC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
539
|
+
React__namespace["default"].createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", stroke: "#ADB3BC", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
var useStyles$1 = core.createStyles((theme, params) => {
|
|
543
|
+
const { color, customStylesType } = params || {};
|
|
544
|
+
const isLeadgenStyle = customStylesType === text.CustomStylesType.LEADGEN;
|
|
545
|
+
return {
|
|
546
|
+
input: Object.assign({ '&:hover': {
|
|
547
|
+
border: `1px solid ${color}`,
|
|
548
|
+
} }, (isLeadgenStyle && {
|
|
549
|
+
marginTop: 2,
|
|
550
|
+
borderRadius: '50%',
|
|
551
|
+
'&,&:hover': {
|
|
552
|
+
border: 0,
|
|
553
|
+
},
|
|
554
|
+
'& ~ [data-icon]': {
|
|
555
|
+
opacity: 0,
|
|
556
|
+
},
|
|
557
|
+
'& ~ [data-default]': {
|
|
558
|
+
opacity: 1,
|
|
559
|
+
},
|
|
560
|
+
'&:hover': {
|
|
561
|
+
'& ~ [data-icon]': {
|
|
562
|
+
opacity: 0,
|
|
563
|
+
},
|
|
564
|
+
'& ~ [data-hover]': {
|
|
565
|
+
opacity: 1,
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
'&:checked': {
|
|
569
|
+
'& ~ [data-icon]': {
|
|
570
|
+
opacity: 0,
|
|
571
|
+
},
|
|
572
|
+
'& ~ [data-checked]': {
|
|
573
|
+
opacity: 1,
|
|
574
|
+
},
|
|
575
|
+
'&:hover': {
|
|
576
|
+
'& ~ [data-icon]': {
|
|
577
|
+
opacity: 0,
|
|
578
|
+
},
|
|
579
|
+
'& ~ [data-checked]': {
|
|
580
|
+
opacity: 1,
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
'&, &:hover, &:checked': {
|
|
585
|
+
backgroundColor: 'transparent',
|
|
586
|
+
borderColor: 'transparent',
|
|
587
|
+
'& ~ svg': {
|
|
588
|
+
width: '100%',
|
|
589
|
+
transform: 'none',
|
|
590
|
+
transition: 'opacity 0.2s ease',
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
})),
|
|
594
|
+
label: Object.assign({}, (isLeadgenStyle && {
|
|
595
|
+
paddingLeft: 8,
|
|
596
|
+
})),
|
|
597
|
+
body: {
|
|
598
|
+
alignItems: 'flex-start',
|
|
599
|
+
},
|
|
600
|
+
inner: {
|
|
601
|
+
paddingTop: 2,
|
|
602
|
+
},
|
|
603
|
+
};
|
|
604
|
+
});
|
|
605
|
+
|
|
1125
606
|
const CheckboxWrapper = (_a) => {
|
|
1126
|
-
var {
|
|
607
|
+
var { color = 'blue', label, size: sizeProp } = _a, props = tslib_es6.__rest(_a, ["color", "label", "size"]);
|
|
1127
608
|
const theme = core.useMantineTheme();
|
|
1128
609
|
const hexColor = React.useMemo(() => {
|
|
1129
610
|
var _a, _b;
|
|
@@ -1132,11 +613,26 @@ const CheckboxWrapper = (_a) => {
|
|
|
1132
613
|
: (_b = theme.colors[color]) === null || _b === void 0 ? void 0 : _b[theme.primaryShade || 6]) ||
|
|
1133
614
|
theme.colors.blue[6];
|
|
1134
615
|
}, [color]);
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
616
|
+
const { classes } = useStyles$1({
|
|
617
|
+
color: hexColor,
|
|
618
|
+
customStylesType: theme.other.customStyleType || text.CustomStylesType.NONE,
|
|
619
|
+
});
|
|
620
|
+
const isLeadgenStyle = theme.other.customStyleType === text.CustomStylesType.LEADGEN;
|
|
621
|
+
const size = sizeProp || (isLeadgenStyle ? 20 : undefined);
|
|
622
|
+
return (React__namespace["default"].createElement(core.Checkbox, Object.assign({ classNames: {
|
|
623
|
+
input: classes.input,
|
|
624
|
+
label: classes.label,
|
|
625
|
+
body: classes.body,
|
|
626
|
+
inner: classes.inner,
|
|
627
|
+
}, color: color, size: size, label: isLeadgenStyle ? (React__namespace["default"].createElement(index$1.Text, { size: "p2", color: theme.colors.gray[8] }, label)) : (label), icon: isLeadgenStyle
|
|
628
|
+
? (_a) => {
|
|
629
|
+
var rest = tslib_es6.__rest(_a, []);
|
|
630
|
+
return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
631
|
+
React__namespace["default"].createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-default": "true", size: size }, rest)),
|
|
632
|
+
React__namespace["default"].createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-hover": "true", isActive: true, size: size }, rest)),
|
|
633
|
+
React__namespace["default"].createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-checked": "true", isSolid: true, size: size }, rest))));
|
|
634
|
+
}
|
|
635
|
+
: undefined }, props)));
|
|
1140
636
|
};
|
|
1141
637
|
const Checkbox = CheckboxWrapper;
|
|
1142
638
|
Checkbox.Group = core.Checkbox.Group;
|
|
@@ -1238,7 +734,7 @@ function transferOtpToValue(otp) {
|
|
|
1238
734
|
return otp.join('');
|
|
1239
735
|
}
|
|
1240
736
|
|
|
1241
|
-
var styles$
|
|
737
|
+
var styles$2 = {"otpContainer":"_2iQs0sk","otpInput":"Ia6IojY","error":"yJs9MaD"};
|
|
1242
738
|
|
|
1243
739
|
const BACKSPACE = 8;
|
|
1244
740
|
const LEFT_ARROW = 37;
|
|
@@ -1247,7 +743,7 @@ const DELETE = 46;
|
|
|
1247
743
|
const SPACEBAR = 32;
|
|
1248
744
|
const OTPInputFunction = (props, ref) => {
|
|
1249
745
|
const { maxLength = 1, placeholder, className } = props, restProps = tslib_es6.__rest(props, ["maxLength", "placeholder", "className"]);
|
|
1250
|
-
return (React__namespace["default"].createElement("input", Object.assign({ maxLength: maxLength, className: cn__default["default"](styles$
|
|
746
|
+
return (React__namespace["default"].createElement("input", Object.assign({ maxLength: maxLength, className: cn__default["default"](styles$2.otpInput, 'otpInput', className), placeholder: placeholder, type: "number" }, restProps, { ref: ref })));
|
|
1251
747
|
};
|
|
1252
748
|
const OTPInput = React.forwardRef(OTPInputFunction);
|
|
1253
749
|
const OTPFowardRef = (props, ref) => {
|
|
@@ -1362,7 +858,7 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1362
858
|
setOtp(() => transferValueToOtp(valueProps, valueLength));
|
|
1363
859
|
setValue(valueProps);
|
|
1364
860
|
}, [valueLength, valueProps]);
|
|
1365
|
-
return (React__namespace["default"].createElement(core.Flex, { justify: "center", columnGap: 8, className: cn__default["default"](styles$
|
|
861
|
+
return (React__namespace["default"].createElement(core.Flex, { justify: "center", columnGap: 8, className: cn__default["default"](styles$2.otpContainer, 'otpContainer') }, otp.map((val, index) => {
|
|
1366
862
|
return (React__namespace["default"].createElement(OTPInput, Object.assign({}, otpShareProps, { ref: (iRef) => {
|
|
1367
863
|
inputRef.current[index] = iRef;
|
|
1368
864
|
}, key: '' + index, value: val, type: type, onChange: inputOnChange, onFocus: inputOnFocus, onKeyDown: inputOnKeyDown, onPaste: inputOnPaste, onBlur: onBlur, placeholder: placeholder })));
|
|
@@ -1370,6 +866,298 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1370
866
|
};
|
|
1371
867
|
const OTP = React.forwardRef(OTPFowardRef);
|
|
1372
868
|
|
|
869
|
+
const CambodiaRoundIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "round cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
870
|
+
const CambodiaSquareIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "square cambodia flag", src: index.CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
871
|
+
|
|
872
|
+
const EnglishRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
873
|
+
React__namespace["default"].createElement("g", null,
|
|
874
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
875
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
876
|
+
React__namespace["default"].createElement("path", { d: "M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z", fill: "#3F51B5" }),
|
|
877
|
+
React__namespace["default"].createElement("path", { d: "M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z", fill: "#3F51B5" }),
|
|
878
|
+
React__namespace["default"].createElement("path", { d: "M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z", fill: "white" }),
|
|
879
|
+
React__namespace["default"].createElement("path", { d: "M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z", fill: "#3F51B5" }),
|
|
880
|
+
React__namespace["default"].createElement("path", { d: "M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z", fill: "#3F51B5" }),
|
|
881
|
+
React__namespace["default"].createElement("path", { d: "M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z", fill: "white" }),
|
|
882
|
+
React__namespace["default"].createElement("path", { d: "M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z", fill: "white" }),
|
|
883
|
+
React__namespace["default"].createElement("path", { d: "M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z", fill: "white" }),
|
|
884
|
+
React__namespace["default"].createElement("path", { d: "M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z", fill: "white" }),
|
|
885
|
+
React__namespace["default"].createElement("path", { d: "M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z", fill: "white" }),
|
|
886
|
+
React__namespace["default"].createElement("path", { d: "M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z", fill: "white" }),
|
|
887
|
+
React__namespace["default"].createElement("path", { d: "M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z", fill: "white" }),
|
|
888
|
+
React__namespace["default"].createElement("path", { d: "M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z", fill: "white" }),
|
|
889
|
+
React__namespace["default"].createElement("path", { d: "M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z", fill: "white" }),
|
|
890
|
+
React__namespace["default"].createElement("path", { d: "M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z", fill: "white" }),
|
|
891
|
+
React__namespace["default"].createElement("path", { d: "M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z", fill: "white" }),
|
|
892
|
+
React__namespace["default"].createElement("path", { d: "M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z", fill: "#E53935" }),
|
|
893
|
+
React__namespace["default"].createElement("path", { d: "M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z", fill: "#E53935" }),
|
|
894
|
+
React__namespace["default"].createElement("path", { d: "M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z", fill: "white" }),
|
|
895
|
+
React__namespace["default"].createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
|
|
896
|
+
React__namespace["default"].createElement("path", { d: "M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z", fill: "white" }),
|
|
897
|
+
React__namespace["default"].createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
|
|
898
|
+
React__namespace["default"].createElement("path", { d: "M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z", fill: "#E53935" }),
|
|
899
|
+
React__namespace["default"].createElement("path", { d: "M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z", fill: "#E53935" }),
|
|
900
|
+
React__namespace["default"].createElement("path", { d: "M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z", fill: "#E53935" }),
|
|
901
|
+
React__namespace["default"].createElement("path", { d: "M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z", fill: "#E53935" }),
|
|
902
|
+
React__namespace["default"].createElement("path", { d: "M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z", fill: "#E53935" }))));
|
|
903
|
+
const EnglishSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
|
|
904
|
+
React__namespace["default"].createElement("g", null,
|
|
905
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
|
|
906
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z", fill: "#3F51B5" })),
|
|
907
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
|
|
908
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
|
|
909
|
+
React__namespace["default"].createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
|
|
910
|
+
React__namespace["default"].createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
|
|
911
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
|
|
912
|
+
React__namespace["default"].createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
|
|
913
|
+
React__namespace["default"].createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
|
|
914
|
+
React__namespace["default"].createElement("path", { d: "M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z", fill: "#E53935" }),
|
|
915
|
+
React__namespace["default"].createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
916
|
+
|
|
917
|
+
const IndiaRoundIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "round india flag", src: index.CommonGAssets.getAssetPath('flags/indiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
918
|
+
const IndiaSquareIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "square indian flag", src: index.CommonGAssets.getAssetPath('flags/indiaSquare.png') }, props)));
|
|
919
|
+
|
|
920
|
+
const IndonesiaRoundIcon = (_a) => {
|
|
921
|
+
var rest = tslib_es6.__rest(_a, []);
|
|
922
|
+
const maskId = useUniqueId.useUniqueId();
|
|
923
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none" }, rest),
|
|
924
|
+
React__namespace["default"].createElement("mask", { id: maskId, style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
925
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
926
|
+
React__namespace["default"].createElement("g", { mask: `url(#${maskId})` },
|
|
927
|
+
React__namespace["default"].createElement("rect", { width: "20", height: "10", fill: "#CE1126" }),
|
|
928
|
+
React__namespace["default"].createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
|
|
929
|
+
};
|
|
930
|
+
const IndonesiaSquareIcon = (_a) => {
|
|
931
|
+
var rest = tslib_es6.__rest(_a, []);
|
|
932
|
+
const clipPathId = useUniqueId.useUniqueId();
|
|
933
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
|
|
934
|
+
React__namespace["default"].createElement("g", { clipPath: `url(#${clipPathId})` },
|
|
935
|
+
React__namespace["default"].createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
|
|
936
|
+
React__namespace["default"].createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
|
|
937
|
+
React__namespace["default"].createElement("defs", null,
|
|
938
|
+
React__namespace["default"].createElement("clipPath", { id: clipPathId },
|
|
939
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
const MalaysiaRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
943
|
+
React__namespace["default"].createElement("g", null,
|
|
944
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
945
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
946
|
+
React__namespace["default"].createElement("rect", { y: "1", width: "20", height: "20", fill: "#CC0001" }),
|
|
947
|
+
React__namespace["default"].createElement("rect", { y: "16.106", width: "20", height: "1.02041", fill: "white" }),
|
|
948
|
+
React__namespace["default"].createElement("rect", { y: "16", width: "20", height: "1.02041", fill: "white" }),
|
|
949
|
+
React__namespace["default"].createElement("rect", { y: "18", width: "20", height: "1.02041", fill: "white" }),
|
|
950
|
+
React__namespace["default"].createElement("rect", { y: "14.0652", width: "20", height: "1.02041", fill: "white" }),
|
|
951
|
+
React__namespace["default"].createElement("rect", { y: "12.0242", width: "20", height: "1.02041", fill: "white" }),
|
|
952
|
+
React__namespace["default"].createElement("rect", { y: "9.9834", width: "20", height: "1.02041", fill: "white" }),
|
|
953
|
+
React__namespace["default"].createElement("rect", { y: "7.94263", width: "20", height: "1.02041", fill: "white" }),
|
|
954
|
+
React__namespace["default"].createElement("rect", { y: "5.90186", width: "20", height: "1.02041", fill: "white" }),
|
|
955
|
+
React__namespace["default"].createElement("rect", { y: "3.86084", width: "20", height: "1.02041", fill: "white" }),
|
|
956
|
+
React__namespace["default"].createElement("rect", { y: "2", width: "20", height: "1.02041", fill: "white" }),
|
|
957
|
+
React__namespace["default"].createElement("rect", { width: "20", height: "1.02041", fill: "white" }),
|
|
958
|
+
React__namespace["default"].createElement("rect", { y: "-1", width: "10", height: "12", fill: "#010066" }),
|
|
959
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z", fill: "#FFCC00" }),
|
|
960
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z", fill: "#FFCC00" }))));
|
|
961
|
+
const MalaysiaSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
962
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#CC0001" }),
|
|
963
|
+
React__namespace["default"].createElement("rect", { y: "12.2712", width: "24", height: "0.777454", fill: "white" }),
|
|
964
|
+
React__namespace["default"].createElement("rect", { y: "12.1904", width: "24", height: "0.777454", fill: "white" }),
|
|
965
|
+
React__namespace["default"].createElement("rect", { y: "13.7144", width: "24", height: "0.777454", fill: "white" }),
|
|
966
|
+
React__namespace["default"].createElement("rect", { y: "10.7161", width: "24", height: "0.777454", fill: "white" }),
|
|
967
|
+
React__namespace["default"].createElement("rect", { y: "9.16138", width: "24", height: "0.777454", fill: "white" }),
|
|
968
|
+
React__namespace["default"].createElement("rect", { y: "7.60645", width: "24", height: "0.777454", fill: "white" }),
|
|
969
|
+
React__namespace["default"].createElement("rect", { y: "6.05127", width: "24", height: "0.777454", fill: "white" }),
|
|
970
|
+
React__namespace["default"].createElement("rect", { y: "4.49658", width: "24", height: "0.777454", fill: "white" }),
|
|
971
|
+
React__namespace["default"].createElement("rect", { y: "2.94141", width: "24", height: "0.777454", fill: "white" }),
|
|
972
|
+
React__namespace["default"].createElement("rect", { y: "1.52393", width: "24", height: "0.777454", fill: "white" }),
|
|
973
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "0.777454", fill: "white" }),
|
|
974
|
+
React__namespace["default"].createElement("path", { d: "M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z", fill: "#010066" }),
|
|
975
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z", fill: "#FFCC00" }),
|
|
976
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z", fill: "#FFCC00" })));
|
|
977
|
+
|
|
978
|
+
const MyanmarRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
979
|
+
React__namespace["default"].createElement("g", null,
|
|
980
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
981
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
982
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "-1", width: "28", height: "11", fill: "#FECB00" }),
|
|
983
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "10", width: "28", height: "10", fill: "#EA2839" }),
|
|
984
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "6.7041", width: "28", height: "6.47773", fill: "#34B233" }),
|
|
985
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z", fill: "white" }),
|
|
986
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z", fill: "white" }),
|
|
987
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z", fill: "white" }),
|
|
988
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z", fill: "white" }),
|
|
989
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z", fill: "white" }))));
|
|
990
|
+
const MyanmarSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
991
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
|
|
992
|
+
React__namespace["default"].createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
|
|
993
|
+
React__namespace["default"].createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
|
|
994
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
|
|
995
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z", fill: "white" }),
|
|
996
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z", fill: "white" }),
|
|
997
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
998
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
999
|
+
|
|
1000
|
+
const PhilippinesRoundIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "round philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
1001
|
+
const PhilippinesSquareIcon = (props) => (React__namespace["default"].createElement(index$2.ImageWrap, Object.assign({ alt: "square philippines flag", src: index.CommonGAssets.getAssetPath('flags/philippineSquare.png') }, props)));
|
|
1002
|
+
|
|
1003
|
+
const TaiwanRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1004
|
+
React__namespace["default"].createElement("g", null,
|
|
1005
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1006
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1007
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#D8D8D8" }),
|
|
1008
|
+
React__namespace["default"].createElement("g", null,
|
|
1009
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1010
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "white" })),
|
|
1011
|
+
React__namespace["default"].createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
|
|
1012
|
+
React__namespace["default"].createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
|
|
1013
|
+
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
1014
|
+
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
1015
|
+
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
1016
|
+
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
1017
|
+
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
1018
|
+
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
1019
|
+
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
1020
|
+
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
1021
|
+
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
1022
|
+
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
1023
|
+
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
1024
|
+
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
1025
|
+
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })))));
|
|
1026
|
+
const TaiwanSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1027
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
|
|
1028
|
+
React__namespace["default"].createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
|
|
1029
|
+
React__namespace["default"].createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
1030
|
+
React__namespace["default"].createElement("path", { d: "M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z", fill: "white" }),
|
|
1031
|
+
React__namespace["default"].createElement("path", { d: "M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z", fill: "white" }),
|
|
1032
|
+
React__namespace["default"].createElement("path", { d: "M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z", fill: "white" }),
|
|
1033
|
+
React__namespace["default"].createElement("path", { d: "M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z", fill: "white" }),
|
|
1034
|
+
React__namespace["default"].createElement("path", { d: "M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z", fill: "white" }),
|
|
1035
|
+
React__namespace["default"].createElement("path", { d: "M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z", fill: "white" }),
|
|
1036
|
+
React__namespace["default"].createElement("path", { d: "M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z", fill: "white" }),
|
|
1037
|
+
React__namespace["default"].createElement("path", { d: "M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z", fill: "white" }),
|
|
1038
|
+
React__namespace["default"].createElement("path", { d: "M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z", fill: "white" }),
|
|
1039
|
+
React__namespace["default"].createElement("path", { d: "M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z", fill: "white" }),
|
|
1040
|
+
React__namespace["default"].createElement("path", { d: "M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z", fill: "white" }),
|
|
1041
|
+
React__namespace["default"].createElement("path", { d: "M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z", fill: "white" })));
|
|
1042
|
+
|
|
1043
|
+
const ThailandRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1044
|
+
React__namespace["default"].createElement("g", null,
|
|
1045
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1046
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1047
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#ED1C24" }),
|
|
1048
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "3.31665", width: "28", height: "13.3333", fill: "white" }),
|
|
1049
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-4 6.65015H24V13.3168H-4V6.65015Z", fill: "#241D4F" }))));
|
|
1050
|
+
const ThailandSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 17", fill: "none" }, props),
|
|
1051
|
+
React__namespace["default"].createElement("rect", { y: "0.983398", width: "24", height: "16", rx: "2", fill: "#ED1C24" }),
|
|
1052
|
+
React__namespace["default"].createElement("rect", { y: "3.65039", width: "24", height: "10.6667", fill: "white" }),
|
|
1053
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 6.31689H24V11.6502H0V6.31689Z", fill: "#241D4F" })));
|
|
1054
|
+
|
|
1055
|
+
const VietnamRoundIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1056
|
+
React__namespace["default"].createElement("g", null,
|
|
1057
|
+
React__namespace["default"].createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1058
|
+
React__namespace["default"].createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1059
|
+
React__namespace["default"].createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
|
|
1060
|
+
React__namespace["default"].createElement("path", { d: "M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z", fill: "#FFEB3B" }))));
|
|
1061
|
+
const VietnamSquareIcon = (props) => (React__namespace["default"].createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1062
|
+
React__namespace["default"].createElement("g", null,
|
|
1063
|
+
React__namespace["default"].createElement("clipPath", null,
|
|
1064
|
+
React__namespace["default"].createElement("rect", { width: "24", height: "16", fill: "white" })),
|
|
1065
|
+
React__namespace["default"].createElement("path", { d: "M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z", fill: "#DA251D" }),
|
|
1066
|
+
React__namespace["default"].createElement("path", { d: "M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z", fill: "#FFEB3B" }))));
|
|
1067
|
+
|
|
1068
|
+
var styles$1 = {"flag":"pfaLGRK"};
|
|
1069
|
+
|
|
1070
|
+
const Flag = ({ country, language, rounded, height, width, isTesting, className, }) => {
|
|
1071
|
+
let flag;
|
|
1072
|
+
let flagRounded;
|
|
1073
|
+
switch (language) {
|
|
1074
|
+
case 'en':
|
|
1075
|
+
flag = React__namespace["default"].createElement(EnglishSquareIcon, null);
|
|
1076
|
+
flagRounded = React__namespace["default"].createElement(EnglishRoundIcon, null);
|
|
1077
|
+
break;
|
|
1078
|
+
case 'vi':
|
|
1079
|
+
flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
|
|
1080
|
+
flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
|
|
1081
|
+
break;
|
|
1082
|
+
case 'id':
|
|
1083
|
+
flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
1084
|
+
flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
1085
|
+
break;
|
|
1086
|
+
case 'th':
|
|
1087
|
+
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
1088
|
+
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
1089
|
+
break;
|
|
1090
|
+
case 'km':
|
|
1091
|
+
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
1092
|
+
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
1093
|
+
break;
|
|
1094
|
+
case 'ms':
|
|
1095
|
+
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
1096
|
+
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
1097
|
+
break;
|
|
1098
|
+
case 'my':
|
|
1099
|
+
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
1100
|
+
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
1101
|
+
break;
|
|
1102
|
+
case 'tl':
|
|
1103
|
+
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
1104
|
+
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
1105
|
+
break;
|
|
1106
|
+
case 'hi':
|
|
1107
|
+
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
1108
|
+
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
1109
|
+
break;
|
|
1110
|
+
case 'zh':
|
|
1111
|
+
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
1112
|
+
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
1113
|
+
break;
|
|
1114
|
+
}
|
|
1115
|
+
if (!flag && !flagRounded) {
|
|
1116
|
+
switch (country) {
|
|
1117
|
+
case 'VN':
|
|
1118
|
+
flag = React__namespace["default"].createElement(VietnamSquareIcon, null);
|
|
1119
|
+
flagRounded = React__namespace["default"].createElement(VietnamRoundIcon, null);
|
|
1120
|
+
break;
|
|
1121
|
+
case 'ID':
|
|
1122
|
+
flag = React__namespace["default"].createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
1123
|
+
flagRounded = React__namespace["default"].createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
1124
|
+
break;
|
|
1125
|
+
case 'TH':
|
|
1126
|
+
flag = React__namespace["default"].createElement(ThailandSquareIcon, null);
|
|
1127
|
+
flagRounded = React__namespace["default"].createElement(ThailandRoundIcon, null);
|
|
1128
|
+
break;
|
|
1129
|
+
case 'KH':
|
|
1130
|
+
flag = React__namespace["default"].createElement(CambodiaSquareIcon, null);
|
|
1131
|
+
flagRounded = React__namespace["default"].createElement(CambodiaRoundIcon, null);
|
|
1132
|
+
break;
|
|
1133
|
+
case 'MY':
|
|
1134
|
+
flag = React__namespace["default"].createElement(MalaysiaSquareIcon, null);
|
|
1135
|
+
flagRounded = React__namespace["default"].createElement(MalaysiaRoundIcon, null);
|
|
1136
|
+
break;
|
|
1137
|
+
case 'MM':
|
|
1138
|
+
flag = React__namespace["default"].createElement(MyanmarSquareIcon, null);
|
|
1139
|
+
flagRounded = React__namespace["default"].createElement(MyanmarRoundIcon, null);
|
|
1140
|
+
break;
|
|
1141
|
+
case 'PH':
|
|
1142
|
+
flag = React__namespace["default"].createElement(PhilippinesSquareIcon, null);
|
|
1143
|
+
flagRounded = React__namespace["default"].createElement(PhilippinesRoundIcon, null);
|
|
1144
|
+
break;
|
|
1145
|
+
case 'IN':
|
|
1146
|
+
flag = React__namespace["default"].createElement(IndiaSquareIcon, null);
|
|
1147
|
+
flagRounded = React__namespace["default"].createElement(IndiaRoundIcon, null);
|
|
1148
|
+
break;
|
|
1149
|
+
case 'TW':
|
|
1150
|
+
flag = React__namespace["default"].createElement(TaiwanSquareIcon, null);
|
|
1151
|
+
flagRounded = React__namespace["default"].createElement(TaiwanRoundIcon, null);
|
|
1152
|
+
break;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
return (React__namespace["default"].createElement("div", { className: `${styles$1.flag} ${className || ''}`, style: {
|
|
1156
|
+
'--width': width || 20,
|
|
1157
|
+
'--height': height || 20,
|
|
1158
|
+
} }, rounded ? flagRounded : flag));
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1373
1161
|
const countriesDefault = Object.values(constantsSite.siteOptions).reduce((countries, { phoneCountry: phone }) => {
|
|
1374
1162
|
if (!countries.includes(phone)) {
|
|
1375
1163
|
countries.push(phone);
|
|
@@ -1498,8 +1286,8 @@ const _ChipButton = (_a) => {
|
|
|
1498
1286
|
var { variant = 'secondary', withIcon, children, buttonProps } = _a, rest = tslib_es6.__rest(_a, ["variant", "withIcon", "children", "buttonProps"]);
|
|
1499
1287
|
const { classes, cx } = useStyles();
|
|
1500
1288
|
return (React__namespace["default"].createElement(core.Chip, Object.assign({ classNames: classes }, rest, { unstyled: true }),
|
|
1501
|
-
React__namespace["default"].createElement(index$
|
|
1502
|
-
React__namespace["default"].createElement(index$
|
|
1289
|
+
React__namespace["default"].createElement(index$4.Button, Object.assign({ className: cx(classes.btnRoot, 'checked'), leftIcon: withIcon ? React__namespace["default"].createElement(core$1.Check, { size: 18, color: "currentColor" }) : undefined, variant: variant }, buttonProps), children),
|
|
1290
|
+
React__namespace["default"].createElement(index$4.Button, Object.assign({ className: cx(classes.btnRoot, 'unchecked'), leftIcon: withIcon ? React__namespace["default"].createElement(core$1.Plus, { size: 18, color: "currentColor" }) : undefined, variant: 'tertiary' }, buttonProps), children)));
|
|
1503
1291
|
};
|
|
1504
1292
|
const ChipButton = _ChipButton;
|
|
1505
1293
|
ChipButton.Group = core.Chip.Group;
|
|
@@ -1529,6 +1317,4 @@ exports.StyledSlider = StyledSlider;
|
|
|
1529
1317
|
exports.StyledSliderWrapper = StyledSliderWrapper;
|
|
1530
1318
|
exports.StyledTextArea = StyledTextArea;
|
|
1531
1319
|
exports.emotionCache = emotionCache;
|
|
1532
|
-
exports.getMantineThemeOverride = getMantineThemeOverride;
|
|
1533
1320
|
exports.styles = styles;
|
|
1534
|
-
exports.themeColors = themeColors;
|