@tyrads.com/tyrads-sdk 1.1.15 → 2.0.0-beta.1

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.
Files changed (158) hide show
  1. package/android/build.gradle +18 -2
  2. package/android/src/main/java/com/tyradssdk/TyradsSdkComposeViewManager.kt +112 -0
  3. package/android/src/main/java/com/tyradssdk/TyradsSdkModule.kt +21 -9
  4. package/android/src/main/java/com/tyradssdk/TyradsSdkPackage.kt +2 -1
  5. package/ios/Tyrads/Tyrads.swift +43 -18
  6. package/ios/TyradsSdk.mm +3 -1
  7. package/ios/TyradsSdk.swift +5 -4
  8. package/lib/commonjs/acmo/core/marquee.js +60 -0
  9. package/lib/commonjs/acmo/core/marquee.js.map +1 -0
  10. package/lib/commonjs/acmo/core/storage/storage.js +36 -0
  11. package/lib/commonjs/acmo/core/storage/storage.js.map +1 -0
  12. package/lib/commonjs/acmo/core/types/types.d.js +2 -0
  13. package/lib/commonjs/acmo/core/types/types.d.js.map +1 -0
  14. package/lib/commonjs/acmo/modules/dashboard/components/auto_scroller.js +87 -0
  15. package/lib/commonjs/acmo/modules/dashboard/components/auto_scroller.js.map +1 -0
  16. package/lib/commonjs/acmo/modules/dashboard/components/custom_card.js +41 -0
  17. package/lib/commonjs/acmo/modules/dashboard/components/custom_card.js.map +1 -0
  18. package/lib/commonjs/acmo/modules/dashboard/components/my_games_button.js +50 -0
  19. package/lib/commonjs/acmo/modules/dashboard/components/my_games_button.js.map +1 -0
  20. package/lib/commonjs/acmo/modules/dashboard/components/offer_info_section.js +163 -0
  21. package/lib/commonjs/acmo/modules/dashboard/components/offer_info_section.js.map +1 -0
  22. package/lib/commonjs/acmo/modules/dashboard/components/premium_header.js +103 -0
  23. package/lib/commonjs/acmo/modules/dashboard/components/premium_header.js.map +1 -0
  24. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_1.js +186 -0
  25. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_1.js.map +1 -0
  26. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_2.js +104 -0
  27. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_2.js.map +1 -0
  28. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_3.js +43 -0
  29. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_3.js.map +1 -0
  30. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_4.js +215 -0
  31. package/lib/commonjs/acmo/modules/dashboard/components/premium_option_4.js.map +1 -0
  32. package/lib/commonjs/acmo/modules/dashboard/repository.js +71 -0
  33. package/lib/commonjs/acmo/modules/dashboard/repository.js.map +1 -0
  34. package/lib/commonjs/acmo/modules/dashboard/top_offers.js +137 -0
  35. package/lib/commonjs/acmo/modules/dashboard/top_offers.js.map +1 -0
  36. package/lib/commonjs/assets/images/premium_star.png +0 -0
  37. package/lib/commonjs/assets/images/right_arrow.png +0 -0
  38. package/lib/commonjs/assets/images/star_pointed.png +0 -0
  39. package/lib/commonjs/i18n.js +112 -0
  40. package/lib/commonjs/i18n.js.map +1 -0
  41. package/lib/commonjs/index.js +58 -1
  42. package/lib/commonjs/index.js.map +1 -1
  43. package/lib/module/acmo/core/marquee.js +54 -0
  44. package/lib/module/acmo/core/marquee.js.map +1 -0
  45. package/lib/module/acmo/core/storage/storage.js +29 -0
  46. package/lib/module/acmo/core/storage/storage.js.map +1 -0
  47. package/lib/module/acmo/core/types/types.d.js +2 -0
  48. package/lib/module/acmo/core/types/types.d.js.map +1 -0
  49. package/lib/module/acmo/modules/dashboard/components/auto_scroller.js +81 -0
  50. package/lib/module/acmo/modules/dashboard/components/auto_scroller.js.map +1 -0
  51. package/lib/module/acmo/modules/dashboard/components/custom_card.js +36 -0
  52. package/lib/module/acmo/modules/dashboard/components/custom_card.js.map +1 -0
  53. package/lib/module/acmo/modules/dashboard/components/my_games_button.js +45 -0
  54. package/lib/module/acmo/modules/dashboard/components/my_games_button.js.map +1 -0
  55. package/lib/module/acmo/modules/dashboard/components/offer_info_section.js +158 -0
  56. package/lib/module/acmo/modules/dashboard/components/offer_info_section.js.map +1 -0
  57. package/lib/module/acmo/modules/dashboard/components/premium_header.js +98 -0
  58. package/lib/module/acmo/modules/dashboard/components/premium_header.js.map +1 -0
  59. package/lib/module/acmo/modules/dashboard/components/premium_option_1.js +181 -0
  60. package/lib/module/acmo/modules/dashboard/components/premium_option_1.js.map +1 -0
  61. package/lib/module/acmo/modules/dashboard/components/premium_option_2.js +99 -0
  62. package/lib/module/acmo/modules/dashboard/components/premium_option_2.js.map +1 -0
  63. package/lib/module/acmo/modules/dashboard/components/premium_option_3.js +38 -0
  64. package/lib/module/acmo/modules/dashboard/components/premium_option_3.js.map +1 -0
  65. package/lib/module/acmo/modules/dashboard/components/premium_option_4.js +210 -0
  66. package/lib/module/acmo/modules/dashboard/components/premium_option_4.js.map +1 -0
  67. package/lib/module/acmo/modules/dashboard/repository.js +65 -0
  68. package/lib/module/acmo/modules/dashboard/repository.js.map +1 -0
  69. package/lib/module/acmo/modules/dashboard/top_offers.js +130 -0
  70. package/lib/module/acmo/modules/dashboard/top_offers.js.map +1 -0
  71. package/lib/module/assets/images/premium_star.png +0 -0
  72. package/lib/module/assets/images/right_arrow.png +0 -0
  73. package/lib/module/assets/images/star_pointed.png +0 -0
  74. package/lib/module/i18n.js +107 -0
  75. package/lib/module/i18n.js.map +1 -0
  76. package/lib/module/index.js +59 -2
  77. package/lib/module/index.js.map +1 -1
  78. package/lib/typescript/commonjs/src/acmo/core/marquee.d.ts +11 -0
  79. package/lib/typescript/commonjs/src/acmo/core/marquee.d.ts.map +1 -0
  80. package/lib/typescript/commonjs/src/acmo/core/storage/storage.d.ts +3 -0
  81. package/lib/typescript/commonjs/src/acmo/core/storage/storage.d.ts.map +1 -0
  82. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/auto_scroller.d.ts +10 -0
  83. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/auto_scroller.d.ts.map +1 -0
  84. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_card.d.ts +9 -0
  85. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/custom_card.d.ts.map +1 -0
  86. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/my_games_button.d.ts +7 -0
  87. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/my_games_button.d.ts.map +1 -0
  88. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_info_section.d.ts +10 -0
  89. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/offer_info_section.d.ts.map +1 -0
  90. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_header.d.ts +8 -0
  91. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_header.d.ts.map +1 -0
  92. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_1.d.ts +8 -0
  93. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_1.d.ts.map +1 -0
  94. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_2.d.ts +8 -0
  95. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_2.d.ts.map +1 -0
  96. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_3.d.ts +8 -0
  97. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_3.d.ts.map +1 -0
  98. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_4.d.ts +8 -0
  99. package/lib/typescript/commonjs/src/acmo/modules/dashboard/components/premium_option_4.d.ts.map +1 -0
  100. package/lib/typescript/commonjs/src/acmo/modules/dashboard/repository.d.ts +2 -0
  101. package/lib/typescript/commonjs/src/acmo/modules/dashboard/repository.d.ts.map +1 -0
  102. package/lib/typescript/commonjs/src/acmo/modules/dashboard/top_offers.d.ts +10 -0
  103. package/lib/typescript/commonjs/src/acmo/modules/dashboard/top_offers.d.ts.map +1 -0
  104. package/lib/typescript/commonjs/src/i18n.d.ts +3 -0
  105. package/lib/typescript/commonjs/src/i18n.d.ts.map +1 -0
  106. package/lib/typescript/commonjs/src/index.d.ts +15 -1
  107. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  108. package/lib/typescript/module/src/acmo/core/marquee.d.ts +11 -0
  109. package/lib/typescript/module/src/acmo/core/marquee.d.ts.map +1 -0
  110. package/lib/typescript/module/src/acmo/core/storage/storage.d.ts +3 -0
  111. package/lib/typescript/module/src/acmo/core/storage/storage.d.ts.map +1 -0
  112. package/lib/typescript/module/src/acmo/modules/dashboard/components/auto_scroller.d.ts +10 -0
  113. package/lib/typescript/module/src/acmo/modules/dashboard/components/auto_scroller.d.ts.map +1 -0
  114. package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_card.d.ts +9 -0
  115. package/lib/typescript/module/src/acmo/modules/dashboard/components/custom_card.d.ts.map +1 -0
  116. package/lib/typescript/module/src/acmo/modules/dashboard/components/my_games_button.d.ts +7 -0
  117. package/lib/typescript/module/src/acmo/modules/dashboard/components/my_games_button.d.ts.map +1 -0
  118. package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_info_section.d.ts +10 -0
  119. package/lib/typescript/module/src/acmo/modules/dashboard/components/offer_info_section.d.ts.map +1 -0
  120. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_header.d.ts +8 -0
  121. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_header.d.ts.map +1 -0
  122. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_1.d.ts +8 -0
  123. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_1.d.ts.map +1 -0
  124. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_2.d.ts +8 -0
  125. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_2.d.ts.map +1 -0
  126. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_3.d.ts +8 -0
  127. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_3.d.ts.map +1 -0
  128. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_4.d.ts +8 -0
  129. package/lib/typescript/module/src/acmo/modules/dashboard/components/premium_option_4.d.ts.map +1 -0
  130. package/lib/typescript/module/src/acmo/modules/dashboard/repository.d.ts +2 -0
  131. package/lib/typescript/module/src/acmo/modules/dashboard/repository.d.ts.map +1 -0
  132. package/lib/typescript/module/src/acmo/modules/dashboard/top_offers.d.ts +10 -0
  133. package/lib/typescript/module/src/acmo/modules/dashboard/top_offers.d.ts.map +1 -0
  134. package/lib/typescript/module/src/i18n.d.ts +3 -0
  135. package/lib/typescript/module/src/i18n.d.ts.map +1 -0
  136. package/lib/typescript/module/src/index.d.ts +15 -1
  137. package/lib/typescript/module/src/index.d.ts.map +1 -1
  138. package/package.json +12 -1
  139. package/readme.md +71 -0
  140. package/src/acmo/core/marquee.tsx +62 -0
  141. package/src/acmo/core/storage/storage.ts +28 -0
  142. package/src/acmo/core/types/types.d.ts +94 -0
  143. package/src/acmo/modules/dashboard/components/auto_scroller.tsx +85 -0
  144. package/src/acmo/modules/dashboard/components/custom_card.tsx +31 -0
  145. package/src/acmo/modules/dashboard/components/my_games_button.tsx +40 -0
  146. package/src/acmo/modules/dashboard/components/offer_info_section.tsx +144 -0
  147. package/src/acmo/modules/dashboard/components/premium_header.tsx +81 -0
  148. package/src/acmo/modules/dashboard/components/premium_option_1.tsx +161 -0
  149. package/src/acmo/modules/dashboard/components/premium_option_2.tsx +104 -0
  150. package/src/acmo/modules/dashboard/components/premium_option_3.tsx +46 -0
  151. package/src/acmo/modules/dashboard/components/premium_option_4.tsx +184 -0
  152. package/src/acmo/modules/dashboard/repository.ts +95 -0
  153. package/src/acmo/modules/dashboard/top_offers.tsx +131 -0
  154. package/src/assets/images/premium_star.png +0 -0
  155. package/src/assets/images/right_arrow.png +0 -0
  156. package/src/assets/images/star_pointed.png +0 -0
  157. package/src/i18n.ts +115 -0
  158. package/src/index.tsx +64 -2
