@hhgtech/hhg-components 1.29.412 → 1.29.413
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-050c3b98.js → InputDate-3b3443d5.js} +3 -3
- package/build/{LastPeriod-d8eac353.js → LastPeriod-5cab8b13.js} +1 -1
- package/build/{MobileBottomNavigationIcon-ecda6014.js → MobileBottomNavigationIcon-43f21847.js} +3 -3
- package/build/{Spinner-4ef13d55.js → Spinner-2f59daf3.js} +1 -1
- package/build/{WhatsApp-d12dbb72.js → WhatsApp-2e375021.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/atoms/icons/RadioWithState.d.ts +4 -0
- package/build/components/mantine/button/index.styles.d.ts +2 -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-68ffa0a7.js → constants-1e485a70.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-08d35da6.js → core-ae6da2b2.js} +1 -1
- package/build/{dataTransform-8735bb15.js → dataTransform-d57d9dff.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-6a69db83.js → editor-858847e6.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-a397eb15.js → InputDate-10321ce2.js} +3 -3
- package/build/esm/{LastPeriod-c1f54346.js → LastPeriod-d1172b27.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-3fc879af.js → MobileBottomNavigationIcon-5ad017ef.js} +3 -3
- package/build/esm/{Spinner-af4dac52.js → Spinner-f7f06e85.js} +1 -1
- package/build/esm/{WhatsApp-fa0aca07.js → WhatsApp-10e4b59b.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/atoms/icons/RadioWithState.d.ts +4 -0
- package/build/esm/components/mantine/button/index.styles.d.ts +2 -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-3b006ffc.js → constants-963ae56f.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-048098b1.js → core-9a8235e4.js} +1 -1
- package/build/esm/{dataTransform-5210bfbf.js → dataTransform-dc6a21e7.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-0fe43a0c.js → editor-69425869.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-d95598ce.js → healthTools-1a21b12d.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-39c83479.js → index-01d5c7d3.js} +1 -1
- package/build/esm/{index-87d45976.js → index-074a166c.js} +2 -2
- package/build/esm/{index-b60a6767.js → index-09a4eb57.js} +13 -16
- package/build/esm/{index-5c0af49f.js → index-09d7c3b0.js} +10 -10
- package/build/esm/{index-8a9332e6.js → index-0b3634d7.js} +22 -22
- package/build/esm/{index-bd4445c1.js → index-0dc401d6.js} +6 -6
- package/build/esm/{index-d2902ede.js → index-10beee7c.js} +13 -13
- package/build/esm/{index-63c03aa6.js → index-12354707.js} +16 -16
- package/build/esm/{index-601b8341.js → index-15308963.js} +3 -3
- package/build/esm/{index-07fe24ae.js → index-1a4f429f.js} +32 -31
- package/build/esm/{useScreenSize-eed7f4a5.js → index-21bfbdb2.js} +19 -19
- package/build/esm/{index-d01cc3c0.js → index-2286e68a.js} +4 -4
- package/build/esm/{index-72704f59.js → index-30ff6c50.js} +13 -13
- package/build/esm/{index-9273a049.js → index-37267e2b.js} +2 -2
- package/build/esm/{index-8d61d08b.js → index-3783248a.js} +3 -3
- package/build/esm/{index-cbe4e020.js → index-3b9c78cb.js} +3 -3
- package/build/esm/{index-bd62f124.js → index-3c0933c1.js} +2 -2
- package/build/esm/{index-5e194d86.js → index-40b68d98.js} +41 -21
- package/build/esm/{index-59d2c11c.js → index-416f7db8.js} +4 -4
- package/build/esm/{index-37282487.js → index-4215241c.js} +2 -2
- package/build/esm/{index-2089b25f.js → index-4a4067f9.js} +7 -7
- package/build/esm/{index-e209f26d.js → index-4b408044.js} +13 -16
- package/build/esm/{index-f0d77c88.js → index-55dd41e9.js} +5 -5
- package/build/esm/{index-8d84d37f.js → index-5b1bd3d5.js} +6 -6
- package/build/esm/{index-365fd420.js → index-5b4f0a8c.js} +1 -1
- package/build/esm/{index-568f39ce.js → index-60a78641.js} +2 -2
- package/build/esm/index-60d2f1ce.js +15 -0
- package/build/esm/{index-e36bd2db.js → index-62662de6.js} +2 -2
- package/build/esm/{index-1ca65f72.js → index-63e5ef79.js} +15 -17
- package/build/esm/{index-c5d23745.js → index-645d2dff.js} +1 -1
- package/build/esm/{index-a2c172d5.js → index-64ed9d82.js} +5 -5
- package/build/esm/{index-015e9122.js → index-6a698aee.js} +3 -3
- package/build/esm/{index-fef96a07.js → index-6ab41b81.js} +22 -39
- package/build/esm/{index-b7f10e2c.js → index-725dcbe8.js} +2 -2
- package/build/esm/{index-8504cfa5.js → index-7bd6e7a9.js} +2 -2
- package/build/esm/{index-b1cef5d0.js → index-7d35a8d8.js} +17 -18
- package/build/esm/{index-4ea64ca5.js → index-80a01c22.js} +30 -30
- package/build/esm/{index-e09205c9.js → index-84f15d10.js} +6 -6
- package/build/esm/{index-98b5cc11.js → index-85b30b6e.js} +17 -17
- package/build/esm/{index-44c542f0.js → index-86f792fe.js} +6 -6
- package/build/esm/{index-0fdd7bb2.js → index-8826ec34.js} +15 -15
- package/build/esm/{index-9ea9b1ac.js → index-8f09b680.js} +16 -16
- package/build/esm/{index-2c618a1f.js → index-8f8de6e3.js} +17 -17
- package/build/esm/{index-700fbbc5.js → index-97029355.js} +13 -13
- package/build/esm/{index-afa0d541.js → index-9960902f.js} +31 -8
- package/build/esm/{index-9ba30d51.js → index-a5adfae1.js} +24 -24
- package/build/esm/{index-e0c4aadd.js → index-a6b7b8d0.js} +1 -1
- package/build/esm/{index-b9defebb.js → index-abcb3534.js} +3 -3
- package/build/esm/{index-9d9176cc.js → index-ae4606d1.js} +7 -7
- package/build/esm/{index-a7522c77.js → index-b702de5f.js} +801 -945
- package/build/esm/{index-ea331c39.js → index-b830090f.js} +17 -17
- package/build/esm/{index-84c15ff7.js → index-bb3d787e.js} +25 -25
- package/build/esm/{index-dff5db0e.js → index-bc1dbe41.js} +2 -2
- package/build/esm/{index-c40ac7a6.js → index-c1d5dcb6.js} +15 -18
- package/build/esm/{index-fca2ef66.js → index-c96990d7.js} +1 -1
- package/build/esm/{index-33967b7e.js → index-cb3e9043.js} +1 -1
- package/build/esm/{index-db040d60.js → index-cf82878a.js} +11 -11
- package/build/esm/index-d7f3892a.js +669 -0
- package/build/esm/{index-35fdd8ae.js → index-e8332e04.js} +6 -6
- package/build/esm/{index-faef15c4.js → index-ec51c679.js} +2 -2
- package/build/esm/{index-9f64f09d.js → index-efbab58a.js} +2 -2
- package/build/esm/{index-7e1d614a.js → index-f8f14c59.js} +1 -1
- package/build/esm/{index-f5d76578.js → index-f934f5f1.js} +2 -2
- package/build/esm/{index-9e778586.js → index-fb3df44b.js} +3 -3
- package/build/esm/{index-fac45100.js → index-fba58aa1.js} +13 -13
- package/build/esm/{index-1939f39d.js → index-ff113681.js} +32 -32
- package/build/esm/{index-001a6be5.js → index-ff6e9582.js} +2 -2
- package/build/esm/{index-36afd739.js → index-ffd8a900.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +120 -119
- package/build/esm/{labelSorting-dc5f21a2.js → labelSorting-0834b777.js} +4 -4
- package/build/esm/lead/components/close.d.ts +1 -1
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +110 -142
- package/build/esm/{logoIcon-9b69e009.js → logoIcon-cc77df44.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-dff7287c.js → post-8361eda3.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-fb21e1a4.js +3 -0
- package/build/esm/ssoV2.js +31 -30
- package/build/esm/{store-691b7b66.js → store-c778da5f.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-718527ee.js → surveyThankyouCard-e94dce6e.js} +5 -5
- package/build/esm/text-59a87359.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-fee5f1e1.js → translationsProvider-3ebf538c.js} +1 -1
- package/build/esm/{treePopoverMenu-7dd4bd02.js → treePopoverMenu-4285da5b.js} +19 -19
- package/build/esm/{types-e479153e.js → types-df21b720.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-a159da08.js → useCategory-26632e37.js} +5 -5
- package/build/esm/{useHealthToolCache-ca61c89c.js → useHealthToolCache-4b607fc6.js} +1 -1
- package/build/esm/{usePlacesAutocomplete-bbed7fea.js → usePlacesAutocomplete-1d8e67a7.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-73894024.js → utils-1e9d7448.js} +5 -5
- package/build/esm/{utils-00bb41b4.js → utils-4c7de83b.js} +2 -2
- package/build/esm/{utils-6c603afa.js → utils-b4ba8268.js} +3 -3
- package/build/esm/{utils-3508f6c6.js → utils-c342182a.js} +2 -2
- package/build/esm/vaccination.js +22 -21
- package/build/footer.js +23 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-49358f01.js → healthTools-7c7979dd.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-9dc3cf83.js → index-00144aed.js} +3 -3
- package/build/{index-3dca410d.js → index-0061b2ca.js} +32 -31
- package/build/{index-3da5fe24.js → index-04ac208c.js} +6 -6
- package/build/{index-4c60f155.js → index-076d78b5.js} +2 -2
- package/build/{index-482bf0a1.js → index-0d566362.js} +6 -6
- package/build/{index-7b49e9f3.js → index-0f379286.js} +3 -3
- package/build/{index-944f1676.js → index-0f8690a7.js} +64 -64
- package/build/{index-368ea320.js → index-11c51c5b.js} +22 -22
- package/build/index-1fbe06f4.js +700 -0
- package/build/{index-b1ed7d73.js → index-1fe369de.js} +13 -13
- package/build/{index-df8918f3.js → index-25274e37.js} +1 -1
- package/build/{index-25d3b7eb.js → index-27e63625.js} +17 -17
- package/build/{index-a8456f12.js → index-2e0c2d5b.js} +13 -16
- package/build/{index-43f29f18.js → index-31ba4f00.js} +2 -2
- package/build/{index-292a1385.js → index-349aeb3b.js} +7 -7
- package/build/{index-81d87d77.js → index-36ed4a81.js} +30 -30
- package/build/{index-97c0d203.js → index-3775f98f.js} +13 -16
- package/build/index-37a56d84.js +21 -0
- package/build/{index-dfd15d6f.js → index-3f1d3420.js} +31 -8
- package/build/{index-2cc96332.js → index-47481972.js} +4 -4
- package/build/{useScreenSize-ef9730fc.js → index-4bd2782e.js} +19 -19
- package/build/{index-af146ae2.js → index-4c81156b.js} +2 -2
- package/build/{index-939160d7.js → index-59c3e010.js} +10 -10
- package/build/{index-43c6976f.js → index-5d29a18f.js} +36 -36
- package/build/{index-374fadd8.js → index-60e67c05.js} +5 -5
- package/build/{index-3ed49193.js → index-6647ec83.js} +70 -50
- package/build/{index-74928530.js → index-6d47098b.js} +3 -3
- package/build/{index-cf458655.js → index-7c941941.js} +32 -32
- package/build/{index-82b5a71c.js → index-8179f250.js} +1 -1
- package/build/{index-99162e0d.js → index-82534326.js} +2 -2
- package/build/{index-6d7ef25c.js → index-86c18fb9.js} +3 -3
- package/build/{index-f47a61da.js → index-97e86501.js} +22 -40
- package/build/{index-7c8799d9.js → index-98e55554.js} +1 -1
- package/build/{index-3a2b0cef.js → index-9bad2cc0.js} +8 -8
- package/build/{index-d23ad607.js → index-9c8ce554.js} +2 -2
- package/build/{index-ee291a90.js → index-a0f32bb8.js} +15 -17
- package/build/{index-4780c25d.js → index-a8c200e7.js} +13 -13
- package/build/{index-30c3e364.js → index-ab247efa.js} +17 -18
- package/build/{index-d12198fb.js → index-abb626f5.js} +7 -7
- package/build/{index-25820255.js → index-acd58702.js} +13 -13
- package/build/{index-095ca3e4.js → index-ae81d15d.js} +12 -12
- package/build/{index-d8ee7a10.js → index-af22252f.js} +3 -3
- package/build/{index-f6c64fbc.js → index-b11d31a1.js} +17 -17
- package/build/{index-8a8068de.js → index-b2994cce.js} +5 -5
- package/build/{index-fb2f1a4c.js → index-b2df9b85.js} +13 -13
- package/build/{index-79354918.js → index-b8b3fe36.js} +2 -2
- package/build/{index-4e48e227.js → index-b971c9ab.js} +4 -4
- package/build/{index-ffaea179.js → index-bedaf7bf.js} +2 -2
- package/build/{index-62140f27.js → index-c2bcf48e.js} +11 -11
- package/build/{index-b238826a.js → index-c40094b8.js} +41 -41
- package/build/{index-895e83ee.js → index-d1878827.js} +3 -3
- package/build/{index-de28b889.js → index-d19b5d14.js} +2 -2
- package/build/{index-49bb2821.js → index-d913e14f.js} +2 -2
- package/build/{index-7e29c07c.js → index-d9af315e.js} +20 -20
- package/build/{index-438f2856.js → index-daff4cdf.js} +1 -1
- package/build/{index-81c4c9ee.js → index-df2966a1.js} +2 -2
- package/build/{index-468ae1bf.js → index-df348b95.js} +2 -2
- package/build/{index-e276d20f.js → index-e14e7423.js} +1 -1
- package/build/{index-84f06111.js → index-e46e6749.js} +2 -2
- package/build/{index-17c04df4.js → index-e53243c0.js} +50 -50
- package/build/{index-fb442ba6.js → index-e5636945.js} +801 -947
- package/build/{index-201f9242.js → index-e99a9fee.js} +2 -2
- package/build/{index-a6474006.js → index-eacefc40.js} +1 -1
- package/build/{index-59a02633.js → index-f01cffd3.js} +2 -2
- package/build/{index-9e7a0889.js → index-f15202c3.js} +15 -18
- package/build/{index-d017a3ec.js → index-f4503547.js} +15 -15
- package/build/{index-4f2ecce1.js → index-f645df94.js} +1 -1
- package/build/{index-e602b33e.js → index-fc5c3e3e.js} +17 -17
- package/build/index.css +1 -1
- package/build/index.js +190 -189
- package/build/{labelSorting-a03d271f.js → labelSorting-119075e3.js} +4 -4
- package/build/lead/components/close.d.ts +1 -1
- package/build/lead.css +1 -1
- package/build/lead.js +116 -148
- package/build/{logoIcon-d3f66369.js → logoIcon-13d79ea4.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-32346ccc.js → post-80893856.js} +2 -2
- package/build/profileNavigation.js +21 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +24 -23
- package/build/shared-4e37a3d0.js +5 -0
- package/build/ssoV2.js +112 -111
- package/build/{store-97ab25f7.js → store-fb7b74be.js} +3 -3
- package/build/subot.js +36 -35
- package/build/surveyOrPremiumBanner.js +36 -35
- package/build/surveyQuestionCard.js +11 -10
- package/build/{surveyThankyouCard-e80dfdb8.js → surveyThankyouCard-459771d7.js} +5 -5
- package/build/text-3e6acf61.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-8c76e607.js → translationsProvider-16beacfa.js} +1 -1
- package/build/{treePopoverMenu-3c46dd11.js → treePopoverMenu-bc5ce43d.js} +47 -47
- package/build/{types-ffa2a8d1.js → types-86be4a34.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-bf48dbe0.js → useCategory-d36a8a5a.js} +5 -5
- package/build/{useHealthToolCache-65373b2a.js → useHealthToolCache-b1cebe1e.js} +1 -1
- package/build/{usePlacesAutocomplete-8009194f.js → usePlacesAutocomplete-796ccf6d.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-de59f73c.js → utils-1c9bd3de.js} +2 -2
- package/build/{utils-34d35c0b.js → utils-4fbe2e9b.js} +3 -3
- package/build/{utils-a4253ffb.js → utils-60687ead.js} +2 -2
- package/build/{utils-92f9d995.js → utils-b736cb8f.js} +5 -5
- 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-41d99308.js +0 -103
- package/build/esm/useMantineLocale-8b661839.js +0 -156
- package/build/other-90dc0ef3.js +0 -105
- package/build/useMantineLocale-afc855ad.js +0 -187
- /package/build/{BMI_BOYS.percentile.monthly-42a59ae0.js → BMI_BOYS.percentile.monthly-9b7a2b78.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-786b085f.js → BMI_BOYS.percentile.weekly-96305c2a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8d85af07.js → BMI_BOYS.percentile.yearly-caa0c3b1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f03b5ac4.js → BMI_BOYS.zscore.monthly-5ab24053.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-57a34b0c.js → BMI_BOYS.zscore.weekly-4110a92d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b17a808a.js → BMI_BOYS.zscore.yearly-d960fd31.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1449b225.js → BMI_GIRLS.percentile.monthly-a4f1d386.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-af3d3e8c.js → BMI_GIRLS.percentile.weekly-23768f9b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-d00e4338.js → BMI_GIRLS.percentile.yearly-2c01fc3b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-d972f7f6.js → BMI_GIRLS.zscore.monthly-08792957.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-36099de8.js → BMI_GIRLS.zscore.weekly-6dd2e45a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ff391053.js → BMI_GIRLS.zscore.yearly-aa748f43.js} +0 -0
- /package/build/{ChevronDown-b65c2286.js → ChevronDown-f96088fe.js} +0 -0
- /package/build/{Close-7060ba30.js → Close-3e78128a.js} +0 -0
- /package/build/{Google-003af1c7.js → Google-76de486c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-e36b7ae0.js → HEAD CIRCUM_BOYS.percentile.monthly-c4aa2118.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5ddace97.js → HEAD CIRCUM_BOYS.percentile.weekly-fcfb9197.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-aeca6a6a.js → HEAD CIRCUM_BOYS.percentile.yearly-77a01c1f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a95e3b86.js → HEAD CIRCUM_BOYS.zscore.monthly-9dfd0d50.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-02dfc8c2.js → HEAD CIRCUM_BOYS.zscore.weekly-d681750a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e2d28a73.js → HEAD CIRCUM_BOYS.zscore.yearly-2ca5011f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-a570e639.js → HEAD CIRCUM_GIRLS.percentile.monthly-eb78d394.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-bd6fc5b7.js → HEAD CIRCUM_GIRLS.percentile.weekly-8909aa7b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4d023f5e.js → HEAD CIRCUM_GIRLS.percentile.yearly-3298e290.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d7964631.js → HEAD CIRCUM_GIRLS.zscore.monthly-b75c30e8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7396c64c.js → HEAD CIRCUM_GIRLS.zscore.weekly-c49a4b82.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b8e6c7eb.js → HEAD CIRCUM_GIRLS.zscore.yearly-2da8a2b1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-08d4241f.js → HEIGHT_BOYS.percentile.monthly-73ca409c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-a495b646.js → HEIGHT_BOYS.percentile.weekly-1ebda785.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b12f9641.js → HEIGHT_BOYS.percentile.yearly-2a509058.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-81c6b506.js → HEIGHT_BOYS.zscore.monthly-555c8a43.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-f8c67997.js → HEIGHT_BOYS.zscore.weekly-c0cb9f95.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b4e8040a.js → HEIGHT_BOYS.zscore.yearly-d0c4d7d0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-453e424f.js → HEIGHT_GIRLS.percentile.monthly-06530ada.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-81785a80.js → HEIGHT_GIRLS.percentile.weekly-2e88488c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a996a4ca.js → HEIGHT_GIRLS.percentile.yearly-5bd14c2b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-20907928.js → HEIGHT_GIRLS.zscore.monthly-e326022b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-cd7dbbc6.js → HEIGHT_GIRLS.zscore.weekly-5fba4f55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-96bbb128.js → HEIGHT_GIRLS.zscore.yearly-2a46691f.js} +0 -0
- /package/build/{Locale-f9b950d8.js → Locale-0cf4ef33.js} +0 -0
- /package/build/{Visible-39bc28d7.js → Visible-88cb1247.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3a67bd63.js → WEIGHT_BOYS.percentile.monthly-ff6a7678.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8115ec2d.js → WEIGHT_BOYS.percentile.weekly-eb6212c8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a2da5869.js → WEIGHT_BOYS.percentile.yearly-298d7225.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-9b67154a.js → WEIGHT_BOYS.zscore.monthly-21e5d70d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-387e0dbd.js → WEIGHT_BOYS.zscore.weekly-2e9d562d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-3123aaa6.js → WEIGHT_BOYS.zscore.yearly-67670041.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-33fd8d1d.js → WEIGHT_GIRLS.percentile.monthly-8f2aee08.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-992c6d33.js → WEIGHT_GIRLS.percentile.weekly-a8f30313.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d66c376c.js → WEIGHT_GIRLS.percentile.yearly-5af24aa4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-6ddd29ef.js → WEIGHT_GIRLS.zscore.monthly-fdd95600.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-18087477.js → WEIGHT_GIRLS.zscore.weekly-76f5c2af.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-39166e4c.js → WEIGHT_GIRLS.zscore.yearly-a76150cf.js} +0 -0
- /package/build/{animation-71d5f8ab.js → animation-bc3fdfd6.js} +0 -0
- /package/build/{constants-0c5339fb.js → constants-324abbca.js} +0 -0
- /package/build/{constants-ad2eb583.js → constants-4a2f642d.js} +0 -0
- /package/build/{constants-da21b8ed.js → constants-9bb14bc5.js} +0 -0
- /package/build/{dataTransform-a646de5f.js → dataTransform-eba5fb0f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a8742093.js → BMI_BOYS.percentile.monthly-eed3e422.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-0aa4cbd3.js → BMI_BOYS.percentile.weekly-c420da11.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-cef0f6e4.js → BMI_BOYS.percentile.yearly-3419e507.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-1b0dde35.js → BMI_BOYS.zscore.monthly-955a610a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3ddd303c.js → BMI_BOYS.zscore.weekly-997eb290.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-e8052618.js → BMI_BOYS.zscore.yearly-102c102b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f29055c0.js → BMI_GIRLS.percentile.monthly-016b56dc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2af02a8c.js → BMI_GIRLS.percentile.weekly-e7cae23b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-d32b2362.js → BMI_GIRLS.percentile.yearly-f6687f86.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-c5efef2b.js → BMI_GIRLS.zscore.monthly-fb983b2f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-5701972e.js → BMI_GIRLS.zscore.weekly-c15f1bf6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-943baed7.js → BMI_GIRLS.zscore.yearly-6d9c01cc.js} +0 -0
- /package/build/esm/{ChevronDown-fdc33184.js → ChevronDown-9995d667.js} +0 -0
- /package/build/esm/{Close-854fed23.js → Close-d91cfc66.js} +0 -0
- /package/build/esm/{Google-738e6053.js → Google-6d1809d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ae20a7cd.js → HEAD CIRCUM_BOYS.percentile.monthly-78366b0c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4cda4023.js → HEAD CIRCUM_BOYS.percentile.weekly-9f381e19.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-682ff3a0.js → HEAD CIRCUM_BOYS.percentile.yearly-cf4f528d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-883a5116.js → HEAD CIRCUM_BOYS.zscore.monthly-0fb9b03d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-daa8d78d.js → HEAD CIRCUM_BOYS.zscore.weekly-e1d5673e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f02fd810.js → HEAD CIRCUM_BOYS.zscore.yearly-bf1a885f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-6bf27064.js → HEAD CIRCUM_GIRLS.percentile.monthly-9b82cf67.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-08744c0d.js → HEAD CIRCUM_GIRLS.percentile.weekly-5b368864.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-bab38dee.js → HEAD CIRCUM_GIRLS.percentile.yearly-f4a5c1e4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-dec5b235.js → HEAD CIRCUM_GIRLS.zscore.monthly-f0aab0e4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-7c894d9c.js → HEAD CIRCUM_GIRLS.zscore.weekly-b330180f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b8ecb269.js → HEAD CIRCUM_GIRLS.zscore.yearly-36077b15.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ee40ba78.js → HEIGHT_BOYS.percentile.monthly-1ecdd7b1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-89a69952.js → HEIGHT_BOYS.percentile.weekly-60c072a1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b3404a52.js → HEIGHT_BOYS.percentile.yearly-fa78754d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-bf44117d.js → HEIGHT_BOYS.zscore.monthly-af8b22cc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4fbecda1.js → HEIGHT_BOYS.zscore.weekly-896c274a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6ac71f22.js → HEIGHT_BOYS.zscore.yearly-24ad9700.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2bb3ec80.js → HEIGHT_GIRLS.percentile.monthly-1a9a7705.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d2b7a222.js → HEIGHT_GIRLS.percentile.weekly-1deb2eff.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d441f2cb.js → HEIGHT_GIRLS.percentile.yearly-fe191ba8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8612cf8b.js → HEIGHT_GIRLS.zscore.monthly-29100de5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-af02f595.js → HEIGHT_GIRLS.zscore.weekly-ea6c8bd8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-02792734.js → HEIGHT_GIRLS.zscore.yearly-b3739291.js} +0 -0
- /package/build/esm/{Locale-ab51c731.js → Locale-c6602a1d.js} +0 -0
- /package/build/esm/{Visible-59de538f.js → Visible-a3d0bc69.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-7ec2b33d.js → WEIGHT_BOYS.percentile.monthly-4a643374.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-83f6e072.js → WEIGHT_BOYS.percentile.weekly-dfb9b852.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-923518b1.js → WEIGHT_BOYS.percentile.yearly-48546187.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9e654f10.js → WEIGHT_BOYS.zscore.monthly-45a40377.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5005b12a.js → WEIGHT_BOYS.zscore.weekly-eb5ac698.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-07306dea.js → WEIGHT_BOYS.zscore.yearly-c87aba91.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8ece8554.js → WEIGHT_GIRLS.percentile.monthly-36e19b98.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-5ffb4807.js → WEIGHT_GIRLS.percentile.weekly-eb2bcce6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9b867e0a.js → WEIGHT_GIRLS.percentile.yearly-a6074520.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e6c8cbae.js → WEIGHT_GIRLS.zscore.monthly-44a1b487.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7c59ecb7.js → WEIGHT_GIRLS.zscore.weekly-358d3c36.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d08a289f.js → WEIGHT_GIRLS.zscore.yearly-cf8543fc.js} +0 -0
- /package/build/esm/{animation-1ef80641.js → animation-0f531fe5.js} +0 -0
- /package/build/esm/{constants-285c23dc.js → constants-522b9ea7.js} +0 -0
- /package/build/esm/{constants-d5cbd662.js → constants-e30aa64e.js} +0 -0
- /package/build/esm/{constants-a1d9e6b2.js → constants-f9d731d3.js} +0 -0
- /package/build/esm/{dataTransform-411ffa9c.js → dataTransform-952fd6f5.js} +0 -0
- /package/build/esm/{index-d5ef766b.js → index-2306e61b.js} +0 -0
- /package/build/esm/{index-a55e8421.js → index-236b4486.js} +0 -0
- /package/build/esm/{index-a141446e.js → index-35f0b741.js} +0 -0
- /package/build/esm/{index-575e6549.js → index-3794729d.js} +0 -0
- /package/build/esm/{index-a2c3a47f.js → index-49803a2e.js} +0 -0
- /package/build/esm/{index-d9ac95f3.js → index-ceaa635b.js} +0 -0
- /package/build/esm/{index-cfa05251.js → index-d5ab2b78.js} +0 -0
- /package/build/esm/{index-67c24a8e.js → index-f22059a6.js} +0 -0
- /package/build/esm/{index.styles-6168003e.js → index.styles-15ba3038.js} +0 -0
- /package/build/esm/{localizeNumberFormat-aad4829c.js → localizeNumberFormat-38fe44d0.js} +0 -0
- /package/build/esm/{normalizeLink-411d1ae6.js → normalizeLink-384bc1f9.js} +0 -0
- /package/build/esm/{number-8f14afd9.js → number-5b350541.js} +0 -0
- /package/build/esm/{paths-34c7bcde.js → paths-f9fb40fb.js} +0 -0
- /package/build/esm/{translationsContext-9561c738.js → translationsContext-686297cf.js} +0 -0
- /package/build/esm/{tslib.es6-5c2f3910.js → tslib.es6-b72daa1a.js} +0 -0
- /package/build/esm/{types-7b20c5d7.js → types-b30100d5.js} +0 -0
- /package/build/esm/{useIsInit-74970e64.js → useIsInit-747a23b6.js} +0 -0
- /package/build/esm/{useOutsideClick-f20942d1.js → useOutsideClick-910d3203.js} +0 -0
- /package/build/esm/{useScrollbarSize-5a521268.js → useScrollbarSize-bad48069.js} +0 -0
- /package/build/esm/{useUniqueId-3e9d2ccb.js → useUniqueId-fc5768de.js} +0 -0
- /package/build/esm/{utils-5612bf85.js → utils-153f2f04.js} +0 -0
- /package/build/{index-25eadac5.js → index-03a1dfa5.js} +0 -0
- /package/build/{index-4e20c43b.js → index-1fbf5b46.js} +0 -0
- /package/build/{index-df636688.js → index-38505499.js} +0 -0
- /package/build/{index-4a433f26.js → index-4e9754a8.js} +0 -0
- /package/build/{index-8e0c28fd.js → index-503a6ee8.js} +0 -0
- /package/build/{index-7f282c8d.js → index-52c1a8a8.js} +0 -0
- /package/build/{index-77d9f57e.js → index-559721ac.js} +0 -0
- /package/build/{index-8ae753c6.js → index-b409609f.js} +0 -0
- /package/build/{index.styles-2331b34a.js → index.styles-90d0628e.js} +0 -0
- /package/build/{localizeNumberFormat-47dae910.js → localizeNumberFormat-a9ab7ebd.js} +0 -0
- /package/build/{normalizeLink-d1de1f56.js → normalizeLink-b687d725.js} +0 -0
- /package/build/{number-660425d0.js → number-4fd75e51.js} +0 -0
- /package/build/{paths-a413ba6b.js → paths-d0f7481b.js} +0 -0
- /package/build/{translationsContext-841d7536.js → translationsContext-ffa516bd.js} +0 -0
- /package/build/{tslib.es6-cdd778e4.js → tslib.es6-bd9d8302.js} +0 -0
- /package/build/{types-f23ca6ca.js → types-40508363.js} +0 -0
- /package/build/{useIsInit-f3072495.js → useIsInit-6ca9d3a9.js} +0 -0
- /package/build/{useOutsideClick-f232faa3.js → useOutsideClick-e9d6129f.js} +0 -0
- /package/build/{useScrollbarSize-97a0897b.js → useScrollbarSize-490fdd2f.js} +0 -0
- /package/build/{useUniqueId-227c39ec.js → useUniqueId-4f37ba5e.js} +0 -0
- /package/build/{utils-4c467f5f.js → utils-28ea2538.js} +0 -0
|
@@ -1,967 +1,370 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-b72daa1a.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { forwardRef, Component, useState, useCallback, useEffect, createContext, useContext, useRef, useMemo, useImperativeHandle } from 'react';
|
|
4
4
|
import { ArrowDown } from '@hhgtech/icons/other';
|
|
5
|
-
import {
|
|
5
|
+
import { Autocomplete, Image, ActionIcon, Select as Select$1, createStyles, AspectRatio as AspectRatio$1, useMantineTheme, Box, Breadcrumbs as Breadcrumbs$1, Textarea, Accordion as Accordion$1, Indicator, Avatar as Avatar$1, FileInput as FileInput$1, createEmotionCache, NumberInput as NumberInput$1, PasswordInput as PasswordInput$1, TextInput, Input as Input$1, Checkbox as Checkbox$1, Slider, Radio as Radio$1, Flex, Popover as Popover$1, rem, Chip } from '@mantine/core';
|
|
6
6
|
import { useUncontrolled, useDebouncedValue, useViewportSize, useResizeObserver, useDisclosure, useClickOutside } from '@mantine/hooks';
|
|
7
|
-
import { C as CommonGAssets } from './index-
|
|
8
|
-
import {
|
|
7
|
+
import { C as CommonGAssets } from './index-3794729d.js';
|
|
8
|
+
import { u as useScreenSize, I as ImageWrap } from './index-21bfbdb2.js';
|
|
9
9
|
import styled from '@emotion/styled';
|
|
10
10
|
import { Carousel as Carousel$1 } from '@mantine/carousel';
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
11
|
+
import { T as Text } from './index-9960902f.js';
|
|
12
|
+
import { t as themeColors } from './index-d7f3892a.js';
|
|
13
13
|
import { theme } from './miscTheme.js';
|
|
14
|
-
import {
|
|
15
|
-
import { G as GlobalHeadingStyle, a as GlobalContainerStyle } from './useMantineLocale-8b661839.js';
|
|
16
|
-
import { I as ISO_FORMAT } from './index-001a6be5.js';
|
|
17
|
-
import { A as ANIMATION_DURATION, B as Button } from './index-fef96a07.js';
|
|
18
|
-
import { L as LOCALE } from './Locale-ab51c731.js';
|
|
14
|
+
import { C as CustomStylesType } from './text-59a87359.js';
|
|
19
15
|
import cn from 'classnames';
|
|
20
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
16
|
+
import { a as useUniqueId } from './useUniqueId-fc5768de.js';
|
|
21
17
|
import { siteOptions } from './constantsSite.js';
|
|
22
18
|
import { Check, Plus } from '@hhgtech/icons/core';
|
|
19
|
+
import { B as Button } from './index-6ab41b81.js';
|
|
23
20
|
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
var _a;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
display: 'inline-flex',
|
|
40
|
-
gap: 4,
|
|
41
|
-
marginBottom: '0.25rem',
|
|
42
|
-
fontWeight: 600,
|
|
43
|
-
fontSize: '14px',
|
|
44
|
-
lineHeight: '22px',
|
|
45
|
-
color: theme.colors.gray600,
|
|
46
|
-
},
|
|
47
|
-
description: {
|
|
48
|
-
fontWeight: 400,
|
|
49
|
-
fontSize: '12px',
|
|
50
|
-
lineHeight: '18px',
|
|
51
|
-
color: theme.colors.gray600,
|
|
52
|
-
marginBottom: '0.25rem',
|
|
53
|
-
},
|
|
54
|
-
error: {
|
|
55
|
-
marginTop: '0.25rem',
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
NumberInput: {
|
|
60
|
-
defaultProps: {
|
|
61
|
-
decimalSeparator: (_a = ISO_FORMAT[locale]) === null || _a === void 0 ? void 0 : _a.separator,
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
Input: {
|
|
65
|
-
styles: (_theme, _, { size }) => ({
|
|
66
|
-
input: {
|
|
67
|
-
border: `1px solid ${theme.colors.gray200}`,
|
|
68
|
-
transition: `all ${ANIMATION_DURATION} ease-in-out`,
|
|
69
|
-
['&:not(.mantine-Textarea-input)']: Object.assign({}, (() => {
|
|
70
|
-
switch (size) {
|
|
71
|
-
case 'lg':
|
|
72
|
-
return {
|
|
73
|
-
height: 48,
|
|
74
|
-
fontSize: 16,
|
|
75
|
-
minHeight: 'unset',
|
|
76
|
-
lineHeight: '24px',
|
|
77
|
-
};
|
|
78
|
-
case 'md':
|
|
79
|
-
return {
|
|
80
|
-
height: 40,
|
|
81
|
-
fontSize: 14,
|
|
82
|
-
lineHeight: '22px',
|
|
83
|
-
minHeight: 'unset',
|
|
84
|
-
};
|
|
85
|
-
case 'sm':
|
|
86
|
-
return {
|
|
87
|
-
height: 32,
|
|
88
|
-
fontSize: 14,
|
|
89
|
-
lineHeight: '22px',
|
|
90
|
-
minHeight: 'unset',
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
})()),
|
|
94
|
-
'&:hover': {
|
|
95
|
-
border: `1px solid ${_theme.primaryColor}`,
|
|
96
|
-
// boxShadow: `0 0 2px 2px ${theme.colors.primary200}`,
|
|
97
|
-
},
|
|
98
|
-
'&:focus': {
|
|
99
|
-
boxShadow: `0px 0px 0px 2px ${_theme.colors[_theme.primaryColor][2]}`,
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
'&[data-invalid="true"]': {
|
|
103
|
-
border: `1px solid ${theme.colors.red600}`,
|
|
104
|
-
color: '#000',
|
|
105
|
-
},
|
|
106
|
-
}),
|
|
107
|
-
},
|
|
21
|
+
const Select = forwardRef((_a, ref) => {
|
|
22
|
+
var { keepSearch = false } = _a, props = __rest(_a, ["keepSearch"]);
|
|
23
|
+
if (keepSearch) {
|
|
24
|
+
return (React__default.createElement(_AutoComplete, Object.assign({}, props, { ref: ref })));
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
return React__default.createElement(_Select, Object.assign({}, props, { ref: ref }));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const _AutoComplete = forwardRef((_a, ref) => {
|
|
31
|
+
var { value, defaultValue, onChange, clearable } = _a, props = __rest(_a, ["value", "defaultValue", "onChange", "clearable"]);
|
|
32
|
+
const [_value, handleChange] = useUncontrolled({
|
|
33
|
+
value,
|
|
34
|
+
defaultValue,
|
|
35
|
+
onChange,
|
|
108
36
|
});
|
|
109
|
-
|
|
37
|
+
const onClear = () => {
|
|
38
|
+
handleChange('');
|
|
39
|
+
};
|
|
40
|
+
return (React__default.createElement(Autocomplete, Object.assign({ ref: ref, rightSection: React__default.createElement(Image, { src: 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
|
|
41
|
+
? {
|
|
42
|
+
rightSection: (React__default.createElement(ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
43
|
+
React__default.createElement(_IconSelect, null))),
|
|
44
|
+
}
|
|
45
|
+
: {}))));
|
|
46
|
+
});
|
|
47
|
+
const _Select = forwardRef((_a, ref) => {
|
|
48
|
+
var { searchValue, onSearchChange } = _a, props = __rest(_a, ["searchValue", "onSearchChange"]);
|
|
49
|
+
const [_searchValue, handleSearchChange] = useUncontrolled({
|
|
50
|
+
defaultValue: '',
|
|
51
|
+
value: searchValue,
|
|
52
|
+
onChange: onSearchChange,
|
|
53
|
+
});
|
|
54
|
+
const onClear = () => {
|
|
55
|
+
handleSearchChange('');
|
|
56
|
+
};
|
|
57
|
+
return (React__default.createElement(Select$1, Object.assign({ ref: ref, rightSection: React__default.createElement(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
|
|
58
|
+
? {
|
|
59
|
+
rightSection: (React__default.createElement(ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
60
|
+
React__default.createElement(_IconSelect, null))),
|
|
61
|
+
}
|
|
62
|
+
: {}))));
|
|
63
|
+
});
|
|
64
|
+
const _IconSelect = () => (React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
65
|
+
React__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" })));
|
|
110
66
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
67
|
+
class ErrorBoundary extends Component {
|
|
68
|
+
constructor() {
|
|
69
|
+
super(...arguments);
|
|
70
|
+
this.state = {
|
|
71
|
+
hasError: false,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
static getDerivedStateFromError() {
|
|
75
|
+
// Update state so the next render will show the fallback UI.
|
|
76
|
+
return { hasError: true };
|
|
77
|
+
}
|
|
78
|
+
componentDidCatch(error, errorInfo) {
|
|
79
|
+
console.error('Uncaught error:', error, errorInfo);
|
|
80
|
+
}
|
|
81
|
+
render() {
|
|
82
|
+
if (this.state.hasError) {
|
|
83
|
+
return this.props.fallback || React__default.createElement(React__default.Fragment, null);
|
|
84
|
+
}
|
|
85
|
+
return this.props.children;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
127
88
|
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
'#2743ad',
|
|
140
|
-
],
|
|
141
|
-
mb: [
|
|
142
|
-
'#FFE9F1',
|
|
143
|
-
'#F8CCDC',
|
|
144
|
-
'#F5B4CB',
|
|
145
|
-
'#F29CBA',
|
|
146
|
-
'#EE84AA',
|
|
147
|
-
'#EB6B99',
|
|
148
|
-
'#E85388',
|
|
149
|
-
'#D34C7C',
|
|
150
|
-
'#BE446F',
|
|
151
|
-
'#A93D63',
|
|
152
|
-
],
|
|
153
|
-
blue: [
|
|
154
|
-
'#e3f2ff',
|
|
155
|
-
'#bcdeff',
|
|
156
|
-
'#91caff',
|
|
157
|
-
'#65b5ff',
|
|
158
|
-
'#45a4ff',
|
|
159
|
-
'#2b94ff',
|
|
160
|
-
'#2d87f3',
|
|
161
|
-
'#2c74df',
|
|
162
|
-
'#2b62cd',
|
|
163
|
-
'#2743ad',
|
|
164
|
-
],
|
|
165
|
-
gray: [
|
|
166
|
-
'#fafafa',
|
|
167
|
-
'#f2f2f2',
|
|
168
|
-
'#d9d9d9',
|
|
169
|
-
'#bfbfbf',
|
|
170
|
-
'#8c8c8c',
|
|
171
|
-
'#737373',
|
|
172
|
-
'#595959',
|
|
173
|
-
'#404040',
|
|
174
|
-
'#262626',
|
|
175
|
-
'#1a1a1a',
|
|
176
|
-
],
|
|
177
|
-
delftGray: [
|
|
178
|
-
'#F3F3F3',
|
|
179
|
-
'#EAEAEC',
|
|
180
|
-
'#D9DAE2',
|
|
181
|
-
'#B9BAC8',
|
|
182
|
-
'#9898A9',
|
|
183
|
-
'#7C7C8F',
|
|
184
|
-
'#5A5A72',
|
|
185
|
-
'#3E3F58',
|
|
186
|
-
'#202135',
|
|
187
|
-
'#0C0C12',
|
|
188
|
-
],
|
|
189
|
-
neutral: [
|
|
190
|
-
'#f7f9fc',
|
|
191
|
-
'#e4e8ec',
|
|
192
|
-
'#d2d6dc',
|
|
193
|
-
'#bfc5cc',
|
|
194
|
-
'#adb3bc',
|
|
195
|
-
'#9aa2ac',
|
|
196
|
-
'#87909c',
|
|
197
|
-
'#757f8c',
|
|
198
|
-
'#626d7c',
|
|
199
|
-
'#545E6C',
|
|
200
|
-
],
|
|
201
|
-
green: [
|
|
202
|
-
'#e0f8ee',
|
|
203
|
-
'#b3eed5',
|
|
204
|
-
'#7ce2b9',
|
|
205
|
-
'#2ed69e',
|
|
206
|
-
'#00CB8A',
|
|
207
|
-
'#00C076',
|
|
208
|
-
'#00B16A',
|
|
209
|
-
'#009E5C',
|
|
210
|
-
'#008C50',
|
|
211
|
-
'#006C39',
|
|
212
|
-
],
|
|
213
|
-
pink: [
|
|
214
|
-
'#fff1f6',
|
|
215
|
-
'#ffdce9',
|
|
216
|
-
'#fec7dc',
|
|
217
|
-
'#feb2cf',
|
|
218
|
-
'#fe9dc2',
|
|
219
|
-
'#fd87b4',
|
|
220
|
-
'#fd72a7',
|
|
221
|
-
'#fc5d9a',
|
|
222
|
-
'#fc488d',
|
|
223
|
-
'#e92d74',
|
|
224
|
-
],
|
|
225
|
-
violet: [
|
|
226
|
-
'#F5EDFF',
|
|
227
|
-
'#E7D2F7',
|
|
228
|
-
'#D8B7F0',
|
|
229
|
-
'#CA9CE8',
|
|
230
|
-
'#BB82E1',
|
|
231
|
-
'#AD67D9',
|
|
232
|
-
'#9E4CD1',
|
|
233
|
-
'#9031CA',
|
|
234
|
-
'#8116C2',
|
|
235
|
-
'#63059D',
|
|
236
|
-
],
|
|
237
|
-
yellow: [
|
|
238
|
-
'#fff8e2',
|
|
239
|
-
'#ffecb6',
|
|
240
|
-
'#ffe187',
|
|
241
|
-
'#ffd658',
|
|
242
|
-
'#ffcb37',
|
|
243
|
-
'#ffc326',
|
|
244
|
-
'#ffb521',
|
|
245
|
-
'#fea21e',
|
|
246
|
-
'#fe921d',
|
|
247
|
-
'#fc7419',
|
|
248
|
-
],
|
|
249
|
-
teal: [
|
|
250
|
-
'#e0f7fc',
|
|
251
|
-
'#b1ebf8',
|
|
252
|
-
'#7ddff3',
|
|
253
|
-
'#44d1ec',
|
|
254
|
-
'#00c7e6',
|
|
255
|
-
'#00bee0',
|
|
256
|
-
'#00aecd',
|
|
257
|
-
'#0099b2',
|
|
258
|
-
'#008599',
|
|
259
|
-
'#00626c',
|
|
260
|
-
],
|
|
261
|
-
indigol: [
|
|
262
|
-
'#CEDDF0',
|
|
263
|
-
'#ACC5E6',
|
|
264
|
-
'#95B3DA',
|
|
265
|
-
'#85A6CF',
|
|
266
|
-
'#6D91BE',
|
|
267
|
-
'#5F85B5',
|
|
268
|
-
'#4C77AC',
|
|
269
|
-
'#35639C',
|
|
270
|
-
'#284A75',
|
|
271
|
-
'#1B3250',
|
|
272
|
-
],
|
|
273
|
-
red: [
|
|
274
|
-
'#fae9e8',
|
|
275
|
-
'#feccbf',
|
|
276
|
-
'#FEAA96',
|
|
277
|
-
'#f44d2c',
|
|
278
|
-
'#ff6f4d',
|
|
279
|
-
'#ff5331',
|
|
280
|
-
'#f44d2c',
|
|
281
|
-
'#e64728',
|
|
282
|
-
'#d84023',
|
|
283
|
-
'#bf331b',
|
|
284
|
-
],
|
|
285
|
-
redViolet: [
|
|
286
|
-
'#F3EAEB',
|
|
287
|
-
'#E8D5D7',
|
|
288
|
-
'#DDC1C4',
|
|
289
|
-
'#D1ACB0',
|
|
290
|
-
'#C5979C',
|
|
291
|
-
'#BA8288',
|
|
292
|
-
'#AF6D74',
|
|
293
|
-
'#A35961',
|
|
294
|
-
'#97444D',
|
|
295
|
-
'#8C2F39',
|
|
296
|
-
],
|
|
89
|
+
const CarouselWrapper$1 = (_a) => {
|
|
90
|
+
var { slidesToShow = 1, children } = _a, props = __rest(_a, ["slidesToShow", "children"]);
|
|
91
|
+
const length = Array.isArray(children) ? children.length : 1;
|
|
92
|
+
if (!length)
|
|
93
|
+
return null;
|
|
94
|
+
return (React__default.createElement(ErrorBoundary, null,
|
|
95
|
+
React__default.createElement(Carousel$1
|
|
96
|
+
// get 2 precision number
|
|
97
|
+
, Object.assign({
|
|
98
|
+
// get 2 precision number
|
|
99
|
+
slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
|
|
297
100
|
};
|
|
298
|
-
const
|
|
101
|
+
const Carousel = CarouselWrapper$1;
|
|
102
|
+
Carousel.Slide = Carousel$1.Slide;
|
|
103
|
+
|
|
104
|
+
const StyledCarousel = styled(Carousel) `
|
|
105
|
+
cursor: grab;
|
|
106
|
+
width: 100%;
|
|
107
|
+
.mantine-Carousel-control {
|
|
108
|
+
background: rgb(255, 255, 255);
|
|
109
|
+
opacity: 1;
|
|
110
|
+
border: none;
|
|
111
|
+
border-radius: 0;
|
|
112
|
+
box-shadow: none;
|
|
113
|
+
&[data-inactive] {
|
|
114
|
+
opacity: 0;
|
|
115
|
+
cursor: default;
|
|
116
|
+
}
|
|
117
|
+
&:first-child {
|
|
118
|
+
padding-right: 24px;
|
|
119
|
+
background: linear-gradient(
|
|
120
|
+
90deg,
|
|
121
|
+
rgba(255, 255, 255, 1) 0%,
|
|
122
|
+
rgba(255, 255, 255, 1) 50%,
|
|
123
|
+
rgba(255, 255, 255, 0) 100%
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
&:last-child {
|
|
127
|
+
padding-left: 24px;
|
|
128
|
+
background: linear-gradient(
|
|
129
|
+
270deg,
|
|
130
|
+
rgba(255, 255, 255, 1) 0%,
|
|
131
|
+
rgba(255, 255, 255, 1) 50%,
|
|
132
|
+
rgba(255, 255, 255, 0) 100%
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.mantine-Carousel-container {
|
|
138
|
+
align-items: center;
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
|
|
142
|
+
var useStyles$1 = createStyles((_theme, _params) => {
|
|
299
143
|
return {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
fontFamily: (locale === LOCALE.Cambodia
|
|
306
|
-
? 'Battambang'
|
|
307
|
-
: locale === LOCALE.Thailand
|
|
308
|
-
? 'Noto Sans Thai'
|
|
309
|
-
: 'Inter') +
|
|
310
|
-
`, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif`,
|
|
311
|
-
breakpoints: {
|
|
312
|
-
xs: em(Breakpoints.BREAK_POINT_SMALL_MOBILE),
|
|
313
|
-
sm: em(Breakpoints.BREAK_POINT_MOBILE),
|
|
314
|
-
md: em(Breakpoints.BREAK_POINT_TABLET),
|
|
315
|
-
lg: em(Breakpoints.BREAK_POINT_PC),
|
|
316
|
-
xl: em(Breakpoints.BREAK_POINT_LGPC),
|
|
317
|
-
},
|
|
318
|
-
components: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, GlobalInputStyle(locale)), getGlobalRadioStyle), GlobalButtonStyle), GlobalHeadingStyle), GlobalContainerStyle),
|
|
319
|
-
other: {
|
|
320
|
-
template,
|
|
321
|
-
defaultImage: CommonGAssets.getAssetPath(template === 'mb' ? 'default-image-mb.jpg' : 'default-image.jpg'),
|
|
144
|
+
root: {
|
|
145
|
+
color: _params.color ||
|
|
146
|
+
(_theme.primaryColor === 'hb'
|
|
147
|
+
? _theme.colors.hb[6]
|
|
148
|
+
: _theme.fn.primaryColor()),
|
|
322
149
|
},
|
|
323
150
|
};
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
const CambodiaRoundIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "round cambodia flag", src: CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
327
|
-
const CambodiaSquareIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "square cambodia flag", src: CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
151
|
+
});
|
|
328
152
|
|
|
329
|
-
const
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
React__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" }),
|
|
335
|
-
React__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" }),
|
|
336
|
-
React__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" }),
|
|
337
|
-
React__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" }),
|
|
338
|
-
React__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" }),
|
|
339
|
-
React__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" }),
|
|
340
|
-
React__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" }),
|
|
341
|
-
React__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" }),
|
|
342
|
-
React__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" }),
|
|
343
|
-
React__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" }),
|
|
344
|
-
React__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" }),
|
|
345
|
-
React__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" }),
|
|
346
|
-
React__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" }),
|
|
347
|
-
React__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" }),
|
|
348
|
-
React__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" }),
|
|
349
|
-
React__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" }),
|
|
350
|
-
React__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" }),
|
|
351
|
-
React__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" }),
|
|
352
|
-
React__default.createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
|
|
353
|
-
React__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" }),
|
|
354
|
-
React__default.createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
|
|
355
|
-
React__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" }),
|
|
356
|
-
React__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" }),
|
|
357
|
-
React__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" }),
|
|
358
|
-
React__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" }),
|
|
359
|
-
React__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" }))));
|
|
360
|
-
const EnglishSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
|
|
361
|
-
React__default.createElement("g", null,
|
|
362
|
-
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
|
|
363
|
-
React__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" })),
|
|
364
|
-
React__default.createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
|
|
365
|
-
React__default.createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
|
|
366
|
-
React__default.createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
|
|
367
|
-
React__default.createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
|
|
368
|
-
React__default.createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
|
|
369
|
-
React__default.createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
|
|
370
|
-
React__default.createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
|
|
371
|
-
React__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" }),
|
|
372
|
-
React__default.createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
153
|
+
const Anchor = (_a) => {
|
|
154
|
+
var { color, styles, className } = _a, rest = __rest(_a, ["color", "styles", "className"]);
|
|
155
|
+
const { classes, cx } = useStyles$1({ color }, { name: 'Anchor', styles });
|
|
156
|
+
return React__default.createElement(Text, Object.assign({ as: "a", className: cx(classes.root, className) }, rest));
|
|
157
|
+
};
|
|
373
158
|
|
|
374
|
-
const
|
|
375
|
-
|
|
159
|
+
const BreadcrumbItem = (_a) => {
|
|
160
|
+
var { children } = _a, rest = __rest(_a, ["children"]);
|
|
161
|
+
return (React__default.createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
162
|
+
};
|
|
376
163
|
|
|
377
|
-
const
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
React__default.createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
|
|
386
|
-
};
|
|
387
|
-
const IndonesiaSquareIcon = (_a) => {
|
|
388
|
-
var rest = __rest(_a, []);
|
|
389
|
-
const clipPathId = useUniqueId();
|
|
390
|
-
return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
|
|
391
|
-
React__default.createElement("g", { clipPath: `url(#${clipPathId})` },
|
|
392
|
-
React__default.createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
|
|
393
|
-
React__default.createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
|
|
394
|
-
React__default.createElement("defs", null,
|
|
395
|
-
React__default.createElement("clipPath", { id: clipPathId },
|
|
396
|
-
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
|
|
164
|
+
const AspectRatio = (props) => {
|
|
165
|
+
return (React__default.createElement(AspectRatio$1, Object.assign({ sx: {
|
|
166
|
+
borderRadius: 4,
|
|
167
|
+
overflow: 'hidden',
|
|
168
|
+
'> img': {
|
|
169
|
+
objectFit: 'contain',
|
|
170
|
+
},
|
|
171
|
+
} }, props)));
|
|
397
172
|
};
|
|
398
173
|
|
|
399
|
-
const
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
React__default.createElement("
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
174
|
+
const _Breadcrumbs = (_a) => {
|
|
175
|
+
var _b;
|
|
176
|
+
var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = __rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
|
|
177
|
+
const theme = useMantineTheme();
|
|
178
|
+
const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
|
|
179
|
+
const [embla, setEmbla] = useState(null);
|
|
180
|
+
const { isMobile } = useScreenSize();
|
|
181
|
+
const [, setShouldAllowClick] = useState(true);
|
|
182
|
+
const handleScroll = useCallback(() => {
|
|
183
|
+
setShouldAllowClick(false);
|
|
184
|
+
}, []);
|
|
185
|
+
const handlePointerUp = useCallback(() => {
|
|
186
|
+
setTimeout(() => {
|
|
187
|
+
setShouldAllowClick(true);
|
|
188
|
+
}, 1000);
|
|
189
|
+
}, []);
|
|
190
|
+
useEffect(() => {
|
|
191
|
+
if (embla) {
|
|
192
|
+
embla.on('scroll', handleScroll);
|
|
193
|
+
embla.on('pointerUp', handlePointerUp);
|
|
194
|
+
}
|
|
195
|
+
return () => {
|
|
196
|
+
if (embla) {
|
|
197
|
+
embla.off('scroll', handleScroll);
|
|
198
|
+
embla.on('pointerUp', handlePointerUp);
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
}, [embla, handleScroll, handlePointerUp]);
|
|
202
|
+
return (React__default.createElement(StyledCarousel, Object.assign({ align: "center", slideGap: "xs", dragFree: true, draggable: isMobile, slideSize: "0", getEmblaApi: setEmbla, controlsOffset: -52, previousControlIcon: React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
203
|
+
React__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__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
204
|
+
React__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),
|
|
205
|
+
showHomeIcon && (React__default.createElement(Carousel.Slide, { style: { borderRight: `1px solid ${themeColors.neutral[1]}` } },
|
|
206
|
+
React__default.createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
|
|
207
|
+
React__default.createElement(Box, { sx: Object.assign({}, (!isMarryBaby && {
|
|
208
|
+
borderRadius: '50%',
|
|
209
|
+
display: 'flex',
|
|
210
|
+
justifyContent: 'center',
|
|
211
|
+
alignItems: 'center',
|
|
212
|
+
})), bg: !isMarryBaby && themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
|
|
213
|
+
React__default.createElement(AspectRatio, { ratio: 1, w: 18 }, isMarryBaby ? (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
214
|
+
React__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" }),
|
|
215
|
+
React__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__default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
216
|
+
React__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" })))))))),
|
|
217
|
+
React__default.createElement(Carousel.Slide, null),
|
|
218
|
+
React__default.createElement(Carousel.Slide, null,
|
|
219
|
+
React__default.createElement(Breadcrumbs$1, { styles: {
|
|
220
|
+
separator: {
|
|
221
|
+
marginInline: 4,
|
|
222
|
+
},
|
|
223
|
+
}, separator: React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
224
|
+
React__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))));
|
|
225
|
+
};
|
|
226
|
+
const Breadcrumbs = _Breadcrumbs;
|
|
227
|
+
Breadcrumbs.Item = BreadcrumbItem;
|
|
434
228
|
|
|
435
|
-
const
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z", fill: "white" }),
|
|
444
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z", fill: "white" }),
|
|
445
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z", fill: "white" }),
|
|
446
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z", fill: "white" }))));
|
|
447
|
-
const MyanmarSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
448
|
-
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
|
|
449
|
-
React__default.createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
|
|
450
|
-
React__default.createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
|
|
451
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
|
|
452
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z", fill: "white" }),
|
|
453
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z", fill: "white" }),
|
|
454
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
455
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
229
|
+
const StyledTextArea = styled(Textarea) `
|
|
230
|
+
.mantine-Textarea-input {
|
|
231
|
+
padding: 12px 16px;
|
|
232
|
+
background: #ffffff;
|
|
233
|
+
border: 1px solid ${theme.colors.gray200};
|
|
234
|
+
border-radius: 4px;
|
|
235
|
+
}
|
|
236
|
+
`;
|
|
456
237
|
|
|
457
|
-
const
|
|
458
|
-
|
|
238
|
+
const StyledAccordion = styled(Accordion$1) `
|
|
239
|
+
.mantine-Accordion-label {
|
|
240
|
+
padding: 0;
|
|
241
|
+
}
|
|
242
|
+
.mantine-Accordion-control {
|
|
243
|
+
&:hover {
|
|
244
|
+
background-color: transparent;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
.mantine-Accordion-item {
|
|
248
|
+
.mantine-Accordion-chevron {
|
|
249
|
+
> div {
|
|
250
|
+
background-repeat: no-repeat;
|
|
251
|
+
width: 16px;
|
|
252
|
+
height: 16px;
|
|
253
|
+
background-position: center;
|
|
254
|
+
background-image: url(${(props) => props.closeChevron || CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
&[data-active='true'] {
|
|
258
|
+
.mantine-Accordion-chevron {
|
|
259
|
+
> div {
|
|
260
|
+
background-image: url(${(props) => props.openChevron || CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
.mantine-Accordion-panel {
|
|
266
|
+
border-radius: ${theme.borderRadius};
|
|
267
|
+
}
|
|
268
|
+
.mantine-Accordion-content {
|
|
269
|
+
white-space: pre-wrap;
|
|
270
|
+
}
|
|
271
|
+
`;
|
|
459
272
|
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
React__default.createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
|
|
469
|
-
React__default.createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
|
|
470
|
-
React__default.createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
471
|
-
React__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" }),
|
|
472
|
-
React__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" }),
|
|
473
|
-
React__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" }),
|
|
474
|
-
React__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" }),
|
|
475
|
-
React__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" }),
|
|
476
|
-
React__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" }),
|
|
477
|
-
React__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" }),
|
|
478
|
-
React__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" }),
|
|
479
|
-
React__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" }),
|
|
480
|
-
React__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" }),
|
|
481
|
-
React__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" }),
|
|
482
|
-
React__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" })))));
|
|
483
|
-
const TaiwanSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
484
|
-
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
|
|
485
|
-
React__default.createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
|
|
486
|
-
React__default.createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
487
|
-
React__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" }),
|
|
488
|
-
React__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" }),
|
|
489
|
-
React__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" }),
|
|
490
|
-
React__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" }),
|
|
491
|
-
React__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" }),
|
|
492
|
-
React__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" }),
|
|
493
|
-
React__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" }),
|
|
494
|
-
React__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" }),
|
|
495
|
-
React__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" }),
|
|
496
|
-
React__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" }),
|
|
497
|
-
React__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" }),
|
|
498
|
-
React__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" })));
|
|
273
|
+
const _Accordion = (_a) => {
|
|
274
|
+
var { children } = _a, rest = __rest(_a, ["children"]);
|
|
275
|
+
return (React__default.createElement(StyledAccordion, Object.assign({ chevron: React__default.createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
|
|
276
|
+
};
|
|
277
|
+
const Accordion = _Accordion;
|
|
278
|
+
Accordion.Control = Accordion$1.Control;
|
|
279
|
+
Accordion.Item = Accordion$1.Item;
|
|
280
|
+
Accordion.Panel = Accordion$1.Panel;
|
|
499
281
|
|
|
500
|
-
const
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
React__default.createElement(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
282
|
+
const DEFAULT_AVATAR = CommonGAssets.getAssetPath('avatar.jpg');
|
|
283
|
+
const Avatar = (_a) => {
|
|
284
|
+
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
285
|
+
avatarProps = __rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
286
|
+
const generateAvatar = () => {
|
|
287
|
+
return (React__default.createElement(Avatar$1, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
|
|
288
|
+
placeholder: {
|
|
289
|
+
backgroundColor: avatarProps.color,
|
|
290
|
+
color: 'white',
|
|
291
|
+
},
|
|
292
|
+
} }), children ? (children) : placeholderText ? (placeholderText) : (React__default.createElement(ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
|
|
293
|
+
};
|
|
294
|
+
if (withIndicator)
|
|
295
|
+
return (React__default.createElement(Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
|
|
296
|
+
backgroundColor: React__default.isValidElement(indicatorConfig.label) && 'transparent',
|
|
297
|
+
zIndex: 1,
|
|
298
|
+
} }, styles) }), generateAvatar()));
|
|
299
|
+
return generateAvatar();
|
|
300
|
+
};
|
|
511
301
|
|
|
512
|
-
const
|
|
513
|
-
React__default.createElement("
|
|
514
|
-
|
|
515
|
-
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
516
|
-
React__default.createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
|
|
517
|
-
React__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" }))));
|
|
518
|
-
const VietnamSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
519
|
-
React__default.createElement("g", null,
|
|
520
|
-
React__default.createElement("clipPath", null,
|
|
521
|
-
React__default.createElement("rect", { width: "24", height: "16", fill: "white" })),
|
|
522
|
-
React__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" }),
|
|
523
|
-
React__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" }))));
|
|
302
|
+
const FileInput = (props) => {
|
|
303
|
+
return React__default.createElement(FileInput$1, Object.assign({ size: "md" }, props));
|
|
304
|
+
};
|
|
524
305
|
|
|
525
|
-
|
|
306
|
+
const DEBOUNCED_TIME = 300;
|
|
307
|
+
const emotionCache = createEmotionCache({
|
|
308
|
+
key: 'mantine',
|
|
309
|
+
prepend: false,
|
|
310
|
+
});
|
|
526
311
|
|
|
527
|
-
const
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
break;
|
|
543
|
-
case 'th':
|
|
544
|
-
flag = React__default.createElement(ThailandSquareIcon, null);
|
|
545
|
-
flagRounded = React__default.createElement(ThailandRoundIcon, null);
|
|
546
|
-
break;
|
|
547
|
-
case 'km':
|
|
548
|
-
flag = React__default.createElement(CambodiaSquareIcon, null);
|
|
549
|
-
flagRounded = React__default.createElement(CambodiaRoundIcon, null);
|
|
550
|
-
break;
|
|
551
|
-
case 'ms':
|
|
552
|
-
flag = React__default.createElement(MalaysiaSquareIcon, null);
|
|
553
|
-
flagRounded = React__default.createElement(MalaysiaRoundIcon, null);
|
|
554
|
-
break;
|
|
555
|
-
case 'my':
|
|
556
|
-
flag = React__default.createElement(MyanmarSquareIcon, null);
|
|
557
|
-
flagRounded = React__default.createElement(MyanmarRoundIcon, null);
|
|
558
|
-
break;
|
|
559
|
-
case 'tl':
|
|
560
|
-
flag = React__default.createElement(PhilippinesSquareIcon, null);
|
|
561
|
-
flagRounded = React__default.createElement(PhilippinesRoundIcon, null);
|
|
562
|
-
break;
|
|
563
|
-
case 'hi':
|
|
564
|
-
flag = React__default.createElement(IndiaSquareIcon, null);
|
|
565
|
-
flagRounded = React__default.createElement(IndiaRoundIcon, null);
|
|
566
|
-
break;
|
|
567
|
-
case 'zh':
|
|
568
|
-
flag = React__default.createElement(TaiwanSquareIcon, null);
|
|
569
|
-
flagRounded = React__default.createElement(TaiwanRoundIcon, null);
|
|
570
|
-
break;
|
|
571
|
-
}
|
|
572
|
-
if (!flag && !flagRounded) {
|
|
573
|
-
switch (country) {
|
|
574
|
-
case 'VN':
|
|
575
|
-
flag = React__default.createElement(VietnamSquareIcon, null);
|
|
576
|
-
flagRounded = React__default.createElement(VietnamRoundIcon, null);
|
|
577
|
-
break;
|
|
578
|
-
case 'ID':
|
|
579
|
-
flag = React__default.createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
580
|
-
flagRounded = React__default.createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
581
|
-
break;
|
|
582
|
-
case 'TH':
|
|
583
|
-
flag = React__default.createElement(ThailandSquareIcon, null);
|
|
584
|
-
flagRounded = React__default.createElement(ThailandRoundIcon, null);
|
|
585
|
-
break;
|
|
586
|
-
case 'KH':
|
|
587
|
-
flag = React__default.createElement(CambodiaSquareIcon, null);
|
|
588
|
-
flagRounded = React__default.createElement(CambodiaRoundIcon, null);
|
|
589
|
-
break;
|
|
590
|
-
case 'MY':
|
|
591
|
-
flag = React__default.createElement(MalaysiaSquareIcon, null);
|
|
592
|
-
flagRounded = React__default.createElement(MalaysiaRoundIcon, null);
|
|
593
|
-
break;
|
|
594
|
-
case 'MM':
|
|
595
|
-
flag = React__default.createElement(MyanmarSquareIcon, null);
|
|
596
|
-
flagRounded = React__default.createElement(MyanmarRoundIcon, null);
|
|
597
|
-
break;
|
|
598
|
-
case 'PH':
|
|
599
|
-
flag = React__default.createElement(PhilippinesSquareIcon, null);
|
|
600
|
-
flagRounded = React__default.createElement(PhilippinesRoundIcon, null);
|
|
601
|
-
break;
|
|
602
|
-
case 'IN':
|
|
603
|
-
flag = React__default.createElement(IndiaSquareIcon, null);
|
|
604
|
-
flagRounded = React__default.createElement(IndiaRoundIcon, null);
|
|
605
|
-
break;
|
|
606
|
-
case 'TW':
|
|
607
|
-
flag = React__default.createElement(TaiwanSquareIcon, null);
|
|
608
|
-
flagRounded = React__default.createElement(TaiwanRoundIcon, null);
|
|
609
|
-
break;
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
return (React__default.createElement("div", { className: `${styles$2.flag} ${className || ''}`, style: {
|
|
613
|
-
'--width': width || 20,
|
|
614
|
-
'--height': height || 20,
|
|
615
|
-
} }, rounded ? flagRounded : flag));
|
|
312
|
+
const NumberInput = (_a) => {
|
|
313
|
+
var { value: _value, onChange: _onChange } = _a, props = __rest(_a, ["value", "onChange"]);
|
|
314
|
+
const [value, setValue] = useState(_value);
|
|
315
|
+
const [debounced] = useDebouncedValue(value, DEBOUNCED_TIME);
|
|
316
|
+
useEffect(() => {
|
|
317
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
318
|
+
}, [debounced]);
|
|
319
|
+
useEffect(() => {
|
|
320
|
+
setValue(_value);
|
|
321
|
+
}, [_value]);
|
|
322
|
+
return (React__default.createElement(NumberInput$1, Object.assign({ size: "md", stepHoldDelay: 500, stepHoldInterval: (t) => Math.max(1000 / Math.pow(t, 2), 25), onChange: setValue, hideControls: true, min: 0, formatter: (value) => {
|
|
323
|
+
if (Number(value) === 0)
|
|
324
|
+
return value;
|
|
325
|
+
return value || '';
|
|
326
|
+
}, removeTrailingZeros: true, value: value }, props)));
|
|
616
327
|
};
|
|
617
328
|
|
|
618
|
-
const
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
});
|
|
627
|
-
const
|
|
628
|
-
|
|
629
|
-
const [_value, handleChange] = useUncontrolled({
|
|
630
|
-
value,
|
|
631
|
-
defaultValue,
|
|
632
|
-
onChange,
|
|
633
|
-
});
|
|
634
|
-
const onClear = () => {
|
|
635
|
-
handleChange('');
|
|
636
|
-
};
|
|
637
|
-
return (React__default.createElement(Autocomplete, Object.assign({ ref: ref, rightSection: React__default.createElement(Image, { src: 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
|
|
638
|
-
? {
|
|
639
|
-
rightSection: (React__default.createElement(ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
640
|
-
React__default.createElement(_IconSelect, null))),
|
|
641
|
-
}
|
|
642
|
-
: {}))));
|
|
643
|
-
});
|
|
644
|
-
const _Select = forwardRef((_a, ref) => {
|
|
645
|
-
var { searchValue, onSearchChange } = _a, props = __rest(_a, ["searchValue", "onSearchChange"]);
|
|
646
|
-
const [_searchValue, handleSearchChange] = useUncontrolled({
|
|
647
|
-
defaultValue: '',
|
|
648
|
-
value: searchValue,
|
|
649
|
-
onChange: onSearchChange,
|
|
650
|
-
});
|
|
651
|
-
const onClear = () => {
|
|
652
|
-
handleSearchChange('');
|
|
653
|
-
};
|
|
654
|
-
return (React__default.createElement(Select$1, Object.assign({ ref: ref, rightSection: React__default.createElement(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
|
|
655
|
-
? {
|
|
656
|
-
rightSection: (React__default.createElement(ActionIcon, { onClick: onClear, sx: { cursor: 'pointer' } },
|
|
657
|
-
React__default.createElement(_IconSelect, null))),
|
|
658
|
-
}
|
|
659
|
-
: {}))));
|
|
660
|
-
});
|
|
661
|
-
const _IconSelect = () => (React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" },
|
|
662
|
-
React__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" })));
|
|
663
|
-
|
|
664
|
-
class ErrorBoundary extends Component {
|
|
665
|
-
constructor() {
|
|
666
|
-
super(...arguments);
|
|
667
|
-
this.state = {
|
|
668
|
-
hasError: false,
|
|
669
|
-
};
|
|
670
|
-
}
|
|
671
|
-
static getDerivedStateFromError() {
|
|
672
|
-
// Update state so the next render will show the fallback UI.
|
|
673
|
-
return { hasError: true };
|
|
674
|
-
}
|
|
675
|
-
componentDidCatch(error, errorInfo) {
|
|
676
|
-
console.error('Uncaught error:', error, errorInfo);
|
|
677
|
-
}
|
|
678
|
-
render() {
|
|
679
|
-
if (this.state.hasError) {
|
|
680
|
-
return this.props.fallback || React__default.createElement(React__default.Fragment, null);
|
|
681
|
-
}
|
|
682
|
-
return this.props.children;
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
const CarouselWrapper$1 = (_a) => {
|
|
687
|
-
var { slidesToShow = 1, children } = _a, props = __rest(_a, ["slidesToShow", "children"]);
|
|
688
|
-
const length = Array.isArray(children) ? children.length : 1;
|
|
689
|
-
if (!length)
|
|
690
|
-
return null;
|
|
691
|
-
return (React__default.createElement(ErrorBoundary, null,
|
|
692
|
-
React__default.createElement(Carousel$1
|
|
693
|
-
// get 2 precision number
|
|
694
|
-
, Object.assign({
|
|
695
|
-
// get 2 precision number
|
|
696
|
-
slideSize: String(Math.floor((1 / slidesToShow) * 10000) / 100) + '%', containScroll: "trimSnaps" }, props), children)));
|
|
697
|
-
};
|
|
698
|
-
const Carousel = CarouselWrapper$1;
|
|
699
|
-
Carousel.Slide = Carousel$1.Slide;
|
|
700
|
-
|
|
701
|
-
const StyledCarousel = styled(Carousel) `
|
|
702
|
-
cursor: grab;
|
|
703
|
-
width: 100%;
|
|
704
|
-
.mantine-Carousel-control {
|
|
705
|
-
background: rgb(255, 255, 255);
|
|
706
|
-
opacity: 1;
|
|
707
|
-
border: none;
|
|
708
|
-
border-radius: 0;
|
|
709
|
-
box-shadow: none;
|
|
710
|
-
&[data-inactive] {
|
|
711
|
-
opacity: 0;
|
|
712
|
-
cursor: default;
|
|
713
|
-
}
|
|
714
|
-
&:first-child {
|
|
715
|
-
padding-right: 24px;
|
|
716
|
-
background: linear-gradient(
|
|
717
|
-
90deg,
|
|
718
|
-
rgba(255, 255, 255, 1) 0%,
|
|
719
|
-
rgba(255, 255, 255, 1) 50%,
|
|
720
|
-
rgba(255, 255, 255, 0) 100%
|
|
721
|
-
);
|
|
722
|
-
}
|
|
723
|
-
&:last-child {
|
|
724
|
-
padding-left: 24px;
|
|
725
|
-
background: linear-gradient(
|
|
726
|
-
270deg,
|
|
727
|
-
rgba(255, 255, 255, 1) 0%,
|
|
728
|
-
rgba(255, 255, 255, 1) 50%,
|
|
729
|
-
rgba(255, 255, 255, 0) 100%
|
|
730
|
-
);
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
.mantine-Carousel-container {
|
|
735
|
-
align-items: center;
|
|
736
|
-
}
|
|
737
|
-
`;
|
|
738
|
-
|
|
739
|
-
var useStyles$1 = createStyles((_theme, _params) => {
|
|
740
|
-
return {
|
|
741
|
-
root: {
|
|
742
|
-
color: _params.color ||
|
|
743
|
-
(_theme.primaryColor === 'hb'
|
|
744
|
-
? _theme.colors.hb[6]
|
|
745
|
-
: _theme.fn.primaryColor()),
|
|
746
|
-
},
|
|
747
|
-
};
|
|
329
|
+
const EyeVisible = CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
330
|
+
const EyeHidden = CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
331
|
+
// Fix re-render issue
|
|
332
|
+
const RenderVisibleToggleIcon = ({ reveal, size, }) => (React__default.createElement("img", { src: reveal ? EyeVisible : EyeHidden, style: {
|
|
333
|
+
width: size,
|
|
334
|
+
height: size,
|
|
335
|
+
}, loading: "lazy" }));
|
|
336
|
+
const PasswordInput = forwardRef((props, ref) => {
|
|
337
|
+
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = __rest(props, ["size", "visibilityToggleIcon"]);
|
|
338
|
+
const visibilityToggleIcon = visibilityToggleIconProps || RenderVisibleToggleIcon;
|
|
339
|
+
return (React__default.createElement(PasswordInput$1, Object.assign({ ref: ref, size: size, visibilityToggleIcon: visibilityToggleIcon }, restProps, { className: `input-control ${(restProps === null || restProps === void 0 ? void 0 : restProps.className) || ''}` })));
|
|
748
340
|
});
|
|
749
341
|
|
|
750
|
-
const
|
|
751
|
-
var {
|
|
752
|
-
const
|
|
753
|
-
|
|
754
|
-
|
|
342
|
+
const InputWrapper = forwardRef((_a, ref) => {
|
|
343
|
+
var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = __rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
|
|
344
|
+
const [value, setValue] = useState(_value || '');
|
|
345
|
+
const [debounced] = useDebouncedValue(value, DEBOUNCED_TIME);
|
|
346
|
+
useEffect(() => {
|
|
347
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
348
|
+
}, [debounced]);
|
|
349
|
+
useEffect(() => {
|
|
350
|
+
setValue(_value);
|
|
351
|
+
}, [_value]);
|
|
352
|
+
return (React__default.createElement(TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
|
|
353
|
+
if (typeof maxLength === 'number' &&
|
|
354
|
+
event.currentTarget.value.length > maxLength) {
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
onChangeRaw === null || onChangeRaw === void 0 ? void 0 : onChangeRaw(event);
|
|
358
|
+
setValue(event.currentTarget.value);
|
|
359
|
+
}, value: value }, props, { maxLength: maxLength, className: `input-control ${(props === null || props === void 0 ? void 0 : props.className) || ''}` })));
|
|
360
|
+
});
|
|
361
|
+
const Input = InputWrapper;
|
|
362
|
+
Input.File = FileInput;
|
|
363
|
+
Input.Password = PasswordInput;
|
|
364
|
+
Input.Number = NumberInput;
|
|
365
|
+
Input.Wrapper = Input$1.Wrapper;
|
|
755
366
|
|
|
756
|
-
const
|
|
757
|
-
var { children } = _a, rest = __rest(_a, ["children"]);
|
|
758
|
-
return (React__default.createElement(Anchor, Object.assign({ size: "p4", color: 'gray.8' }, rest), children));
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
const AspectRatio = (props) => {
|
|
762
|
-
return (React__default.createElement(AspectRatio$1, Object.assign({ sx: {
|
|
763
|
-
borderRadius: 4,
|
|
764
|
-
overflow: 'hidden',
|
|
765
|
-
'> img': {
|
|
766
|
-
objectFit: 'contain',
|
|
767
|
-
},
|
|
768
|
-
} }, props)));
|
|
769
|
-
};
|
|
770
|
-
|
|
771
|
-
const _Breadcrumbs = (_a) => {
|
|
772
|
-
var _b;
|
|
773
|
-
var { children, showHomeIcon = true, homeIconHref = '/' } = _a, rest = __rest(_a, ["children", "showHomeIcon", "homeIconHref"]);
|
|
774
|
-
const theme = useMantineTheme();
|
|
775
|
-
const isMarryBaby = ((_b = theme === null || theme === void 0 ? void 0 : theme.other) === null || _b === void 0 ? void 0 : _b.template) === 'mb';
|
|
776
|
-
const [embla, setEmbla] = useState(null);
|
|
777
|
-
const { isMobile } = useScreenSize();
|
|
778
|
-
const [, setShouldAllowClick] = useState(true);
|
|
779
|
-
const handleScroll = useCallback(() => {
|
|
780
|
-
setShouldAllowClick(false);
|
|
781
|
-
}, []);
|
|
782
|
-
const handlePointerUp = useCallback(() => {
|
|
783
|
-
setTimeout(() => {
|
|
784
|
-
setShouldAllowClick(true);
|
|
785
|
-
}, 1000);
|
|
786
|
-
}, []);
|
|
787
|
-
useEffect(() => {
|
|
788
|
-
if (embla) {
|
|
789
|
-
embla.on('scroll', handleScroll);
|
|
790
|
-
embla.on('pointerUp', handlePointerUp);
|
|
791
|
-
}
|
|
792
|
-
return () => {
|
|
793
|
-
if (embla) {
|
|
794
|
-
embla.off('scroll', handleScroll);
|
|
795
|
-
embla.on('pointerUp', handlePointerUp);
|
|
796
|
-
}
|
|
797
|
-
};
|
|
798
|
-
}, [embla, handleScroll, handlePointerUp]);
|
|
799
|
-
return (React__default.createElement(StyledCarousel, Object.assign({ align: "center", slideGap: "xs", dragFree: true, draggable: isMobile, slideSize: "0", getEmblaApi: setEmbla, controlsOffset: -52, previousControlIcon: React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
800
|
-
React__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__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
801
|
-
React__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),
|
|
802
|
-
showHomeIcon && (React__default.createElement(Carousel.Slide, { style: { borderRight: `1px solid ${themeColors.neutral[1]}` } },
|
|
803
|
-
React__default.createElement(BreadcrumbItem, { href: homeIconHref, target: "_blank", className: "pointer-event-child-none" },
|
|
804
|
-
React__default.createElement(Box, { sx: Object.assign({}, (!isMarryBaby && {
|
|
805
|
-
borderRadius: '50%',
|
|
806
|
-
display: 'flex',
|
|
807
|
-
justifyContent: 'center',
|
|
808
|
-
alignItems: 'center',
|
|
809
|
-
})), bg: !isMarryBaby && themeColors.neutral[0], p: !isMarryBaby ? 6 : 0 },
|
|
810
|
-
React__default.createElement(AspectRatio, { ratio: 1, w: 18 }, isMarryBaby ? (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
811
|
-
React__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" }),
|
|
812
|
-
React__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__default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
813
|
-
React__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" })))))))),
|
|
814
|
-
React__default.createElement(Carousel.Slide, null),
|
|
815
|
-
React__default.createElement(Carousel.Slide, null,
|
|
816
|
-
React__default.createElement(Breadcrumbs$1, { styles: {
|
|
817
|
-
separator: {
|
|
818
|
-
marginInline: 4,
|
|
819
|
-
},
|
|
820
|
-
}, separator: React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" },
|
|
821
|
-
React__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))));
|
|
822
|
-
};
|
|
823
|
-
const Breadcrumbs = _Breadcrumbs;
|
|
824
|
-
Breadcrumbs.Item = BreadcrumbItem;
|
|
825
|
-
|
|
826
|
-
const StyledTextArea = styled(Textarea) `
|
|
827
|
-
.mantine-Textarea-input {
|
|
828
|
-
padding: 12px 16px;
|
|
829
|
-
background: #ffffff;
|
|
830
|
-
border: 1px solid ${theme.colors.gray200};
|
|
831
|
-
border-radius: 4px;
|
|
832
|
-
}
|
|
833
|
-
`;
|
|
834
|
-
|
|
835
|
-
const StyledAccordion = styled(Accordion$1) `
|
|
836
|
-
.mantine-Accordion-label {
|
|
837
|
-
padding: 0;
|
|
838
|
-
}
|
|
839
|
-
.mantine-Accordion-control {
|
|
840
|
-
&:hover {
|
|
841
|
-
background-color: transparent;
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
.mantine-Accordion-item {
|
|
845
|
-
.mantine-Accordion-chevron {
|
|
846
|
-
> div {
|
|
847
|
-
background-repeat: no-repeat;
|
|
848
|
-
width: 16px;
|
|
849
|
-
height: 16px;
|
|
850
|
-
background-position: center;
|
|
851
|
-
background-image: url(${(props) => props.closeChevron || CommonGAssets.getAssetPath('plus-icon.svg')});
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
&[data-active='true'] {
|
|
855
|
-
.mantine-Accordion-chevron {
|
|
856
|
-
> div {
|
|
857
|
-
background-image: url(${(props) => props.openChevron || CommonGAssets.getAssetPath('minus-icon.svg')});
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
.mantine-Accordion-panel {
|
|
863
|
-
border-radius: ${theme.borderRadius};
|
|
864
|
-
}
|
|
865
|
-
.mantine-Accordion-content {
|
|
866
|
-
white-space: pre-wrap;
|
|
867
|
-
}
|
|
868
|
-
`;
|
|
869
|
-
|
|
870
|
-
const _Accordion = (_a) => {
|
|
871
|
-
var { children } = _a, rest = __rest(_a, ["children"]);
|
|
872
|
-
return (React__default.createElement(StyledAccordion, Object.assign({ chevron: React__default.createElement("div", null), disableChevronRotation: true, transitionDuration: 300 }, rest), children));
|
|
873
|
-
};
|
|
874
|
-
const Accordion = _Accordion;
|
|
875
|
-
Accordion.Control = Accordion$1.Control;
|
|
876
|
-
Accordion.Item = Accordion$1.Item;
|
|
877
|
-
Accordion.Panel = Accordion$1.Panel;
|
|
878
|
-
|
|
879
|
-
const DEFAULT_AVATAR = CommonGAssets.getAssetPath('avatar.jpg');
|
|
880
|
-
const Avatar = (_a) => {
|
|
881
|
-
var { withIndicator = false, indicatorConfig = null, size = 56, children, styles, placeholderText } = _a, // usually first letter of name
|
|
882
|
-
avatarProps = __rest(_a, ["withIndicator", "indicatorConfig", "size", "children", "styles", "placeholderText"]);
|
|
883
|
-
const generateAvatar = () => {
|
|
884
|
-
return (React__default.createElement(Avatar$1, Object.assign({ size: size, radius: "xl" }, avatarProps, { imageProps: Object.assign({ loading: 'lazy' }, avatarProps.imageProps), styles: {
|
|
885
|
-
placeholder: {
|
|
886
|
-
backgroundColor: avatarProps.color,
|
|
887
|
-
color: 'white',
|
|
888
|
-
},
|
|
889
|
-
} }), children ? (children) : placeholderText ? (placeholderText) : (React__default.createElement(ImageWrap, { src: DEFAULT_AVATAR, width: size, alt: avatarProps.alt || 'avatar' }))));
|
|
890
|
-
};
|
|
891
|
-
if (withIndicator)
|
|
892
|
-
return (React__default.createElement(Indicator, Object.assign({ inline: true, position: "bottom-end", offset: 9 }, indicatorConfig, { styles: Object.assign({ indicator: {
|
|
893
|
-
backgroundColor: React__default.isValidElement(indicatorConfig.label) && 'transparent',
|
|
894
|
-
zIndex: 1,
|
|
895
|
-
} }, styles) }), generateAvatar()));
|
|
896
|
-
return generateAvatar();
|
|
897
|
-
};
|
|
898
|
-
|
|
899
|
-
const FileInput = (props) => {
|
|
900
|
-
return React__default.createElement(FileInput$1, Object.assign({ size: "md" }, props));
|
|
901
|
-
};
|
|
902
|
-
|
|
903
|
-
const DEBOUNCED_TIME = 300;
|
|
904
|
-
const emotionCache = createEmotionCache({
|
|
905
|
-
key: 'mantine',
|
|
906
|
-
prepend: false,
|
|
907
|
-
});
|
|
908
|
-
|
|
909
|
-
const NumberInput = (_a) => {
|
|
910
|
-
var { value: _value, onChange: _onChange } = _a, props = __rest(_a, ["value", "onChange"]);
|
|
911
|
-
const [value, setValue] = useState(_value);
|
|
912
|
-
const [debounced] = useDebouncedValue(value, DEBOUNCED_TIME);
|
|
913
|
-
useEffect(() => {
|
|
914
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
915
|
-
}, [debounced]);
|
|
916
|
-
useEffect(() => {
|
|
917
|
-
setValue(_value);
|
|
918
|
-
}, [_value]);
|
|
919
|
-
return (React__default.createElement(NumberInput$1, Object.assign({ size: "md", stepHoldDelay: 500, stepHoldInterval: (t) => Math.max(1000 / Math.pow(t, 2), 25), onChange: setValue, hideControls: true, min: 0, formatter: (value) => {
|
|
920
|
-
if (Number(value) === 0)
|
|
921
|
-
return value;
|
|
922
|
-
return value || '';
|
|
923
|
-
}, removeTrailingZeros: true, value: value }, props)));
|
|
924
|
-
};
|
|
925
|
-
|
|
926
|
-
const EyeVisible = CommonGAssets.getAssetPath('EyeVisible.svg');
|
|
927
|
-
const EyeHidden = CommonGAssets.getAssetPath('EyeHidden.svg');
|
|
928
|
-
// Fix re-render issue
|
|
929
|
-
const RenderVisibleToggleIcon = ({ reveal, size, }) => (React__default.createElement("img", { src: reveal ? EyeVisible : EyeHidden, style: {
|
|
930
|
-
width: size,
|
|
931
|
-
height: size,
|
|
932
|
-
}, loading: "lazy" }));
|
|
933
|
-
const PasswordInput = forwardRef((props, ref) => {
|
|
934
|
-
const { size = 'md', visibilityToggleIcon: visibilityToggleIconProps } = props, restProps = __rest(props, ["size", "visibilityToggleIcon"]);
|
|
935
|
-
const visibilityToggleIcon = visibilityToggleIconProps || RenderVisibleToggleIcon;
|
|
936
|
-
return (React__default.createElement(PasswordInput$1, Object.assign({ ref: ref, size: size, visibilityToggleIcon: visibilityToggleIcon }, restProps, { className: `input-control ${(restProps === null || restProps === void 0 ? void 0 : restProps.className) || ''}` })));
|
|
937
|
-
});
|
|
938
|
-
|
|
939
|
-
const InputWrapper = forwardRef((_a, ref) => {
|
|
940
|
-
var { value: _value, onChange: _onChange, onChangeRaw, maxLength } = _a, props = __rest(_a, ["value", "onChange", "onChangeRaw", "maxLength"]);
|
|
941
|
-
const [value, setValue] = useState(_value || '');
|
|
942
|
-
const [debounced] = useDebouncedValue(value, DEBOUNCED_TIME);
|
|
943
|
-
useEffect(() => {
|
|
944
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(debounced);
|
|
945
|
-
}, [debounced]);
|
|
946
|
-
useEffect(() => {
|
|
947
|
-
setValue(_value);
|
|
948
|
-
}, [_value]);
|
|
949
|
-
return (React__default.createElement(TextInput, Object.assign({ ref: ref, size: "md", onChange: (event) => {
|
|
950
|
-
if (typeof maxLength === 'number' &&
|
|
951
|
-
event.currentTarget.value.length > maxLength) {
|
|
952
|
-
return;
|
|
953
|
-
}
|
|
954
|
-
onChangeRaw === null || onChangeRaw === void 0 ? void 0 : onChangeRaw(event);
|
|
955
|
-
setValue(event.currentTarget.value);
|
|
956
|
-
}, value: value }, props, { maxLength: maxLength, className: `input-control ${(props === null || props === void 0 ? void 0 : props.className) || ''}` })));
|
|
957
|
-
});
|
|
958
|
-
const Input = InputWrapper;
|
|
959
|
-
Input.File = FileInput;
|
|
960
|
-
Input.Password = PasswordInput;
|
|
961
|
-
Input.Number = NumberInput;
|
|
962
|
-
Input.Wrapper = Input$1.Wrapper;
|
|
963
|
-
|
|
964
|
-
const StyledSlide = Carousel$1.Slide;
|
|
367
|
+
const StyledSlide = Carousel$1.Slide;
|
|
965
368
|
|
|
966
369
|
const SlideContext = createContext({});
|
|
967
370
|
const CustomSlide = (_a) => {
|
|
@@ -1097,8 +500,22 @@ const CarouselWrapper = (_a) => {
|
|
|
1097
500
|
const CentralCarousel = CarouselWrapper;
|
|
1098
501
|
CentralCarousel.Slide = CustomSlide;
|
|
1099
502
|
|
|
503
|
+
const CheckboxWithState = (_a) => {
|
|
504
|
+
var { size = 24, isSolid, isActive } = _a, rest = __rest(_a, ["size", "isSolid", "isActive"]);
|
|
505
|
+
return isSolid ? (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
506
|
+
React__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" }),
|
|
507
|
+
React__default.createElement("path", { d: "M6.38904 10.2778L8.88904 13.0556L13.6113 6.94446", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
508
|
+
React__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__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
509
|
+
React__default.createElement("path", { opacity: ".2", d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", fill: "#2D87F3" }),
|
|
510
|
+
React__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" }),
|
|
511
|
+
React__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__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
512
|
+
React__default.createElement("path", { d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16", fill: "#ADB3BC", fillOpacity: ".3" }),
|
|
513
|
+
React__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" }),
|
|
514
|
+
React__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" })));
|
|
515
|
+
};
|
|
516
|
+
|
|
1100
517
|
const CheckboxWrapper = (_a) => {
|
|
1101
|
-
var {
|
|
518
|
+
var { color = 'blue', label, size: sizeProp, styles } = _a, props = __rest(_a, ["color", "label", "size", "styles"]);
|
|
1102
519
|
const theme = useMantineTheme();
|
|
1103
520
|
const hexColor = useMemo(() => {
|
|
1104
521
|
var _a, _b;
|
|
@@ -1107,11 +524,81 @@ const CheckboxWrapper = (_a) => {
|
|
|
1107
524
|
: (_b = theme.colors[color]) === null || _b === void 0 ? void 0 : _b[theme.primaryShade || 6]) ||
|
|
1108
525
|
theme.colors.blue[6];
|
|
1109
526
|
}, [color]);
|
|
1110
|
-
|
|
1111
|
-
|
|
527
|
+
const isLeadgenStyle = theme.other.customStyleType === CustomStylesType.LEADGEN;
|
|
528
|
+
const size = isLeadgenStyle ? 20 : sizeProp;
|
|
529
|
+
return (React__default.createElement(Checkbox$1, Object.assign({ color: color, size: size, label: isLeadgenStyle ? (React__default.createElement(Text, { size: "p2", color: theme.colors.gray[8] }, label)) : (label), icon: isLeadgenStyle
|
|
530
|
+
? (_a) => {
|
|
531
|
+
var rest = __rest(_a, []);
|
|
532
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
533
|
+
React__default.createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-default": "true", size: size }, rest)),
|
|
534
|
+
React__default.createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-hover": "true", isActive: true, size: size }, rest)),
|
|
535
|
+
React__default.createElement(CheckboxWithState, Object.assign({ "data-icon": "true", "data-checked": "true", isSolid: true, size: size }, rest))));
|
|
536
|
+
}
|
|
537
|
+
: undefined, styles: Object.assign({ input: Object.assign({ '&:hover': {
|
|
1112
538
|
border: `1px solid ${hexColor}`,
|
|
539
|
+
} }, (isLeadgenStyle && {
|
|
540
|
+
marginTop: 2,
|
|
541
|
+
borderRadius: '50%',
|
|
542
|
+
'&,&:hover': {
|
|
543
|
+
border: 0,
|
|
544
|
+
},
|
|
545
|
+
'& ~ [data-icon]': {
|
|
546
|
+
opacity: 0,
|
|
547
|
+
},
|
|
548
|
+
'& ~ [data-default]': {
|
|
549
|
+
opacity: 1,
|
|
550
|
+
},
|
|
551
|
+
'&:hover': {
|
|
552
|
+
'& ~ [data-icon]': {
|
|
553
|
+
opacity: 0,
|
|
554
|
+
},
|
|
555
|
+
'& ~ [data-hover]': {
|
|
556
|
+
opacity: 1,
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
'&:checked': {
|
|
560
|
+
'& ~ [data-icon]': {
|
|
561
|
+
opacity: 0,
|
|
562
|
+
},
|
|
563
|
+
'& ~ [data-checked]': {
|
|
564
|
+
opacity: 1,
|
|
565
|
+
},
|
|
566
|
+
'&:hover': {
|
|
567
|
+
'& ~ [data-icon]': {
|
|
568
|
+
opacity: 0,
|
|
569
|
+
},
|
|
570
|
+
'& ~ [data-checked]': {
|
|
571
|
+
opacity: 1,
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
},
|
|
575
|
+
'&, &:hover, &:checked': {
|
|
576
|
+
backgroundColor: 'transparent',
|
|
577
|
+
borderColor: 'transparent',
|
|
578
|
+
'& ~ svg': {
|
|
579
|
+
width: '100%',
|
|
580
|
+
transform: 'none',
|
|
581
|
+
transition: 'opacity 0.2s ease',
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
[theme.fn.smallerThan('sm')]: {
|
|
585
|
+
'&:hover': {
|
|
586
|
+
'& ~ [data-icon]': {
|
|
587
|
+
opacity: 0,
|
|
588
|
+
},
|
|
589
|
+
'& ~ [data-default]': {
|
|
590
|
+
opacity: 1,
|
|
591
|
+
},
|
|
592
|
+
},
|
|
1113
593
|
},
|
|
1114
|
-
}
|
|
594
|
+
})), label: Object.assign({}, (isLeadgenStyle && {
|
|
595
|
+
paddingLeft: 8,
|
|
596
|
+
})), body: Object.assign({}, (isLeadgenStyle && {
|
|
597
|
+
alignItems: 'flex-start',
|
|
598
|
+
})), inner: Object.assign({}, (isLeadgenStyle && {
|
|
599
|
+
paddingTop: 2,
|
|
600
|
+
height: 24,
|
|
601
|
+
})) }, styles) }, props)));
|
|
1115
602
|
};
|
|
1116
603
|
const Checkbox = CheckboxWrapper;
|
|
1117
604
|
Checkbox.Group = Checkbox$1.Group;
|
|
@@ -1171,8 +658,18 @@ const StyledSliderWrapper = styled.div `
|
|
|
1171
658
|
}
|
|
1172
659
|
`;
|
|
1173
660
|
|
|
661
|
+
const RadioWithState = (_a) => {
|
|
662
|
+
var { size = 24, isSolid, isActive } = _a, rest = __rest(_a, ["size", "isSolid", "isActive"]);
|
|
663
|
+
return isSolid ? (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
664
|
+
React__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" }),
|
|
665
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "4", fill: "#2D87F3" }))) : isActive ? (React__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
666
|
+
React__default.createElement("path", { d: "M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18", stroke: "#BCDEFF", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
667
|
+
React__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__default.createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
668
|
+
React__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" })));
|
|
669
|
+
};
|
|
670
|
+
|
|
1174
671
|
const RadioWrapper = (_a) => {
|
|
1175
|
-
var {
|
|
672
|
+
var { color, label, size: sizeProp, styles } = _a, props = __rest(_a, ["color", "label", "size", "styles"]);
|
|
1176
673
|
const theme = useMantineTheme();
|
|
1177
674
|
const hexColor = useMemo(() => {
|
|
1178
675
|
var _a, _b;
|
|
@@ -1181,18 +678,85 @@ const RadioWrapper = (_a) => {
|
|
|
1181
678
|
: (_b = theme.colors[color]) === null || _b === void 0 ? void 0 : _b[theme.primaryShade || 6]) ||
|
|
1182
679
|
theme.fn.primaryColor();
|
|
1183
680
|
}, [color]);
|
|
1184
|
-
|
|
1185
|
-
|
|
681
|
+
const isLeadgenStyle = theme.other.customStyleType === CustomStylesType.LEADGEN;
|
|
682
|
+
const size = isLeadgenStyle ? 20 : sizeProp;
|
|
683
|
+
return (React__default.createElement(Radio$1, Object.assign({ label: isLeadgenStyle ? (React__default.createElement(Text, { size: "p2", color: theme.colors.gray[8] }, label)) : (label), size: size, icon: isLeadgenStyle
|
|
684
|
+
? (_a) => {
|
|
685
|
+
var rest = __rest(_a, []);
|
|
686
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
687
|
+
React__default.createElement(RadioWithState, Object.assign({ "data-icon": "true", "data-default": "true", size: size }, rest)),
|
|
688
|
+
React__default.createElement(RadioWithState, Object.assign({ "data-icon": "true", "data-hover": "true", isActive: true, size: size }, rest)),
|
|
689
|
+
React__default.createElement(RadioWithState, Object.assign({ "data-icon": "true", "data-checked": "true", isSolid: true, size: size }, rest))));
|
|
690
|
+
}
|
|
691
|
+
: undefined, styles: Object.assign({ radio: Object.assign({ '&:hover, &:checked': {
|
|
1186
692
|
border: `1px solid ${hexColor}`,
|
|
1187
|
-
},
|
|
1188
|
-
'&:checked + .___ref-icon': {
|
|
693
|
+
}, '&:checked + .___ref-icon': {
|
|
1189
694
|
top: '50%',
|
|
1190
695
|
left: '50%',
|
|
1191
696
|
transform: 'scale(1) translate(-50%, -50%)',
|
|
697
|
+
} }, (isLeadgenStyle && {
|
|
698
|
+
marginTop: 2,
|
|
699
|
+
borderRadius: '50%',
|
|
700
|
+
'&,&:hover': {
|
|
701
|
+
border: 0,
|
|
702
|
+
},
|
|
703
|
+
'& ~ [data-icon]': {
|
|
704
|
+
opacity: 0,
|
|
705
|
+
},
|
|
706
|
+
'& ~ [data-default]': {
|
|
707
|
+
opacity: 1,
|
|
708
|
+
},
|
|
709
|
+
'&:hover': {
|
|
710
|
+
'& ~ [data-icon]': {
|
|
711
|
+
opacity: 0,
|
|
712
|
+
},
|
|
713
|
+
'& ~ [data-hover]': {
|
|
714
|
+
opacity: 1,
|
|
715
|
+
},
|
|
716
|
+
},
|
|
717
|
+
'&:checked': {
|
|
718
|
+
'& ~ [data-icon]': {
|
|
719
|
+
opacity: 0,
|
|
720
|
+
},
|
|
721
|
+
'& ~ [data-checked]': {
|
|
722
|
+
opacity: 1,
|
|
723
|
+
},
|
|
724
|
+
'&:hover': {
|
|
725
|
+
'& ~ [data-icon]': {
|
|
726
|
+
opacity: 0,
|
|
727
|
+
},
|
|
728
|
+
'& ~ [data-checked]': {
|
|
729
|
+
opacity: 1,
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
},
|
|
733
|
+
'&, &:hover, &:checked': {
|
|
734
|
+
backgroundColor: 'transparent',
|
|
735
|
+
borderColor: 'transparent',
|
|
736
|
+
'& ~ svg': {
|
|
737
|
+
position: 'absolute',
|
|
738
|
+
width: '100%',
|
|
739
|
+
transform: 'none',
|
|
740
|
+
transition: 'opacity 0.2s ease',
|
|
741
|
+
top: 2,
|
|
742
|
+
left: 0,
|
|
743
|
+
},
|
|
1192
744
|
},
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
745
|
+
[theme.fn.smallerThan('sm')]: {
|
|
746
|
+
'&:hover': {
|
|
747
|
+
'& ~ [data-icon]': {
|
|
748
|
+
opacity: 0,
|
|
749
|
+
},
|
|
750
|
+
'& ~ [data-default]': {
|
|
751
|
+
opacity: 1,
|
|
752
|
+
},
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
})), icon: {
|
|
756
|
+
color: hexColor,
|
|
757
|
+
}, label: Object.assign({}, (isLeadgenStyle && {
|
|
758
|
+
paddingLeft: 8,
|
|
759
|
+
})) }, styles) }, props)));
|
|
1196
760
|
};
|
|
1197
761
|
const Radio = RadioWrapper;
|
|
1198
762
|
Radio.Group = Radio$1.Group;
|
|
@@ -1213,7 +777,7 @@ function transferOtpToValue(otp) {
|
|
|
1213
777
|
return otp.join('');
|
|
1214
778
|
}
|
|
1215
779
|
|
|
1216
|
-
var styles$
|
|
780
|
+
var styles$2 = {"otpContainer":"_2iQs0sk","otpInput":"Ia6IojY","error":"yJs9MaD"};
|
|
1217
781
|
|
|
1218
782
|
const BACKSPACE = 8;
|
|
1219
783
|
const LEFT_ARROW = 37;
|
|
@@ -1222,7 +786,7 @@ const DELETE = 46;
|
|
|
1222
786
|
const SPACEBAR = 32;
|
|
1223
787
|
const OTPInputFunction = (props, ref) => {
|
|
1224
788
|
const { maxLength = 1, placeholder, className } = props, restProps = __rest(props, ["maxLength", "placeholder", "className"]);
|
|
1225
|
-
return (React__default.createElement("input", Object.assign({ maxLength: maxLength, className: cn(styles$
|
|
789
|
+
return (React__default.createElement("input", Object.assign({ maxLength: maxLength, className: cn(styles$2.otpInput, 'otpInput', className), placeholder: placeholder, type: "number" }, restProps, { ref: ref })));
|
|
1226
790
|
};
|
|
1227
791
|
const OTPInput = forwardRef(OTPInputFunction);
|
|
1228
792
|
const OTPFowardRef = (props, ref) => {
|
|
@@ -1337,7 +901,7 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1337
901
|
setOtp(() => transferValueToOtp(valueProps, valueLength));
|
|
1338
902
|
setValue(valueProps);
|
|
1339
903
|
}, [valueLength, valueProps]);
|
|
1340
|
-
return (React__default.createElement(Flex, { justify: "center", columnGap: 8, className: cn(styles$
|
|
904
|
+
return (React__default.createElement(Flex, { justify: "center", columnGap: 8, className: cn(styles$2.otpContainer, 'otpContainer') }, otp.map((val, index) => {
|
|
1341
905
|
return (React__default.createElement(OTPInput, Object.assign({}, otpShareProps, { ref: (iRef) => {
|
|
1342
906
|
inputRef.current[index] = iRef;
|
|
1343
907
|
}, key: '' + index, value: val, type: type, onChange: inputOnChange, onFocus: inputOnFocus, onKeyDown: inputOnKeyDown, onPaste: inputOnPaste, onBlur: onBlur, placeholder: placeholder })));
|
|
@@ -1345,6 +909,298 @@ const OTPFowardRef = (props, ref) => {
|
|
|
1345
909
|
};
|
|
1346
910
|
const OTP = forwardRef(OTPFowardRef);
|
|
1347
911
|
|
|
912
|
+
const CambodiaRoundIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "round cambodia flag", src: CommonGAssets.getAssetPath('flags/cambodiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
913
|
+
const CambodiaSquareIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "square cambodia flag", src: CommonGAssets.getAssetPath('flags/cambodiaSquare.png') }, props)));
|
|
914
|
+
|
|
915
|
+
const EnglishRoundIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
916
|
+
React__default.createElement("g", null,
|
|
917
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
918
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
919
|
+
React__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" }),
|
|
920
|
+
React__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" }),
|
|
921
|
+
React__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" }),
|
|
922
|
+
React__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" }),
|
|
923
|
+
React__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" }),
|
|
924
|
+
React__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" }),
|
|
925
|
+
React__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" }),
|
|
926
|
+
React__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" }),
|
|
927
|
+
React__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" }),
|
|
928
|
+
React__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" }),
|
|
929
|
+
React__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" }),
|
|
930
|
+
React__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" }),
|
|
931
|
+
React__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" }),
|
|
932
|
+
React__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" }),
|
|
933
|
+
React__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" }),
|
|
934
|
+
React__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" }),
|
|
935
|
+
React__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" }),
|
|
936
|
+
React__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" }),
|
|
937
|
+
React__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" }),
|
|
938
|
+
React__default.createElement("path", { d: "M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z", fill: "white" }),
|
|
939
|
+
React__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" }),
|
|
940
|
+
React__default.createElement("path", { d: "M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z", fill: "white" }),
|
|
941
|
+
React__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" }),
|
|
942
|
+
React__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" }),
|
|
943
|
+
React__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" }),
|
|
944
|
+
React__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" }),
|
|
945
|
+
React__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" }))));
|
|
946
|
+
const EnglishSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 26 26", fill: "none" }, props),
|
|
947
|
+
React__default.createElement("g", null,
|
|
948
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "1", y: "5", width: "24", height: "16" },
|
|
949
|
+
React__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" })),
|
|
950
|
+
React__default.createElement("path", { d: "M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z", fill: "#3F51B5" }),
|
|
951
|
+
React__default.createElement("path", { d: "M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z", fill: "white" }),
|
|
952
|
+
React__default.createElement("path", { d: "M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z", fill: "white" }),
|
|
953
|
+
React__default.createElement("path", { d: "M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z", fill: "white" }),
|
|
954
|
+
React__default.createElement("path", { d: "M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z", fill: "white" }),
|
|
955
|
+
React__default.createElement("path", { d: "M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z", fill: "white" }),
|
|
956
|
+
React__default.createElement("path", { d: "M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z", fill: "white" }),
|
|
957
|
+
React__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" }),
|
|
958
|
+
React__default.createElement("path", { d: "M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z", fill: "#E53935" }))));
|
|
959
|
+
|
|
960
|
+
const IndiaRoundIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "round india flag", src: CommonGAssets.getAssetPath('flags/indiaRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
961
|
+
const IndiaSquareIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "square indian flag", src: CommonGAssets.getAssetPath('flags/indiaSquare.png') }, props)));
|
|
962
|
+
|
|
963
|
+
const IndonesiaRoundIcon = (_a) => {
|
|
964
|
+
var rest = __rest(_a, []);
|
|
965
|
+
const maskId = useUniqueId();
|
|
966
|
+
return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none" }, rest),
|
|
967
|
+
React__default.createElement("mask", { id: maskId, style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
968
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
969
|
+
React__default.createElement("g", { mask: `url(#${maskId})` },
|
|
970
|
+
React__default.createElement("rect", { width: "20", height: "10", fill: "#CE1126" }),
|
|
971
|
+
React__default.createElement("rect", { y: "10", width: "20", height: "10", fill: "white" }))));
|
|
972
|
+
};
|
|
973
|
+
const IndonesiaSquareIcon = (_a) => {
|
|
974
|
+
var rest = __rest(_a, []);
|
|
975
|
+
const clipPathId = useUniqueId();
|
|
976
|
+
return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, rest),
|
|
977
|
+
React__default.createElement("g", { clipPath: `url(#${clipPathId})` },
|
|
978
|
+
React__default.createElement("rect", { y: "0.0166016", width: "24", height: "8", fill: "#CE1126" }),
|
|
979
|
+
React__default.createElement("rect", { y: "8.0166", width: "24", height: "8", fill: "white" })),
|
|
980
|
+
React__default.createElement("defs", null,
|
|
981
|
+
React__default.createElement("clipPath", { id: clipPathId },
|
|
982
|
+
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "white" })))));
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
const MalaysiaRoundIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
986
|
+
React__default.createElement("g", null,
|
|
987
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
988
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
989
|
+
React__default.createElement("rect", { y: "1", width: "20", height: "20", fill: "#CC0001" }),
|
|
990
|
+
React__default.createElement("rect", { y: "16.106", width: "20", height: "1.02041", fill: "white" }),
|
|
991
|
+
React__default.createElement("rect", { y: "16", width: "20", height: "1.02041", fill: "white" }),
|
|
992
|
+
React__default.createElement("rect", { y: "18", width: "20", height: "1.02041", fill: "white" }),
|
|
993
|
+
React__default.createElement("rect", { y: "14.0652", width: "20", height: "1.02041", fill: "white" }),
|
|
994
|
+
React__default.createElement("rect", { y: "12.0242", width: "20", height: "1.02041", fill: "white" }),
|
|
995
|
+
React__default.createElement("rect", { y: "9.9834", width: "20", height: "1.02041", fill: "white" }),
|
|
996
|
+
React__default.createElement("rect", { y: "7.94263", width: "20", height: "1.02041", fill: "white" }),
|
|
997
|
+
React__default.createElement("rect", { y: "5.90186", width: "20", height: "1.02041", fill: "white" }),
|
|
998
|
+
React__default.createElement("rect", { y: "3.86084", width: "20", height: "1.02041", fill: "white" }),
|
|
999
|
+
React__default.createElement("rect", { y: "2", width: "20", height: "1.02041", fill: "white" }),
|
|
1000
|
+
React__default.createElement("rect", { width: "20", height: "1.02041", fill: "white" }),
|
|
1001
|
+
React__default.createElement("rect", { y: "-1", width: "10", height: "12", fill: "#010066" }),
|
|
1002
|
+
React__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" }),
|
|
1003
|
+
React__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" }))));
|
|
1004
|
+
const MalaysiaSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1005
|
+
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "#CC0001" }),
|
|
1006
|
+
React__default.createElement("rect", { y: "12.2712", width: "24", height: "0.777454", fill: "white" }),
|
|
1007
|
+
React__default.createElement("rect", { y: "12.1904", width: "24", height: "0.777454", fill: "white" }),
|
|
1008
|
+
React__default.createElement("rect", { y: "13.7144", width: "24", height: "0.777454", fill: "white" }),
|
|
1009
|
+
React__default.createElement("rect", { y: "10.7161", width: "24", height: "0.777454", fill: "white" }),
|
|
1010
|
+
React__default.createElement("rect", { y: "9.16138", width: "24", height: "0.777454", fill: "white" }),
|
|
1011
|
+
React__default.createElement("rect", { y: "7.60645", width: "24", height: "0.777454", fill: "white" }),
|
|
1012
|
+
React__default.createElement("rect", { y: "6.05127", width: "24", height: "0.777454", fill: "white" }),
|
|
1013
|
+
React__default.createElement("rect", { y: "4.49658", width: "24", height: "0.777454", fill: "white" }),
|
|
1014
|
+
React__default.createElement("rect", { y: "2.94141", width: "24", height: "0.777454", fill: "white" }),
|
|
1015
|
+
React__default.createElement("rect", { y: "1.52393", width: "24", height: "0.777454", fill: "white" }),
|
|
1016
|
+
React__default.createElement("rect", { width: "24", height: "0.777454", fill: "white" }),
|
|
1017
|
+
React__default.createElement("path", { d: "M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z", fill: "#010066" }),
|
|
1018
|
+
React__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" }),
|
|
1019
|
+
React__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" })));
|
|
1020
|
+
|
|
1021
|
+
const MyanmarRoundIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1022
|
+
React__default.createElement("g", null,
|
|
1023
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1024
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1025
|
+
React__default.createElement("rect", { x: "-4", y: "-1", width: "28", height: "11", fill: "#FECB00" }),
|
|
1026
|
+
React__default.createElement("rect", { x: "-4", y: "10", width: "28", height: "10", fill: "#EA2839" }),
|
|
1027
|
+
React__default.createElement("rect", { x: "-4", y: "6.7041", width: "28", height: "6.47773", fill: "#34B233" }),
|
|
1028
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z", fill: "white" }),
|
|
1029
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z", fill: "white" }),
|
|
1030
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z", fill: "white" }),
|
|
1031
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z", fill: "white" }),
|
|
1032
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z", fill: "white" }))));
|
|
1033
|
+
const MyanmarSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1034
|
+
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "#FECB00" }),
|
|
1035
|
+
React__default.createElement("rect", { y: "8.3811", width: "24", height: "7.61905", rx: "2", fill: "#EA2839" }),
|
|
1036
|
+
React__default.createElement("rect", { y: "5.86987", width: "24", height: "4.93542", fill: "#34B233" }),
|
|
1037
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z", fill: "white" }),
|
|
1038
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z", fill: "white" }),
|
|
1039
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z", fill: "white" }),
|
|
1040
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z", fill: "white" }),
|
|
1041
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z", fill: "white" })));
|
|
1042
|
+
|
|
1043
|
+
const PhilippinesRoundIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "round philippines flag", src: CommonGAssets.getAssetPath('flags/philippineRound.png'), style: Object.assign({ borderRadius: '50%' }, props.style) }, props)));
|
|
1044
|
+
const PhilippinesSquareIcon = (props) => (React__default.createElement(ImageWrap, Object.assign({ alt: "square philippines flag", src: CommonGAssets.getAssetPath('flags/philippineSquare.png') }, props)));
|
|
1045
|
+
|
|
1046
|
+
const TaiwanRoundIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1047
|
+
React__default.createElement("g", null,
|
|
1048
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1049
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1050
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#D8D8D8" }),
|
|
1051
|
+
React__default.createElement("g", null,
|
|
1052
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1053
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "white" })),
|
|
1054
|
+
React__default.createElement("rect", { width: "30", height: "20", fill: "#ED1E24" }),
|
|
1055
|
+
React__default.createElement("rect", { width: "15", height: "10", fill: "#2B2F84" }),
|
|
1056
|
+
React__default.createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
1057
|
+
React__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" }),
|
|
1058
|
+
React__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" }),
|
|
1059
|
+
React__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" }),
|
|
1060
|
+
React__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" }),
|
|
1061
|
+
React__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" }),
|
|
1062
|
+
React__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" }),
|
|
1063
|
+
React__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" }),
|
|
1064
|
+
React__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" }),
|
|
1065
|
+
React__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" }),
|
|
1066
|
+
React__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" }),
|
|
1067
|
+
React__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" }),
|
|
1068
|
+
React__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" })))));
|
|
1069
|
+
const TaiwanSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1070
|
+
React__default.createElement("rect", { width: "24", height: "16", rx: "2", fill: "#ED1E24" }),
|
|
1071
|
+
React__default.createElement("path", { d: "M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z", fill: "#2B2F84" }),
|
|
1072
|
+
React__default.createElement("circle", { cx: "7.49791", cy: "4.99913", r: "1.869", fill: "white" }),
|
|
1073
|
+
React__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" }),
|
|
1074
|
+
React__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" }),
|
|
1075
|
+
React__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" }),
|
|
1076
|
+
React__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" }),
|
|
1077
|
+
React__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" }),
|
|
1078
|
+
React__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" }),
|
|
1079
|
+
React__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" }),
|
|
1080
|
+
React__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" }),
|
|
1081
|
+
React__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" }),
|
|
1082
|
+
React__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" }),
|
|
1083
|
+
React__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" }),
|
|
1084
|
+
React__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" })));
|
|
1085
|
+
|
|
1086
|
+
const ThailandRoundIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1087
|
+
React__default.createElement("g", null,
|
|
1088
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1089
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1090
|
+
React__default.createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#ED1C24" }),
|
|
1091
|
+
React__default.createElement("rect", { x: "-4", y: "3.31665", width: "28", height: "13.3333", fill: "white" }),
|
|
1092
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M-4 6.65015H24V13.3168H-4V6.65015Z", fill: "#241D4F" }))));
|
|
1093
|
+
const ThailandSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 17", fill: "none" }, props),
|
|
1094
|
+
React__default.createElement("rect", { y: "0.983398", width: "24", height: "16", rx: "2", fill: "#ED1C24" }),
|
|
1095
|
+
React__default.createElement("rect", { y: "3.65039", width: "24", height: "10.6667", fill: "white" }),
|
|
1096
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 6.31689H24V11.6502H0V6.31689Z", fill: "#241D4F" })));
|
|
1097
|
+
|
|
1098
|
+
const VietnamRoundIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 20 20", fill: "none", style: Object.assign({ borderRadius: '50%' }, props.style) }, props),
|
|
1099
|
+
React__default.createElement("g", null,
|
|
1100
|
+
React__default.createElement("mask", { style: { maskType: 'alpha' }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "20", height: "20" },
|
|
1101
|
+
React__default.createElement("circle", { cx: "10", cy: "10", r: "10", fill: "#C4C4C4" })),
|
|
1102
|
+
React__default.createElement("rect", { x: "-4", y: "-0.0166016", width: "28", height: "20", fill: "#DA251D" }),
|
|
1103
|
+
React__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" }))));
|
|
1104
|
+
const VietnamSquareIcon = (props) => (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 16", fill: "none" }, props),
|
|
1105
|
+
React__default.createElement("g", null,
|
|
1106
|
+
React__default.createElement("clipPath", null,
|
|
1107
|
+
React__default.createElement("rect", { width: "24", height: "16", fill: "white" })),
|
|
1108
|
+
React__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" }),
|
|
1109
|
+
React__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" }))));
|
|
1110
|
+
|
|
1111
|
+
var styles$1 = {"flag":"pfaLGRK"};
|
|
1112
|
+
|
|
1113
|
+
const Flag = ({ country, language, rounded, height, width, isTesting, className, }) => {
|
|
1114
|
+
let flag;
|
|
1115
|
+
let flagRounded;
|
|
1116
|
+
switch (language) {
|
|
1117
|
+
case 'en':
|
|
1118
|
+
flag = React__default.createElement(EnglishSquareIcon, null);
|
|
1119
|
+
flagRounded = React__default.createElement(EnglishRoundIcon, null);
|
|
1120
|
+
break;
|
|
1121
|
+
case 'vi':
|
|
1122
|
+
flag = React__default.createElement(VietnamSquareIcon, null);
|
|
1123
|
+
flagRounded = React__default.createElement(VietnamRoundIcon, null);
|
|
1124
|
+
break;
|
|
1125
|
+
case 'id':
|
|
1126
|
+
flag = React__default.createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
1127
|
+
flagRounded = React__default.createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
1128
|
+
break;
|
|
1129
|
+
case 'th':
|
|
1130
|
+
flag = React__default.createElement(ThailandSquareIcon, null);
|
|
1131
|
+
flagRounded = React__default.createElement(ThailandRoundIcon, null);
|
|
1132
|
+
break;
|
|
1133
|
+
case 'km':
|
|
1134
|
+
flag = React__default.createElement(CambodiaSquareIcon, null);
|
|
1135
|
+
flagRounded = React__default.createElement(CambodiaRoundIcon, null);
|
|
1136
|
+
break;
|
|
1137
|
+
case 'ms':
|
|
1138
|
+
flag = React__default.createElement(MalaysiaSquareIcon, null);
|
|
1139
|
+
flagRounded = React__default.createElement(MalaysiaRoundIcon, null);
|
|
1140
|
+
break;
|
|
1141
|
+
case 'my':
|
|
1142
|
+
flag = React__default.createElement(MyanmarSquareIcon, null);
|
|
1143
|
+
flagRounded = React__default.createElement(MyanmarRoundIcon, null);
|
|
1144
|
+
break;
|
|
1145
|
+
case 'tl':
|
|
1146
|
+
flag = React__default.createElement(PhilippinesSquareIcon, null);
|
|
1147
|
+
flagRounded = React__default.createElement(PhilippinesRoundIcon, null);
|
|
1148
|
+
break;
|
|
1149
|
+
case 'hi':
|
|
1150
|
+
flag = React__default.createElement(IndiaSquareIcon, null);
|
|
1151
|
+
flagRounded = React__default.createElement(IndiaRoundIcon, null);
|
|
1152
|
+
break;
|
|
1153
|
+
case 'zh':
|
|
1154
|
+
flag = React__default.createElement(TaiwanSquareIcon, null);
|
|
1155
|
+
flagRounded = React__default.createElement(TaiwanRoundIcon, null);
|
|
1156
|
+
break;
|
|
1157
|
+
}
|
|
1158
|
+
if (!flag && !flagRounded) {
|
|
1159
|
+
switch (country) {
|
|
1160
|
+
case 'VN':
|
|
1161
|
+
flag = React__default.createElement(VietnamSquareIcon, null);
|
|
1162
|
+
flagRounded = React__default.createElement(VietnamRoundIcon, null);
|
|
1163
|
+
break;
|
|
1164
|
+
case 'ID':
|
|
1165
|
+
flag = React__default.createElement(IndonesiaSquareIcon, { isTesting: isTesting });
|
|
1166
|
+
flagRounded = React__default.createElement(IndonesiaRoundIcon, { isTesting: isTesting });
|
|
1167
|
+
break;
|
|
1168
|
+
case 'TH':
|
|
1169
|
+
flag = React__default.createElement(ThailandSquareIcon, null);
|
|
1170
|
+
flagRounded = React__default.createElement(ThailandRoundIcon, null);
|
|
1171
|
+
break;
|
|
1172
|
+
case 'KH':
|
|
1173
|
+
flag = React__default.createElement(CambodiaSquareIcon, null);
|
|
1174
|
+
flagRounded = React__default.createElement(CambodiaRoundIcon, null);
|
|
1175
|
+
break;
|
|
1176
|
+
case 'MY':
|
|
1177
|
+
flag = React__default.createElement(MalaysiaSquareIcon, null);
|
|
1178
|
+
flagRounded = React__default.createElement(MalaysiaRoundIcon, null);
|
|
1179
|
+
break;
|
|
1180
|
+
case 'MM':
|
|
1181
|
+
flag = React__default.createElement(MyanmarSquareIcon, null);
|
|
1182
|
+
flagRounded = React__default.createElement(MyanmarRoundIcon, null);
|
|
1183
|
+
break;
|
|
1184
|
+
case 'PH':
|
|
1185
|
+
flag = React__default.createElement(PhilippinesSquareIcon, null);
|
|
1186
|
+
flagRounded = React__default.createElement(PhilippinesRoundIcon, null);
|
|
1187
|
+
break;
|
|
1188
|
+
case 'IN':
|
|
1189
|
+
flag = React__default.createElement(IndiaSquareIcon, null);
|
|
1190
|
+
flagRounded = React__default.createElement(IndiaRoundIcon, null);
|
|
1191
|
+
break;
|
|
1192
|
+
case 'TW':
|
|
1193
|
+
flag = React__default.createElement(TaiwanSquareIcon, null);
|
|
1194
|
+
flagRounded = React__default.createElement(TaiwanRoundIcon, null);
|
|
1195
|
+
break;
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
return (React__default.createElement("div", { className: `${styles$1.flag} ${className || ''}`, style: {
|
|
1199
|
+
'--width': width || 20,
|
|
1200
|
+
'--height': height || 20,
|
|
1201
|
+
} }, rounded ? flagRounded : flag));
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1348
1204
|
const countriesDefault = Object.values(siteOptions).reduce((countries, { phoneCountry: phone }) => {
|
|
1349
1205
|
if (!countries.includes(phone)) {
|
|
1350
1206
|
countries.push(phone);
|
|
@@ -1479,4 +1335,4 @@ const _ChipButton = (_a) => {
|
|
|
1479
1335
|
const ChipButton = _ChipButton;
|
|
1480
1336
|
ChipButton.Group = Chip.Group;
|
|
1481
1337
|
|
|
1482
|
-
export { Anchor as A, Breadcrumbs as B, CaretDown as C, DEBOUNCED_TIME as D, ErrorBoundary as E, Flag as F, Input as I, NumberInput as N, OTP as O, Phone as P, Radio as R, Select as S, Avatar as a, AspectRatio as b, CentralCarousel as c, Checkbox as d, ChipButton as e, PasswordInput as f,
|
|
1338
|
+
export { Anchor as A, Breadcrumbs as B, CaretDown as C, DEBOUNCED_TIME as D, ErrorBoundary as E, Flag as F, Input as I, NumberInput as N, OTP as O, Phone as P, Radio as R, Select as S, Avatar as a, AspectRatio as b, CentralCarousel as c, Checkbox as d, ChipButton as e, PasswordInput as f, StyledTextArea as g, StyledSliderWrapper as h, StyledSlider as i, Accordion as j, Carousel as k, emotionCache as l, Popover as m, styles as s };
|