@sentiance-react-native/core 6.11.0-rc.1 → 6.11.0

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.
@@ -5,7 +5,7 @@ sentiance_sdk_env_var_version = ENV["SENTIANCE_RN_IOS_SDK_VERSION"]
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = "RNSentianceCore"
8
- s.version = "6.11.0-rc.1"
8
+ s.version = "6.11.0"
9
9
  s.summary = "RNSentianceCore"
10
10
  s.description = <<-DESC
11
11
  RNSentianceCore
@@ -589,7 +589,7 @@ public class SentianceModule extends AbstractSentianceModule {
589
589
 
590
590
  @Override
591
591
  @ReactMethod
592
- protected void addNativeListener(String eventName, int subscriptionId, Promise promise) {
592
+ protected void addNativeListener(String eventName, int subscriptionId, @Nullable ReadableMap payload, Promise promise) {
593
593
 
594
594
  }
595
595
 
@@ -24,11 +24,6 @@ public class SentianceSubscriptionsManager {
24
24
 
25
25
  public <T> void addSupportedSubscription(String eventType, SingleParamRunnable<T> nativeSubscribeLogic,
26
26
  SingleParamRunnable<T> nativeUnsubscribeLogic, SubscriptionType subscriptionType) {
27
- if (mSupportedSubscriptions.containsKey(eventType)) {
28
- throw new IllegalArgumentException(String.format("A subscription definition for %s has already been added.",
29
- eventType));
30
- }
31
-
32
27
  mSupportedSubscriptions.put(eventType, new SubscriptionDefinition<>(eventType, nativeSubscribeLogic,
33
28
  nativeUnsubscribeLogic, subscriptionType));
34
29
  }
@@ -95,10 +90,10 @@ public class SentianceSubscriptionsManager {
95
90
  return true;
96
91
  }
97
92
 
98
- return definition.subscriptionType == SubscriptionType.SINGLE && !subscriptionsExists(definition.eventType);
93
+ return definition.subscriptionType == SubscriptionType.SINGLE && !subscriptionExists(definition.eventType);
99
94
  }
100
95
 
101
- private boolean subscriptionsExists(String eventType) {
96
+ private boolean subscriptionExists(String eventType) {
102
97
  synchronized (mSubscriptions) {
103
98
  for (Subscription sub : mSubscriptions) {
104
99
  if (sub.eventType.equals(eventType)) {
@@ -115,9 +110,9 @@ public class SentianceSubscriptionsManager {
115
110
  private final T eventEmitterLogic;
116
111
  private final String eventType;
117
112
 
118
- public Subscription(int id, @Nullable T eventEmmitterLogic, String eventType) {
113
+ public Subscription(int id, @Nullable T eventEmitterLogic, String eventType) {
119
114
  this.id = id;
120
- this.eventEmitterLogic = eventEmmitterLogic;
115
+ this.eventEmitterLogic = eventEmitterLogic;
121
116
  this.eventType = eventType;
122
117
  }
123
118
 
@@ -2,9 +2,12 @@ package com.sentiance.react.bridge.core.common.base;
2
2
 
3
3
  import static com.sentiance.react.bridge.core.common.util.ErrorCodes.E_SDK_NOT_INITIALIZED;
4
4
 
5
+ import androidx.annotation.Nullable;
6
+
5
7
  import com.facebook.react.bridge.Promise;
6
8
  import com.facebook.react.bridge.ReactApplicationContext;
7
9
  import com.facebook.react.bridge.ReactContextBaseJavaModule;
10
+ import com.facebook.react.bridge.ReadableMap;
8
11
  import com.sentiance.react.bridge.core.common.SentianceSubscriptionsManager;
9
12
  import com.sentiance.sdk.InitState;
10
13
  import com.sentiance.sdk.Sentiance;
@@ -62,9 +65,10 @@ public abstract class AbstractSentianceModule extends ReactContextBaseJavaModule
62
65
  * an attempt to add a listener for the provided event name. By default,
63
66
  * React Native supports adding multiple listeners for the same event,
64
67
  * but most of the Sentiance native SDKs don't.
68
+ * @param payload extra information that was passed-in during the corresponding JS listener registration.
65
69
  * @param promise that resolves once the native SDK listener(s) has/have been set.
66
70
  */
67
- protected abstract void addNativeListener(String eventName, int subscriptionId, Promise promise);
71
+ protected abstract void addNativeListener(String eventName, int subscriptionId, @Nullable ReadableMap payload, Promise promise);
68
72
 
69
73
  protected abstract void addListener(String eventName);
70
74
 
@@ -50,6 +50,8 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
50
50
  switch (feedbackResult) {
51
51
  case SENTOccupantRoleFeedbackResult_Accepted:
52
52
  return @"ACCEPTED";
53
+ case SENTOccupantRoleFeedbackResult_TransportIsProvisional:
54
+ return @"TRANSPORT_IS_PROVISIONAL";
53
55
  case SENTOccupantRoleFeedbackResult_TransportTypeNotSupported:
54
56
  return @"TRANSPORT_TYPE_NOT_SUPPORTED";
55
57
  case SENTOccupantRoleFeedbackResult_TransportNotFound:
@@ -93,14 +95,14 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
93
95
  dict[@"timestamp"] = @((long) ([location.timestamp timeIntervalSince1970] * 1000));
94
96
  dict[@"latitude"] = @(location.coordinate.latitude);
95
97
  dict[@"longitude"] = @(location.coordinate.longitude);
96
-
98
+
97
99
  if (location.horizontalAccuracy >= 0) {
98
100
  dict[@"accuracy"] = @(location.horizontalAccuracy);
99
101
  }
100
102
  if (location.verticalAccuracy > 0) {
101
103
  dict[@"altitude"] = @(location.altitude);
102
104
  }
103
-
105
+
104
106
  return dict;
105
107
  }
106
108
 
@@ -204,14 +206,14 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
204
206
 
205
207
  - (NSDictionary*)convertVenue:(SENTVenue*)venue {
206
208
  NSMutableDictionary* dict = [[NSMutableDictionary alloc] init];
207
-
209
+
208
210
  if (venue.location != nil) {
209
211
  dict[@"location"] = [self convertGeolocation:venue.location];
210
212
  }
211
-
213
+
212
214
  dict[@"significance"] = [self convertVenueSignificance:venue.significance];
213
215
  dict[@"type"] = [self convertVenueType:venue.type];
214
-
216
+
215
217
  return dict;
216
218
  }
217
219
 
@@ -219,7 +221,7 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
219
221
  if (event.location != nil) {
220
222
  dict[@"location"] = [self convertGeolocation:event.location];
221
223
  }
222
-
224
+
223
225
  dict[@"venue"] = [self convertVenue:event.venue];
224
226
  }
225
227
 
@@ -264,12 +266,12 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
264
266
  dict[@"transportMode"] = [self convertTransportModeToString:event.transportMode];
265
267
  dict[@"waypoints"] = [self convertWaypointArray:event.waypoints];
266
268
  dict[@"occupantRole"] = [self convertOccupantRole:event.occupantRole];
267
-
268
-
269
+
270
+
269
271
  if (event.distanceInMeters != nil) {
270
272
  dict[@"distance"] = event.distanceInMeters;
271
273
  }
272
-
274
+
273
275
  if (event.tags != nil) {
274
276
  dict[@"transportTags"] = event.tags;
275
277
  }
@@ -59,6 +59,10 @@ RCT_EXPORT_MODULE(SentianceCore)
59
59
  }
60
60
 
61
61
  - (void)onEventTimelineUpdateWithEvent:(SENTTimelineEvent * _Nonnull)event {
62
+ // Explicitly left blank, even though it's optional
63
+ }
64
+
65
+ - (void)onProvisionalAwareEventTimelineUpdateWithEvent:(SENTTimelineEvent * _Nonnull)event {
62
66
  [self sendEventWithName:TimelineUpdateEvent body:[self convertEvent:event]];
63
67
  }
64
68
 
@@ -66,30 +70,50 @@ RCT_EXPORT_MODULE(SentianceCore)
66
70
  [self sendEventWithName:SmartGeofenceEvent body:[self convertSmartGeofenceEvent:smartGeofenceEvent]];
67
71
  }
68
72
 
73
+ - (void)didUpdateProvisionalAwareUserContext:(SENTUserContext *)userContext forCriteriaMask:(SENTUserContextUpdateCriteria)criteriaMask {
74
+ NSDictionary *dict = @{
75
+ @"userContext": [self convertUserContextToDict:userContext],
76
+ @"criteria": [self convertUserContextCriteriaToArray:criteriaMask]
77
+ };
78
+ [self sendEventWithName:UserContextUpdateEvent body:dict];
79
+ }
80
+
81
+ - (void)didUpdateUserContext:(SENTUserContext *)userContext
82
+ forCriteriaMask:(SENTUserContextUpdateCriteria)criteriaMask {
83
+ // Explicitly left blank, even though it's optional
84
+ }
85
+
69
86
  - (instancetype)init
70
87
  {
71
88
  self = [super init];
72
89
  _subscriptionsManager = [RNSentianceSubscriptionsManager new];
73
90
  __weak typeof(self) weakSelf = self;
74
91
 
75
- [_subscriptionsManager addSupportedSubscriptionForEventType:DrivingInsightsReadyEvent nativeSubscribeLogic:^{
76
- [[Sentiance sharedInstance] setDrivingInsightsReadyDelegate:weakSelf];
77
- } nativeUnsubscribeLogic:^{
78
- [[Sentiance sharedInstance] setDrivingInsightsReadyDelegate:nil];
79
- } subscriptionType:SENTSubscriptionTypeSingle];
80
-
81
92
  [_subscriptionsManager addSupportedSubscriptionForEventType:TimelineUpdateEvent nativeSubscribeLogic:^{
82
93
  [[Sentiance sharedInstance] setEventTimelineDelegate:weakSelf];
83
94
  } nativeUnsubscribeLogic:^{
84
95
  [[Sentiance sharedInstance] setEventTimelineDelegate:nil];
85
96
  } subscriptionType:SENTSubscriptionTypeSingle];
86
97
 
98
+ [_subscriptionsManager addSupportedSubscriptionForEventType:DrivingInsightsReadyEvent nativeSubscribeLogic:^{
99
+ [[Sentiance sharedInstance] setDrivingInsightsReadyDelegate:weakSelf];
100
+ } nativeUnsubscribeLogic:^{
101
+ [[Sentiance sharedInstance] setDrivingInsightsReadyDelegate:nil];
102
+ } subscriptionType:SENTSubscriptionTypeSingle];
103
+
87
104
  [_subscriptionsManager addSupportedSubscriptionForEventType:SmartGeofenceEvent nativeSubscribeLogic:^{
88
105
  [[Sentiance sharedInstance] setSmartGeofenceEventsDelegate:weakSelf];
89
106
  } nativeUnsubscribeLogic:^{
90
107
  [[Sentiance sharedInstance] setSmartGeofenceEventsDelegate:nil];
91
108
  } subscriptionType:SENTSubscriptionTypeSingle];
92
109
 
110
+ [_subscriptionsManager addSupportedSubscriptionForEventType:UserContextUpdateEvent nativeSubscribeLogic:^{
111
+ [Sentiance sharedInstance].criteriaMaskForUserContextUpdates = SENTUserContextUpdateCriteriaAll;
112
+ [[Sentiance sharedInstance] setUserContextDelegate:weakSelf];
113
+ } nativeUnsubscribeLogic:^{
114
+ [[Sentiance sharedInstance] setUserContextDelegate:nil];
115
+ } subscriptionType:SENTSubscriptionTypeSingle];
116
+
93
117
  return self;
94
118
  }
95
119
 
@@ -850,13 +874,13 @@ RCT_EXPORT_METHOD(isThirdPartyLinked:(RCTPromiseResolveBlock)resolve rejecter:(R
850
874
  return [[Sentiance sharedInstance] isUserLinked];
851
875
  }
852
876
 
853
- RCT_EXPORT_METHOD(requestUserContext:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject)
877
+ RCT_EXPORT_METHOD(requestUserContext:(BOOL)includeProvisionalEvents resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject)
854
878
  {
855
879
  REJECT_IF_SDK_NOT_INITIALIZED(reject);
856
880
 
857
881
  __weak typeof(self) weakSelf = self;
858
882
 
859
- [[Sentiance sharedInstance] requestUserContextWithCompletionHandler:^(SENTUserContext * _Nullable userContext, SENTRequestUserContextError * _Nullable error) {
883
+ [[Sentiance sharedInstance] requestUserContextIncludingProvisionalEvents:(BOOL)includeProvisionalEvents completionHandler:^(SENTUserContext * _Nullable userContext, SENTRequestUserContextError * _Nullable error) {
860
884
  if (error) {
861
885
  reject(ESDKRequestUserContextError, [self stringifyUserContextError:error], nil);
862
886
  }
@@ -866,17 +890,6 @@ RCT_EXPORT_METHOD(requestUserContext:(RCTPromiseResolveBlock)resolve rejecter:(R
866
890
  }];
867
891
  }
868
892
 
869
- RCT_EXPORT_METHOD(listenUserContextUpdates:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject)
870
- {
871
- REJECT_IF_SDK_NOT_INITIALIZED(reject);
872
-
873
- [Sentiance sharedInstance].userContextDelegate = self;
874
- [Sentiance sharedInstance].criteriaMaskForUserContextUpdates = SENTUserContextUpdateCriteriaCurrentEvent |
875
- SENTUserContextUpdateCriteriaActiveSegments |
876
- SENTUserContextUpdateCriteriaVisitedVenues;
877
- resolve(nil);
878
- }
879
-
880
893
  RCT_EXPORT_METHOD(setAppSessionDataCollectionEnabled:(BOOL)enabled
881
894
  resolver:(RCTPromiseResolveBlock)resolve
882
895
  rejecter:(RCTPromiseRejectBlock)reject)
@@ -1106,11 +1119,10 @@ RCT_EXPORT_METHOD(getAverageOverallSafetyScore:(NSDictionary *)params resolver:(
1106
1119
  resolve([[Sentiance sharedInstance] objc_averageOverallSafetyScoreWithParams:requestParams]);
1107
1120
  }
1108
1121
 
1109
- RCT_EXPORT_METHOD(addNativeListener:(NSString *)eventName subscriptionId:(NSInteger)subscriptionId resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1122
+ RCT_EXPORT_METHOD(addNativeListener:(NSString *)eventName subscriptionId:(NSInteger)subscriptionId payload:(nullable NSDictionary*)payload resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1110
1123
  REJECT_IF_SDK_NOT_INITIALIZED(reject);
1111
1124
 
1112
1125
  [_subscriptionsManager addSubscriptionForEventType:eventName subscriptionId:subscriptionId];
1113
-
1114
1126
  resolve(nil);
1115
1127
  }
1116
1128
 
@@ -1133,12 +1145,18 @@ RCT_EXPORT_METHOD(getTimelineEvent:(NSString *)eventId resolver:(RCTPromiseResol
1133
1145
  }
1134
1146
  }
1135
1147
 
1136
- RCT_EXPORT_METHOD(getTimelineUpdates:(nonnull NSNumber *)afterEpochTimeMs resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1148
+ RCT_EXPORT_METHOD(getTimelineUpdates:(nonnull NSNumber *)afterEpochTimeMs includeProvisionalEvents:(BOOL)includeProvisionalEvents resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1137
1149
  REJECT_IF_SDK_NOT_INITIALIZED(reject);
1138
1150
 
1139
1151
  NSTimeInterval interval = afterEpochTimeMs.longValue / 1000.0;
1140
1152
  NSDate* date = [NSDate dateWithTimeIntervalSince1970:interval];
1141
- NSArray<SENTTimelineEvent *>* events = [[Sentiance sharedInstance] getTimelineUpdatesAfter:date];
1153
+
1154
+ NSArray<SENTTimelineEvent *>* events;
1155
+ if (includeProvisionalEvents) {
1156
+ events = [[Sentiance sharedInstance] getTimelineUpdatesIncludingProvisionalEventsAfter:date];
1157
+ } else {
1158
+ events = [[Sentiance sharedInstance] getTimelineUpdatesAfter:date];
1159
+ }
1142
1160
 
1143
1161
  NSMutableArray *array = [[NSMutableArray alloc] init];
1144
1162
  for (SENTTimelineEvent* event in events) {
@@ -1148,14 +1166,20 @@ RCT_EXPORT_METHOD(getTimelineUpdates:(nonnull NSNumber *)afterEpochTimeMs resolv
1148
1166
  resolve(array);
1149
1167
  }
1150
1168
 
1151
- RCT_EXPORT_METHOD(getTimelineEvents:(nonnull NSNumber *)fromEpochTimeMs toEpochTimeMs:(nonnull NSNumber *)toEpochTimeMs resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1169
+ RCT_EXPORT_METHOD(getTimelineEvents:(nonnull NSNumber *)fromEpochTimeMs toEpochTimeMs:(nonnull NSNumber *)toEpochTimeMs includeProvisionalEvents:(BOOL)includeProvisionalEvents resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1152
1170
  REJECT_IF_SDK_NOT_INITIALIZED(reject);
1153
1171
 
1154
1172
  NSTimeInterval fromInterval = fromEpochTimeMs.longValue / 1000.0;
1155
1173
  NSDate* fromDate = [NSDate dateWithTimeIntervalSince1970:fromInterval];
1156
1174
  NSTimeInterval toInterval = toEpochTimeMs.longValue / 1000.0;
1157
1175
  NSDate* toDate = [NSDate dateWithTimeIntervalSince1970:toInterval];
1158
- NSArray<SENTTimelineEvent *>* events = [[Sentiance sharedInstance] getTimelineEventsFrom:fromDate to:toDate];
1176
+
1177
+ NSArray<SENTTimelineEvent *>* events;
1178
+ if (includeProvisionalEvents) {
1179
+ events = [[Sentiance sharedInstance] getTimelineEventsIncludingProvisionalOnesFrom:fromDate to:toDate];
1180
+ } else {
1181
+ events = [[Sentiance sharedInstance] getTimelineEventsFrom:fromDate to:toDate];
1182
+ }
1159
1183
 
1160
1184
  NSMutableArray *array = [[NSMutableArray alloc] init];
1161
1185
  for (SENTTimelineEvent* event in events) {
@@ -1230,34 +1254,25 @@ RCT_EXPORT_METHOD(submitOccupantRoleFeedback:(NSString *)transportId
1230
1254
  resolver:(RCTPromiseResolveBlock)resolve
1231
1255
  rejecter:(RCTPromiseRejectBlock)reject) {
1232
1256
  REJECT_IF_SDK_NOT_INITIALIZED(reject);
1233
-
1257
+
1234
1258
  NSNumber *feedbackValue = [self occupantRoleFeedbackFromString:occupantFeedbackRoleString];
1235
1259
  if (!feedbackValue) {
1236
1260
  // This should never happen, as JS validates input before calling native code.
1237
1261
  reject(@"E_SDK_INVALID_FEEDBACK_TYPE", @"Invalid occupant role provided.", nil);
1238
1262
  return;
1239
1263
  }
1240
-
1264
+
1241
1265
  SENTOccupantRoleFeedback occupantRoleFeedback = feedbackValue.integerValue;
1242
1266
  id<SENTFeedback> feedback = [[Sentiance sharedInstance] feedback];
1243
-
1267
+
1244
1268
  if (!feedback) {
1245
1269
  reject(ESDKFeedbackNotAvailableError, @"Feedback service is not available.", nil);
1246
1270
  return;
1247
1271
  }
1248
-
1272
+
1249
1273
  SENTOccupantRoleFeedbackResult result = [feedback submitOccupantRoleFeedbackWithTransportId:transportId feedbackRole:occupantRoleFeedback];
1250
-
1251
- resolve([self convertSENTOccupantRoleFeedbackResultToString:result]);
1252
- }
1253
1274
 
1254
- - (void)didUpdateUserContext:(SENTUserContext *)userContext
1255
- forCriteriaMask:(SENTUserContextUpdateCriteria)criteriaMask {
1256
- NSDictionary *dict = @{
1257
- @"userContext": [self convertUserContextToDict:userContext],
1258
- @"criteria": [self convertUserContextCriteriaToArray:criteriaMask]
1259
- };
1260
- [self sendEventWithName:UserContextUpdateEvent body:dict];
1275
+ resolve([self convertSENTOccupantRoleFeedbackResultToString:result]);
1261
1276
  }
1262
1277
 
1263
1278
  - (BOOL)isNativeInitializationEnabled {
package/lib/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const {NativeModules, NativeEventEmitter} = require("react-native");
2
- const {varToString} = require("./utils");
2
+ const {varToString} = require("./generated/utils");
3
3
  const {SentianceCore} = NativeModules;
4
4
 
5
5
  const SDK_STATUS_UPDATE_EVENT = "SENTIANCE_STATUS_UPDATE_EVENT";
@@ -0,0 +1,7 @@
1
+ export interface NativeModule {
2
+ addListener: (eventType: string) => void;
3
+ removeListeners: (count: number) => void;
4
+ addNativeListener: (eventName: string, subscriptionKey: number, payload?: Map<string, any>) => Promise<void>;
5
+ removeNativeListener: (eventName: string, subscriptionKey: number) => Promise<void>;
6
+ }
7
+ export declare function isValidNativeModule(obj: Partial<NativeModule>): obj is NativeModule;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isValidNativeModule = void 0;
4
+ function isValidNativeModule(obj) {
5
+ return (typeof obj.addListener === "function" &&
6
+ typeof obj.removeListeners === "function" &&
7
+ typeof obj.addNativeListener === "function" &&
8
+ typeof obj.removeNativeListener === "function");
9
+ }
10
+ exports.isValidNativeModule = isValidNativeModule;
@@ -0,0 +1,6 @@
1
+ import { type NativeModule } from "./native-module";
2
+ export default function <T extends NativeModule>(specs: {
3
+ androidName: string;
4
+ isModuleVerified: (obj: Partial<T>) => obj is T;
5
+ iosName?: string;
6
+ }): T | undefined;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_native_1 = require("react-native");
4
+ const defaultNativeIosModuleName = "SentianceCore";
5
+ function default_1(specs) {
6
+ const { androidName, iosName, isModuleVerified } = specs;
7
+ const moduleName = react_native_1.Platform.OS === "android" ? androidName : iosName !== null && iosName !== void 0 ? iosName : defaultNativeIosModuleName;
8
+ const nativeModule = react_native_1.NativeModules[moduleName];
9
+ if (!nativeModule) {
10
+ console.error(`Could not locate the native ${moduleName} module.
11
+ Make sure that your native code is properly linked, and that the module name you specified is correct.`);
12
+ return undefined;
13
+ }
14
+ if (isModuleVerified(nativeModule)) {
15
+ return nativeModule;
16
+ }
17
+ else {
18
+ console.error(`The ${moduleName} module is missing 1 or more required bindings.
19
+ Make sure that your native code is correctly exporting all expected bindings.`);
20
+ return undefined;
21
+ }
22
+ }
23
+ exports.default = default_1;
@@ -0,0 +1,18 @@
1
+ import { type EmitterSubscription, NativeEventEmitter } from "react-native";
2
+ import { type NativeModule } from "./native-module";
3
+ export default class SentianceEventEmitter {
4
+ protected nativeModule: NativeModule;
5
+ protected reactNativeEventEmitter: NativeEventEmitter;
6
+ constructor(nativeModule: NativeModule);
7
+ /**
8
+ * Registers a new listener with the React Native framework, in addition to our own
9
+ * native modules via the `addNativeListener` binding.
10
+ *
11
+ * @param eventName the name of the event for which you are registering a listener
12
+ * @param listener the listener to be registered
13
+ * @param context additional context info related to the listener
14
+ * @returns a promise that resolves to a subscription object which provides a `remove()` function,
15
+ * allowing consumers to remove the associated listener.
16
+ */
17
+ addListener<T>(eventName: string, listener: (...args: T[]) => any, context?: any): Promise<EmitterSubscription>;
18
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const react_native_1 = require("react-native");
16
+ const subscription_id_gen_1 = __importDefault(require("./subscription-id-gen"));
17
+ class SentianceEventEmitter {
18
+ constructor(nativeModule) {
19
+ this.nativeModule = nativeModule;
20
+ this.reactNativeEventEmitter = new react_native_1.NativeEventEmitter(nativeModule);
21
+ }
22
+ /**
23
+ * Registers a new listener with the React Native framework, in addition to our own
24
+ * native modules via the `addNativeListener` binding.
25
+ *
26
+ * @param eventName the name of the event for which you are registering a listener
27
+ * @param listener the listener to be registered
28
+ * @param context additional context info related to the listener
29
+ * @returns a promise that resolves to a subscription object which provides a `remove()` function,
30
+ * allowing consumers to remove the associated listener.
31
+ */
32
+ addListener(eventName, listener, context) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ // Register a new subscription with the React Native framework
35
+ const subscription = this.reactNativeEventEmitter.addListener(eventName, listener, context);
36
+ const rnRemove = subscription.remove.bind(subscription);
37
+ // Upon removing a subscription, we want to notify the RN framework in addition to our own native modules.
38
+ // so we upgrade the behavior of the subscriptions' remove() function
39
+ subscription.key = subscription_id_gen_1.default.next();
40
+ subscription.eventType = eventName;
41
+ subscription.remove = () => {
42
+ rnRemove();
43
+ this.nativeModule.removeNativeListener(eventName, subscription.key);
44
+ };
45
+ yield this.nativeModule.addNativeListener(eventName, subscription.key, context);
46
+ return subscription;
47
+ });
48
+ }
49
+ }
50
+ exports.default = SentianceEventEmitter;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Singleton to generate identifiers for callbacks. These identifiers are provided to
3
+ * our native modules upon registering/unregistering a callback.
4
+ */
5
+ declare class SubscriptionIdGenerator {
6
+ private static instance;
7
+ private id;
8
+ private constructor();
9
+ static getInstance(): SubscriptionIdGenerator;
10
+ next(): number;
11
+ }
12
+ declare const _default: SubscriptionIdGenerator;
13
+ export default _default;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Singleton to generate identifiers for callbacks. These identifiers are provided to
5
+ * our native modules upon registering/unregistering a callback.
6
+ */
7
+ class SubscriptionIdGenerator {
8
+ constructor() {
9
+ this.id = 0;
10
+ // Prevent external instantiation
11
+ }
12
+ static getInstance() {
13
+ if (!SubscriptionIdGenerator.instance) {
14
+ SubscriptionIdGenerator.instance = new SubscriptionIdGenerator();
15
+ }
16
+ return SubscriptionIdGenerator.instance;
17
+ }
18
+ next() {
19
+ return ++this.id;
20
+ }
21
+ }
22
+ exports.default = SubscriptionIdGenerator.getInstance();
@@ -0,0 +1,3 @@
1
+ export declare function varToString(obj: {
2
+ [key: string]: any;
3
+ }): string;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.varToString = void 0;
4
+ function varToString(obj) {
5
+ var _a;
6
+ return (_a = Object.keys(obj)[0]) !== null && _a !== void 0 ? _a : "";
7
+ }
8
+ exports.varToString = varToString;
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es6.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../src/native-module.ts","../../../node_modules/@types/react-native/modules/BatchedBridge.d.ts","../../../node_modules/@types/react-native/modules/Codegen.d.ts","../../../node_modules/@types/react-native/modules/Devtools.d.ts","../../../node_modules/@types/react-native/modules/globals.d.ts","../../../node_modules/@types/react-native/modules/LaunchScreen.d.ts","../../../node_modules/@types/react/ts5.0/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/react/ts5.0/index.d.ts","../../../node_modules/@types/react-native/node_modules/@react-native/virtualized-lists/Lists/VirtualizedList.d.ts","../../../node_modules/@types/react-native/node_modules/@react-native/virtualized-lists/index.d.ts","../../../node_modules/@types/react-native/private/Utilities.d.ts","../../../node_modules/@types/react-native/public/Insets.d.ts","../../../node_modules/@types/react-native/public/ReactNativeTypes.d.ts","../../../node_modules/@types/react-native/Libraries/ReactNative/RendererProxy.d.ts","../../../node_modules/@types/react-native/Libraries/Types/CoreEventTypes.d.ts","../../../node_modules/@types/react-native/public/ReactNativeRenderer.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Touchable/Touchable.d.ts","../../../node_modules/@types/react-native/Libraries/Components/View/ViewAccessibility.d.ts","../../../node_modules/@types/react-native/Libraries/Components/View/ViewPropTypes.d.ts","../../../node_modules/@types/react-native/Libraries/Components/RefreshControl/RefreshControl.d.ts","../../../node_modules/@types/react-native/Libraries/Components/ScrollView/ScrollView.d.ts","../../../node_modules/@types/react-native/Libraries/Components/View/View.d.ts","../../../node_modules/@types/react-native/Libraries/Image/ImageResizeMode.d.ts","../../../node_modules/@types/react-native/Libraries/Image/ImageSource.d.ts","../../../node_modules/@types/react-native/Libraries/Image/Image.d.ts","../../../node_modules/@types/react-native/Libraries/Lists/FlatList.d.ts","../../../node_modules/@types/react-native/Libraries/Lists/SectionList.d.ts","../../../node_modules/@types/react-native/Libraries/Text/Text.d.ts","../../../node_modules/@types/react-native/Libraries/Animated/Animated.d.ts","../../../node_modules/@types/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts","../../../node_modules/@types/react-native/Libraries/StyleSheet/StyleSheet.d.ts","../../../node_modules/@types/react-native/Libraries/StyleSheet/processColor.d.ts","../../../node_modules/@types/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts","../../../node_modules/@types/react-native/Libraries/Alert/Alert.d.ts","../../../node_modules/@types/react-native/Libraries/Animated/Easing.d.ts","../../../node_modules/@types/react-native/Libraries/Animated/useAnimatedValue.d.ts","../../../node_modules/@types/react-native/Libraries/vendor/emitter/EventEmitter.d.ts","../../../node_modules/@types/react-native/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts","../../../node_modules/@types/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts","../../../node_modules/@types/react-native/Libraries/AppState/AppState.d.ts","../../../node_modules/@types/react-native/Libraries/BatchedBridge/NativeModules.d.ts","../../../node_modules/@types/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts","../../../node_modules/@types/react-native/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts","../../../node_modules/@types/react-native/private/TimerMixin.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Touchable/TouchableOpacity.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Button.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Clipboard/Clipboard.d.ts","../../../node_modules/@types/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts","../../../node_modules/@types/react-native/Libraries/EventEmitter/NativeEventEmitter.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Keyboard/Keyboard.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Pressable/Pressable.d.ts","../../../node_modules/@types/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts","../../../node_modules/@types/react-native/Libraries/Components/SafeAreaView/SafeAreaView.d.ts","../../../node_modules/@types/react-native/Libraries/Components/StatusBar/StatusBar.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Switch/Switch.d.ts","../../../node_modules/@types/react-native/Libraries/Components/TextInput/InputAccessoryView.d.ts","../../../node_modules/@types/react-native/Libraries/Components/TextInput/TextInput.d.ts","../../../node_modules/@types/react-native/Libraries/Components/ToastAndroid/ToastAndroid.d.ts","../../../node_modules/@types/react-native/Libraries/Components/Touchable/TouchableHighlight.d.ts","../../../node_modules/@types/react-native/Libraries/DevToolsSettings/DevToolsSettingsManager.d.ts","../../../node_modules/@types/react-native/Libraries/Interaction/InteractionManager.d.ts","../../../node_modules/@types/react-native/Libraries/Interaction/PanResponder.d.ts","../../../node_modules/@types/react-native/Libraries/LayoutAnimation/LayoutAnimation.d.ts","../../../node_modules/@types/react-native/Libraries/Linking/Linking.d.ts","../../../node_modules/@types/react-native/Libraries/LogBox/LogBox.d.ts","../../../node_modules/@types/react-native/Libraries/Modal/Modal.d.ts","../../../node_modules/@types/react-native/Libraries/Performance/Systrace.d.ts","../../../node_modules/@types/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts","../../../node_modules/@types/react-native/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/IPerformanceLogger.d.ts","../../../node_modules/@types/react-native/Libraries/ReactNative/AppRegistry.d.ts","../../../node_modules/@types/react-native/Libraries/ReactNative/I18nManager.d.ts","../../../node_modules/@types/react-native/Libraries/ReactNative/requireNativeComponent.d.ts","../../../node_modules/@types/react-native/Libraries/ReactNative/RootTag.d.ts","../../../node_modules/@types/react-native/Libraries/ReactNative/UIManager.d.ts","../../../node_modules/@types/react-native/Libraries/Settings/Settings.d.ts","../../../node_modules/@types/react-native/Libraries/Share/Share.d.ts","../../../node_modules/@types/react-native/Libraries/StyleSheet/PlatformColorValueTypes.d.ts","../../../node_modules/@types/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts","../../../node_modules/@types/react-native/Libraries/TurboModule/RCTExport.d.ts","../../../node_modules/@types/react-native/Libraries/TurboModule/TurboModuleRegistry.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/Appearance.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/BackHandler.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/DevSettings.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/Dimensions.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/PixelRatio.d.ts","../../../node_modules/@types/react-native/Libraries/Utilities/Platform.d.ts","../../../node_modules/@types/react-native/Libraries/vendor/core/ErrorUtils.d.ts","../../../node_modules/@types/react-native/Libraries/Vibration/Vibration.d.ts","../../../node_modules/@types/react-native/Libraries/YellowBox/YellowBoxDeprecated.d.ts","../../../node_modules/@types/react-native/public/DeprecatedPropertiesAlias.d.ts","../../../node_modules/@types/react-native/index.d.ts","../src/require-native-module.ts","../src/subscription-id-gen.ts","../src/sentiance-event-emitter.ts","../src/utils.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/ts5.6/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/linkify-it/build/index.cjs.d.ts","../../../node_modules/@types/linkify-it/index.d.ts","../../../node_modules/@types/mdurl/build/index.cjs.d.ts","../../../node_modules/@types/mdurl/index.d.ts","../../../node_modules/@types/markdown-it/lib/common/utils.d.ts","../../../node_modules/@types/markdown-it/lib/token.d.ts","../../../node_modules/@types/markdown-it/lib/rules_inline/state_inline.d.ts","../../../node_modules/@types/markdown-it/lib/helpers/parse_link_label.d.ts","../../../node_modules/@types/markdown-it/lib/helpers/parse_link_destination.d.ts","../../../node_modules/@types/markdown-it/lib/helpers/parse_link_title.d.ts","../../../node_modules/@types/markdown-it/lib/helpers/index.d.ts","../../../node_modules/@types/markdown-it/lib/ruler.d.ts","../../../node_modules/@types/markdown-it/lib/rules_block/state_block.d.ts","../../../node_modules/@types/markdown-it/lib/parser_block.d.ts","../../../node_modules/@types/markdown-it/lib/rules_core/state_core.d.ts","../../../node_modules/@types/markdown-it/lib/parser_core.d.ts","../../../node_modules/@types/markdown-it/lib/parser_inline.d.ts","../../../node_modules/@types/markdown-it/lib/renderer.d.ts","../../../node_modules/@types/markdown-it/lib/index.d.ts","../../../node_modules/@types/markdown-it/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"43f0a4ae1d60f8aaad80d87a9191690ded97713c80fc4f04697097366ad44797","signature":"6bf5bb4e4058f73eb92fc119e018382746f20901b75197986f6e24f6b9ecbf6d"},{"version":"c60f4f6cb8949ec208168c0baf7be477a3c664f058659ff6139070dc512c2d87","affectsGlobalScope":true},"e416b94d8a6c869ef30cc3d02404ae9fdd2dfac7fea69ee92008eba42af0d9e2","86731885eee74239467f62abe70a2fc791f2e5afd74dda95fef878fd293c5627",{"version":"e589be628ce7f4c426c5e1f2714def97a801af5d30e744578421fc180a6ee0b4","affectsGlobalScope":true},"d08cd8b8a3615844c40641ad0eda689be45467c06c4c20d2fc9d0fcf3c96ae3f",{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","42111e264e15a58bdfbfb06a472cb4861875062ff893983ee77b719927e46a20","46bc25e3501d321a70d0878e82a1d47b16ab77bdf017c8fecc76343f50806a0d","42bacb33cddecbcfe3e043ee1117ba848801749e44f947626765b3e0aec74b1c","34e161d6a8dc3ce4afcb63611f5feab4da158d419802cea10c1af43630385a17","7e9c2527af5b6feefefca328de85caf3cc39306754ea68be192ba6d90239d050","f8cadf711d9670cb9deb4ad714faf520a98a6d42c38b88f75fdd55f01d3567f6","b7f6e556fb46eccf736a7ab9a19495d6b0a56abd3a2f74e992edc2b0322bf177","5bb66fd6ca6e3d19d2aa19242e1065703f24b9fb83b1153bd9d4425fb60639e8","8e214d0471532c7a1650209948397e90696d41b72985794d31f96eeda0295c23","449d3856698d518d93760ed96c0c3bdb3fb5813bf427477c090fa01febd7adad","e2411d8114f390edcfe8626676953f094e6dbde8563b6feb95f6449787d24924","f9cd4e7b1f4806cba50a786e326536628745beb147d564dbaf3794dad39c1ebf","47ae2b10e24222e90475ece227f99ef785b5c4fa23800705fa929279a2f6247e","d151fe965fafee1cc2da99071925784402137d646e8296a2019003a0ffd54d4c","7353e1468d826c5f0bb52c5e5b01b273a99b698fd587519b4415b2e85c68231e","a18f805e2e60e08e82072b4216af4843f70764be38c81d89bbbbe3cecc1e8283","d340aed4ea2ad4968e3ea53b97ae3419ac009b45d10612550a13a60b02f9fd7a","91986f599aa6c84df8821fcd6af5127009e8cdb3a94c318269620af0b9a6787f","1704c3d1b6b2ba01df7da6e8fec759d989f7d35a059ebd874100d275bb9d8f9f","be12f69f266043d3abdf578f7953821d09d3f7d978fb65fe233e641b1743b219","879cbcc40f2221c23bf88bcccc431d1074d335835d66b0576f4b6778765647b3","5d3c6c58f8e26a262ce0aa5fe6ae5ebdaf759d2badff67981835c09fe4996692","3c85c8e17e1cbdda03dd23e7a48b1b7b8ce3703c99a6c136055cfbeac825ba51","3eb8adc003309a012f8dc4048590cf445d2035ad080877ccea33b94a41c020fc","51acaa16c2d97faa0f2aa71d548fcaa470563a34004220721c48c82bd359c802","aa8af960007a6e8e66cef9bb5687184a174bf1471a02ca563e81e874db92adca","4febf5eece243b290804c2479efdc7489a9c7da5168dd25b81c2d048061147dc","ac731853919f198a8248f018170281be31bb3d47d19add2bbdb2a99d9a3c6ce0","c874a28b997527532a389450f235b73b6a78111812aeb0d1988756ec35924aa9","56896eb0ef40f6f87ac2900943294a03aa0992613f26acd9ab434cd7eaed48f8","968a93119624ba53dfef612fd91d9c14a45cd58eabdbaf702d0dff88a335a39d","e2ae49c364a6486435d912b1523881df15e523879b70d1794a3ec66dbd441d24","dcbf123191b66f1d6444da48765af1c38a25f4f38f38ace6c470c10481237808","2aeee6c0d858c0d6ccb8983f1c737080914ef97098e7c0f62c5ad1c131a5c181","86fdf0be5d1ba2b40d8663732f4b50ece796271487e43aeb02d753537b5fb9e3","92ae3fae8c628602733f84ad38ea28e5ca1b88435c4888926049babfceb05eaa","9c9eb1fb15538761eb77582392025f73d467088d83f08918dc22cd2e4b08f5d8","d7ff2406f3ee2db99c81d60caa1f45ae0d25f9682b91b075f3fc385ea37f5ccf","194d4cfbb09b9243ef4e629b3903ffb120eb9decbb0e370522b9d0963427b9b2","5b3453a2fd9d42475d8e96afa8a2615335702ca47e97f2c1281d085363c23135","6e2924741947efb1bd2a035026362bda08ddfd0de5186a0143cd952e51fbdbfe","32cd0f92f95f8ffeb1b3164f9b5e55bfcf81f785b9a2efb069fffe9103ce45b3","928a713110d4c7747311abe3faec06e1533c84fff413042a1c16eeae33ff9b1f","5c6b58b5e6861925ede774d6008945a71b7a5e05ebce154ea227993deecae1b9","16c316d1d0f836906da5cdc0cdc5035fe70f5035e6ba388db7fc92434b46f6c2","d111f863605d08968d75e87b192d81497f32dc9243230d35e8fc91ef4bf5dd6e","77812250e493c216c7a3136af947b82422d28425fa787793c999c1e900c7eb7c","6b39e28ec07e1bb54dd61e56cc3378f01c00f8c5a6c8ecb3436b9d643e205fcc","45bae1787c8ab6751b4ad6917e962ea713d8a92800bdaf77c52b402664767a47","f3af1bf305be5c7e917445cc1b44e01f3e405738ffae0795dfba501d8cca78ff","dc23e5ed9434661953d1ebd5e45367c6869fb4099cf95a5876feb4933c30cf0a","6ae1bbe9f4f35aad46a0009e7316c687f305d7a06065a1c0b37a8c95907c654a","a642996bc1867da34cb5b964e1c67ecdd3ad4b67270099afddfc51f0dffa6d1e","b8bdcd9f6e141e7a83be2db791b1f7fdec2a82ebc777a4ea0eee16afe835104f","f1f6c56a5d7f222c9811af75daa4509240d452e3655a504238dff5c00a60b0ed","7cb2dc123938d5eab79b9438e52a3af30b53e9d9b6960500a29b5a05088da29d","6749bbaf081b3b746fe28822b9931ba4aa848c709d85b919c7c676f22b89f4b7","6434b1b1e6334a910870b588e86dba714e0387c7b7db3c72f181411e0c528d8d","73d0ac4dcc35f6cc9d4b2246f3c1207682308d091b825de7ebba0b34989a0f21","c0a9bfebf2f46729fa5d6e35b7da397503dc6f795f8e563f6c28da714a94364a","c5aa1bba9f9d33125be559fbd8126ee469578c3195c49e3f57cb7d0e6f335d97","cf4988e1b4d8e59be5b38b7cbc2a1fb2443488e31da5d2fb323a920a9b063120","3110cf24ef097769886e9ac467c64a64a27fb807efe73bcaf22438f16861ad0e","50a2508d3e8146af4409942cdc84de092d529f6852847730fbf4c411da1ce06f","90670dfd6c6ad8219cb1bf9cbf471aa72c68facd0fa819155ddfc997cac8cf01","63ea1464aa98814c5b75bf323f6b0ad68ea57d03d2fd3ba6d12d2b4a1f848fbe","b76d3075a567b6a3304bf0259b59a0d614ff6edc05a0992a137abe0a10734f0c","7c5ec23ed294cdceca69c9b9095f80add12194758790000d86cdc0f658188763","44f969cf15c54dbe25413bddab692f10e703f8513ee258e2c2a6aa6d706e30a4","22e970f02dfc320ada893b2d55cb0b13bc3ffbcc6b9114f146df63572bd24221","49eca32fc2c9d904ae7ab72dd729d098b6d60c50d615012a269949524f6d138e","734daa2c20c7c750bd1c1c957cf7b888e818b35d90bc22d1c2658b5a7d73c5a5","a67c6cf76fe060eceaa67930702a6be9bf2f4bb6704d886e5dd672b941ddcf75","6b17aa711c783dbaed09b7a81c14ff88a8a4965e48470a4d5865fb78a9eda740","5b6c400ab30de6d9cee8902d7b57487beecb0a4a2c723a83124e352c4c4ffa62","3fe33d2a424334cf185fb25808d2d058566b5d287fcd725193c327644dbe44de","3745facc6bd1c046cdb2b44232d5a5a1614ba4d2f5719a6f2ec23c2fe69325f5","9384bb3f571c8b3d2deb35f65c51a7fa4f78a5cfd5aa5870bff9d9563699f1b7","35242b153278780741db7a6782ffb4924a0c4d727b1fd398e88da0e8ce24c278","cf6e35062b71c8c66ccf778e04615b33bcb2227109865d8dfb8c9dce4435786b","971eeb13d51b8381bef11e17892b0a56863598d01504b2f055f1387865a4cdea","da7f8e26f473c0f59823b6ca54d6b66c545963273e46fcc7e80a87c2440d6963","a6141414bc469fdca2a19e8040e3d09d41f9dada8196e83b3ca8dbd8c8b3f176","fe494d4c9807d72e94acdad7550411fa6b8b4c5d9f1dff514770147ce4ec47b0","27b83e83398ae288481db6d543dea1a971d0940cd0e3f85fc931a8d337c8706c","f1fe1773529c71e0998d93aef2d5fca1a7af4a7ba2628920e7e03313497e6709","097a706b8b014ea5f2cdd4e6317d1df03fbfbd4841b543e672211627436d0377",{"version":"1c0b0a09c2944a208ae256e3419a69414813eb84d0c41d558f95fed76284b6b3","affectsGlobalScope":true},{"version":"54ff21aa6571d7673ef7fe332dbe679e6c014d8c9b06480e64832d3f24c73ed0","signature":"da7fce67bb73e95ddd3ee098927ae87461214c7887e52e4106f4bdc1ebda8b3d"},{"version":"1a9ab60425a2a423261aff57fd6f9637bc49426a828fd8fc65178f078dfb16ca","signature":"5b55af61ae51195a2cd3115b7f4f92454ac3f77d70c67971ff425955d45d314f"},{"version":"6be5aea98e486c225f9bb9ca2e3b9ebecbb73691d87720dc8cc1bfbd4a4ef63f","signature":"6162281998e272461436ab12e212746d646a13f841782c1cd40f668ffa3f9cb4"},{"version":"47b6642018de635976ae0f3db9b023df631dfee6bec0885883f3c64e18973430","signature":"ea0c10e5b06f5f4fa88ef37613e36e90fff03ec040660caf7873dc326acd9269"},"8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050","1c2cd862994b1fbed3cde0d1e8de47835ff112d197a3debfddf7b2ee3b2c52bc","670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","9e0cf651e8e2c5b9bebbabdff2f7c6f8cedd91b1d9afcc0a854cdff053a88f1b","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"2d1319e6b5d0efd8c5eae07eb864a00102151e8b9afddd2d45db52e9aae002c4","affectsGlobalScope":true},"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true},"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0",{"version":"53eac70430b30089a3a1959d8306b0f9cfaf0de75224b68ef25243e0b5ad1ca3","affectsGlobalScope":true},"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7",{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"86956cc2eb9dd371d6fab493d326a574afedebf76eef3fa7833b8e0d9b52d6f1","affectsGlobalScope":true},"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true},"1ff5a53a58e756d2661b73ba60ffe274231a4432d21f7a2d0d9e4f6aa99f4283","1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","2ea254f944dfe131df1264d1fb96e4b1f7d110195b21f1f5dbb68fdd394e5518","5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6",{"version":"b11cb909327c874a4e81bfb390bf0d231e5bf9439052689ab80ba8afa50da17b","affectsGlobalScope":true},"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0",{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true},"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","f7b1df115dbd1b8522cba4f404a9f4fdcd5169e2137129187ffeee9d287e4fd1","b52d379b4939681f3781d1cfd5b2c3cbb35e7e76f2425172e165782f8a08228c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633",{"version":"745c4240220559bd340c8aeb6e3c5270a709d3565e934dc22a69c304703956bc","affectsGlobalScope":true},"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada",{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true},"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4",{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true},"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a",{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true},"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","171fd8807643c46a9d17e843959abdf10480d57d60d38d061fb44a4c8d4a8cc4","afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","742f21debb3937c3839a63245648238555bdab1ea095d43fd10c88a64029bf76","7cfdf3b9a5ba934a058bfc9390c074104dc7223b7e3c16fd5335206d789bc3d3","0944f27ebff4b20646b71e7e3faaaae50a6debd40bc63e225de1320dd15c5795","5d30565583300c9256072a013ac0318cc603ff769b4c5cafc222394ea93963e1","0f9e381eecc5860f693c31fe463b3ca20a64ca9b8db0cf6208cd4a053f064809","95902d5561c6aac5dfc40568a12b0aca324037749dcd32a81f23423bfde69bab","5dfb2aca4136abdc5a2740f14be8134a6e6b66fd53470bb2e954e40f8abfaf3e","577463167dd69bd81f76697dfc3f7b22b77a6152f60a602a9218e52e3183ad67","b8396e9024d554b611cbe31a024b176ba7116063d19354b5a02dccd8f0118989","4b28e1c5bf88d891e07a1403358b81a51b3ba2eae1ffada51cca7476b5ac6407","7150ad575d28bf98fae321a1c0f10ad17b127927811f488ded6ff1d88d4244e5","8b155c4757d197969553de3762c8d23d5866710301de41e1b66b97c9ed867003","93733466609dd8bf72eace502a24ca7574bd073d934216e628f1b615c8d3cb3c","45e9228761aabcadb79c82fb3008523db334491525bdb8e74e0f26eaf7a4f7f4","aeacac2778c9821512b6b889da79ac31606a863610c8f28da1e483579627bf90","569fdb354062fc098a6a3ba93a029edf22d6fe480cf72b231b3c07832b2e7c97","bf9876e62fb7f4237deafab8c7444770ef6e82b4cad2d5dc768664ff340feeb2","6cf60e76d37faf0fbc2f80a873eab0fd545f6b1bf300e7f0823f956ddb3083e9","6adaa6103086f931e3eee20f0987e86e8879e9d13aa6bd6075ccfc58b9c5681c","ee0af0f2b8d3b4d0baf669f2ff6fcef4a8816a473c894cc7c905029f7505fed0","6d09838b65c3c780513878793fc394ae29b8595d9e4729246d14ce69abc71140","202f8582ee3cd89e06c4a17d8aabb925ff8550370559c771d1cc3ec3934071c2","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","26a770cec4bd2e7dbba95c6e536390fffe83c6268b78974a93727903b515c4e7"],"options":{"composite":true,"declaration":true,"declarationDir":"./generated","esModuleInterop":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedParameters":true,"outDir":"./generated","rootDir":"../src","skipLibCheck":true,"strict":true,"target":2},"fileIdsList":[[146,159,201],[159,201],[146,147,148,149,150,159,201],[146,148,159,201],[152,159,201],[159,201,214,251],[159,201,253],[159,201,254],[159,201,257],[159,201,275],[159,201,260],[159,201,264,265,266],[159,201,263],[159,201,265],[159,201,258,261,262,267,270,272,273,274],[159,201,262,268,269,275],[159,201,268,271],[159,201,262,263,268,275],[159,201,262,275],[159,201,277],[159,201,259],[159,198,201],[159,200,201],[159,201,206,236],[159,201,202,207,213,214,221,233,244],[159,201,202,203,213,221],[154,155,156,159,201],[159,201,204,245],[159,201,205,206,214,222],[159,201,206,233,241],[159,201,207,209,213,221],[159,200,201,208],[159,201,209,210],[159,201,213],[159,201,211,213],[159,200,201,213],[159,201,213,214,215,233,244],[159,201,213,214,215,228,233,236],[159,196,201,249],[159,196,201,209,213,216,221,233,244],[159,201,213,214,216,217,221,233,241,244],[159,201,216,218,233,241,244],[159,201,213,219],[159,201,220,244],[159,201,209,213,221,233],[159,201,222],[159,201,223],[159,200,201,224],[159,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250],[159,201,226],[159,201,227],[159,201,213,228,229],[159,201,228,230,245,247],[159,201,213,233,234,235,236],[159,201,233,235],[159,201,233,234],[159,201,236],[159,201,237],[159,198,201,233],[159,201,213,239,240],[159,201,239,240],[159,201,206,221,233,241],[159,201,242],[201],[157,158,159,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250],[159,201,221,243],[159,201,216,227,244],[159,201,206,245],[159,201,233,246],[159,201,220,247],[159,201,248],[159,201,206,213,215,224,233,244,247,249],[159,201,233,250],[77,78,159,201],[54,61,67,68,71,72,73,74,77,159,201],[75,159,201],[85,159,201],[54,59,83,159,201],[54,57,59,61,65,76,77,159,201],[54,77,92,93,159,201],[54,57,59,61,65,77,159,201],[83,97,159,201],[54,57,65,76,77,90,159,201],[54,58,61,64,65,68,76,77,159,201],[54,57,59,65,77,159,201],[54,57,59,65,159,201],[54,57,58,61,63,65,66,76,77,159,201],[54,77,159,201],[54,76,77,159,201],[54,57,59,61,64,65,76,77,83,90,159,201],[54,58,61,159,201],[54,57,59,63,76,77,90,91,159,201],[54,57,63,77,91,92,159,201],[54,57,59,63,65,90,91,159,201],[54,57,58,61,63,64,76,77,90,159,201],[61,159,201],[54,58,61,62,63,64,76,77,159,201],[83,159,201],[84,159,201],[54,57,58,59,61,64,69,70,76,77,159,201],[61,62,159,201],[54,56,67,68,76,77,159,201],[54,56,60,67,76,77,159,201],[54,61,65,159,201],[54,119,159,201],[54,159,201],[54,59,159,201],[59,159,201],[77,159,201],[76,159,201],[69,75,77,159,201],[54,57,59,61,64,76,77,159,201],[129,159,201],[54,59,60,159,201],[97,159,201],[47,48,49,50,51,56,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,159,201],[141,159,201],[49,159,201],[54,141,159,201],[55,159,201],[52,53,159,201],[159,201,279,318],[159,201,279,303,318],[159,201,318],[159,201,279],[159,201,279,304,318],[159,201,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317],[159,201,304,318],[159,201,320],[159,168,172,201,244],[159,168,201,233,244],[159,163,201],[159,165,168,201,241,244],[159,201,221,241],[159,201,251],[159,163,201,251],[159,165,168,201,221,244],[159,160,161,164,167,201,213,233,244],[159,168,175,201],[159,160,166,201],[159,168,189,190,201],[159,164,168,201,236,244,251],[159,189,201,251],[159,162,163,201,251],[159,168,201],[159,162,163,164,165,166,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,201],[159,168,183,201],[159,168,175,176,201],[159,166,168,176,177,201],[159,167,201],[159,160,163,168,201],[159,168,172,176,177,201],[159,172,201],[159,166,168,171,201,244],[159,160,165,168,175,201],[159,201,233],[159,163,168,189,201,249,251],[46,141,159,201],[46,141,143,159,201],[46],[46,141]],"referencedMap":[[148,1],[146,2],[151,3],[147,1],[149,4],[150,1],[153,5],[252,6],[253,2],[254,7],[255,8],[256,2],[257,2],[258,9],[276,10],[261,11],[267,12],[265,2],[264,13],[266,14],[275,15],[270,16],[272,17],[273,18],[274,19],[268,2],[269,19],[271,19],[263,19],[262,2],[278,20],[259,2],[260,21],[152,2],[198,22],[199,22],[200,23],[201,24],[202,25],[203,26],[154,2],[157,27],[155,2],[156,2],[204,28],[205,29],[206,30],[207,31],[208,32],[209,33],[210,33],[212,34],[211,35],[213,36],[214,37],[215,38],[197,39],[216,40],[217,41],[218,42],[219,43],[220,44],[221,45],[222,46],[223,47],[224,48],[225,49],[226,50],[227,51],[228,52],[229,52],[230,53],[231,2],[232,2],[233,54],[235,55],[234,56],[236,57],[237,58],[238,59],[239,60],[240,61],[241,62],[242,63],[159,64],[158,2],[251,65],[243,66],[244,67],[245,68],[246,69],[247,70],[248,71],[249,72],[250,73],[79,74],[80,2],[75,75],[81,2],[82,76],[86,77],[87,2],[88,78],[89,79],[94,80],[95,2],[96,81],[98,82],[99,83],[100,84],[101,85],[66,85],[102,86],[67,87],[103,88],[104,79],[105,89],[106,90],[107,2],[63,91],[108,92],[93,93],[92,94],[91,95],[68,86],[64,96],[65,97],[109,2],[97,98],[84,98],[85,99],[71,100],[69,2],[70,2],[110,98],[111,101],[112,2],[113,82],[72,102],[73,103],[114,2],[115,104],[116,2],[117,2],[118,2],[120,105],[121,2],[60,106],[123,106],[124,107],[122,108],[125,2],[126,109],[127,109],[128,109],[77,110],[76,111],[78,109],[74,112],[129,2],[130,113],[61,114],[131,77],[132,77],[133,115],[134,98],[119,2],[135,2],[136,2],[138,2],[139,106],[137,2],[83,2],[141,116],[47,2],[48,117],[49,118],[51,2],[50,2],[55,119],[56,120],[90,2],[57,2],[140,117],[58,2],[62,96],[59,106],[52,2],[54,121],[303,122],[304,123],[279,124],[282,124],[301,122],[302,122],[292,122],[291,125],[289,122],[284,122],[297,122],[295,122],[299,122],[283,122],[296,122],[300,122],[285,122],[286,122],[298,122],[280,122],[287,122],[288,122],[290,122],[294,122],[305,126],[293,122],[281,122],[318,127],[317,2],[312,126],[314,128],[313,126],[306,126],[307,126],[309,126],[311,126],[315,128],[316,128],[308,128],[310,128],[319,2],[277,2],[320,2],[321,129],[53,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[37,2],[34,2],[35,2],[36,2],[38,2],[8,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[2,2],[1,2],[12,2],[11,2],[175,130],[185,131],[174,130],[195,132],[166,133],[165,134],[194,135],[188,136],[193,137],[168,138],[182,139],[167,140],[191,141],[163,142],[162,135],[192,143],[164,144],[169,145],[170,2],[173,145],[160,2],[196,146],[186,147],[177,148],[178,149],[180,150],[176,151],[179,152],[189,135],[171,153],[172,154],[181,155],[161,156],[184,147],[183,145],[187,2],[190,157],[46,2],[142,158],[144,159],[143,2],[145,2]],"exportedModulesMap":[[148,1],[146,2],[151,3],[147,1],[149,4],[150,1],[153,5],[252,6],[253,2],[254,7],[255,8],[256,2],[257,2],[258,9],[276,10],[261,11],[267,12],[265,2],[264,13],[266,14],[275,15],[270,16],[272,17],[273,18],[274,19],[268,2],[269,19],[271,19],[263,19],[262,2],[278,20],[259,2],[260,21],[152,2],[198,22],[199,22],[200,23],[201,24],[202,25],[203,26],[154,2],[157,27],[155,2],[156,2],[204,28],[205,29],[206,30],[207,31],[208,32],[209,33],[210,33],[212,34],[211,35],[213,36],[214,37],[215,38],[197,39],[216,40],[217,41],[218,42],[219,43],[220,44],[221,45],[222,46],[223,47],[224,48],[225,49],[226,50],[227,51],[228,52],[229,52],[230,53],[231,2],[232,2],[233,54],[235,55],[234,56],[236,57],[237,58],[238,59],[239,60],[240,61],[241,62],[242,63],[159,64],[158,2],[251,65],[243,66],[244,67],[245,68],[246,69],[247,70],[248,71],[249,72],[250,73],[79,74],[80,2],[75,75],[81,2],[82,76],[86,77],[87,2],[88,78],[89,79],[94,80],[95,2],[96,81],[98,82],[99,83],[100,84],[101,85],[66,85],[102,86],[67,87],[103,88],[104,79],[105,89],[106,90],[107,2],[63,91],[108,92],[93,93],[92,94],[91,95],[68,86],[64,96],[65,97],[109,2],[97,98],[84,98],[85,99],[71,100],[69,2],[70,2],[110,98],[111,101],[112,2],[113,82],[72,102],[73,103],[114,2],[115,104],[116,2],[117,2],[118,2],[120,105],[121,2],[60,106],[123,106],[124,107],[122,108],[125,2],[126,109],[127,109],[128,109],[77,110],[76,111],[78,109],[74,112],[129,2],[130,113],[61,114],[131,77],[132,77],[133,115],[134,98],[119,2],[135,2],[136,2],[138,2],[139,106],[137,2],[83,2],[141,116],[47,2],[48,117],[49,118],[51,2],[50,2],[55,119],[56,120],[90,2],[57,2],[140,117],[58,2],[62,96],[59,106],[52,2],[54,121],[303,122],[304,123],[279,124],[282,124],[301,122],[302,122],[292,122],[291,125],[289,122],[284,122],[297,122],[295,122],[299,122],[283,122],[296,122],[300,122],[285,122],[286,122],[298,122],[280,122],[287,122],[288,122],[290,122],[294,122],[305,126],[293,122],[281,122],[318,127],[317,2],[312,126],[314,128],[313,126],[306,126],[307,126],[309,126],[311,126],[315,128],[316,128],[308,128],[310,128],[319,2],[277,2],[320,2],[321,129],[53,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[37,2],[34,2],[35,2],[36,2],[38,2],[8,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[2,2],[1,2],[12,2],[11,2],[175,130],[185,131],[174,130],[195,132],[166,133],[165,134],[194,135],[188,136],[193,137],[168,138],[182,139],[167,140],[191,141],[163,142],[162,135],[192,143],[164,144],[169,145],[170,2],[173,145],[160,2],[196,146],[186,147],[177,148],[178,149],[180,150],[176,151],[179,152],[189,135],[171,153],[172,154],[181,155],[161,156],[184,147],[183,145],[187,2],[190,157],[142,160],[144,161]],"semanticDiagnosticsPerFile":[148,146,151,147,149,150,153,252,253,254,255,256,257,258,276,261,267,265,264,266,275,270,272,273,274,268,269,271,263,262,278,259,260,152,198,199,200,201,202,203,154,157,155,156,204,205,206,207,208,209,210,212,211,213,214,215,197,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,235,234,236,237,238,239,240,241,242,159,158,251,243,244,245,246,247,248,249,250,79,80,75,81,82,86,87,88,89,94,95,96,98,99,100,101,66,102,67,103,104,105,106,107,63,108,93,92,91,68,64,65,109,97,84,85,71,69,70,110,111,112,113,72,73,114,115,116,117,118,120,121,60,123,124,122,125,126,127,128,77,76,78,74,129,130,61,131,132,133,134,119,135,136,138,139,137,83,141,47,48,49,51,50,55,56,90,57,140,58,62,59,52,54,303,304,279,282,301,302,292,291,289,284,297,295,299,283,296,300,285,286,298,280,287,288,290,294,305,293,281,318,317,312,314,313,306,307,309,311,315,316,308,310,319,277,320,321,53,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,37,34,35,36,38,8,39,44,45,40,41,42,43,2,1,12,11,175,185,174,195,166,165,194,188,193,168,182,167,191,163,162,192,164,169,170,173,160,196,186,177,178,180,176,179,189,171,172,181,161,184,183,187,190,46,142,144,143,145],"latestChangedDtsFile":"./generated/utils.d.ts"},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/core",
3
- "version": "6.11.0-rc.1",
3
+ "version": "6.11.0",
4
4
  "description": "The Sentiance Core library",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -29,10 +29,10 @@
29
29
  "targetSdk": 34,
30
30
  "compileSdk": 34,
31
31
  "buildTools": "34.0.0",
32
- "sentiance": "6.11.0-rc1"
32
+ "sentiance": "6.11.+"
33
33
  },
34
34
  "ios": {
35
- "sentiance": "6.11.0-rc1"
35
+ "sentiance": "~> 6.11.0"
36
36
  }
37
37
  }
38
38
  }
@@ -1,68 +0,0 @@
1
- import {EmitterSubscription, NativeEventEmitter, Platform} from "react-native";
2
-
3
- class SentianceEventEmitter extends NativeEventEmitter {
4
-
5
- constructor(nativeModule) {
6
- super(nativeModule);
7
-
8
- const bindings = this.requireNativeBindings(nativeModule);
9
- this._addNativeListener = bindings.addNativeListener;
10
- this._removeNativeListener = bindings.removeNativeListener;
11
- this._subscriptionsMap = {};
12
- }
13
-
14
- requireNativeBindings(nativeModule) {
15
- if (!nativeModule) {
16
- throw new Error('Native module cannot have a null value.');
17
- }
18
-
19
- const hasAddListener = typeof nativeModule.addNativeListener === 'function';
20
- const hasRemoveListener = typeof nativeModule.removeNativeListener === 'function';
21
-
22
- if (!hasAddListener) {
23
- throw new Error('Native module does not expose an addNativeListener function');
24
- }
25
- if (!hasRemoveListener) {
26
- throw new Error('Native module does not expose a removeNativeListener function');
27
- }
28
-
29
- return {
30
- addNativeListener: nativeModule.addNativeListener,
31
- removeNativeListener: nativeModule.removeNativeListener
32
- };
33
- }
34
-
35
- async addListener(eventType, listener, context): EmitterSubscription {
36
- if (!this._subscriptionsMap[eventType]) {
37
- this._subscriptionsMap[eventType] = [];
38
- }
39
- const subscriptionsForType = this._subscriptionsMap[eventType];
40
- const key = subscriptionsForType.length;
41
- const subscription = super.addListener(eventType, listener, context);
42
- subscription.key = key;
43
- subscriptionsForType.push(subscription);
44
- await this._addNativeListener(eventType, key);
45
- return subscription;
46
- }
47
-
48
- async clearSubscription(eventType, subscription) {
49
- const key = subscription.key;
50
- const subscriptionsForType = this._subscriptionsMap[eventType];
51
- if (subscriptionsForType) {
52
- const targetSubIndex = subscriptionsForType.findIndex(sub => sub.key === key);
53
- if (targetSubIndex !== -1) {
54
- subscriptionsForType.splice(targetSubIndex, 1);
55
- }
56
- }
57
- if (super.removeSubscription != null) {
58
- super.removeSubscription(subscription);
59
- } else {
60
- // RN 0.65+ no longer provides a removeSubscription function
61
- subscription.remove();
62
- }
63
- await this._removeNativeListener(eventType, subscription.key);
64
- }
65
- }
66
-
67
- module.exports = SentianceEventEmitter;
68
-
@@ -1,11 +0,0 @@
1
- exports.createEventListener = async (eventName, emitter, callback) => {
2
- const listener = (data) => {
3
- callback(data);
4
- };
5
- const subscription = await emitter.addListener(eventName, listener);
6
- return {
7
- key: subscription.key,
8
- eventName,
9
- remove: () => emitter.clearSubscription(eventName, subscription)
10
- };
11
- };
package/lib/utils.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports.varToString = function (varObj) {
2
- return Object.keys(varObj)[0];
3
- }