@abihealth/goapp-react-native 1.13.4
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/CHANGELOG.md +157 -0
- package/README.md +3 -0
- package/dist/common/animations/Animation.d.ts +10 -0
- package/dist/common/animations/Animation.js +38 -0
- package/dist/common/animations/FindingAnimation/index.d.ts +2 -0
- package/dist/common/animations/FindingAnimation/index.js +20 -0
- package/dist/common/animations/FindingAnimation/xml.d.ts +2 -0
- package/dist/common/animations/FindingAnimation/xml.js +7 -0
- package/dist/common/animations/HorizontalLoadingAnimation/index.d.ts +5 -0
- package/dist/common/animations/HorizontalLoadingAnimation/index.js +14 -0
- package/dist/common/animations/HorizontalLoadingAnimation/xml.d.ts +1 -0
- package/dist/common/animations/HorizontalLoadingAnimation/xml.js +5 -0
- package/dist/common/animations/LoadingCircleAnimation/index.d.ts +2 -0
- package/dist/common/animations/LoadingCircleAnimation/index.js +24 -0
- package/dist/common/animations/LoadingCircleAnimation/xml.d.ts +2 -0
- package/dist/common/animations/LoadingCircleAnimation/xml.js +5 -0
- package/dist/common/animations/LoadingDotsAnimation/index.d.ts +6 -0
- package/dist/common/animations/LoadingDotsAnimation/index.js +17 -0
- package/dist/common/animations/LoadingDotsAnimation/xml.d.ts +1 -0
- package/dist/common/animations/LoadingDotsAnimation/xml.js +5 -0
- package/dist/common/animations/LoadingHeart.d.ts +2 -0
- package/dist/common/animations/LoadingHeart.js +92 -0
- package/dist/common/api/auth.d.ts +2 -0
- package/dist/common/api/auth.js +18 -0
- package/dist/common/api/config.d.ts +7 -0
- package/dist/common/api/config.js +15 -0
- package/dist/common/api/consultation.d.ts +6 -0
- package/dist/common/api/consultation.js +80 -0
- package/dist/common/api/models/auth.d.ts +8 -0
- package/dist/common/api/models/auth.js +2 -0
- package/dist/common/api/models/consultation.d.ts +70 -0
- package/dist/common/api/models/consultation.js +23 -0
- package/dist/common/api/models/region.d.ts +1 -0
- package/dist/common/api/models/region.js +2 -0
- package/dist/common/api/models/user.d.ts +5 -0
- package/dist/common/api/models/user.js +2 -0
- package/dist/common/api/models/websocket.d.ts +6 -0
- package/dist/common/api/models/websocket.js +2 -0
- package/dist/common/api/user.d.ts +2 -0
- package/dist/common/api/user.js +10 -0
- package/dist/common/api/websocket.d.ts +6 -0
- package/dist/common/api/websocket.js +66 -0
- package/dist/common/assets/background-pattern.png +0 -0
- package/dist/common/components/ActionSheet.d.ts +6 -0
- package/dist/common/components/ActionSheet.js +43 -0
- package/dist/common/components/AnswerScreen/Card.d.ts +8 -0
- package/dist/common/components/AnswerScreen/Card.js +76 -0
- package/dist/common/components/AnswerScreen/CloseConsultationActionSheet.d.ts +2 -0
- package/dist/common/components/AnswerScreen/CloseConsultationActionSheet.js +109 -0
- package/dist/common/components/AnswerScreen/DeliveryAddressCard.d.ts +5 -0
- package/dist/common/components/AnswerScreen/DeliveryAddressCard.js +39 -0
- package/dist/common/components/AnswerScreen/PrescriptionCard/PrescriptionCardHeader.d.ts +5 -0
- package/dist/common/components/AnswerScreen/PrescriptionCard/PrescriptionCardHeader.js +79 -0
- package/dist/common/components/AnswerScreen/PrescriptionCard/index.d.ts +5 -0
- package/dist/common/components/AnswerScreen/PrescriptionCard/index.js +46 -0
- package/dist/common/components/AnswerScreen/Summary.d.ts +5 -0
- package/dist/common/components/AnswerScreen/Summary.js +49 -0
- package/dist/common/components/BackgroundPattern.d.ts +2 -0
- package/dist/common/components/BackgroundPattern.js +19 -0
- package/dist/common/components/Button.d.ts +14 -0
- package/dist/common/components/Button.js +124 -0
- package/dist/common/components/CancelConsultationButton.d.ts +2 -0
- package/dist/common/components/CancelConsultationButton.js +107 -0
- package/dist/common/components/Card.d.ts +2 -0
- package/dist/common/components/Card.js +13 -0
- package/dist/common/components/Checkbox.d.ts +7 -0
- package/dist/common/components/Checkbox.js +75 -0
- package/dist/common/components/DateInput.d.ts +8 -0
- package/dist/common/components/DateInput.js +76 -0
- package/dist/common/components/DoctorProfileCard.d.ts +8 -0
- package/dist/common/components/DoctorProfileCard.js +128 -0
- package/dist/common/components/FadeIn.d.ts +8 -0
- package/dist/common/components/FadeIn.js +66 -0
- package/dist/common/components/FormControl.d.ts +8 -0
- package/dist/common/components/FormControl.js +40 -0
- package/dist/common/components/FormWrapper.d.ts +11 -0
- package/dist/common/components/FormWrapper.js +46 -0
- package/dist/common/components/Header.d.ts +10 -0
- package/dist/common/components/Header.js +109 -0
- package/dist/common/components/Input.d.ts +8 -0
- package/dist/common/components/Input.js +74 -0
- package/dist/common/components/Modal/AttachmentPreviewModal.d.ts +9 -0
- package/dist/common/components/Modal/AttachmentPreviewModal.js +68 -0
- package/dist/common/components/Modal/CancelModal.d.ts +9 -0
- package/dist/common/components/Modal/CancelModal.js +16 -0
- package/dist/common/components/Modal/CloseConsultationModal.d.ts +9 -0
- package/dist/common/components/Modal/CloseConsultationModal.js +16 -0
- package/dist/common/components/Modal/DoctorProfileModal.d.ts +8 -0
- package/dist/common/components/Modal/DoctorProfileModal.js +47 -0
- package/dist/common/components/Modal/ModalHeader.d.ts +7 -0
- package/dist/common/components/Modal/ModalHeader.js +40 -0
- package/dist/common/components/Modal/TwoOptionsModal.d.ts +14 -0
- package/dist/common/components/Modal/TwoOptionsModal.js +58 -0
- package/dist/common/components/Modal/index.d.ts +7 -0
- package/dist/common/components/Modal/index.js +57 -0
- package/dist/common/components/PhoneInput.d.ts +11 -0
- package/dist/common/components/PhoneInput.js +81 -0
- package/dist/common/components/Reminder.d.ts +7 -0
- package/dist/common/components/Reminder.js +214 -0
- package/dist/common/components/ScreenWrapper.d.ts +12 -0
- package/dist/common/components/ScreenWrapper.js +46 -0
- package/dist/common/components/Select.d.ts +17 -0
- package/dist/common/components/Select.js +132 -0
- package/dist/common/components/Slide.d.ts +13 -0
- package/dist/common/components/Slide.js +83 -0
- package/dist/common/components/SlideUp.d.ts +8 -0
- package/dist/common/components/SlideUp.js +69 -0
- package/dist/common/components/Text.d.ts +22 -0
- package/dist/common/components/Text.js +130 -0
- package/dist/common/contexts/ConsultationContext.d.ts +22 -0
- package/dist/common/contexts/ConsultationContext.js +215 -0
- package/dist/common/contexts/FormContext.d.ts +25 -0
- package/dist/common/contexts/FormContext.js +55 -0
- package/dist/common/contexts/ThemeContext.d.ts +13 -0
- package/dist/common/contexts/ThemeContext.js +18 -0
- package/dist/common/hooks/useConsultation.d.ts +13 -0
- package/dist/common/hooks/useConsultation.js +166 -0
- package/dist/common/hooks/useForm.d.ts +10 -0
- package/dist/common/hooks/useForm.js +107 -0
- package/dist/common/hooks/useHeader.d.ts +4 -0
- package/dist/common/hooks/useHeader.js +10 -0
- package/dist/common/hooks/useTheme.d.ts +2 -0
- package/dist/common/hooks/useTheme.js +26 -0
- package/dist/common/hooks/useUser.d.ts +4 -0
- package/dist/common/hooks/useUser.js +10 -0
- package/dist/common/icons/AbiLogoIcon.d.ts +2 -0
- package/dist/common/icons/AbiLogoIcon.js +53 -0
- package/dist/common/icons/BackArrowIcon.d.ts +2 -0
- package/dist/common/icons/BackArrowIcon.js +49 -0
- package/dist/common/icons/CalendarIcon.d.ts +3 -0
- package/dist/common/icons/CalendarIcon.js +43 -0
- package/dist/common/icons/CheckSuccessIcon.d.ts +3 -0
- package/dist/common/icons/CheckSuccessIcon.js +47 -0
- package/dist/common/icons/CloseIcon.d.ts +5 -0
- package/dist/common/icons/CloseIcon.js +51 -0
- package/dist/common/icons/DoctorIcon.d.ts +3 -0
- package/dist/common/icons/DoctorIcon.js +48 -0
- package/dist/common/icons/DoctorImagePlaceholderIcon.d.ts +5 -0
- package/dist/common/icons/DoctorImagePlaceholderIcon.js +64 -0
- package/dist/common/icons/DropdownIcon.d.ts +3 -0
- package/dist/common/icons/DropdownIcon.js +41 -0
- package/dist/common/icons/ExitIcon.d.ts +2 -0
- package/dist/common/icons/ExitIcon.js +58 -0
- package/dist/common/icons/InfoIcon.d.ts +2 -0
- package/dist/common/icons/InfoIcon.js +49 -0
- package/dist/common/icons/KoCircleIcon.d.ts +3 -0
- package/dist/common/icons/KoCircleIcon.js +42 -0
- package/dist/common/icons/MotorbikeIcon.d.ts +2 -0
- package/dist/common/icons/MotorbikeIcon.js +65 -0
- package/dist/common/icons/NoCaseFoundIcon.d.ts +3 -0
- package/dist/common/icons/NoCaseFoundIcon.js +55 -0
- package/dist/common/icons/PdfDownloadIcon.d.ts +2 -0
- package/dist/common/icons/PdfDownloadIcon.js +58 -0
- package/dist/common/icons/PdfIcon.d.ts +2 -0
- package/dist/common/icons/PdfIcon.js +50 -0
- package/dist/common/icons/PersonIcon.d.ts +3 -0
- package/dist/common/icons/PersonIcon.js +45 -0
- package/dist/common/icons/PillsIcon.d.ts +2 -0
- package/dist/common/icons/PillsIcon.js +52 -0
- package/dist/common/icons/PlaneIcon.d.ts +5 -0
- package/dist/common/icons/PlaneIcon.js +48 -0
- package/dist/common/icons/RatingIcon.d.ts +2 -0
- package/dist/common/icons/RatingIcon.js +53 -0
- package/dist/common/icons/StarIcon.d.ts +4 -0
- package/dist/common/icons/StarIcon.js +57 -0
- package/dist/common/icons/TextConsultationIcon.d.ts +4 -0
- package/dist/common/icons/TextConsultationIcon.js +53 -0
- package/dist/common/icons/TrashIcon.d.ts +2 -0
- package/dist/common/icons/TrashIcon.js +49 -0
- package/dist/common/icons/VideoConsultationIcon.d.ts +4 -0
- package/dist/common/icons/VideoConsultationIcon.js +50 -0
- package/dist/common/index.d.ts +57 -0
- package/dist/common/index.js +114 -0
- package/dist/common/locale/i18n.d.ts +5 -0
- package/dist/common/locale/i18n.js +79 -0
- package/dist/common/locale/translations/ar-AE.base.json +604 -0
- package/dist/common/locale/translations/ar-LB.base.json +604 -0
- package/dist/common/locale/translations/bg.base.json +488 -0
- package/dist/common/locale/translations/cs.base.json +499 -0
- package/dist/common/locale/translations/en.base.json +923 -0
- package/dist/common/locale/translations/es-MX.base.json +827 -0
- package/dist/common/locale/translations/es.base.json +827 -0
- package/dist/common/locale/translations/fr.base.json +605 -0
- package/dist/common/locale/translations/hu.base.json +488 -0
- package/dist/common/locale/translations/pl.base.json +487 -0
- package/dist/common/locale/translations/ro.base.json +501 -0
- package/dist/common/locale/translations/ru.base.json +603 -0
- package/dist/common/locale/translations/sk.base.json +535 -0
- package/dist/common/locale/translations/zh-HK.base.json +349 -0
- package/dist/common/locale/translations/zh-SG.base.json +603 -0
- package/dist/common/locale/translations/zh-TW.base.json +873 -0
- package/dist/common/screens/AnswerScreen.d.ts +11 -0
- package/dist/common/screens/AnswerScreen.js +101 -0
- package/dist/common/screens/MatchScreen.d.ts +5 -0
- package/dist/common/screens/MatchScreen.js +36 -0
- package/dist/common/screens/MatchingScreen.d.ts +2 -0
- package/dist/common/screens/MatchingScreen.js +41 -0
- package/dist/common/screens/NoConsultationFoundScreen.d.ts +2 -0
- package/dist/common/screens/NoConsultationFoundScreen.js +34 -0
- package/dist/common/screens/PreparingSummaryScreen.d.ts +5 -0
- package/dist/common/screens/PreparingSummaryScreen.js +35 -0
- package/dist/common/screens/RatingScreen.d.ts +2 -0
- package/dist/common/screens/RatingScreen.js +198 -0
- package/dist/common/screens/index.d.ts +3 -0
- package/dist/common/screens/index.js +29 -0
- package/dist/common/types/consultation.d.ts +93 -0
- package/dist/common/types/consultation.js +41 -0
- package/dist/common/types/deliveryAddress.d.ts +18 -0
- package/dist/common/types/deliveryAddress.js +11 -0
- package/dist/common/types/events.d.ts +13 -0
- package/dist/common/types/events.js +15 -0
- package/dist/common/types/prescription.d.ts +52 -0
- package/dist/common/types/prescription.js +31 -0
- package/dist/common/types/professional.d.ts +14 -0
- package/dist/common/types/professional.js +2 -0
- package/dist/common/types/theme.d.ts +82 -0
- package/dist/common/types/theme.js +58 -0
- package/dist/common/types/user.d.ts +10 -0
- package/dist/common/types/user.js +2 -0
- package/dist/common/utils/platform.d.ts +3 -0
- package/dist/common/utils/platform.js +7 -0
- package/dist/common/utils/professional.d.ts +2 -0
- package/dist/common/utils/professional.js +12 -0
- package/dist/common/utils/zod.d.ts +5 -0
- package/dist/common/utils/zod.js +19 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.js +133 -0
- package/dist/video-consultations/animations/CallingAnimation/index.d.ts +2 -0
- package/dist/video-consultations/animations/CallingAnimation/index.js +17 -0
- package/dist/video-consultations/animations/CallingAnimation/xml.d.ts +2 -0
- package/dist/video-consultations/animations/CallingAnimation/xml.js +5 -0
- package/dist/video-consultations/api/models/video.d.ts +10 -0
- package/dist/video-consultations/api/models/video.js +2 -0
- package/dist/video-consultations/api/video.d.ts +3 -0
- package/dist/video-consultations/api/video.js +12 -0
- package/dist/video-consultations/components/AgoraWrapper/components/BaseRenderUsers.d.ts +12 -0
- package/dist/video-consultations/components/AgoraWrapper/components/BaseRenderUsers.js +174 -0
- package/dist/video-consultations/components/AgoraWrapper/components/BtnControls.d.ts +14 -0
- package/dist/video-consultations/components/AgoraWrapper/components/BtnControls.js +55 -0
- package/dist/video-consultations/components/AgoraWrapper/components/ui/index.d.ts +14 -0
- package/dist/video-consultations/components/AgoraWrapper/components/ui/index.js +100 -0
- package/dist/video-consultations/components/AgoraWrapper/index.d.ts +8 -0
- package/dist/video-consultations/components/AgoraWrapper/index.js +173 -0
- package/dist/video-consultations/components/Modal/EndVideoCallModal.d.ts +8 -0
- package/dist/video-consultations/components/Modal/EndVideoCallModal.js +15 -0
- package/dist/video-consultations/components/VideoConsultation.d.ts +7 -0
- package/dist/video-consultations/components/VideoConsultation.js +42 -0
- package/dist/video-consultations/helpers/eventHandler.d.ts +14 -0
- package/dist/video-consultations/helpers/eventHandler.js +61 -0
- package/dist/video-consultations/hooks/useInitRtcEngine.d.ts +15 -0
- package/dist/video-consultations/hooks/useInitRtcEngine.js +194 -0
- package/dist/video-consultations/icons/EndVideoCallIcon.d.ts +2 -0
- package/dist/video-consultations/icons/EndVideoCallIcon.js +51 -0
- package/dist/video-consultations/icons/HangUpIcon.d.ts +3 -0
- package/dist/video-consultations/icons/HangUpIcon.js +41 -0
- package/dist/video-consultations/icons/MicroOffIcon.d.ts +7 -0
- package/dist/video-consultations/icons/MicroOffIcon.js +47 -0
- package/dist/video-consultations/icons/MicroOnIcon.d.ts +3 -0
- package/dist/video-consultations/icons/MicroOnIcon.js +42 -0
- package/dist/video-consultations/icons/PersonIcon.d.ts +3 -0
- package/dist/video-consultations/icons/PersonIcon.js +45 -0
- package/dist/video-consultations/icons/SwitchCameraIcon.d.ts +3 -0
- package/dist/video-consultations/icons/SwitchCameraIcon.js +41 -0
- package/dist/video-consultations/icons/VideoOffIcon.d.ts +5 -0
- package/dist/video-consultations/icons/VideoOffIcon.js +44 -0
- package/dist/video-consultations/icons/VideoOnIcon.d.ts +3 -0
- package/dist/video-consultations/icons/VideoOnIcon.js +41 -0
- package/dist/video-consultations/index.d.ts +10 -0
- package/dist/video-consultations/index.js +24 -0
- package/dist/video-consultations/screens/DeliveryAddressScreen.d.ts +2 -0
- package/dist/video-consultations/screens/DeliveryAddressScreen.js +84 -0
- package/dist/video-consultations/screens/EndingVideoScreen.d.ts +5 -0
- package/dist/video-consultations/screens/EndingVideoScreen.js +27 -0
- package/dist/video-consultations/screens/JoinVideoCallScreen.d.ts +5 -0
- package/dist/video-consultations/screens/JoinVideoCallScreen.js +108 -0
- package/dist/video-consultations/screens/ProcessingPrescriptionScreen.d.ts +2 -0
- package/dist/video-consultations/screens/ProcessingPrescriptionScreen.js +32 -0
- package/dist/video-consultations/screens/VideoCallScreen.d.ts +3 -0
- package/dist/video-consultations/screens/VideoCallScreen.js +77 -0
- package/dist/video-consultations/utils/permission.d.ts +14 -0
- package/dist/video-consultations/utils/permission.js +97 -0
- package/package.json +58 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.13.2](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.13.1...goapp-react-native-v1.13.2) (2025-02-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* npm registry ([#118](https://github.com/abiglobalhealth/react-native-sdk/issues/118)) ([818d7f9](https://github.com/abiglobalhealth/react-native-sdk/commit/818d7f98de20e48514a730696a91a46095d8507d))
|
|
9
|
+
* removing blank space when keyboard is open on android ([#119](https://github.com/abiglobalhealth/react-native-sdk/issues/119)) ([413a2bb](https://github.com/abiglobalhealth/react-native-sdk/commit/413a2bb09755046ebc793a638784de5461ec7cda))
|
|
10
|
+
* update publish workflow to use public access and correct NPM token ([#116](https://github.com/abiglobalhealth/react-native-sdk/issues/116)) ([ec04db3](https://github.com/abiglobalhealth/react-native-sdk/commit/ec04db39508cdbe09764d3e019b37dbcd57c64d5))
|
|
11
|
+
|
|
12
|
+
## [1.13.1](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.13.0...goapp-react-native-v1.13.1) (2025-02-26)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* remove scrollbar on android animations ([#112](https://github.com/abiglobalhealth/react-native-sdk/issues/112)) ([8904d6d](https://github.com/abiglobalhealth/react-native-sdk/commit/8904d6d406bf2b147f9306d2bea7f5e3fa41b59f))
|
|
18
|
+
* removing blank space after hidding reminder ([#113](https://github.com/abiglobalhealth/react-native-sdk/issues/113)) ([cfeba3f](https://github.com/abiglobalhealth/react-native-sdk/commit/cfeba3f0ef61e879cf7a56793d0dd01454e88c02))
|
|
19
|
+
* removing reminder from match screen in video ([#115](https://github.com/abiglobalhealth/react-native-sdk/issues/115)) ([6736453](https://github.com/abiglobalhealth/react-native-sdk/commit/673645329e940a023d990866673e2601aadd68fd))
|
|
20
|
+
|
|
21
|
+
## [1.13.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.12.1...goapp-react-native-v1.13.0) (2025-02-26)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
- enhance rating error handling ([#111](https://github.com/abiglobalhealth/react-native-sdk/issues/111)) ([152620c](https://github.com/abiglobalhealth/react-native-sdk/commit/152620c454f07c690f5bbcbd4323cd9c24b52925))
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
- fixing text description profile card width ([#110](https://github.com/abiglobalhealth/react-native-sdk/issues/110)) ([41d100c](https://github.com/abiglobalhealth/react-native-sdk/commit/41d100c5ef53a5d5d03c9a30d8b6801b7a5d4297))
|
|
30
|
+
- professional label ([#108](https://github.com/abiglobalhealth/react-native-sdk/issues/108)) ([294b9ec](https://github.com/abiglobalhealth/react-native-sdk/commit/294b9ec56f0ef20fe9867928ff8105eb047a1a65))
|
|
31
|
+
- Refactor professional doctor image property naming ([#106](https://github.com/abiglobalhealth/react-native-sdk/issues/106)) ([0b3601b](https://github.com/abiglobalhealth/react-native-sdk/commit/0b3601b5feef7ce7081d439c2362b15c5637e162))
|
|
32
|
+
|
|
33
|
+
## [1.12.1](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.12.0...goapp-react-native-v1.12.1) (2025-02-21)
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
- crashing in videocall and changing summary after video screen ([#104](https://github.com/abiglobalhealth/react-native-sdk/issues/104)) ([fae69c5](https://github.com/abiglobalhealth/react-native-sdk/commit/fae69c587f123f43a6abba5ade83f94b0a1582f0))
|
|
38
|
+
- remove scrollbar on android animations ([#102](https://github.com/abiglobalhealth/react-native-sdk/issues/102)) ([cac17d8](https://github.com/abiglobalhealth/react-native-sdk/commit/cac17d80e13c564233d530551fb7989d596a5e7f))
|
|
39
|
+
- scroll doctors profile on modal ([#103](https://github.com/abiglobalhealth/react-native-sdk/issues/103)) ([cf5d5e6](https://github.com/abiglobalhealth/react-native-sdk/commit/cf5d5e60c2bef6e0243147c683de0e75fbeb351b))
|
|
40
|
+
|
|
41
|
+
## [1.12.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.11.5...goapp-react-native-v1.12.0) (2025-02-20)
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
- add DoctorImagePlaceholderIcon and update DoctorProfileCard ([#90](https://github.com/abiglobalhealth/react-native-sdk/issues/90)) ([e9c01f4](https://github.com/abiglobalhealth/react-native-sdk/commit/e9c01f4916140b084e6267454a65be8796b85884))
|
|
46
|
+
- add publish package action ([0a595f3](https://github.com/abiglobalhealth/react-native-sdk/commit/0a595f3c9fe29b52c465ea02b40c8c7358dd4e83))
|
|
47
|
+
- add region selection and new endpoints for ape1 ([#80](https://github.com/abiglobalhealth/react-native-sdk/issues/80)) ([1b70f9f](https://github.com/abiglobalhealth/react-native-sdk/commit/1b70f9f855adbd57076f76323e5e4dbfa629e994))
|
|
48
|
+
- add sentry and improve logging ([#93](https://github.com/abiglobalhealth/react-native-sdk/issues/93)) ([51bfb42](https://github.com/abiglobalhealth/react-native-sdk/commit/51bfb42c4cd92c1c5d93ad8b956b1806f1402a2c))
|
|
49
|
+
- add start:ios script and update dependencies in package.json files ([b2ee719](https://github.com/abiglobalhealth/react-native-sdk/commit/b2ee719f5d89341f8a5f5f40c2940c937a564d6d))
|
|
50
|
+
- add ThemeContext and useHeader hook for improved theming support ([#76](https://github.com/abiglobalhealth/react-native-sdk/issues/76)) ([b236f4a](https://github.com/abiglobalhealth/react-native-sdk/commit/b236f4a3ef013b912d55a87af0208311384a10be))
|
|
51
|
+
- add user model, hooks, and create consultation screen ([#84](https://github.com/abiglobalhealth/react-native-sdk/issues/84)) ([06b300c](https://github.com/abiglobalhealth/react-native-sdk/commit/06b300cfd67c0127cb04d01bb27166930ebc2632))
|
|
52
|
+
- bump version to 1.8.0 in package.json ([#82](https://github.com/abiglobalhealth/react-native-sdk/issues/82)) ([da5d161](https://github.com/abiglobalhealth/react-native-sdk/commit/da5d1615dd573f9893901cb0d42a302427b5089d))
|
|
53
|
+
- enhance theming support and refactor video call button components ([#79](https://github.com/abiglobalhealth/react-native-sdk/issues/79)) ([328598f](https://github.com/abiglobalhealth/react-native-sdk/commit/328598f9ea21728737a56a1d3171b926384a1f3e))
|
|
54
|
+
- enhance websocket handling and improve consultation context management ([#91](https://github.com/abiglobalhealth/react-native-sdk/issues/91)) ([2076e70](https://github.com/abiglobalhealth/react-native-sdk/commit/2076e70d240164237bbfde19af08b1e5de7243ed))
|
|
55
|
+
- force release ([f151793](https://github.com/abiglobalhealth/react-native-sdk/commit/f1517937f8b99d4998e9fa61fa4ee0850691ee54))
|
|
56
|
+
- force release ([f151793](https://github.com/abiglobalhealth/react-native-sdk/commit/f1517937f8b99d4998e9fa61fa4ee0850691ee54))
|
|
57
|
+
- force release ([952627b](https://github.com/abiglobalhealth/react-native-sdk/commit/952627b3859556251addc021b3c19550e92b7fdb))
|
|
58
|
+
- Implement video call functionality and screens ([#81](https://github.com/abiglobalhealth/react-native-sdk/issues/81)) ([ce69c40](https://github.com/abiglobalhealth/react-native-sdk/commit/ce69c403a9e3f92fc88daeb2ffb75e8a8ba188a7))
|
|
59
|
+
- including form to set video props ([#60](https://github.com/abiglobalhealth/react-native-sdk/issues/60)) ([2284a14](https://github.com/abiglobalhealth/react-native-sdk/commit/2284a144d854f92c04bb097c74288fe6283c11f7))
|
|
60
|
+
- including hangup action when patient ends the call ([#101](https://github.com/abiglobalhealth/react-native-sdk/issues/101)) ([c1ef002](https://github.com/abiglobalhealth/react-native-sdk/commit/c1ef0020bee0c4c48401e84aeebbd3994a9fb453))
|
|
61
|
+
- including no cases found screen ([#77](https://github.com/abiglobalhealth/react-native-sdk/issues/77)) ([606fb35](https://github.com/abiglobalhealth/react-native-sdk/commit/606fb3557bc6ca047db01d0414a6e00b8f361a3d))
|
|
62
|
+
- including video consultation event handlers ([#74](https://github.com/abiglobalhealth/react-native-sdk/issues/74)) ([f993a9f](https://github.com/abiglobalhealth/react-native-sdk/commit/f993a9fdddacf9f4fb881b1ed5824a1794b624b6))
|
|
63
|
+
- migrate imports from @abiglobalhealth/common to sdk-common and sdk-video-consultations ([8342835](https://github.com/abiglobalhealth/react-native-sdk/commit/8342835b43ba19394526e04e1fc268d8e8aa9705))
|
|
64
|
+
- refactor video consultation screen logic and extract common screen handling ([#85](https://github.com/abiglobalhealth/react-native-sdk/issues/85)) ([3dcf53d](https://github.com/abiglobalhealth/react-native-sdk/commit/3dcf53dc9a689215b8c4b140eeb5ee01a567542f))
|
|
65
|
+
- release ([a7ca117](https://github.com/abiglobalhealth/react-native-sdk/commit/a7ca1174607d53603f9521445ed7016ccf4a0700))
|
|
66
|
+
- remove multipackage (for now) and update imports ([#75](https://github.com/abiglobalhealth/react-native-sdk/issues/75)) ([1aaea08](https://github.com/abiglobalhealth/react-native-sdk/commit/1aaea083efaed1406660b53b396da00fdc5fe0f3))
|
|
67
|
+
- update build scripts and refactor imports for video consultations ([795ba58](https://github.com/abiglobalhealth/react-native-sdk/commit/795ba580e18e7ecbf7e3b5338ae92e10d8e3f25f))
|
|
68
|
+
- version ([34cd18f](https://github.com/abiglobalhealth/react-native-sdk/commit/34cd18ff4b9b776c5fe360b894e4dd379aab8e6c))
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
- auth api ([#83](https://github.com/abiglobalhealth/react-native-sdk/issues/83)) ([da18974](https://github.com/abiglobalhealth/react-native-sdk/commit/da1897432a319071514fb33e16fdf2e160caef47))
|
|
73
|
+
- changing svgs for apps ([#95](https://github.com/abiglobalhealth/react-native-sdk/issues/95)) ([5f84f19](https://github.com/abiglobalhealth/react-native-sdk/commit/5f84f19bd109663d8e2a79e5be09648a11d091ec))
|
|
74
|
+
- correct conditional logic in JoinVideoCallScreen to render VideoCallScreen when joined ([#88](https://github.com/abiglobalhealth/react-native-sdk/issues/88)) ([928a9cc](https://github.com/abiglobalhealth/react-native-sdk/commit/928a9cce8bc106285d2aafed4ab8aa41275bc157))
|
|
75
|
+
- doctor image and specialties ([#98](https://github.com/abiglobalhealth/react-native-sdk/issues/98)) ([c87c958](https://github.com/abiglobalhealth/react-native-sdk/commit/c87c958bfb6143d13a417224a29eb3cedad6debf))
|
|
76
|
+
- enhance consultation rating functionality and improve payload handling ([#99](https://github.com/abiglobalhealth/react-native-sdk/issues/99)) ([cb9044a](https://github.com/abiglobalhealth/react-native-sdk/commit/cb9044a6701dda641db89da580acd20dad6e2870))
|
|
77
|
+
- imports ([f9ad08f](https://github.com/abiglobalhealth/react-native-sdk/commit/f9ad08f2e295c55fe149fa597d308459ed3eed00))
|
|
78
|
+
- remove not needed dependencies ([a7ca117](https://github.com/abiglobalhealth/react-native-sdk/commit/a7ca1174607d53603f9521445ed7016ccf4a0700))
|
|
79
|
+
- remove not needed dependencies ([00ac7e6](https://github.com/abiglobalhealth/react-native-sdk/commit/00ac7e632aa3449d47d13987192fdb63176da6d1))
|
|
80
|
+
- sort builds ([839ead1](https://github.com/abiglobalhealth/react-native-sdk/commit/839ead1e04f168bfad25a98ec8a0883aa1946472))
|
|
81
|
+
- start pipeline ([#64](https://github.com/abiglobalhealth/react-native-sdk/issues/64)) ([1eb5d57](https://github.com/abiglobalhealth/react-native-sdk/commit/1eb5d57f6e429ef5f4dd2af670183a9f27acff24))
|
|
82
|
+
- test ([e16e40f](https://github.com/abiglobalhealth/react-native-sdk/commit/e16e40fd5c227880b8447e08a6634f79941e359f))
|
|
83
|
+
- test ([7b112c6](https://github.com/abiglobalhealth/react-native-sdk/commit/7b112c666297f446f789b6b63da908d277afd102))
|
|
84
|
+
- test ([1cf3476](https://github.com/abiglobalhealth/react-native-sdk/commit/1cf3476ae0171fe11fea5f24e4b7f13f0f5e904e))
|
|
85
|
+
- update react-native package version to 1.5.0 and adjust imports ([#69](https://github.com/abiglobalhealth/react-native-sdk/issues/69)) ([bbfa1b8](https://github.com/abiglobalhealth/react-native-sdk/commit/bbfa1b8385d4df49d0f0b1c71aa1262ffe78a1fc))
|
|
86
|
+
- update react-native package version to 1.6.0 and adjust imports ([#70](https://github.com/abiglobalhealth/react-native-sdk/issues/70)) ([e8e7230](https://github.com/abiglobalhealth/react-native-sdk/commit/e8e723029d5f4fe9473348c7d09c71b369638b2d))
|
|
87
|
+
|
|
88
|
+
## [1.11.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.10.0...goapp-react-native-v1.11.0) (2025-02-19)
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
- add sentry and improve logging ([#93](https://github.com/abiglobalhealth/react-native-sdk/issues/93)) ([51bfb42](https://github.com/abiglobalhealth/react-native-sdk/commit/51bfb42c4cd92c1c5d93ad8b956b1806f1402a2c))
|
|
93
|
+
|
|
94
|
+
### Bug Fixes
|
|
95
|
+
|
|
96
|
+
- changing svgs for apps ([#95](https://github.com/abiglobalhealth/react-native-sdk/issues/95)) ([5f84f19](https://github.com/abiglobalhealth/react-native-sdk/commit/5f84f19bd109663d8e2a79e5be09648a11d091ec))
|
|
97
|
+
- doctor image and specialties ([#98](https://github.com/abiglobalhealth/react-native-sdk/issues/98)) ([c87c958](https://github.com/abiglobalhealth/react-native-sdk/commit/c87c958bfb6143d13a417224a29eb3cedad6debf))
|
|
98
|
+
- enhance consultation rating functionality and improve payload handling ([#99](https://github.com/abiglobalhealth/react-native-sdk/issues/99)) ([cb9044a](https://github.com/abiglobalhealth/react-native-sdk/commit/cb9044a6701dda641db89da580acd20dad6e2870))
|
|
99
|
+
|
|
100
|
+
## [1.10.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.9.1...goapp-react-native-v1.10.0) (2025-02-18)
|
|
101
|
+
|
|
102
|
+
### Features
|
|
103
|
+
|
|
104
|
+
- add DoctorImagePlaceholderIcon and update DoctorProfileCard ([#90](https://github.com/abiglobalhealth/react-native-sdk/issues/90)) ([e9c01f4](https://github.com/abiglobalhealth/react-native-sdk/commit/e9c01f4916140b084e6267454a65be8796b85884))
|
|
105
|
+
- enhance websocket handling and improve consultation context management ([#91](https://github.com/abiglobalhealth/react-native-sdk/issues/91)) ([2076e70](https://github.com/abiglobalhealth/react-native-sdk/commit/2076e70d240164237bbfde19af08b1e5de7243ed))
|
|
106
|
+
|
|
107
|
+
## [1.9.1](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.9.0...goapp-react-native-v1.9.1) (2025-02-18)
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
- correct conditional logic in JoinVideoCallScreen to render VideoCallScreen when joined ([#88](https://github.com/abiglobalhealth/react-native-sdk/issues/88)) ([928a9cc](https://github.com/abiglobalhealth/react-native-sdk/commit/928a9cce8bc106285d2aafed4ab8aa41275bc157))
|
|
112
|
+
|
|
113
|
+
## [1.9.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.8.2...goapp-react-native-v1.9.0) (2025-02-18)
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
- add publish package action ([0a595f3](https://github.com/abiglobalhealth/react-native-sdk/commit/0a595f3c9fe29b52c465ea02b40c8c7358dd4e83))
|
|
118
|
+
- add region selection and new endpoints for ape1 ([#80](https://github.com/abiglobalhealth/react-native-sdk/issues/80)) ([1b70f9f](https://github.com/abiglobalhealth/react-native-sdk/commit/1b70f9f855adbd57076f76323e5e4dbfa629e994))
|
|
119
|
+
- add start:ios script and update dependencies in package.json files ([b2ee719](https://github.com/abiglobalhealth/react-native-sdk/commit/b2ee719f5d89341f8a5f5f40c2940c937a564d6d))
|
|
120
|
+
- add ThemeContext and useHeader hook for improved theming support ([#76](https://github.com/abiglobalhealth/react-native-sdk/issues/76)) ([b236f4a](https://github.com/abiglobalhealth/react-native-sdk/commit/b236f4a3ef013b912d55a87af0208311384a10be))
|
|
121
|
+
- add user model, hooks, and create consultation screen ([#84](https://github.com/abiglobalhealth/react-native-sdk/issues/84)) ([06b300c](https://github.com/abiglobalhealth/react-native-sdk/commit/06b300cfd67c0127cb04d01bb27166930ebc2632))
|
|
122
|
+
- bump version to 1.8.0 in package.json ([#82](https://github.com/abiglobalhealth/react-native-sdk/issues/82)) ([da5d161](https://github.com/abiglobalhealth/react-native-sdk/commit/da5d1615dd573f9893901cb0d42a302427b5089d))
|
|
123
|
+
- enhance theming support and refactor video call button components ([#79](https://github.com/abiglobalhealth/react-native-sdk/issues/79)) ([328598f](https://github.com/abiglobalhealth/react-native-sdk/commit/328598f9ea21728737a56a1d3171b926384a1f3e))
|
|
124
|
+
- force release ([f151793](https://github.com/abiglobalhealth/react-native-sdk/commit/f1517937f8b99d4998e9fa61fa4ee0850691ee54))
|
|
125
|
+
- force release ([f151793](https://github.com/abiglobalhealth/react-native-sdk/commit/f1517937f8b99d4998e9fa61fa4ee0850691ee54))
|
|
126
|
+
- force release ([952627b](https://github.com/abiglobalhealth/react-native-sdk/commit/952627b3859556251addc021b3c19550e92b7fdb))
|
|
127
|
+
- Implement video call functionality and screens ([#81](https://github.com/abiglobalhealth/react-native-sdk/issues/81)) ([ce69c40](https://github.com/abiglobalhealth/react-native-sdk/commit/ce69c403a9e3f92fc88daeb2ffb75e8a8ba188a7))
|
|
128
|
+
- including form to set video props ([#60](https://github.com/abiglobalhealth/react-native-sdk/issues/60)) ([2284a14](https://github.com/abiglobalhealth/react-native-sdk/commit/2284a144d854f92c04bb097c74288fe6283c11f7))
|
|
129
|
+
- including no cases found screen ([#77](https://github.com/abiglobalhealth/react-native-sdk/issues/77)) ([606fb35](https://github.com/abiglobalhealth/react-native-sdk/commit/606fb3557bc6ca047db01d0414a6e00b8f361a3d))
|
|
130
|
+
- including video consultation event handlers ([#74](https://github.com/abiglobalhealth/react-native-sdk/issues/74)) ([f993a9f](https://github.com/abiglobalhealth/react-native-sdk/commit/f993a9fdddacf9f4fb881b1ed5824a1794b624b6))
|
|
131
|
+
- migrate imports from @abiglobalhealth/common to sdk-common and sdk-video-consultations ([8342835](https://github.com/abiglobalhealth/react-native-sdk/commit/8342835b43ba19394526e04e1fc268d8e8aa9705))
|
|
132
|
+
- refactor video consultation screen logic and extract common screen handling ([#85](https://github.com/abiglobalhealth/react-native-sdk/issues/85)) ([3dcf53d](https://github.com/abiglobalhealth/react-native-sdk/commit/3dcf53dc9a689215b8c4b140eeb5ee01a567542f))
|
|
133
|
+
- release ([a7ca117](https://github.com/abiglobalhealth/react-native-sdk/commit/a7ca1174607d53603f9521445ed7016ccf4a0700))
|
|
134
|
+
- remove multipackage (for now) and update imports ([#75](https://github.com/abiglobalhealth/react-native-sdk/issues/75)) ([1aaea08](https://github.com/abiglobalhealth/react-native-sdk/commit/1aaea083efaed1406660b53b396da00fdc5fe0f3))
|
|
135
|
+
- update build scripts and refactor imports for video consultations ([795ba58](https://github.com/abiglobalhealth/react-native-sdk/commit/795ba580e18e7ecbf7e3b5338ae92e10d8e3f25f))
|
|
136
|
+
- version ([34cd18f](https://github.com/abiglobalhealth/react-native-sdk/commit/34cd18ff4b9b776c5fe360b894e4dd379aab8e6c))
|
|
137
|
+
|
|
138
|
+
### Bug Fixes
|
|
139
|
+
|
|
140
|
+
- auth api ([#83](https://github.com/abiglobalhealth/react-native-sdk/issues/83)) ([da18974](https://github.com/abiglobalhealth/react-native-sdk/commit/da1897432a319071514fb33e16fdf2e160caef47))
|
|
141
|
+
- imports ([f9ad08f](https://github.com/abiglobalhealth/react-native-sdk/commit/f9ad08f2e295c55fe149fa597d308459ed3eed00))
|
|
142
|
+
- remove not needed dependencies ([a7ca117](https://github.com/abiglobalhealth/react-native-sdk/commit/a7ca1174607d53603f9521445ed7016ccf4a0700))
|
|
143
|
+
- remove not needed dependencies ([00ac7e6](https://github.com/abiglobalhealth/react-native-sdk/commit/00ac7e632aa3449d47d13987192fdb63176da6d1))
|
|
144
|
+
- sort builds ([839ead1](https://github.com/abiglobalhealth/react-native-sdk/commit/839ead1e04f168bfad25a98ec8a0883aa1946472))
|
|
145
|
+
- start pipeline ([#64](https://github.com/abiglobalhealth/react-native-sdk/issues/64)) ([1eb5d57](https://github.com/abiglobalhealth/react-native-sdk/commit/1eb5d57f6e429ef5f4dd2af670183a9f27acff24))
|
|
146
|
+
- test ([e16e40f](https://github.com/abiglobalhealth/react-native-sdk/commit/e16e40fd5c227880b8447e08a6634f79941e359f))
|
|
147
|
+
- test ([7b112c6](https://github.com/abiglobalhealth/react-native-sdk/commit/7b112c666297f446f789b6b63da908d277afd102))
|
|
148
|
+
- test ([1cf3476](https://github.com/abiglobalhealth/react-native-sdk/commit/1cf3476ae0171fe11fea5f24e4b7f13f0f5e904e))
|
|
149
|
+
- update react-native package version to 1.5.0 and adjust imports ([#69](https://github.com/abiglobalhealth/react-native-sdk/issues/69)) ([bbfa1b8](https://github.com/abiglobalhealth/react-native-sdk/commit/bbfa1b8385d4df49d0f0b1c71aa1262ffe78a1fc))
|
|
150
|
+
- update react-native package version to 1.6.0 and adjust imports ([#70](https://github.com/abiglobalhealth/react-native-sdk/issues/70)) ([e8e7230](https://github.com/abiglobalhealth/react-native-sdk/commit/e8e723029d5f4fe9473348c7d09c71b369638b2d))
|
|
151
|
+
|
|
152
|
+
## [1.1.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.0.0...goapp-react-native-v1.1.0) (2025-02-05)
|
|
153
|
+
|
|
154
|
+
### Features
|
|
155
|
+
|
|
156
|
+
- add publish package action ([0a595f3](https://github.com/abiglobalhealth/react-native-sdk/commit/0a595f3c9fe29b52c465ea02b40c8c7358dd4e83))
|
|
157
|
+
- migrate imports from @abiglobalhealth/common to sdk-common and sdk-video-consultations ([8342835](https://github.com/abiglobalhealth/react-native-sdk/commit/8342835b43ba19394526e04e1fc268d8e8aa9705))
|
package/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ImageSourcePropType, ImageStyle, StyleProp } from 'react-native';
|
|
3
|
+
interface AnimationProps {
|
|
4
|
+
source: string | ImageSourcePropType;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
style?: StyleProp<ImageStyle>;
|
|
8
|
+
}
|
|
9
|
+
export declare const Animation: ({ source, width, height, style }: AnimationProps) => React.JSX.Element;
|
|
10
|
+
export default Animation;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Animation = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var react_native_1 = require("react-native");
|
|
9
|
+
var react_native_webview_1 = __importDefault(require("react-native-webview"));
|
|
10
|
+
var platform_1 = require("../utils/platform");
|
|
11
|
+
var Animation = function (_a) {
|
|
12
|
+
var source = _a.source, width = _a.width, height = _a.height, style = _a.style;
|
|
13
|
+
var firstHtml = "<html><head><style>html, body { margin:0; padding:0; width: ".concat(width, "px; height: ").concat(height, "px; overflow: hidden } svg { position:fixed; top:0; left:0; }</style></head><body>");
|
|
14
|
+
var lastHtml = '</body></html>';
|
|
15
|
+
return platform_1.isWeb ? (<react_native_1.Image source={source} style={[
|
|
16
|
+
style,
|
|
17
|
+
styles.webView,
|
|
18
|
+
{
|
|
19
|
+
width: width,
|
|
20
|
+
height: height
|
|
21
|
+
}
|
|
22
|
+
]}/>) : (<react_native_1.View style={[
|
|
23
|
+
style,
|
|
24
|
+
{
|
|
25
|
+
width: width,
|
|
26
|
+
height: height
|
|
27
|
+
}
|
|
28
|
+
]}>
|
|
29
|
+
<react_native_webview_1.default style={[styles.webView, width, height]} source={{ html: "".concat(firstHtml).concat(source).concat(lastHtml) }} showsHorizontalScrollIndicator={false} showsVerticalScrollIndicator={false}/>
|
|
30
|
+
</react_native_1.View>);
|
|
31
|
+
};
|
|
32
|
+
exports.Animation = Animation;
|
|
33
|
+
exports.default = exports.Animation;
|
|
34
|
+
var styles = react_native_1.StyleSheet.create({
|
|
35
|
+
webView: {
|
|
36
|
+
backgroundColor: 'transparent'
|
|
37
|
+
}
|
|
38
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FindingAnimation = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var react_native_1 = require("react-native");
|
|
9
|
+
var useTheme_1 = require("../../hooks/useTheme");
|
|
10
|
+
var Animation_1 = __importDefault(require("../Animation"));
|
|
11
|
+
var xml_1 = require("./xml");
|
|
12
|
+
var windowWidth = react_native_1.Dimensions.get('window').width;
|
|
13
|
+
var ASPECT_RATIO = 300 / 190;
|
|
14
|
+
var width = windowWidth * 0.9;
|
|
15
|
+
var height = width / ASPECT_RATIO;
|
|
16
|
+
var FindingAnimation = function () {
|
|
17
|
+
var colors = (0, useTheme_1.useTheme)().colors;
|
|
18
|
+
return <Animation_1.default source={(0, xml_1.getXml)(colors)} width={width} height={height}/>;
|
|
19
|
+
};
|
|
20
|
+
exports.FindingAnimation = FindingAnimation;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getXml = void 0;
|
|
4
|
+
var getXml = function (colors) {
|
|
5
|
+
return "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"xMidYMid meet\" width=\"300\" height=\"190\" viewBox=\"0 0 300 190\" style=\"width:100%;height:100%\"><defs><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_7_G\" fill=\"freeze\" keyTimes=\"0;0.7;0.9;1\" path=\"M150 -104 C150,-104 150,-104 150,-104 C150,-70.75 150,62.25 150,95.5 C150,95.5 150,95.5 150,95.5 \" keyPoints=\"0;0;1;1\" keySplines=\"0.09 0.145 0 0.995;0.09 0.145 0 0.995;0.333 0.333 0.667 0.667\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_7_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_7_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_7_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"1\" keyTimes=\"0;0.696;0.6960004;1\" values=\"0;0;1;1\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_6_G\" fill=\"freeze\" keyTimes=\"0;0.7;0.9;1\" path=\"M150 -104 C150,-104 150,-104 150,-104 C150,-70.75 150,62.25 150,95.5 C150,95.5 150,95.5 150,95.5 \" keyPoints=\"0;0;1;1\" keySplines=\"0.09 0.145 0 0.995;0.09 0.145 0 0.995;0.333 0.333 0.667 0.667\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_6_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_6_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_6_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"1\" keyTimes=\"0;0.696;0.6960004;1\" values=\"0;0;1;1\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_5_G\" fill=\"freeze\" keyTimes=\"0;0.4;0.6;0.7;0.9;1\" path=\"M150 -104 C150,-104 150,-104 150,-104 C150,-70.75 150,62.25 150,95.5 C150,95.5 150,95.5 150,95.5 C150,128.75 150,261.75 150,295 C150,295 150,295 150,295 \" keyPoints=\"0;0;0.5;0.5;1;1\" keySplines=\"0.09 0.145 0 0.995;0.09 0.145 0 0.995;0.333 0.333 0.667 0.667;0.081 0.123 0 0.965;0 0 0 0\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_5_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_5_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_5_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"0\" keyTimes=\"0;0.4;0.4000004;0.9;0.9;1\" values=\"0;0;1;1;0;0\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_4_G\" fill=\"freeze\" keyTimes=\"0;0.4;0.6;0.7;0.9;1\" path=\"M150 -104 C150,-104 150,-104 150,-104 C150,-70.75 150,62.25 150,95.5 C150,95.5 150,95.5 150,95.5 C150,128.75 150,261.75 150,295 C150,295 150,295 150,295 \" keyPoints=\"0;0;0.5;0.5;1;1\" keySplines=\"0.09 0.145 0 0.995;0.09 0.145 0 0.995;0.333 0.333 0.667 0.667;0.081 0.123 0 0.965;0 0 0 0\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_4_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_4_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_4_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"0\" keyTimes=\"0;0.4;0.4000004;0.9;0.9;1\" values=\"0;0;1;1;0;0\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_3_G\" fill=\"freeze\" keyTimes=\"0;0.1;0.3;0.4;0.6;1\" path=\"M150 -104 C150,-104 150,-104 150,-104 C150,-70.75 150,62.25 150,95.5 C150,95.5 150,95.5 150,95.5 C150,128.75 150,261.75 150,295 C150,295 150,295 150,295 \" keyPoints=\"0;0;0.5;0.5;1;1\" keySplines=\"0.09 0.145 0 0.995;0.09 0.145 0 0.995;0.333 0.333 0.667 0.667;0.081 0.123 0 0.965;0 0 0 0\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_3_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_3_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_3_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"0\" keyTimes=\"0;0.1;0.1000004;0.6;0.6;1\" values=\"0;0;1;1;0;0\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_2_G\" fill=\"freeze\" keyTimes=\"0;0.1;0.3;0.4;0.6;1\" path=\"M150 -104 C150,-104 150,-104 150,-104 C150,-70.75 150,62.25 150,95.5 C150,95.5 150,95.5 150,95.5 C150,128.75 150,261.75 150,295 C150,295 150,295 150,295 \" keyPoints=\"0;0;0.5;0.5;1;1\" keySplines=\"0.09 0.145 0 0.995;0.09 0.145 0 0.995;0.333 0.333 0.667 0.667;0.081 0.123 0 0.965;0 0 0 0\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_2_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_2_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_2_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"0\" to=\"0\" keyTimes=\"0;0.1;0.1000004;0.6;0.6;1\" values=\"0;0;1;1;0;0\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_1_G\" fill=\"freeze\" keyTimes=\"0;0.1;0.3;1\" path=\"M150 95.5 C150,95.5 150,95.5 150,95.5 C150,128.75 150,261.75 150,295 C150,295 150,295 150,295 \" keyPoints=\"0;0;1;1\" keySplines=\"0.333 0.333 0.667 0.667;0.081 0.123 0 0.965;0 0 0 0\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_1_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_1_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_1_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"1\" to=\"0\" keyTimes=\"0;0.3;0.3;1\" values=\"1;1;0;0\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_0_G\" fill=\"freeze\" keyTimes=\"0;0.1;0.3;1\" path=\"M150 95.5 C150,95.5 150,95.5 150,95.5 C150,128.75 150,261.75 150,295 C150,295 150,295 150,295 \" keyPoints=\"0;0;1;1\" keySplines=\"0.333 0.333 0.667 0.667;0.081 0.123 0 0.965;0 0 0 0\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_0_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.7000000000000001 0.7000000000000001\" to=\"0.7000000000000001 0.7000000000000001\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.7000000000000001 0.7000000000000001;0.7000000000000001 0.7000000000000001\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_0_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-179.5 -131\" to=\"-179.5 -131\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-179.5 -131;-179.5 -131\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_1_G_L_0_G_M\" fill=\"freeze\" attributeName=\"opacity\" from=\"1\" to=\"0\" keyTimes=\"0;0.3;0.3;1\" values=\"1;1;0;0\" keySplines=\"0 0 0 0;0 0 0 0;0 0 0 0\" calcMode=\"spline\"/><animateMotion repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G\" fill=\"freeze\" keyTimes=\"0;0.1;0.3;0.4;0.6;0.7;0.9;1\" path=\"M46.5 143.5 C46.5,143.5 46.5,143.5 46.5,143.5 C81,143.67 253.5,144.5 253.5,144.5 C253.5,144.5 253.5,144.5 253.5,144.5 C253.5,144.5 254,51 254,51 C254,51 254,51 254,51 C254,51 81.08,128.08 46.5,143.5 C46.5,143.5 46.5,143.5 46.5,143.5 \" keyPoints=\"0;0;0.39;0.39;0.57;0.57;1;1\" keySplines=\"0.233 0.233 0.833 0.833;0.233 0.274 0.833 1;0.019 0.019 0.833 0.833;0.019 0.049 0.833 1;0.019 0.019 0.833 0.833;0.019 0.02 0.833 0.833;0.233 0.233 0.833 0.833\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G\" fill=\"freeze\" attributeName=\"transform\" from=\"45\" to=\"45\" type=\"rotate\" additive=\"sum\" keyTimes=\"0;0.1;0.3;0.4;0.6;0.7;0.9;1\" values=\"45;45;-46;-46;-52;-52;45;45\" keySplines=\"0.167 0.167 0.833 0.833;0.167 0.167 0.833 0.833;0.167 0.167 0.833 0.833;0.167 0.167 0.833 0.833;0.167 0.167 0.833 0.833;0.167 0.167 0.833 0.833;0.167 0.167 0.833 0.833\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G\" fill=\"freeze\" attributeName=\"transform\" from=\"0.43 0.43\" to=\"0.43 0.43\" type=\"scale\" additive=\"sum\" keyTimes=\"0;1\" values=\"0.43 0.43;0.43 0.43\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animateTransform repeatCount=\"indefinite\" dur=\"10s\" begin=\"0s\" xlink:href=\"#_R_G_L_0_G\" fill=\"freeze\" attributeName=\"transform\" from=\"-54 -104\" to=\"-54 -104\" type=\"translate\" additive=\"sum\" keyTimes=\"0;1\" values=\"-54 -104;-54 -104\" keySplines=\"0 0 1 1\" calcMode=\"spline\"/><animate attributeType=\"XML\" attributeName=\"opacity\" dur=\"10s\" from=\"0\" to=\"1\" xlink:href=\"#time_group\"/></defs><g id=\"_R_G\"><g id=\"_R_G_L_1_G\"><g id=\"_R_G_L_1_G_L_7_G_M\"><g id=\"_R_G_L_1_G_L_7_G\"><path id=\"_R_G_L_1_G_L_7_G_D_0_P_0\" fill=\"".concat(colors.gray, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 257.6 C337.78,257.6 21.22,257.6 21.22,257.6 C13.99,257.6 8.13,251.73 8.13,244.5 C8.13,244.5 8.13,25.5 8.13,25.5 C8.13,18.27 13.99,12.4 21.22,12.4 C21.22,12.4 337.78,12.4 337.78,12.4 C345.01,12.4 350.87,18.27 350.87,25.5 C350.87,25.5 350.87,244.5 350.87,244.5 C350.87,251.73 345.01,257.6 337.78,257.6z \"/></g></g><g id=\"_R_G_L_1_G_L_6_G_M\"><g id=\"_R_G_L_1_G_L_6_G\"><path id=\"_R_G_L_1_G_L_6_G_D_0_P_0\" fill=\"").concat(colors.white, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 253.6 C337.78,253.6 21.22,253.6 21.22,253.6 C13.99,253.6 8.13,247.73 8.13,240.5 C8.13,240.5 8.13,21.5 8.13,21.5 C8.13,14.27 13.99,8.4 21.22,8.4 C21.22,8.4 337.78,8.4 337.78,8.4 C345.01,8.4 350.87,14.27 350.87,21.5 C350.87,21.5 350.87,240.5 350.87,240.5 C350.87,247.73 345.01,253.6 337.78,253.6z \"/><path id=\"_R_G_L_1_G_L_6_G_D_1_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M179.88 21.5 C206.39,21.5 227.88,42.99 227.88,69.5 C227.88,96.01 206.39,117.5 179.88,117.5 C153.37,117.5 131.88,96.01 131.88,69.5 C131.88,42.99 153.37,21.5 179.88,21.5z \"/><path id=\"_R_G_L_1_G_L_6_G_D_2_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M126.5 130.5 C126.5,130.5 232.5,130.5 232.5,130.5 C234.16,130.5 235.5,131.84 235.5,133.5 C235.5,133.5 235.5,147.5 235.5,147.5 C235.5,149.16 234.16,150.5 232.5,150.5 C232.5,150.5 126.5,150.5 126.5,150.5 C124.84,150.5 123.5,149.16 123.5,147.5 C123.5,147.5 123.5,133.5 123.5,133.5 C123.5,131.84 124.84,130.5 126.5,130.5z \"/><path id=\"_R_G_L_1_G_L_6_G_D_3_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M51.96 165.08 C51.96,165.08 181.31,165.08 181.31,165.08 C190.68,165.08 198.28,172.24 198.28,181.08 C198.28,189.92 190.68,197.08 181.31,197.08 C181.31,197.08 51.96,197.08 51.96,197.08 C42.6,197.08 35,189.92 35,181.08 C35,172.24 42.6,165.08 51.96,165.08z \"/><path id=\"_R_G_L_1_G_L_6_G_D_4_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M230 165.08 C230,165.08 308,165.08 308,165.08 C316.84,165.08 324,172.24 324,181.08 C324,189.92 316.84,197.08 308,197.08 C308,197.08 230,197.08 230,197.08 C221.16,197.08 214,189.92 214,181.08 C214,172.24 221.16,165.08 230,165.08z \"/><path id=\"_R_G_L_1_G_L_6_G_D_5_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M52.58 210.08 C52.58,210.08 126.18,210.08 126.18,210.08 C135.89,210.08 143.76,217.24 143.76,226.08 C143.76,234.92 135.89,242.08 126.18,242.08 C126.18,242.08 52.58,242.08 52.58,242.08 C42.87,242.08 35,234.92 35,226.08 C35,217.24 42.87,210.08 52.58,210.08z \"/><path id=\"_R_G_L_1_G_L_6_G_D_6_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M175 210.08 C175,210.08 308,210.08 308,210.08 C316.84,210.08 324,217.24 324,226.08 C324,234.92 316.84,242.08 308,242.08 C308,242.08 175,242.08 175,242.08 C166.16,242.08 159,234.92 159,226.08 C159,217.24 166.16,210.08 175,210.08z \"/><path id=\"_R_G_L_1_G_L_6_G_D_7_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M160.16 49.49 C160.16,60.65 169.21,77.43 180.36,77.43 C191.52,77.43 200.57,60.65 200.57,49.49 C200.57,38.33 191.52,29.29 180.36,29.29 C169.21,29.29 160.16,38.33 160.16,49.49z \"/><path id=\"_R_G_L_1_G_L_6_G_D_8_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.54 91.65 C205.05,91.65 206.27,90.43 206.27,88.93 C206.27,87.42 205.05,86.2 203.54,86.2 C202.04,86.2 200.82,87.42 200.82,88.93 C200.82,90.43 202.04,91.65 203.54,91.65z \"/><path id=\"_R_G_L_1_G_L_6_G_D_9_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.53 76.64 C204.31,78.44 204.76,80.63 204.86,83.17 C207.49,83.78 209.45,86.12 209.45,88.93 C209.45,92.18 206.8,94.83 203.54,94.83 C200.29,94.83 197.64,92.18 197.64,88.93 C197.64,86.16 199.56,83.83 202.14,83.2 C202.02,80.67 201.42,76.84 198.95,74.94 C197.69,74.61 196.4,74.38 195.07,74.26 C194.97,78.68 180.36,89.58 180.36,89.58 C180.36,89.58 165.75,78.68 165.65,74.26 C164.17,74.39 162.73,74.66 161.35,75.05 C159.55,76.48 158.61,79.13 158.57,83 C159.1,83.3 159.52,83.78 159.79,84.35 C161.73,85.27 163.44,87.2 164.75,89.94 C164.97,90.4 165,90.93 164.84,91.4 C165.63,93.43 166.08,95.64 166.08,97.5 C166.08,100.1 166.08,102.57 163.24,103.2 C162.93,103.46 162.55,103.59 162.14,103.59 C162.14,103.59 160.25,103.59 160.25,103.59 C159.29,103.59 158.52,102.82 158.52,101.87 C158.52,101.87 158.52,101.8 158.52,101.8 C158.56,100.89 159.32,100.15 160.25,100.15 C160.25,100.15 162.14,100.15 162.14,100.15 C162.34,100.15 162.53,100.18 162.71,100.24 C162.82,100.21 162.86,100.18 162.86,100.18 C163.07,99.81 163.07,98.25 163.07,97.5 C163.07,95.99 162.69,94.17 162.03,92.47 C161.69,92.28 161.41,91.98 161.24,91.62 C160.09,89.22 158.52,87.66 157.26,87.66 C155.96,87.66 154.31,89.34 153.17,91.84 C152.98,92.25 152.65,92.58 152.25,92.78 C151.65,94.4 151.32,96.07 151.32,97.5 C151.32,98.13 151.32,99.8 151.56,100.19 C151.56,100.19 151.62,100.22 151.77,100.26 C151.96,100.18 152.17,100.14 152.39,100.14 C152.39,100.14 154.29,100.14 154.29,100.14 C155.17,100.14 155.91,100.82 156,101.7 C156,101.7 156.01,101.8 156.01,101.8 C156.01,102.82 155.24,103.6 154.29,103.6 C154.29,103.6 152.39,103.6 152.39,103.6 C152.01,103.6 151.64,103.47 151.35,103.24 C150.26,103.04 149.49,102.56 149.01,101.78 C148.42,100.84 148.32,99.6 148.32,97.5 C148.32,95.66 148.74,93.54 149.51,91.51 C149.4,91.08 149.44,90.63 149.63,90.22 C150.43,88.46 151.45,86.95 152.58,85.86 C153.2,85.27 153.87,84.78 154.57,84.43 C154.83,83.82 155.29,83.32 155.84,83 C155.87,80.58 156.24,78.49 156.93,76.77 C149.55,80.51 144.35,91.3 143.14,100.39 C151.94,110.85 165.12,117.5 179.86,117.5 C195.34,117.5 209.1,110.17 217.87,98.8 C216.83,89.9 210.82,80.23 203.53,76.64z \"/></g></g><g id=\"_R_G_L_1_G_L_5_G_M\"><g id=\"_R_G_L_1_G_L_5_G\"><path id=\"_R_G_L_1_G_L_5_G_D_0_P_0\" fill=\"").concat(colors.gray, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 257.6 C337.78,257.6 21.22,257.6 21.22,257.6 C13.99,257.6 8.13,251.73 8.13,244.5 C8.13,244.5 8.13,25.5 8.13,25.5 C8.13,18.27 13.99,12.4 21.22,12.4 C21.22,12.4 337.78,12.4 337.78,12.4 C345.01,12.4 350.87,18.27 350.87,25.5 C350.87,25.5 350.87,244.5 350.87,244.5 C350.87,251.73 345.01,257.6 337.78,257.6z \"/></g></g><g id=\"_R_G_L_1_G_L_4_G_M\"><g id=\"_R_G_L_1_G_L_4_G\"><path id=\"_R_G_L_1_G_L_4_G_D_0_P_0\" fill=\"").concat(colors.white, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 253.6 C337.78,253.6 21.22,253.6 21.22,253.6 C13.99,253.6 8.13,247.73 8.13,240.5 C8.13,240.5 8.13,21.5 8.13,21.5 C8.13,14.27 13.99,8.4 21.22,8.4 C21.22,8.4 337.78,8.4 337.78,8.4 C345.01,8.4 350.87,14.27 350.87,21.5 C350.87,21.5 350.87,240.5 350.87,240.5 C350.87,247.73 345.01,253.6 337.78,253.6z \"/><path id=\"_R_G_L_1_G_L_4_G_D_1_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M179.88 21.5 C206.39,21.5 227.88,42.99 227.88,69.5 C227.88,96.01 206.39,117.5 179.88,117.5 C153.37,117.5 131.88,96.01 131.88,69.5 C131.88,42.99 153.37,21.5 179.88,21.5z \"/><path id=\"_R_G_L_1_G_L_4_G_D_2_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M126.5 130.5 C126.5,130.5 232.5,130.5 232.5,130.5 C234.16,130.5 235.5,131.84 235.5,133.5 C235.5,133.5 235.5,147.5 235.5,147.5 C235.5,149.16 234.16,150.5 232.5,150.5 C232.5,150.5 126.5,150.5 126.5,150.5 C124.84,150.5 123.5,149.16 123.5,147.5 C123.5,147.5 123.5,133.5 123.5,133.5 C123.5,131.84 124.84,130.5 126.5,130.5z \"/><path id=\"_R_G_L_1_G_L_4_G_D_3_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M51.96 165.08 C51.96,165.08 181.31,165.08 181.31,165.08 C190.68,165.08 198.28,172.24 198.28,181.08 C198.28,189.92 190.68,197.08 181.31,197.08 C181.31,197.08 51.96,197.08 51.96,197.08 C42.6,197.08 35,189.92 35,181.08 C35,172.24 42.6,165.08 51.96,165.08z \"/><path id=\"_R_G_L_1_G_L_4_G_D_4_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M230 165.08 C230,165.08 308,165.08 308,165.08 C316.84,165.08 324,172.24 324,181.08 C324,189.92 316.84,197.08 308,197.08 C308,197.08 230,197.08 230,197.08 C221.16,197.08 214,189.92 214,181.08 C214,172.24 221.16,165.08 230,165.08z \"/><path id=\"_R_G_L_1_G_L_4_G_D_5_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M52.58 210.08 C52.58,210.08 126.18,210.08 126.18,210.08 C135.89,210.08 143.76,217.24 143.76,226.08 C143.76,234.92 135.89,242.08 126.18,242.08 C126.18,242.08 52.58,242.08 52.58,242.08 C42.87,242.08 35,234.92 35,226.08 C35,217.24 42.87,210.08 52.58,210.08z \"/><path id=\"_R_G_L_1_G_L_4_G_D_6_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M175 210.08 C175,210.08 308,210.08 308,210.08 C316.84,210.08 324,217.24 324,226.08 C324,234.92 316.84,242.08 308,242.08 C308,242.08 175,242.08 175,242.08 C166.16,242.08 159,234.92 159,226.08 C159,217.24 166.16,210.08 175,210.08z \"/><path id=\"_R_G_L_1_G_L_4_G_D_7_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M160.16 49.49 C160.16,60.65 169.21,77.43 180.36,77.43 C191.52,77.43 200.57,60.65 200.57,49.49 C200.57,38.33 191.52,29.29 180.36,29.29 C169.21,29.29 160.16,38.33 160.16,49.49z \"/><path id=\"_R_G_L_1_G_L_4_G_D_8_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.54 91.65 C205.05,91.65 206.27,90.43 206.27,88.93 C206.27,87.42 205.05,86.2 203.54,86.2 C202.04,86.2 200.82,87.42 200.82,88.93 C200.82,90.43 202.04,91.65 203.54,91.65z \"/><path id=\"_R_G_L_1_G_L_4_G_D_9_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.53 76.64 C204.31,78.44 204.76,80.63 204.86,83.17 C207.49,83.78 209.45,86.12 209.45,88.93 C209.45,92.18 206.8,94.83 203.54,94.83 C200.29,94.83 197.64,92.18 197.64,88.93 C197.64,86.16 199.56,83.83 202.14,83.2 C202.02,80.67 201.42,76.84 198.95,74.94 C197.69,74.61 196.4,74.38 195.07,74.26 C194.97,78.68 180.36,89.58 180.36,89.58 C180.36,89.58 165.75,78.68 165.65,74.26 C164.17,74.39 162.73,74.66 161.35,75.05 C159.55,76.48 158.61,79.13 158.57,83 C159.1,83.3 159.52,83.78 159.79,84.35 C161.73,85.27 163.44,87.2 164.75,89.94 C164.97,90.4 165,90.93 164.84,91.4 C165.63,93.43 166.08,95.64 166.08,97.5 C166.08,100.1 166.08,102.57 163.24,103.2 C162.93,103.46 162.55,103.59 162.14,103.59 C162.14,103.59 160.25,103.59 160.25,103.59 C159.29,103.59 158.52,102.82 158.52,101.87 C158.52,101.87 158.52,101.8 158.52,101.8 C158.56,100.89 159.32,100.15 160.25,100.15 C160.25,100.15 162.14,100.15 162.14,100.15 C162.34,100.15 162.53,100.18 162.71,100.24 C162.82,100.21 162.86,100.18 162.86,100.18 C163.07,99.81 163.07,98.25 163.07,97.5 C163.07,95.99 162.69,94.17 162.03,92.47 C161.69,92.28 161.41,91.98 161.24,91.62 C160.09,89.22 158.52,87.66 157.26,87.66 C155.96,87.66 154.31,89.34 153.17,91.84 C152.98,92.25 152.65,92.58 152.25,92.78 C151.65,94.4 151.32,96.07 151.32,97.5 C151.32,98.13 151.32,99.8 151.56,100.19 C151.56,100.19 151.62,100.22 151.77,100.26 C151.96,100.18 152.17,100.14 152.39,100.14 C152.39,100.14 154.29,100.14 154.29,100.14 C155.17,100.14 155.91,100.82 156,101.7 C156,101.7 156.01,101.8 156.01,101.8 C156.01,102.82 155.24,103.6 154.29,103.6 C154.29,103.6 152.39,103.6 152.39,103.6 C152.01,103.6 151.64,103.47 151.35,103.24 C150.26,103.04 149.49,102.56 149.01,101.78 C148.42,100.84 148.32,99.6 148.32,97.5 C148.32,95.66 148.74,93.54 149.51,91.51 C149.4,91.08 149.44,90.63 149.63,90.22 C150.43,88.46 151.45,86.95 152.58,85.86 C153.2,85.27 153.87,84.78 154.57,84.43 C154.83,83.82 155.29,83.32 155.84,83 C155.87,80.58 156.24,78.49 156.93,76.77 C149.55,80.51 144.35,91.3 143.14,100.39 C151.94,110.85 165.12,117.5 179.86,117.5 C195.34,117.5 209.1,110.17 217.87,98.8 C216.83,89.9 210.82,80.23 203.53,76.64z \"/></g></g><g id=\"_R_G_L_1_G_L_3_G_M\"><g id=\"_R_G_L_1_G_L_3_G\"><path id=\"_R_G_L_1_G_L_3_G_D_0_P_0\" fill=\"").concat(colors.gray, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 257.6 C337.78,257.6 21.22,257.6 21.22,257.6 C13.99,257.6 8.13,251.73 8.13,244.5 C8.13,244.5 8.13,25.5 8.13,25.5 C8.13,18.27 13.99,12.4 21.22,12.4 C21.22,12.4 337.78,12.4 337.78,12.4 C345.01,12.4 350.87,18.27 350.87,25.5 C350.87,25.5 350.87,244.5 350.87,244.5 C350.87,251.73 345.01,257.6 337.78,257.6z \"/></g></g><g id=\"_R_G_L_1_G_L_2_G_M\"><g id=\"_R_G_L_1_G_L_2_G\"><path id=\"_R_G_L_1_G_L_2_G_D_0_P_0\" fill=\"").concat(colors.white, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 253.6 C337.78,253.6 21.22,253.6 21.22,253.6 C13.99,253.6 8.13,247.73 8.13,240.5 C8.13,240.5 8.13,21.5 8.13,21.5 C8.13,14.27 13.99,8.4 21.22,8.4 C21.22,8.4 337.78,8.4 337.78,8.4 C345.01,8.4 350.87,14.27 350.87,21.5 C350.87,21.5 350.87,240.5 350.87,240.5 C350.87,247.73 345.01,253.6 337.78,253.6z \"/><path id=\"_R_G_L_1_G_L_2_G_D_1_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M179.88 21.5 C206.39,21.5 227.88,42.99 227.88,69.5 C227.88,96.01 206.39,117.5 179.88,117.5 C153.37,117.5 131.88,96.01 131.88,69.5 C131.88,42.99 153.37,21.5 179.88,21.5z \"/><path id=\"_R_G_L_1_G_L_2_G_D_2_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M126.5 130.5 C126.5,130.5 232.5,130.5 232.5,130.5 C234.16,130.5 235.5,131.84 235.5,133.5 C235.5,133.5 235.5,147.5 235.5,147.5 C235.5,149.16 234.16,150.5 232.5,150.5 C232.5,150.5 126.5,150.5 126.5,150.5 C124.84,150.5 123.5,149.16 123.5,147.5 C123.5,147.5 123.5,133.5 123.5,133.5 C123.5,131.84 124.84,130.5 126.5,130.5z \"/><path id=\"_R_G_L_1_G_L_2_G_D_3_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M51.96 165.08 C51.96,165.08 181.31,165.08 181.31,165.08 C190.68,165.08 198.28,172.24 198.28,181.08 C198.28,189.92 190.68,197.08 181.31,197.08 C181.31,197.08 51.96,197.08 51.96,197.08 C42.6,197.08 35,189.92 35,181.08 C35,172.24 42.6,165.08 51.96,165.08z \"/><path id=\"_R_G_L_1_G_L_2_G_D_4_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M230 165.08 C230,165.08 308,165.08 308,165.08 C316.84,165.08 324,172.24 324,181.08 C324,189.92 316.84,197.08 308,197.08 C308,197.08 230,197.08 230,197.08 C221.16,197.08 214,189.92 214,181.08 C214,172.24 221.16,165.08 230,165.08z \"/><path id=\"_R_G_L_1_G_L_2_G_D_5_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M52.58 210.08 C52.58,210.08 126.18,210.08 126.18,210.08 C135.89,210.08 143.76,217.24 143.76,226.08 C143.76,234.92 135.89,242.08 126.18,242.08 C126.18,242.08 52.58,242.08 52.58,242.08 C42.87,242.08 35,234.92 35,226.08 C35,217.24 42.87,210.08 52.58,210.08z \"/><path id=\"_R_G_L_1_G_L_2_G_D_6_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M175 210.08 C175,210.08 308,210.08 308,210.08 C316.84,210.08 324,217.24 324,226.08 C324,234.92 316.84,242.08 308,242.08 C308,242.08 175,242.08 175,242.08 C166.16,242.08 159,234.92 159,226.08 C159,217.24 166.16,210.08 175,210.08z \"/><path id=\"_R_G_L_1_G_L_2_G_D_7_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M160.16 49.49 C160.16,60.65 169.21,77.43 180.36,77.43 C191.52,77.43 200.57,60.65 200.57,49.49 C200.57,38.33 191.52,29.29 180.36,29.29 C169.21,29.29 160.16,38.33 160.16,49.49z \"/><path id=\"_R_G_L_1_G_L_2_G_D_8_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.54 91.65 C205.05,91.65 206.27,90.43 206.27,88.93 C206.27,87.42 205.05,86.2 203.54,86.2 C202.04,86.2 200.82,87.42 200.82,88.93 C200.82,90.43 202.04,91.65 203.54,91.65z \"/><path id=\"_R_G_L_1_G_L_2_G_D_9_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.53 76.64 C204.31,78.44 204.76,80.63 204.86,83.17 C207.49,83.78 209.45,86.12 209.45,88.93 C209.45,92.18 206.8,94.83 203.54,94.83 C200.29,94.83 197.64,92.18 197.64,88.93 C197.64,86.16 199.56,83.83 202.14,83.2 C202.02,80.67 201.42,76.84 198.95,74.94 C197.69,74.61 196.4,74.38 195.07,74.26 C194.97,78.68 180.36,89.58 180.36,89.58 C180.36,89.58 165.75,78.68 165.65,74.26 C164.17,74.39 162.73,74.66 161.35,75.05 C159.55,76.48 158.61,79.13 158.57,83 C159.1,83.3 159.52,83.78 159.79,84.35 C161.73,85.27 163.44,87.2 164.75,89.94 C164.97,90.4 165,90.93 164.84,91.4 C165.63,93.43 166.08,95.64 166.08,97.5 C166.08,100.1 166.08,102.57 163.24,103.2 C162.93,103.46 162.55,103.59 162.14,103.59 C162.14,103.59 160.25,103.59 160.25,103.59 C159.29,103.59 158.52,102.82 158.52,101.87 C158.52,101.87 158.52,101.8 158.52,101.8 C158.56,100.89 159.32,100.15 160.25,100.15 C160.25,100.15 162.14,100.15 162.14,100.15 C162.34,100.15 162.53,100.18 162.71,100.24 C162.82,100.21 162.86,100.18 162.86,100.18 C163.07,99.81 163.07,98.25 163.07,97.5 C163.07,95.99 162.69,94.17 162.03,92.47 C161.69,92.28 161.41,91.98 161.24,91.62 C160.09,89.22 158.52,87.66 157.26,87.66 C155.96,87.66 154.31,89.34 153.17,91.84 C152.98,92.25 152.65,92.58 152.25,92.78 C151.65,94.4 151.32,96.07 151.32,97.5 C151.32,98.13 151.32,99.8 151.56,100.19 C151.56,100.19 151.62,100.22 151.77,100.26 C151.96,100.18 152.17,100.14 152.39,100.14 C152.39,100.14 154.29,100.14 154.29,100.14 C155.17,100.14 155.91,100.82 156,101.7 C156,101.7 156.01,101.8 156.01,101.8 C156.01,102.82 155.24,103.6 154.29,103.6 C154.29,103.6 152.39,103.6 152.39,103.6 C152.01,103.6 151.64,103.47 151.35,103.24 C150.26,103.04 149.49,102.56 149.01,101.78 C148.42,100.84 148.32,99.6 148.32,97.5 C148.32,95.66 148.74,93.54 149.51,91.51 C149.4,91.08 149.44,90.63 149.63,90.22 C150.43,88.46 151.45,86.95 152.58,85.86 C153.2,85.27 153.87,84.78 154.57,84.43 C154.83,83.82 155.29,83.32 155.84,83 C155.87,80.58 156.24,78.49 156.93,76.77 C149.55,80.51 144.35,91.3 143.14,100.39 C151.94,110.85 165.12,117.5 179.86,117.5 C195.34,117.5 209.1,110.17 217.87,98.8 C216.83,89.9 210.82,80.23 203.53,76.64z \"/></g></g><g id=\"_R_G_L_1_G_L_1_G_M\"><g id=\"_R_G_L_1_G_L_1_G\"><path id=\"_R_G_L_1_G_L_1_G_D_0_P_0\" fill=\"").concat(colors.gray, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 257.6 C337.78,257.6 21.22,257.6 21.22,257.6 C13.99,257.6 8.13,251.73 8.13,244.5 C8.13,244.5 8.13,25.5 8.13,25.5 C8.13,18.27 13.99,12.4 21.22,12.4 C21.22,12.4 337.78,12.4 337.78,12.4 C345.01,12.4 350.87,18.27 350.87,25.5 C350.87,25.5 350.87,244.5 350.87,244.5 C350.87,251.73 345.01,257.6 337.78,257.6z \"/></g></g><g id=\"_R_G_L_1_G_L_0_G_M\"><g id=\"_R_G_L_1_G_L_0_G\"><path id=\"_R_G_L_1_G_L_0_G_D_0_P_0\" fill=\"").concat(colors.white, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M337.78 253.6 C337.78,253.6 21.22,253.6 21.22,253.6 C13.99,253.6 8.13,247.73 8.13,240.5 C8.13,240.5 8.13,21.5 8.13,21.5 C8.13,14.27 13.99,8.4 21.22,8.4 C21.22,8.4 337.78,8.4 337.78,8.4 C345.01,8.4 350.87,14.27 350.87,21.5 C350.87,21.5 350.87,240.5 350.87,240.5 C350.87,247.73 345.01,253.6 337.78,253.6z \"/><path id=\"_R_G_L_1_G_L_0_G_D_1_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M179.88 21.5 C206.39,21.5 227.88,42.99 227.88,69.5 C227.88,96.01 206.39,117.5 179.88,117.5 C153.37,117.5 131.88,96.01 131.88,69.5 C131.88,42.99 153.37,21.5 179.88,21.5z \"/><path id=\"_R_G_L_1_G_L_0_G_D_2_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M126.5 130.5 C126.5,130.5 232.5,130.5 232.5,130.5 C234.16,130.5 235.5,131.84 235.5,133.5 C235.5,133.5 235.5,147.5 235.5,147.5 C235.5,149.16 234.16,150.5 232.5,150.5 C232.5,150.5 126.5,150.5 126.5,150.5 C124.84,150.5 123.5,149.16 123.5,147.5 C123.5,147.5 123.5,133.5 123.5,133.5 C123.5,131.84 124.84,130.5 126.5,130.5z \"/><path id=\"_R_G_L_1_G_L_0_G_D_3_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M51.96 165.08 C51.96,165.08 181.31,165.08 181.31,165.08 C190.68,165.08 198.28,172.24 198.28,181.08 C198.28,189.92 190.68,197.08 181.31,197.08 C181.31,197.08 51.96,197.08 51.96,197.08 C42.6,197.08 35,189.92 35,181.08 C35,172.24 42.6,165.08 51.96,165.08z \"/><path id=\"_R_G_L_1_G_L_0_G_D_4_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M230 165.08 C230,165.08 308,165.08 308,165.08 C316.84,165.08 324,172.24 324,181.08 C324,189.92 316.84,197.08 308,197.08 C308,197.08 230,197.08 230,197.08 C221.16,197.08 214,189.92 214,181.08 C214,172.24 221.16,165.08 230,165.08z \"/><path id=\"_R_G_L_1_G_L_0_G_D_5_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M52.58 210.08 C52.58,210.08 126.18,210.08 126.18,210.08 C135.89,210.08 143.76,217.24 143.76,226.08 C143.76,234.92 135.89,242.08 126.18,242.08 C126.18,242.08 52.58,242.08 52.58,242.08 C42.87,242.08 35,234.92 35,226.08 C35,217.24 42.87,210.08 52.58,210.08z \"/><path id=\"_R_G_L_1_G_L_0_G_D_6_P_0\" fill=\"").concat(colors.background, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M175 210.08 C175,210.08 308,210.08 308,210.08 C316.84,210.08 324,217.24 324,226.08 C324,234.92 316.84,242.08 308,242.08 C308,242.08 175,242.08 175,242.08 C166.16,242.08 159,234.92 159,226.08 C159,217.24 166.16,210.08 175,210.08z \"/><path id=\"_R_G_L_1_G_L_0_G_D_7_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M160.16 49.49 C160.16,60.65 169.21,77.43 180.36,77.43 C191.52,77.43 200.57,60.65 200.57,49.49 C200.57,38.33 191.52,29.29 180.36,29.29 C169.21,29.29 160.16,38.33 160.16,49.49z \"/><path id=\"_R_G_L_1_G_L_0_G_D_8_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.54 91.65 C205.05,91.65 206.27,90.43 206.27,88.93 C206.27,87.42 205.05,86.2 203.54,86.2 C202.04,86.2 200.82,87.42 200.82,88.93 C200.82,90.43 202.04,91.65 203.54,91.65z \"/><path id=\"_R_G_L_1_G_L_0_G_D_9_P_0\" fill=\"").concat(colors.primaryDark, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M203.53 76.64 C204.31,78.44 204.76,80.63 204.86,83.17 C207.49,83.78 209.45,86.12 209.45,88.93 C209.45,92.18 206.8,94.83 203.54,94.83 C200.29,94.83 197.64,92.18 197.64,88.93 C197.64,86.16 199.56,83.83 202.14,83.2 C202.02,80.67 201.42,76.84 198.95,74.94 C197.69,74.61 196.4,74.38 195.07,74.26 C194.97,78.68 180.36,89.58 180.36,89.58 C180.36,89.58 165.75,78.68 165.65,74.26 C164.17,74.39 162.73,74.66 161.35,75.05 C159.55,76.48 158.61,79.13 158.57,83 C159.1,83.3 159.52,83.78 159.79,84.35 C161.73,85.27 163.44,87.2 164.75,89.94 C164.97,90.4 165,90.93 164.84,91.4 C165.63,93.43 166.08,95.64 166.08,97.5 C166.08,100.1 166.08,102.57 163.24,103.2 C162.93,103.46 162.55,103.59 162.14,103.59 C162.14,103.59 160.25,103.59 160.25,103.59 C159.29,103.59 158.52,102.82 158.52,101.87 C158.52,101.87 158.52,101.8 158.52,101.8 C158.56,100.89 159.32,100.15 160.25,100.15 C160.25,100.15 162.14,100.15 162.14,100.15 C162.34,100.15 162.53,100.18 162.71,100.24 C162.82,100.21 162.86,100.18 162.86,100.18 C163.07,99.81 163.07,98.25 163.07,97.5 C163.07,95.99 162.69,94.17 162.03,92.47 C161.69,92.28 161.41,91.98 161.24,91.62 C160.09,89.22 158.52,87.66 157.26,87.66 C155.96,87.66 154.31,89.34 153.17,91.84 C152.98,92.25 152.65,92.58 152.25,92.78 C151.65,94.4 151.32,96.07 151.32,97.5 C151.32,98.13 151.32,99.8 151.56,100.19 C151.56,100.19 151.62,100.22 151.77,100.26 C151.96,100.18 152.17,100.14 152.39,100.14 C152.39,100.14 154.29,100.14 154.29,100.14 C155.17,100.14 155.91,100.82 156,101.7 C156,101.7 156.01,101.8 156.01,101.8 C156.01,102.82 155.24,103.6 154.29,103.6 C154.29,103.6 152.39,103.6 152.39,103.6 C152.01,103.6 151.64,103.47 151.35,103.24 C150.26,103.04 149.49,102.56 149.01,101.78 C148.42,100.84 148.32,99.6 148.32,97.5 C148.32,95.66 148.74,93.54 149.51,91.51 C149.4,91.08 149.44,90.63 149.63,90.22 C150.43,88.46 151.45,86.95 152.58,85.86 C153.2,85.27 153.87,84.78 154.57,84.43 C154.83,83.82 155.29,83.32 155.84,83 C155.87,80.58 156.24,78.49 156.93,76.77 C149.55,80.51 144.35,91.3 143.14,100.39 C151.94,110.85 165.12,117.5 179.86,117.5 C195.34,117.5 209.1,110.17 217.87,98.8 C216.83,89.9 210.82,80.23 203.53,76.64z \"/></g></g></g><g id=\"_R_G_L_0_G\"><path id=\"_R_G_L_0_G_D_0_P_0\" fill=\"").concat(colors.white, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M28.39 19.05 C47.72,4.91 74.85,9.11 88.99,28.44 C103.14,47.77 98.93,74.9 79.61,89.04 C60.28,103.18 33.15,98.98 19.01,79.65 C4.87,60.33 9.07,33.2 28.39,19.05z \"/><path id=\"_R_G_L_0_G_D_1_P_0\" stroke=\"").concat(colors.primary, "\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\" stroke-width=\"12\" stroke-opacity=\"1\" d=\" M53.92 7.08 C80.27,7.04 101.67,28.36 101.71,54.71 C101.76,81.07 80.43,102.46 54.08,102.51 C27.73,102.55 6.33,81.23 6.29,54.88 C6.24,28.53 27.57,7.13 53.92,7.08z \"/><path id=\"_R_G_L_0_G_D_2_P_0\" fill=\"").concat(colors.primary, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M45.41 105.72 C45.41,105.72 62.41,105.69 62.41,105.69 C62.41,105.69 62.59,177.98 62.59,177.98 C62.59,177.98 45.59,179.37 45.59,179.37 C45.59,179.37 45.41,105.72 45.41,105.72z \"/><path id=\"_R_G_L_0_G_D_3_P_0\" fill=\"").concat(colors.primary, "\" fill-opacity=\"1\" fill-rule=\"nonzero\" d=\" M42.45 120.69 C42.45,120.69 65.41,120.65 65.41,120.65 C67.06,120.65 68.41,121.99 68.41,123.65 C68.41,123.65 68.55,196.73 68.55,196.73 C68.55,198.38 67.21,199.73 65.55,199.73 C65.55,199.73 42.59,199.77 42.59,199.77 C40.94,199.77 39.59,198.43 39.59,196.77 C39.59,196.77 39.46,123.69 39.46,123.69 C39.45,122.04 40.79,120.69 42.45,120.69z \"/></g></g><g id=\"time_group\"/></svg>");
|
|
6
|
+
};
|
|
7
|
+
exports.getXml = getXml;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.HorizontalLoadingAnimation = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var Animation_1 = __importDefault(require("../Animation"));
|
|
9
|
+
var xml_1 = require("./xml");
|
|
10
|
+
var HorizontalLoadingAnimation = function (_a) {
|
|
11
|
+
var color = _a.color;
|
|
12
|
+
return <Animation_1.default source={(0, xml_1.getXml)(color)} width={200} height={200}/>;
|
|
13
|
+
};
|
|
14
|
+
exports.HorizontalLoadingAnimation = HorizontalLoadingAnimation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getXml: (color: string) => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getXml = void 0;
|
|
4
|
+
var getXml = function (color) { return "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\">\n <circle fill=\"".concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"0\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".8\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"0.05\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".6\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\".1\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".4\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\".15\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" opacity=\".2\" r=\"15\" cx=\"35\" cy=\"100\">\n <animate\n attributeName=\"cx\"\n calcMode=\"spline\"\n dur=\"2.6\"\n values=\"35;165;165;35;35\"\n keySplines=\"0 .1 .5 1;0 .1 .5 1;0 .1 .5 1;0 .1 .5 1\"\n repeatCount=\"indefinite\"\n begin=\".2\"\n ></animate>\n </circle>\n</svg>"); };
|
|
5
|
+
exports.getXml = getXml;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LoadingCircleAnimation = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var react_native_1 = require("react-native");
|
|
9
|
+
var useTheme_1 = require("../../hooks/useTheme");
|
|
10
|
+
var Animation_1 = __importDefault(require("../Animation"));
|
|
11
|
+
var xml_1 = require("./xml");
|
|
12
|
+
var windowWidth = react_native_1.Dimensions.get('window').width;
|
|
13
|
+
var width = windowWidth * 0.65;
|
|
14
|
+
var LoadingCircleAnimation = function () {
|
|
15
|
+
var colors = (0, useTheme_1.useTheme)().colors;
|
|
16
|
+
return (<Animation_1.default source={(0, xml_1.getXml)(colors)} width={width} height={width} style={{
|
|
17
|
+
transform: [
|
|
18
|
+
{
|
|
19
|
+
scale: 0.6
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}}/>);
|
|
23
|
+
};
|
|
24
|
+
exports.LoadingCircleAnimation = LoadingCircleAnimation;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getXml = void 0;
|
|
4
|
+
var getXml = function (colors) { return "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'>\n <radialGradient id='a4' cx='.66' fx='.66' cy='.3125' fy='.3125' gradientTransform='scale(1.5)'>\n <stop offset='0' stop-color=".concat(colors.primary, "></stop>\n <stop offset='.3' stop-color=").concat(colors.primary, " stop-opacity='.9'></stop>\n <stop offset='.6' stop-color=").concat(colors.primary, " stop-opacity='.6'></stop>\n <stop offset='.8' stop-color=").concat(colors.primary, " stop-opacity='.3'></stop>\n <stop offset='1' stop-color=").concat(colors.primary, " stop-opacity='0'></stop>\n </radialGradient>\n <circle transform-origin='center' fill='none' stroke='url(#a4)' stroke-width='16' stroke-linecap='round' stroke-dasharray='200 1000' stroke-dashoffset='0' cx='100' cy='100' r='70'>\n <animateTransform type='rotate' attributeName='transform' calcMode='spline' dur='2' values='360;0' keyTimes='0;1' keySplines='0 0 1 1' repeatCount='indefinite'></animateTransform>\n </circle>\n <circle transform-origin='center' fill='none' opacity='.2' stroke=").concat(colors.primary, " stroke-width='16' stroke-linecap='round' cx='100' cy='100' r='70'></circle>\n</svg>"); };
|
|
5
|
+
exports.getXml = getXml;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LoadingDotsAnimation = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var react_native_1 = require("react-native");
|
|
9
|
+
var Animation_1 = __importDefault(require("../Animation"));
|
|
10
|
+
var xml_1 = require("./xml");
|
|
11
|
+
var LoadingDotsAnimation = function (_a) {
|
|
12
|
+
var color = _a.color, _b = _a.size, size = _b === void 0 ? 64 : _b;
|
|
13
|
+
return (<react_native_1.View pointerEvents="none">
|
|
14
|
+
<Animation_1.default source={(0, xml_1.getXml)(color)} width={size} height={size}/>
|
|
15
|
+
</react_native_1.View>);
|
|
16
|
+
};
|
|
17
|
+
exports.LoadingDotsAnimation = LoadingDotsAnimation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getXml: (color: string) => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getXml = void 0;
|
|
4
|
+
var getXml = function (color) { return "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\" width=\"250\" height=\"250\">\n <circle fill=\"".concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" r=\"15\" cx=\"40\" cy=\"65\">\n <animate\n attributeName=\"cy\"\n calcMode=\"spline\"\n dur=\"2\"\n values=\"65;135;65;\"\n keySplines=\".5 0 .5 1;.5 0 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"-.4\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" r=\"15\" cx=\"100\" cy=\"65\">\n <animate\n attributeName=\"cy\"\n calcMode=\"spline\"\n dur=\"2\"\n values=\"65;135;65;\"\n keySplines=\".5 0 .5 1;.5 0 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"-.2\"\n ></animate>\n </circle>\n <circle fill=\"").concat(color, "\" stroke=\"").concat(color, "\" stroke-width=\"15\" r=\"15\" cx=\"160\" cy=\"65\">\n <animate\n attributeName=\"cy\"\n calcMode=\"spline\"\n dur=\"2\"\n values=\"65;135;65;\"\n keySplines=\".5 0 .5 1;.5 0 .5 1\"\n repeatCount=\"indefinite\"\n begin=\"0\"\n ></animate>\n </circle>\n</svg>\n"); };
|
|
5
|
+
exports.getXml = getXml;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.LoadingHeart = void 0;
|
|
37
|
+
var react_1 = __importStar(require("react"));
|
|
38
|
+
var react_native_1 = require("react-native");
|
|
39
|
+
var react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
40
|
+
var useTheme_1 = require("../hooks/useTheme");
|
|
41
|
+
var AnimatedPath = react_native_1.Animated.createAnimatedComponent(react_native_svg_1.Path);
|
|
42
|
+
var LoadingHeart = function () {
|
|
43
|
+
var colors = (0, useTheme_1.useTheme)().colors;
|
|
44
|
+
var scale = (0, react_1.useRef)(new react_native_1.Animated.Value(1)).current;
|
|
45
|
+
var opacity = (0, react_1.useRef)(new react_native_1.Animated.Value(1)).current;
|
|
46
|
+
(0, react_1.useEffect)(function () {
|
|
47
|
+
var heartBeat = react_native_1.Animated.loop(react_native_1.Animated.sequence([
|
|
48
|
+
react_native_1.Animated.parallel([
|
|
49
|
+
react_native_1.Animated.timing(scale, {
|
|
50
|
+
toValue: 1.2,
|
|
51
|
+
duration: 300,
|
|
52
|
+
easing: react_native_1.Easing.bezier(0.4, 0, 0.6, 1),
|
|
53
|
+
useNativeDriver: true
|
|
54
|
+
}),
|
|
55
|
+
react_native_1.Animated.timing(opacity, {
|
|
56
|
+
toValue: 0.8,
|
|
57
|
+
duration: 200,
|
|
58
|
+
easing: react_native_1.Easing.ease,
|
|
59
|
+
useNativeDriver: true
|
|
60
|
+
})
|
|
61
|
+
]),
|
|
62
|
+
react_native_1.Animated.parallel([
|
|
63
|
+
react_native_1.Animated.timing(scale, {
|
|
64
|
+
toValue: 1,
|
|
65
|
+
duration: 500,
|
|
66
|
+
easing: react_native_1.Easing.bezier(0.4, 0, 0.2, 1),
|
|
67
|
+
useNativeDriver: true
|
|
68
|
+
}),
|
|
69
|
+
react_native_1.Animated.timing(opacity, {
|
|
70
|
+
toValue: 1,
|
|
71
|
+
duration: 600,
|
|
72
|
+
easing: react_native_1.Easing.ease,
|
|
73
|
+
useNativeDriver: true
|
|
74
|
+
})
|
|
75
|
+
])
|
|
76
|
+
]));
|
|
77
|
+
heartBeat.start();
|
|
78
|
+
return function () { return heartBeat.stop(); };
|
|
79
|
+
}, []);
|
|
80
|
+
return (<react_native_1.Animated.View style={{
|
|
81
|
+
transform: [{ scale: scale }],
|
|
82
|
+
opacity: opacity,
|
|
83
|
+
height: 24,
|
|
84
|
+
width: 24
|
|
85
|
+
}}>
|
|
86
|
+
<react_native_svg_1.default height="100%" viewBox="0 0 24 24" width="100%" fill={colors.white}>
|
|
87
|
+
<react_native_svg_1.Path d="M0 0h24v24H0z" fill="none"/>
|
|
88
|
+
<AnimatedPath d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
|
|
89
|
+
</react_native_svg_1.default>
|
|
90
|
+
</react_native_1.Animated.View>);
|
|
91
|
+
};
|
|
92
|
+
exports.LoadingHeart = LoadingHeart;
|