@@ -5,14 +5,71 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _reactNative = require("react-native");
8
+ var _top_offers = _interopRequireDefault(require("./acmo/modules/dashboard/top_offers.js"));
9
+ var _storage = require("./acmo/core/storage/storage.js");
10
+ var _reactI18next = require("react-i18next");
11
+ var _i18n = _interopRequireDefault(require("./i18n.js"));
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ // const TyradsSdkComposeView = requireNativeComponent('TyradsSdkComposeView');
8
15
  const LINKING_ERROR = `The package 'tyrads-sdk' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
9
16
  ios: "- You have run 'pod install'\n",
10
17
  default: ''
11
18
  }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
12
- const Tyrads = _reactNative.NativeModules.TyradsSdk ? _reactNative.NativeModules.TyradsSdk : new Proxy({}, {
19
+ const TyradsSdk = _reactNative.NativeModules.TyradsSdk ? _reactNative.NativeModules.TyradsSdk : new Proxy({}, {
13
20
  get() {
14
21
  throw new Error(LINKING_ERROR);
15
22
  }
16
23
  });
24
+ const Tyrads = {
25
+ init: (apiKey, apiSecret) => {
26
+ return TyradsSdk.init(apiKey, apiSecret);
27
+ },
28
+ loginUser: async userId => {
29
+ try {
30
+ var data = await TyradsSdk.loginUser(userId);
31
+ console.log("data from login: ", data);
32
+ await (0, _storage.saveData)('apiHeaders', data);
33
+ await (0, _storage.saveData)('language', JSON.parse(data).languageCode);
34
+ } catch (err) {
35
+ console.log(err);
36
+ }
37
+ return TyradsSdk.loginUser(userId);
38
+ },
39
+ showOffers: ({
40
+ launchMode = 3,
41
+ route,
42
+ campaignID = 0
43
+ } = {}) => {
44
+ if (_reactNative.Platform.OS === 'ios') {
45
+ return TyradsSdk.showOffers(launchMode, route, campaignID);
46
+ } else {
47
+ return TyradsSdk.showOffers(route, campaignID);
48
+ }
49
+ },
50
+ topPremiumOffers: ({
51
+ showMore = true,
52
+ showMyOffers = true,
53
+ showMyOffersEmptyView = false,
54
+ viewStyle = 1
55
+ } = {}) => {
56
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactI18next.I18nextProvider, {
57
+ i18n: _i18n.default,
58
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
59
+ style: {
60
+ flex: 1,
61
+ justifyContent: 'center',
62
+ alignItems: 'center'
63
+ },
64
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_top_offers.default, {
65
+ showMore: showMore,
66
+ showMyOffers: showMyOffers,
67
+ showMyOffersEmptyView: showMyOffersEmptyView,
68
+ style: viewStyle
69
+ })
70
+ })
71
+ });
72
+ }
73
+ };
17
74
  var _default = exports.default = Tyrads;
18
75
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","Tyrads","NativeModules","TyradsSdk","Proxy","get","Error","_default","exports"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GACjB,qEAAqE,GACrEC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,MAAM,GAAGC,0BAAa,CAACC,SAAS,GAClCD,0BAAa,CAACC,SAAS,GACvB,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,CAAAR,OAAA,GACSC,MAAM","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_top_offers","_interopRequireDefault","_storage","_reactI18next","_i18n","_jsxRuntime","e","__esModule","default","LINKING_ERROR","Platform","select","ios","TyradsSdk","NativeModules","Proxy","get","Error","Tyrads","init","apiKey","apiSecret","loginUser","userId","data","console","log","saveData","JSON","parse","languageCode","err","showOffers","launchMode","route","campaignID","OS","topPremiumOffers","showMore","showMyOffers","showMyOffersEmptyView","viewStyle","jsx","I18nextProvider","i18n","children","View","style","flex","justifyContent","alignItems","_default","exports"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAH,sBAAA,CAAAF,OAAA;AAA0B,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1B;AAGA,MAAMG,aAAa,GACjB,qEAAqE,GACrEC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEJ,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMK,SAAS,GAAGC,0BAAa,CAACD,SAAS,GACrCC,0BAAa,CAACD,SAAS,GACvB,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACR,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMS,MAAM,GAAG;EACbC,IAAI,EAAEA,CAACC,MAAc,EAAEC,SAAiB,KAAK;IAC3C,OAAOR,SAAS,CAACM,IAAI,CAACC,MAAM,EAAEC,SAAS,CAAC;EAC1C,CAAC;EACDC,SAAS,EAAE,MAAOC,MAAc,IAAI;IAClC,IAAG;MACD,IAAIC,IAAI,GAAG,MAAMX,SAAS,CAACS,SAAS,CAACC,MAAM,CAAC;MAC5CE,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAACF,I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BC,qBAAqB,EAAEA,qBAAsB;UAC7CO,KAAK,EAAEN;QAAU,CAClB;MAAC,CACE;IAAC,CACQ,CAAC;EAEtB;AACF,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAA5C,OAAA,GAEaU,MAAM","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ import React, { useEffect, useRef } from 'react';
4
+ import { Animated, View, StyleSheet, Dimensions } from 'react-native';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ const MarqueeText = ({
7
+ text,
8
+ speed = 15,
9
+ repeat = 100,
10
+ style
11
+ }) => {
12
+ const translateX = useRef(new Animated.Value(0)).current;
13
+ useEffect(() => {
14
+ const textWidth = text.length * 4;
15
+ const screenWidth = Dimensions.get('window').width;
16
+ const animation = Animated.loop(Animated.sequence([Animated.timing(translateX, {
17
+ toValue: -textWidth,
18
+ duration: (textWidth + screenWidth) * speed,
19
+ useNativeDriver: true
20
+ }), Animated.timing(translateX, {
21
+ toValue: screenWidth,
22
+ duration: 0,
23
+ useNativeDriver: true
24
+ })]), {
25
+ iterations: repeat
26
+ });
27
+ animation.start();
28
+ return () => animation.stop();
29
+ }, [text, speed, repeat, translateX]);
30
+ return /*#__PURE__*/_jsx(View, {
31
+ style: styles.container,
32
+ children: /*#__PURE__*/_jsx(Animated.Text, {
33
+ numberOfLines: 1,
34
+ style: [styles.text, style, {
35
+ transform: [{
36
+ translateX
37
+ }]
38
+ }],
39
+ children: text
40
+ })
41
+ });
42
+ };
43
+ const styles = StyleSheet.create({
44
+ container: {
45
+ overflow: 'hidden',
46
+ width: '100%'
47
+ },
48
+ text: {
49
+ fontSize: 16,
50
+ fontWeight: 'bold'
51
+ }
52
+ });
53
+ export default MarqueeText;
54
+ //# sourceMappingURL=marquee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useRef","Animated","View","StyleSheet","Dimensions","jsx","_jsx","MarqueeText","text","speed","repeat","style","translateX","Value","current","textWidth","length","screenWidth","get","width","animation","loop","sequence","timing","toValue","duration","useNativeDriver","iterations","start","stop","styles","container","children","Text","numberOfLines","transform","create","overflow","fontSize","fontWeight"],"sourceRoot":"..\\..\\..\\..\\src","sources":["acmo/core/marquee.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAASC,QAAQ,EAAEC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAwB,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAStF,MAAMC,WAAuC,GAAGA,CAAC;EAAEC,IAAI;EAAEC,KAAK,GAAG,EAAE;EAAEC,MAAM,GAAG,GAAG;EAAEC;AAAM,CAAC,KAAK;EAC7F,MAAMC,UAAU,GAAGZ,MAAM,CAAC,IAAIC,QAAQ,CAACY,KAAK,CAAC,CAAC,CAAC,CAAC,CAACC,OAAO;EAExDf,SAAS,CAAC,MAAM;IACd,MAAMgB,SAAS,GAAGP,IAAI,CAACQ,MAAM,GAAG,CAAC;IACjC,MAAMC,WAAW,GAAGb,UAAU,CAACc,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK;IAElD,MAAMC,SAAS,GAAGnB,QAAQ,CAACoB,IAAI,CAC7BpB,QAAQ,CAACqB,QAAQ,CAAC,CAChBrB,QAAQ,CAACsB,MAAM,CAACX,UAAU,EAAE;MAC1BY,OAAO,EAAE,CAACT,SAAS;MACnBU,QAAQ,EAAE,CAACV,SAAS,GAAGE,WAAW,IAAIR,KAAK;MAC3CiB,eAAe,EAAE;IACnB,CAAC,CAAC,EACFzB,QAAQ,CAACsB,MAAM,CAACX,UAAU,EAAE;MAC1BY,OAAO,EAAEP,WAAW;MACpBQ,QAAQ,EAAE,CAAC;MACXC,eAAe,EAAE;IACnB,CAAC,CAAC,CACH,CAAC,EACF;MAAEC,UAAU,EAAEjB;IAAO,CACvB,CAAC;IAEDU,SAAS,CAACQ,KAAK,CAAC,CAAC;IAEjB,OAAO,MAAMR,SAAS,CAACS,IAAI,CAAC,CAAC;EAC/B,CAAC,EAAE,CAACrB,IAAI,EAAEC,KAAK,EAAEC,MAAM,EAAEE,UAAU,CAAC,CAAC;EAErC,oBACEN,IAAA,CAACJ,IAAI;IAACS,KAAK,EAAEmB,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5B1B,IAAA,CAACL,QAAQ,CAACgC,IAAI;MACZC,aAAa,EAAE,CAAE;MACjBvB,KAAK,EAAE,CAACmB,MAAM,CAACtB,IAAI,EAAEG,KAAK,EAAE;QAAEwB,SAAS,EAAE,CAAC;UAAEvB;QAAW,CAAC;MAAE,CAAC,CAAE;MAAAoB,QAAA,EAE5DxB;IAAI,CACQ;EAAC,CACZ,CAAC;AAEX,CAAC;AAED,MAAMsB,MAAM,GAAG3B,UAAU,CAACiC,MAAM,CAAC;EAC/BL,SAAS,EAAE;IACTM,QAAQ,EAAE,QAAQ;IAClBlB,KAAK,EAAE;EACT,CAAC;EACDX,IAAI,EAAE;IACJ8B,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAehC,WAAW","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ import AsyncStorage from '@react-native-async-storage/async-storage';
4
+ export const saveData = async (key, object) => {
5
+ try {
6
+ const jsonValue = JSON.stringify(object);
7
+ await AsyncStorage.setItem(key, jsonValue);
8
+ } catch (e) {
9
+ if (e instanceof Error) {
10
+ console.error('Error saving object:', e.message);
11
+ } else {
12
+ console.error('An unknown error occurred while saving.');
13
+ }
14
+ }
15
+ };
16
+ export const getData = async key => {
17
+ try {
18
+ const jsonValue = await AsyncStorage.getItem(key);
19
+ return jsonValue != null ? JSON.parse(jsonValue) : null;
20
+ } catch (e) {
21
+ if (e instanceof Error) {
22
+ console.error('Error getting object:', e.message);
23
+ } else {
24
+ console.error('An unknown error occurred while getting.');
25
+ }
26
+ return null;
27
+ }
28
+ };
29
+ //# sourceMappingURL=storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AsyncStorage","saveData","key","object","jsonValue","JSON","stringify","setItem","e","Error","console","error","message","getData","getItem","parse"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["acmo/core/storage/storage.ts"],"mappings":";;AAAA,OAAOA,YAAY,MAAM,2CAA2C;AAEpE,OAAO,MAAMC,QAAQ,GAAG,MAAAA,CAAOC,GAAW,EAAEC,MAAW,KAAoB;EACzE,IAAI;IACF,MAAMC,SAAiB,GAAGC,IAAI,CAACC,SAAS,CAACH,MAAM,CAAC;IAChD,MAAMH,YAAY,CAACO,OAAO,CAACL,GAAG,EAAEE,SAAS,CAAC;EAC5C,CAAC,CAAC,OAAOI,CAAM,EAAE;IACf,IAAIA,CAAC,YAAYC,KAAK,EAAE;MACtBC,OAAO,CAACC,KAAK,CAAC,sBAAsB,EAAEH,CAAC,CAACI,OAAO,CAAC;IAClD,CAAC,MAAM;MACLF,OAAO,CAACC,KAAK,CAAC,yCAAyC,CAAC;IAC1D;EACF;AACF,CAAC;AAED,OAAO,MAAME,OAAO,GAAG,MAAUX,GAAW,IAAwB;EAClE,IAAI;IACF,MAAME,SAAwB,GAAG,MAAMJ,YAAY,CAACc,OAAO,CAACZ,GAAG,CAAC;IAChE,OAAOE,SAAS,IAAI,IAAI,GAAGC,IAAI,CAACU,KAAK,CAACX,SAAS,CAAC,GAAQ,IAAI;EAC9D,CAAC,CAAC,OAAOI,CAAM,EAAE;IACf,IAAIA,CAAC,YAAYC,KAAK,EAAE;MACtBC,OAAO,CAACC,KAAK,CAAC,uBAAuB,EAAEH,CAAC,CAACI,OAAO,CAAC;IACnD,CAAC,MAAM;MACLF,OAAO,CAACC,KAAK,CAAC,0CAA0C,CAAC;IAC3D;IACA,OAAO,IAAI;EACb;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=types.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["acmo/core/types/types.d.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+
3
+ import React, { useRef, useState, useEffect } from 'react';
4
+ import { View, ScrollView, StyleSheet, Dimensions } from 'react-native';
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ const {
7
+ width
8
+ } = Dimensions.get('window');
9
+ const AutoScrollPagerWithIndicators = ({
10
+ totalPages,
11
+ delayInMillis = 5000,
12
+ premiumColor,
13
+ content
14
+ }) => {
15
+ const [currentPage, setCurrentPage] = useState(0);
16
+ const scrollViewRef = useRef(null);
17
+ useEffect(() => {
18
+ const intervalId = setInterval(() => {
19
+ const nextBanner = (currentPage + 1) % totalPages;
20
+ setCurrentPage(nextBanner);
21
+ scrollViewRef.current?.scrollTo({
22
+ x: nextBanner * width,
23
+ animated: true
24
+ });
25
+ }, delayInMillis);
26
+ return () => clearInterval(intervalId);
27
+ }, [currentPage, totalPages, delayInMillis]);
28
+ useEffect(() => {
29
+ scrollViewRef.current?.scrollTo({
30
+ x: currentPage * width,
31
+ animated: false
32
+ });
33
+ }, [currentPage]);
34
+ const renderIndicators = () => {
35
+ const indicators = [];
36
+ for (let i = 0; i < totalPages; i++) {
37
+ indicators.push(/*#__PURE__*/_jsx(View, {
38
+ style: [styles.indicator, {
39
+ backgroundColor: currentPage === i ? premiumColor || '#1C90DF' : 'lightgray'
40
+ }]
41
+ }, i));
42
+ }
43
+ return /*#__PURE__*/_jsx(View, {
44
+ style: styles.indicatorContainer,
45
+ children: indicators
46
+ });
47
+ };
48
+ return /*#__PURE__*/_jsxs(View, {
49
+ style: styles.container,
50
+ children: [/*#__PURE__*/_jsx(ScrollView, {
51
+ ref: scrollViewRef,
52
+ horizontal: true,
53
+ pagingEnabled: true,
54
+ showsHorizontalScrollIndicator: true,
55
+ scrollEnabled: false,
56
+ contentContainerStyle: {
57
+ width: totalPages * width
58
+ },
59
+ children: Array.from({
60
+ length: totalPages
61
+ }, (_, i) => content(i))
62
+ }), renderIndicators()]
63
+ });
64
+ };
65
+ const styles = StyleSheet.create({
66
+ container: {
67
+ alignItems: 'center'
68
+ },
69
+ indicatorContainer: {
70
+ flexDirection: 'row',
71
+ marginTop: 10
72
+ },
73
+ indicator: {
74
+ width: 8,
75
+ height: 8,
76
+ borderRadius: 4,
77
+ marginHorizontal: 2
78
+ }
79
+ });
80
+ export default AutoScrollPagerWithIndicators;
81
+ //# sourceMappingURL=auto_scroller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useRef","useState","useEffect","View","ScrollView","StyleSheet","Dimensions","jsx","_jsx","jsxs","_jsxs","width","get","AutoScrollPagerWithIndicators","totalPages","delayInMillis","premiumColor","content","currentPage","setCurrentPage","scrollViewRef","intervalId","setInterval","nextBanner","current","scrollTo","x","animated","clearInterval","renderIndicators","indicators","i","push","style","styles","indicator","backgroundColor","indicatorContainer","children","container","ref","horizontal","pagingEnabled","showsHorizontalScrollIndicator","scrollEnabled","contentContainerStyle","Array","from","length","_","create","alignItems","flexDirection","marginTop","height","borderRadius","marginHorizontal"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["acmo/modules/dashboard/components/auto_scroller.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAC1D,SAASC,IAAI,EAAEC,UAAU,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAExE,MAAM;EAAEC;AAAM,CAAC,GAAGL,UAAU,CAACM,GAAG,CAAC,QAAQ,CAAC;AAS1C,MAAMC,6BAA2E,GAAGA,CAAC;EACnFC,UAAU;EACVC,aAAa,GAAG,IAAI;EACpBC,YAAY;EACZC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,WAAW,EAAEC,cAAc,CAAC,GAAGlB,QAAQ,CAAC,CAAC,CA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I;IAAC8B,KAAK,EAAEC,MAAM,CAACK,SAAU;IAAAD,QAAA,gBAC5B9B,IAAA,CAACJ,UAAU;MACToC,GAAG,EAAEpB,aAAc;MACnBqB,UAAU;MACVC,aAAa;MACbC,8BAA8B,EAAE,IAAK;MACrCC,aAAa,EAAE,KAAM;MACrBC,qBAAqB,EAAE;QAAElC,KAAK,EAAEG,UAAU,GAAGH;MAAM,CAAE;MAAA2B,QAAA,EAEpDQ,KAAK,CAACC,IAAI,CAAC;QAAEC,MAAM,EAAElC;MAAW,CAAC,EAAE,CAACmC,CAAC,EAAElB,CAAC,KAAKd,OAAO,CAACc,CAAC,CAAC;IAAC,CAC/C,CAAC,EACZF,gBAAgB,CAAC,CAAC;EAAA,CACf,CAAC;AAEX,CAAC;AAED,MAAMK,MAAM,GAAG7B,UAAU,CAAC6C,MAAM,CAAC;EAC/BX,SAAS,EAAE;IACTY,UAAU,EAAE;EACd,CAAC;EACDd,kBAAkB,EAAE;IAClBe,aAAa,EAAE,KAAK;IACpBC,SAAS,EAAE;EACb,CAAC;EACDlB,SAAS,EAAE;IACTxB,KAAK,EAAE,CAAC;IACR2C,MAAM,EAAE,CAAC;IACTC,YAAY,EAAE,CAAC;IACfC,gBAAgB,EAAE;EACpB;AACF,CAAC,CAAC;AAEF,eAAe3C,6BAA6B","ignoreList":[]}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { View, StyleSheet } from 'react-native';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ const CustomCard = ({
7
+ children,
8
+ style
9
+ }) => {
10
+ return /*#__PURE__*/_jsx(View, {
11
+ style: [styles.card, style],
12
+ children: children
13
+ });
14
+ };
15
+ const styles = StyleSheet.create({
16
+ card: {
17
+ backgroundColor: 'white',
18
+ borderTopLeftRadius: 20,
19
+ borderTopRightRadius: 20,
20
+ borderBottomLeftRadius: 14,
21
+ borderBottomRightRadius: 14,
22
+ paddingTop: 6,
23
+ paddingBottom: 5,
24
+ shadowColor: '#000',
25
+ shadowOffset: {
26
+ width: 4,
27
+ height: 4
28
+ },
29
+ shadowOpacity: 0.2,
30
+ shadowRadius: 4,
31
+ elevation: 4,
32
+ alignSelf: 'center'
33
+ }
34
+ });
35
+ export default CustomCard;
36
+ //# sourceMappingURL=custom_card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","StyleSheet","jsx","_jsx","CustomCard","children","style","styles","card","create","backgroundColor","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","paddingTop","paddingBottom","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","alignSelf"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["acmo/modules/dashboard/components/custom_card.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SAASC,IAAI,EAAEC,UAAU,QAAwB,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOhE,MAAMC,UAAqC,GAAGA,CAAC;EAAEC,QAAQ;EAAEC;AAAM,CAAC,KAAK;EACrE,oBAAOH,IAAA,CAACH,IAAI;IAACM,KAAK,EAAE,CAACC,MAAM,CAACC,IAAI,EAAEF,KAAK,CAAE;IAAAD,QAAA,EAAEA;EAAQ,CAAO,CAAC;AAC7D,CAAC;AAED,MAAME,MAAM,GAAGN,UAAU,CAACQ,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,eAAe,EAAE,OAAO;IACxBC,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE,EAAE;IACxBC,sBAAsB,EAAE,EAAE;IAC1BC,uBAAuB,EAAE,EAAE;IAC3BC,UAAU,EAAE,CAAC;IACbC,aAAa,EAAE,CAAC;IAChBC,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MAAEC,KAAK,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;IACrCC,aAAa,EAAE,GAAG;IAClBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb;AACF,CAAC,CAAC;AAEF,eAAepB,UAAU","ignoreList":[]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { TouchableOpacity, Text, StyleSheet } from 'react-native';
5
+ import Tyrads from "../../../../index.js";
6
+ import { useTranslation } from 'react-i18next';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ const MyGamesButton = ({
9
+ premiumColor
10
+ }) => {
11
+ const {
12
+ t
13
+ } = useTranslation();
14
+ return /*#__PURE__*/_jsx(TouchableOpacity, {
15
+ style: [styles.button, {
16
+ backgroundColor: premiumColor || '#1C90DF'
17
+ }],
18
+ onPress: () => Tyrads.showOffers({
19
+ route: 'campaigns-activated'
20
+ }),
21
+ children: /*#__PURE__*/_jsx(Text, {
22
+ style: styles.buttonText,
23
+ children: t('dashboard.my_games')
24
+ })
25
+ });
26
+ };
27
+ const styles = StyleSheet.create({
28
+ button: {
29
+ borderRadius: 8,
30
+ paddingHorizontal: 16,
31
+ paddingVertical: 8,
32
+ height: 40,
33
+ justifyContent: 'center',
34
+ alignItems: 'center',
35
+ marginHorizontal: 16,
36
+ marginBottom: 16
37
+ },
38
+ buttonText: {
39
+ color: 'white',
40
+ fontSize: 16,
41
+ fontWeight: 'bold'
42
+ }
43
+ });
44
+ export default MyGamesButton;
45
+ //# sourceMappingURL=my_games_button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","TouchableOpacity","Text","StyleSheet","Tyrads","useTranslation","jsx","_jsx","MyGamesButton","premiumColor","t","style","styles","button","backgroundColor","onPress","showOffers","route","children","buttonText","create","borderRadius","paddingHorizontal","paddingVertical","height","justifyContent","alignItems","marginHorizontal","marginBottom","color","fontSize","fontWeight"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["acmo/modules/dashboard/components/my_games_button.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AACjE,OAAOC,MAAM,MAAM,sBAAa;AAChC,SAASC,cAAc,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAM/C,MAAMC,aAA2C,GAAGA,CAAC;EAAEC;AAAa,CAAC,KAAK;EACxE,MAAM;IAAEC;EAAE,CAAC,GAAGL,cAAc,CAAC,CAAC;EAC9B,oBACEE,IAAA,CAACN,gBAAgB;IACfU,KAAK,EAAE,CAACC,MAAM,CAACC,MAAM,EAAE;MAAEC,eAAe,EAAEL,YAAY,IAAI;IAAU,CAAC,CAAE;IACvEM,OAAO,EAAEA,CAAA,KAAMX,MAAM,CAACY,UAAU,CAAC;MAAEC,KAAK,EAAE;IAAsB,CAAC,CAAE;IAAAC,QAAA,eAEnEX,IAAA,CAACL,IAAI;MAACS,KAAK,EAAEC,MAAM,CAACO,UAAW;MAAAD,QAAA,EAAER,CAAC,CAAC,oBAAoB;IAAC,CAAO;EAAC,CAChD,CAAC;AAEvB,CAAC;AAED,MAAME,MAAM,GAAGT,UAAU,CAACiB,MAAM,CAAC;EAC/BP,MAAM,EAAE;IACNQ,YAAY,EAAE,CAAC;IACfC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBC,MAAM,EAAE,EAAE;IACVC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,gBAAgB,EAAE,EAAE;IACpBC,YAAY,EAAE;EAChB,CAAC;EACDT,UAAU,EAAE;IACVU,KAAK,EAAE,OAAO;IACdC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAevB,aAAa","ignoreList":[]}
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { Dimensions, Image, StyleSheet, Text, TouchableOpacity, View } from "react-native";
5
+ import numeral from 'numeral';
6
+ import TextTicker from "react-native-text-ticker";
7
+ import Tyrads from "../../../../index.js";
8
+ import { useTranslation } from "react-i18next";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const {
11
+ width
12
+ } = Dimensions.get('window');
13
+ const OfferInfoSection = ({
14
+ details,
15
+ premiumColor,
16
+ style
17
+ }) => {
18
+ const {
19
+ t
20
+ } = useTranslation();
21
+ return /*#__PURE__*/_jsx(View, {
22
+ style: [styles.infoContainer, style, {
23
+ backgroundColor: premiumColor || '#1C90DF'
24
+ }],
25
+ children: /*#__PURE__*/_jsxs(View, {
26
+ style: styles.infoRow,
27
+ children: [/*#__PURE__*/_jsxs(View, {
28
+ style: styles.leftInfo,
29
+ children: [/*#__PURE__*/_jsx(Image, {
30
+ style: styles.gameIcon,
31
+ source: {
32
+ uri: details.thumbnail
33
+ },
34
+ resizeMode: "cover"
35
+ }), /*#__PURE__*/_jsxs(View, {
36
+ style: styles.gameDetails,
37
+ children: [details.title.length > 20 ? /*#__PURE__*/_jsx(View, {
38
+ style: {
39
+ overflow: 'hidden'
40
+ },
41
+ children: /*#__PURE__*/_jsx(TextTicker, {
42
+ style: styles.gameTitle,
43
+ duration: 3000,
44
+ loop: true,
45
+ bounce: true,
46
+ repeatSpacer: 50,
47
+ marqueeDelay: 1000,
48
+ children: details.title
49
+ })
50
+ }) : /*#__PURE__*/_jsx(Text, {
51
+ style: styles.gameTitle,
52
+ numberOfLines: 1,
53
+ ellipsizeMode: "tail",
54
+ children: details.title
55
+ }), /*#__PURE__*/_jsxs(View, {
56
+ style: styles.rewardDetails,
57
+ children: [/*#__PURE__*/_jsx(Image, {
58
+ source: {
59
+ uri: details.currency.adUnitCurrencyIcon
60
+ },
61
+ resizeMode: "contain",
62
+ style: styles.coinIcon
63
+ }), /*#__PURE__*/_jsx(Text, {
64
+ style: styles.points,
65
+ children: numeral(details.points).format("0.00a").toUpperCase()
66
+ }), /*#__PURE__*/_jsxs(Text, {
67
+ style: styles.points,
68
+ children: ['', details.currency.adUnitCurrencyName]
69
+ }), /*#__PURE__*/_jsxs(Text, {
70
+ style: styles.rewards,
71
+ children: [' ', details.rewards, " ", t('dashboard.rewards', {
72
+ count: details.rewards
73
+ })]
74
+ })]
75
+ })]
76
+ })]
77
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
78
+ onPress: () => {
79
+ Tyrads.showOffers({
80
+ route: 'campaign-details',
81
+ campaignID: details.campaignId
82
+ });
83
+ },
84
+ style: styles.playButton,
85
+ children: /*#__PURE__*/_jsx(Text, {
86
+ style: [styles.playButtonText, {
87
+ color: premiumColor || '#1C90DF'
88
+ }],
89
+ children: t('dashboard.play_button')
90
+ })
91
+ })]
92
+ })
93
+ });
94
+ };
95
+ const styles = StyleSheet.create({
96
+ infoContainer: {
97
+ width: width,
98
+ paddingVertical: 8,
99
+ paddingHorizontal: 16
100
+ },
101
+ infoRow: {
102
+ flexDirection: 'row',
103
+ justifyContent: 'space-between',
104
+ alignItems: 'center',
105
+ width: '90%'
106
+ },
107
+ leftInfo: {
108
+ flexDirection: 'row',
109
+ alignItems: 'center',
110
+ width: '68%'
111
+ },
112
+ gameIcon: {
113
+ width: 50,
114
+ height: 50,
115
+ borderRadius: 8
116
+ },
117
+ gameDetails: {
118
+ marginLeft: 10
119
+ },
120
+ gameTitle: {
121
+ color: 'white',
122
+ fontSize: 14,
123
+ marginBottom: 4
124
+ },
125
+ rewardDetails: {
126
+ flexDirection: 'row',
127
+ marginTop: 4
128
+ },
129
+ coinIcon: {
130
+ width: 18,
131
+ height: 18
132
+ },
133
+ points: {
134
+ color: 'white',
135
+ fontSize: 12,
136
+ marginLeft: 4
137
+ },
138
+ rewards: {
139
+ color: 'lightgrey',
140
+ fontSize: 11,
141
+ fontStyle: 'italic'
142
+ },
143
+ playButton: {
144
+ paddingHorizontal: 12,
145
+ paddingVertical: 2,
146
+ height: 30,
147
+ borderRadius: 8,
148
+ backgroundColor: 'white',
149
+ alignItems: 'center',
150
+ justifyContent: 'center'
151
+ },
152
+ playButtonText: {
153
+ fontSize: 14,
154
+ fontWeight: 'bold'
155
+ }
156
+ });
157
+ export default OfferInfoSection;
158
+ //# sourceMappingURL=offer_info_section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Dimensions","Image","StyleSheet","Text","TouchableOpacity","View","numeral","TextTicker","Tyrads","useTranslation","jsx","_jsx","jsxs","_jsxs","width","get","OfferInfoSection","details","premiumColor","style","t","styles","infoContainer","backgroundColor","children","infoRow","leftInfo","gameIcon","source","uri","thumbnail","resizeMode","gameDetails","title","length","overflow","gameTitle","duration","loop","bounce","repeatSpacer","marqueeDelay","numberOfLines","ellipsizeMode","rewardDetails","currency","adUnitCurrencyIcon","coinIcon","points","format","toUpperCase","adUnitCurrencyName","rewards","count","onPress","showOffers","route","campaignID","campaignId","playButton","playButtonText","color","create","paddingVertical","paddingHorizontal","flexDirection","justifyContent","alignItems","height","borderRadius","marginLeft","fontSize","marginBottom","marginTop","fontStyle","fontWeight"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["acmo/modules/dashboard/components/offer_info_section.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,KAAK,EAAEC,UAAU,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAwB,cAAc;AAC1G,OAAOC,OAAO,MAAM,SAAS;AAC7B,OAAOC,UAAU,MAAM,0BAA0B;AACjD,OAAOC,MAAM,MAAM,sBAAa;AAChC,SAASC,cAAc,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/C,MAAM;EAAEC;AAAM,CAAC,GAAGd,UAAU,CAACe,GAAG,CAAC,QAAQ,CAAC;AAQ1C,MAAMC,gBAAiD,GAAGA,CAAC;EAAEC,OAAO;EAAEC,YAAY;EAAEC;AAAM,CAAC,KAAK;EAC9F,MAAM;IAAEC;EAAE,CAAC,GAAGX,cAAc,CAAC,CAAC;EAE9B,oBACEE,IAAA,CAACN,IAAI;IAACc,KAAK,EAAE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AC,CAAC;AAEF,eAAe3D,gBAAgB","ignoreList":[]}
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { View, Text, Image, TouchableOpacity, StyleSheet } from 'react-native';
5
+ import Tyrads from "../../../../index.js";
6
+ import { useTranslation } from 'react-i18next';
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
+ const PremiumHeaderSection = ({
9
+ showMore = true,
10
+ premiumColor
11
+ }) => {
12
+ const {
13
+ t
14
+ } = useTranslation();
15
+ return /*#__PURE__*/_jsxs(View, {
16
+ style: styles.headerContainer,
17
+ children: [/*#__PURE__*/_jsxs(View, {
18
+ style: styles.leftContainer,
19
+ children: [/*#__PURE__*/_jsx(View, {
20
+ style: [styles.starContainer, {
21
+ backgroundColor: premiumColor || '#1C90DF'
22
+ }],
23
+ children: /*#__PURE__*/_jsx(Image, {
24
+ source: require('../../../../assets/images/star_pointed.png'),
25
+ style: [styles.starIcon, {
26
+ tintColor: 'white'
27
+ }]
28
+ })
29
+ }), /*#__PURE__*/_jsx(Text, {
30
+ style: styles.headerText,
31
+ numberOfLines: 1,
32
+ adjustsFontSizeToFit: true,
33
+ ellipsizeMode: "tail",
34
+ children: t('dashboard.suggested_offers')
35
+ })]
36
+ }), showMore && /*#__PURE__*/_jsxs(TouchableOpacity, {
37
+ style: styles.rightContainer,
38
+ onPress: () => Tyrads.showOffers(),
39
+ children: [/*#__PURE__*/_jsx(Text, {
40
+ style: [styles.moreOffersText, {
41
+ color: premiumColor
42
+ }],
43
+ numberOfLines: 1,
44
+ children: t('dashboard.more_offers')
45
+ }), /*#__PURE__*/_jsx(Image, {
46
+ source: require('../../../../assets/images/right_arrow.png'),
47
+ style: {
48
+ width: 11,
49
+ height: 11,
50
+ objectFit: 'contain',
51
+ marginLeft: 5,
52
+ tintColor: premiumColor || "#1C90DF"
53
+ }
54
+ })]
55
+ })]
56
+ });
57
+ };
58
+ const styles = StyleSheet.create({
59
+ starContainer: {
60
+ borderRadius: 25,
61
+ height: 19,
62
+ width: 19,
63
+ justifyContent: 'center',
64
+ alignItems: 'center'
65
+ },
66
+ headerContainer: {
67
+ flexDirection: 'row',
68
+ justifyContent: 'space-between',
69
+ alignItems: 'center',
70
+ paddingHorizontal: 16,
71
+ paddingVertical: 6
72
+ },
73
+ leftContainer: {
74
+ flexDirection: 'row',
75
+ alignItems: 'center',
76
+ flex: 1
77
+ },
78
+ starIcon: {
79
+ width: 12,
80
+ height: 12
81
+ },
82
+ headerText: {
83
+ marginLeft: 8,
84
+ fontSize: 16,
85
+ fontWeight: 'bold',
86
+ flex: 1
87
+ },
88
+ rightContainer: {
89
+ flexDirection: 'row',
90
+ alignItems: 'center'
91
+ },
92
+ moreOffersText: {
93
+ fontSize: 14,
94
+ fontWeight: 'bold'
95
+ }
96
+ });
97
+ export default PremiumHeaderSection;
98
+ //# sourceMappingURL=premium_header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","Image","TouchableOpacity","StyleSheet","Tyrads","useTranslation","jsx","_jsx","jsxs","_jsxs","PremiumHeaderSection","showMore","premiumColor","t","style","styles","headerContainer","children","leftContainer","starContainer","backgroundColor","source","require","starIcon","tintColor","headerText","numberOfLines","adjustsFontSizeToFit","ellipsizeMode","rightContainer","onPress","showOffers","moreOffersText","color","width","height","objectFit","marginLeft","create","borderRadius","justifyContent","alignItems","flexDirection","paddingHorizontal","paddingVertical","flex","fontSize","fontWeight"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["acmo/modules/dashboard/components/premium_header.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,KAAK,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,cAAc;AAC9E,OAAOC,MAAM,MAAM,sBAAa;AAChC,SAASC,cAAc,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAO/C,MAAM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