diff --git a/Frameworks/BVLinearGradient.xcframework/Info.plist b/Frameworks/BVLinearGradient.xcframework/Info.plist index d59a1d5..74c0409 100644 --- a/Frameworks/BVLinearGradient.xcframework/Info.plist +++ b/Frameworks/BVLinearGradient.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libBVLinearGradient.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libBVLinearGradient.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libBVLinearGradient.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libBVLinearGradient.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libBVLinearGradient.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a b/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a index 00b993c..8d000ba 100644 Binary files a/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a and b/Frameworks/BVLinearGradient.xcframework/ios-arm64/libBVLinearGradient.a differ diff --git a/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a b/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a index 5aea5b3..70f5110 100644 Binary files a/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a and b/Frameworks/BVLinearGradient.xcframework/ios-arm64_x86_64-simulator/libBVLinearGradient.a differ diff --git a/Frameworks/DoubleConversion.xcframework/Info.plist b/Frameworks/DoubleConversion.xcframework/Info.plist index e682d29..69b1ae2 100644 --- a/Frameworks/DoubleConversion.xcframework/Info.plist +++ b/Frameworks/DoubleConversion.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libDoubleConversion.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libDoubleConversion.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libDoubleConversion.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libDoubleConversion.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libDoubleConversion.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a b/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a index 488f294..194d565 100644 Binary files a/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a and b/Frameworks/DoubleConversion.xcframework/ios-arm64/libDoubleConversion.a differ diff --git a/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a b/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a index 988bee9..e5ddcf5 100644 Binary files a/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a and b/Frameworks/DoubleConversion.xcframework/ios-arm64_x86_64-simulator/libDoubleConversion.a differ diff --git a/Frameworks/DynamicFonts.xcframework/Info.plist b/Frameworks/DynamicFonts.xcframework/Info.plist index 96aff49..02c73bf 100644 --- a/Frameworks/DynamicFonts.xcframework/Info.plist +++ b/Frameworks/DynamicFonts.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libDynamicFonts.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libDynamicFonts.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libDynamicFonts.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libDynamicFonts.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libDynamicFonts.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a b/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a index 0715f02..2182ffb 100644 Binary files a/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a and b/Frameworks/DynamicFonts.xcframework/ios-arm64/libDynamicFonts.a differ diff --git a/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a b/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a index ba33bc0..e717854 100644 Binary files a/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a and b/Frameworks/DynamicFonts.xcframework/ios-arm64_x86_64-simulator/libDynamicFonts.a differ diff --git a/Frameworks/FBReactNativeSpec.xcframework/ios-arm64/libFBReactNativeSpec.a b/Frameworks/FBReactNativeSpec.xcframework/ios-arm64/libFBReactNativeSpec.a index 543f91f..2faba13 100644 Binary files a/Frameworks/FBReactNativeSpec.xcframework/ios-arm64/libFBReactNativeSpec.a and b/Frameworks/FBReactNativeSpec.xcframework/ios-arm64/libFBReactNativeSpec.a differ diff --git a/Frameworks/FBReactNativeSpec.xcframework/ios-arm64_x86_64-simulator/libFBReactNativeSpec.a b/Frameworks/FBReactNativeSpec.xcframework/ios-arm64_x86_64-simulator/libFBReactNativeSpec.a index 98d286a..fdac8c0 100644 Binary files a/Frameworks/FBReactNativeSpec.xcframework/ios-arm64_x86_64-simulator/libFBReactNativeSpec.a and b/Frameworks/FBReactNativeSpec.xcframework/ios-arm64_x86_64-simulator/libFBReactNativeSpec.a differ diff --git a/Frameworks/Newsmemory.xcframework/Info.plist b/Frameworks/Newsmemory.xcframework/Info.plist index cb9e4f9..6a0ef53 100644 --- a/Frameworks/Newsmemory.xcframework/Info.plist +++ b/Frameworks/Newsmemory.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libNewsmemory.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libNewsmemory.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libNewsmemory.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libNewsmemory.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libNewsmemory.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/Newsmemory.xcframework/ios-arm64/Headers/Newsmemory/Newsmemory.h b/Frameworks/Newsmemory.xcframework/ios-arm64/Headers/Newsmemory/Newsmemory.h index f2146f0..e5fc0cf 100644 --- a/Frameworks/Newsmemory.xcframework/ios-arm64/Headers/Newsmemory/Newsmemory.h +++ b/Frameworks/Newsmemory.xcframework/ios-arm64/Headers/Newsmemory/Newsmemory.h @@ -31,6 +31,7 @@ NS_ASSUME_NONNULL_BEGIN + (void)setAPIKey:(NSString *)key; + (void)setLockedOrientation:(NSString *)orientation; + (void)setLockedOrientationDevice:(NSString *)device; ++ (void)enableDebugger:(BOOL)enabled; - (instancetype)init; - (RCTRootView *)getView; diff --git a/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a b/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a index 33a3107..57b39a3 100644 Binary files a/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a and b/Frameworks/Newsmemory.xcframework/ios-arm64/libNewsmemory.a differ diff --git a/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/Headers/Newsmemory/Newsmemory.h b/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/Headers/Newsmemory/Newsmemory.h index f2146f0..e5fc0cf 100644 --- a/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/Headers/Newsmemory/Newsmemory.h +++ b/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/Headers/Newsmemory/Newsmemory.h @@ -31,6 +31,7 @@ NS_ASSUME_NONNULL_BEGIN + (void)setAPIKey:(NSString *)key; + (void)setLockedOrientation:(NSString *)orientation; + (void)setLockedOrientationDevice:(NSString *)device; ++ (void)enableDebugger:(BOOL)enabled; - (instancetype)init; - (RCTRootView *)getView; diff --git a/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a b/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a index bedab6c..dc4036f 100644 Binary files a/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a and b/Frameworks/Newsmemory.xcframework/ios-arm64_x86_64-simulator/libNewsmemory.a differ diff --git a/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a b/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a index 8aa40db..dd2a0c7 100644 Binary files a/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a and b/Frameworks/RCT-Folly.xcframework/ios-arm64/libRCT-Folly.a differ diff --git a/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a b/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a index dc41412..df49e16 100644 Binary files a/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a and b/Frameworks/RCT-Folly.xcframework/ios-arm64_x86_64-simulator/libRCT-Folly.a differ diff --git a/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a b/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a index ed03715..9eb61c7 100644 Binary files a/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a and b/Frameworks/RCTTypeSafety.xcframework/ios-arm64/libRCTTypeSafety.a differ diff --git a/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a b/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a index 0a2cd55..1e162f5 100644 Binary files a/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a and b/Frameworks/RCTTypeSafety.xcframework/ios-arm64_x86_64-simulator/libRCTTypeSafety.a differ diff --git a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a index b3810ce..aa0e149 100644 Binary files a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a and b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64/libRNCAsyncStorage.a differ diff --git a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a index 8ed1472..7503840 100644 Binary files a/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a and b/Frameworks/RNCAsyncStorage.xcframework/ios-arm64_x86_64-simulator/libRNCAsyncStorage.a differ diff --git a/Frameworks/RNColorMatrixImageFilters.xcframework/Info.plist b/Frameworks/RNColorMatrixImageFilters.xcframework/Info.plist index d5b907a..eec899c 100644 --- a/Frameworks/RNColorMatrixImageFilters.xcframework/Info.plist +++ b/Frameworks/RNColorMatrixImageFilters.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNColorMatrixImageFilters.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNColorMatrixImageFilters.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNColorMatrixImageFilters.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNColorMatrixImageFilters.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNColorMatrixImageFilters.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64/libRNColorMatrixImageFilters.a b/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64/libRNColorMatrixImageFilters.a index 5c3bd33..1081604 100644 Binary files a/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64/libRNColorMatrixImageFilters.a and b/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64/libRNColorMatrixImageFilters.a differ diff --git a/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64_x86_64-simulator/libRNColorMatrixImageFilters.a b/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64_x86_64-simulator/libRNColorMatrixImageFilters.a index 628065f..b82af0b 100644 Binary files a/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64_x86_64-simulator/libRNColorMatrixImageFilters.a and b/Frameworks/RNColorMatrixImageFilters.xcframework/ios-arm64_x86_64-simulator/libRNColorMatrixImageFilters.a differ diff --git a/Frameworks/RNDateTimePicker.xcframework/Info.plist b/Frameworks/RNDateTimePicker.xcframework/Info.plist index d4c5b02..d2a2f90 100644 --- a/Frameworks/RNDateTimePicker.xcframework/Info.plist +++ b/Frameworks/RNDateTimePicker.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNDateTimePicker.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNDateTimePicker.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNDateTimePicker.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNDateTimePicker.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNDateTimePicker.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a b/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a index ded436a..c403ad9 100644 Binary files a/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a and b/Frameworks/RNDateTimePicker.xcframework/ios-arm64/libRNDateTimePicker.a differ diff --git a/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a b/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a index 673fa7f..48c3a6e 100644 Binary files a/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a and b/Frameworks/RNDateTimePicker.xcframework/ios-arm64_x86_64-simulator/libRNDateTimePicker.a differ diff --git a/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a b/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a index 9f6e1b4..657787a 100644 Binary files a/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a and b/Frameworks/RNDefaultPreference.xcframework/ios-arm64/libRNDefaultPreference.a differ diff --git a/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a b/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a index bd50fcf..434ec0f 100644 Binary files a/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a and b/Frameworks/RNDefaultPreference.xcframework/ios-arm64_x86_64-simulator/libRNDefaultPreference.a differ diff --git a/Frameworks/RNDeviceInfo.xcframework/Info.plist b/Frameworks/RNDeviceInfo.xcframework/Info.plist index 4023da8..f059466 100644 --- a/Frameworks/RNDeviceInfo.xcframework/Info.plist +++ b/Frameworks/RNDeviceInfo.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libRNDeviceInfo.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNDeviceInfo.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libRNDeviceInfo.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libRNDeviceInfo.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNDeviceInfo.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a b/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a index 98294eb..f061696 100644 Binary files a/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a and b/Frameworks/RNDeviceInfo.xcframework/ios-arm64/libRNDeviceInfo.a differ diff --git a/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a b/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a index 1899354..cc611ec 100644 Binary files a/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a and b/Frameworks/RNDeviceInfo.xcframework/ios-arm64_x86_64-simulator/libRNDeviceInfo.a differ diff --git a/Frameworks/RNFS.xcframework/Info.plist b/Frameworks/RNFS.xcframework/Info.plist index c0b3934..90718b1 100644 --- a/Frameworks/RNFS.xcframework/Info.plist +++ b/Frameworks/RNFS.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libRNFS.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNFS.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libRNFS.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libRNFS.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNFS.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a b/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a index 0a59c82..1373ecc 100644 Binary files a/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a and b/Frameworks/RNFS.xcframework/ios-arm64/libRNFS.a differ diff --git a/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a b/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a index 7a0b8e9..397beb6 100644 Binary files a/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a and b/Frameworks/RNFS.xcframework/ios-arm64_x86_64-simulator/libRNFS.a differ diff --git a/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a b/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a index 4f7cd67..0ea9f91 100644 Binary files a/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a and b/Frameworks/RNFastImage.xcframework/ios-arm64/libRNFastImage.a differ diff --git a/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a b/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a index 763d2c5..9969df7 100644 Binary files a/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a and b/Frameworks/RNFastImage.xcframework/ios-arm64_x86_64-simulator/libRNFastImage.a differ diff --git a/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a b/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a index 67a0c0a..50bc49c 100644 Binary files a/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a and b/Frameworks/RNGestureHandler.xcframework/ios-arm64/libRNGestureHandler.a differ diff --git a/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a b/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a index 447992e..8d1ef77 100644 Binary files a/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a and b/Frameworks/RNGestureHandler.xcframework/ios-arm64_x86_64-simulator/libRNGestureHandler.a differ diff --git a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a index d3f9b1b..6fd3298 100644 Binary files a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a and b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64/libRNOpenAppSettings.a differ diff --git a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a index c45484d..f8bc663 100644 Binary files a/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a and b/Frameworks/RNOpenAppSettings.xcframework/ios-arm64_x86_64-simulator/libRNOpenAppSettings.a differ diff --git a/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a b/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a index d9ac990..59b0897 100644 Binary files a/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a and b/Frameworks/RNReanimated.xcframework/ios-arm64/libRNReanimated.a differ diff --git a/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a b/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a index 09b9825..7595d5d 100644 Binary files a/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a and b/Frameworks/RNReanimated.xcframework/ios-arm64_x86_64-simulator/libRNReanimated.a differ diff --git a/Frameworks/RNSVG.xcframework/Info.plist b/Frameworks/RNSVG.xcframework/Info.plist index 651a8a6..5534e77 100644 --- a/Frameworks/RNSVG.xcframework/Info.plist +++ b/Frameworks/RNSVG.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libRNSVG.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNSVG.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libRNSVG.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libRNSVG.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNSVG.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a b/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a index 55c5e91..ccb8b15 100644 Binary files a/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a and b/Frameworks/RNSVG.xcframework/ios-arm64/libRNSVG.a differ diff --git a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a index 14cfd00..30d0c40 100644 Binary files a/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a and b/Frameworks/RNSVG.xcframework/ios-arm64_x86_64-simulator/libRNSVG.a differ diff --git a/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a b/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a index 037cc42..61aab11 100644 Binary files a/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a and b/Frameworks/RNScreens.xcframework/ios-arm64/libRNScreens.a differ diff --git a/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a b/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a index a370249..0857ee7 100644 Binary files a/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a and b/Frameworks/RNScreens.xcframework/ios-arm64_x86_64-simulator/libRNScreens.a differ diff --git a/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a b/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a index 341c063..1cfcbe4 100644 Binary files a/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a and b/Frameworks/RNShare.xcframework/ios-arm64/libRNShare.a differ diff --git a/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a b/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a index 6de56d1..f37a359 100644 Binary files a/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a and b/Frameworks/RNShare.xcframework/ios-arm64_x86_64-simulator/libRNShare.a differ diff --git a/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a b/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a index e1b653b..92ba1e6 100644 Binary files a/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a and b/Frameworks/RNTextSize.xcframework/ios-arm64/libRNTextSize.a differ diff --git a/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a b/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a index 461ecf4..bc7455f 100644 Binary files a/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a and b/Frameworks/RNTextSize.xcframework/ios-arm64_x86_64-simulator/libRNTextSize.a differ diff --git a/Frameworks/RNVectorIcons.xcframework/Info.plist b/Frameworks/RNVectorIcons.xcframework/Info.plist index 1567cf0..f400661 100644 --- a/Frameworks/RNVectorIcons.xcframework/Info.plist +++ b/Frameworks/RNVectorIcons.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libRNVectorIcons.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libRNVectorIcons.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libRNVectorIcons.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libRNVectorIcons.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libRNVectorIcons.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a b/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a index d06e7dc..d3d0753 100644 Binary files a/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a and b/Frameworks/RNVectorIcons.xcframework/ios-arm64/libRNVectorIcons.a differ diff --git a/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a b/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a index 48b29e9..947da5f 100644 Binary files a/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a and b/Frameworks/RNVectorIcons.xcframework/ios-arm64_x86_64-simulator/libRNVectorIcons.a differ diff --git a/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a b/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a index 45926b9..fa15038 100644 Binary files a/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a and b/Frameworks/RNVolumeController.xcframework/ios-arm64/libRNVolumeController.a differ diff --git a/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a b/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a index 8365726..8dcd60e 100644 Binary files a/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a and b/Frameworks/RNVolumeController.xcframework/ios-arm64_x86_64-simulator/libRNVolumeController.a differ diff --git a/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a b/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a index 17ebe84..c8ba125 100644 Binary files a/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a and b/Frameworks/React-Core.xcframework/ios-arm64/libReact-Core.a differ diff --git a/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a b/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a index 8efc72c..641cf33 100644 Binary files a/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a and b/Frameworks/React-Core.xcframework/ios-arm64_x86_64-simulator/libReact-Core.a differ diff --git a/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a b/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a index 01d3397..cc5719c 100644 Binary files a/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a and b/Frameworks/React-CoreModules.xcframework/ios-arm64/libReact-CoreModules.a differ diff --git a/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a b/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a index d333b5d..83f7a74 100644 Binary files a/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a and b/Frameworks/React-CoreModules.xcframework/ios-arm64_x86_64-simulator/libReact-CoreModules.a differ diff --git a/Frameworks/React-RCTAnimation.xcframework/Info.plist b/Frameworks/React-RCTAnimation.xcframework/Info.plist index d333907..b203443 100644 --- a/Frameworks/React-RCTAnimation.xcframework/Info.plist +++ b/Frameworks/React-RCTAnimation.xcframework/Info.plist @@ -4,6 +4,20 @@ AvailableLibraries + + BinaryPath + libReact-RCTAnimation.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTAnimation.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTAnimation.a @@ -21,20 +35,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTAnimation.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTAnimation.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a b/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a index 4573095..3c22a32 100644 Binary files a/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a and b/Frameworks/React-RCTAnimation.xcframework/ios-arm64/libReact-RCTAnimation.a differ diff --git a/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a b/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a index 397853c..32ddd1e 100644 Binary files a/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a and b/Frameworks/React-RCTAnimation.xcframework/ios-arm64_x86_64-simulator/libReact-RCTAnimation.a differ diff --git a/Frameworks/React-RCTBlob.xcframework/Info.plist b/Frameworks/React-RCTBlob.xcframework/Info.plist index fb205b2..1f02303 100644 --- a/Frameworks/React-RCTBlob.xcframework/Info.plist +++ b/Frameworks/React-RCTBlob.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReact-RCTBlob.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTBlob.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTBlob.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTBlob.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTBlob.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a b/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a index 20ab2d7..526072d 100644 Binary files a/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a and b/Frameworks/React-RCTBlob.xcframework/ios-arm64/libReact-RCTBlob.a differ diff --git a/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a b/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a index 3d2132c..70df668 100644 Binary files a/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a and b/Frameworks/React-RCTBlob.xcframework/ios-arm64_x86_64-simulator/libReact-RCTBlob.a differ diff --git a/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a b/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a index 8155c27..bf855cf 100644 Binary files a/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a and b/Frameworks/React-RCTImage.xcframework/ios-arm64/libReact-RCTImage.a differ diff --git a/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a b/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a index b4c4e91..4dd3479 100644 Binary files a/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a and b/Frameworks/React-RCTImage.xcframework/ios-arm64_x86_64-simulator/libReact-RCTImage.a differ diff --git a/Frameworks/React-RCTLinking.xcframework/Info.plist b/Frameworks/React-RCTLinking.xcframework/Info.plist index ed1bf1c..51f40f5 100644 --- a/Frameworks/React-RCTLinking.xcframework/Info.plist +++ b/Frameworks/React-RCTLinking.xcframework/Info.plist @@ -4,6 +4,20 @@ AvailableLibraries + + BinaryPath + libReact-RCTLinking.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTLinking.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTLinking.a @@ -21,20 +35,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTLinking.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTLinking.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a b/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a index 911a0b8..9c45506 100644 Binary files a/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a and b/Frameworks/React-RCTLinking.xcframework/ios-arm64/libReact-RCTLinking.a differ diff --git a/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a b/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a index 80baf3d..2fc88c3 100644 Binary files a/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a and b/Frameworks/React-RCTLinking.xcframework/ios-arm64_x86_64-simulator/libReact-RCTLinking.a differ diff --git a/Frameworks/React-RCTNetwork.xcframework/Info.plist b/Frameworks/React-RCTNetwork.xcframework/Info.plist index 1a5fdfb..4e8e94b 100644 --- a/Frameworks/React-RCTNetwork.xcframework/Info.plist +++ b/Frameworks/React-RCTNetwork.xcframework/Info.plist @@ -4,20 +4,6 @@ AvailableLibraries - - BinaryPath - libReact-RCTNetwork.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTNetwork.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libReact-RCTNetwork.a @@ -35,6 +21,20 @@ SupportedPlatformVariant simulator + + BinaryPath + libReact-RCTNetwork.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTNetwork.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a b/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a index 2d4b7b1..831ff69 100644 Binary files a/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a and b/Frameworks/React-RCTNetwork.xcframework/ios-arm64/libReact-RCTNetwork.a differ diff --git a/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a b/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a index 9bad002..3a22be1 100644 Binary files a/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a and b/Frameworks/React-RCTNetwork.xcframework/ios-arm64_x86_64-simulator/libReact-RCTNetwork.a differ diff --git a/Frameworks/React-RCTSettings.xcframework/Info.plist b/Frameworks/React-RCTSettings.xcframework/Info.plist index fcda4a8..38592b9 100644 --- a/Frameworks/React-RCTSettings.xcframework/Info.plist +++ b/Frameworks/React-RCTSettings.xcframework/Info.plist @@ -4,20 +4,6 @@ AvailableLibraries - - BinaryPath - libReact-RCTSettings.a - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTSettings.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libReact-RCTSettings.a @@ -35,6 +21,20 @@ SupportedPlatformVariant simulator + + BinaryPath + libReact-RCTSettings.a + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTSettings.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a b/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a index 8b5863d..371500c 100644 Binary files a/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a and b/Frameworks/React-RCTSettings.xcframework/ios-arm64/libReact-RCTSettings.a differ diff --git a/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a b/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a index 775e18c..7d5163b 100644 Binary files a/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a and b/Frameworks/React-RCTSettings.xcframework/ios-arm64_x86_64-simulator/libReact-RCTSettings.a differ diff --git a/Frameworks/React-RCTText.xcframework/Info.plist b/Frameworks/React-RCTText.xcframework/Info.plist index f08a96d..205be05 100644 --- a/Frameworks/React-RCTText.xcframework/Info.plist +++ b/Frameworks/React-RCTText.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReact-RCTText.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-RCTText.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-RCTText.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-RCTText.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-RCTText.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a b/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a index 18ec993..69347a7 100644 Binary files a/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a and b/Frameworks/React-RCTText.xcframework/ios-arm64/libReact-RCTText.a differ diff --git a/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a b/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a index f05d03f..3fe4258 100644 Binary files a/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a and b/Frameworks/React-RCTText.xcframework/ios-arm64_x86_64-simulator/libReact-RCTText.a differ diff --git a/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a b/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a index 8134146..5249330 100644 Binary files a/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a and b/Frameworks/React-RCTVibration.xcframework/ios-arm64/libReact-RCTVibration.a differ diff --git a/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a b/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a index e7eb22a..3f99f7d 100644 Binary files a/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a and b/Frameworks/React-RCTVibration.xcframework/ios-arm64_x86_64-simulator/libReact-RCTVibration.a differ diff --git a/Frameworks/React-cxxreact.xcframework/Info.plist b/Frameworks/React-cxxreact.xcframework/Info.plist index ed0bf7b..06e5e6d 100644 --- a/Frameworks/React-cxxreact.xcframework/Info.plist +++ b/Frameworks/React-cxxreact.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReact-cxxreact.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-cxxreact.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-cxxreact.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-cxxreact.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-cxxreact.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a b/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a index b0e78e8..6d53c86 100644 Binary files a/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a and b/Frameworks/React-cxxreact.xcframework/ios-arm64/libReact-cxxreact.a differ diff --git a/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a b/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a index 23a9d58..dcd2f5d 100644 Binary files a/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a and b/Frameworks/React-cxxreact.xcframework/ios-arm64_x86_64-simulator/libReact-cxxreact.a differ diff --git a/Frameworks/React-jsi.xcframework/Info.plist b/Frameworks/React-jsi.xcframework/Info.plist index 43061dd..597d0e6 100644 --- a/Frameworks/React-jsi.xcframework/Info.plist +++ b/Frameworks/React-jsi.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libReact-jsi.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libReact-jsi.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libReact-jsi.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libReact-jsi.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libReact-jsi.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a b/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a index 00f3cec..484587d 100644 Binary files a/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a and b/Frameworks/React-jsi.xcframework/ios-arm64/libReact-jsi.a differ diff --git a/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a b/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a index be43b00..43a22b8 100644 Binary files a/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a and b/Frameworks/React-jsi.xcframework/ios-arm64_x86_64-simulator/libReact-jsi.a differ diff --git a/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a b/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a index e70b2a2..11d9c2c 100644 Binary files a/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a and b/Frameworks/React-jsiexecutor.xcframework/ios-arm64/libReact-jsiexecutor.a differ diff --git a/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a b/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a index d3970e0..dc01eb9 100644 Binary files a/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a and b/Frameworks/React-jsiexecutor.xcframework/ios-arm64_x86_64-simulator/libReact-jsiexecutor.a differ diff --git a/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a b/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a index 21eaeb9..93f59c3 100644 Binary files a/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a and b/Frameworks/React-jsinspector.xcframework/ios-arm64/libReact-jsinspector.a differ diff --git a/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a b/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a index 3c71c66..d248692 100644 Binary files a/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a and b/Frameworks/React-jsinspector.xcframework/ios-arm64_x86_64-simulator/libReact-jsinspector.a differ diff --git a/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a b/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a index 8264b98..59ca16a 100644 Binary files a/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a and b/Frameworks/React-logger.xcframework/ios-arm64/libReact-logger.a differ diff --git a/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a b/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a index 97cb05a..58f484a 100644 Binary files a/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a and b/Frameworks/React-logger.xcframework/ios-arm64_x86_64-simulator/libReact-logger.a differ diff --git a/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a b/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a index 1ebe2e9..0a78e8a 100644 Binary files a/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a and b/Frameworks/React-perflogger.xcframework/ios-arm64/libReact-perflogger.a differ diff --git a/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a b/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a index 471f039..e34654c 100644 Binary files a/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a and b/Frameworks/React-perflogger.xcframework/ios-arm64_x86_64-simulator/libReact-perflogger.a differ diff --git a/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a b/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a index 3f4952a..17590f3 100644 Binary files a/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a and b/Frameworks/ReactCommon.xcframework/ios-arm64/libReactCommon.a differ diff --git a/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a b/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a index 555984b..f508f53 100644 Binary files a/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a and b/Frameworks/ReactCommon.xcframework/ios-arm64_x86_64-simulator/libReactCommon.a differ diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a b/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a index 026f628..2947800 100644 Binary files a/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a and b/Frameworks/ReactNativeART.xcframework/ios-arm64/libReactNativeART.a differ diff --git a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a index 2a3072a..2056c62 100644 Binary files a/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a and b/Frameworks/ReactNativeART.xcframework/ios-arm64_x86_64-simulator/libReactNativeART.a differ diff --git a/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a b/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a index dd4295d..d64c862 100644 Binary files a/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a and b/Frameworks/TextToSpeech.xcframework/ios-arm64/libTextToSpeech.a differ diff --git a/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a b/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a index dca5310..05c96b9 100644 Binary files a/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a and b/Frameworks/TextToSpeech.xcframework/ios-arm64_x86_64-simulator/libTextToSpeech.a differ diff --git a/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a b/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a index 06934a1..e278fa4 100644 Binary files a/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a and b/Frameworks/Yoga.xcframework/ios-arm64/libYoga.a differ diff --git a/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a b/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a index 047be66..f228f66 100644 Binary files a/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a and b/Frameworks/Yoga.xcframework/ios-arm64_x86_64-simulator/libYoga.a differ diff --git a/Frameworks/glog.xcframework/ios-arm64/libglog.a b/Frameworks/glog.xcframework/ios-arm64/libglog.a index 745743a..f94ddfa 100644 Binary files a/Frameworks/glog.xcframework/ios-arm64/libglog.a and b/Frameworks/glog.xcframework/ios-arm64/libglog.a differ diff --git a/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a b/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a index b7144ef..16dc913 100644 Binary files a/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a and b/Frameworks/glog.xcframework/ios-arm64_x86_64-simulator/libglog.a differ diff --git a/Frameworks/react-native-bridge.xcframework/Info.plist b/Frameworks/react-native-bridge.xcframework/Info.plist index 174bb71..f0ea6a2 100644 --- a/Frameworks/react-native-bridge.xcframework/Info.plist +++ b/Frameworks/react-native-bridge.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-bridge.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-bridge.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-bridge.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-bridge.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-bridge.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-bridge.xcframework/ios-arm64/Headers/ReactViewController.h b/Frameworks/react-native-bridge.xcframework/ios-arm64/Headers/ReactViewController.h index f809e63..5aaf78d 100644 --- a/Frameworks/react-native-bridge.xcframework/ios-arm64/Headers/ReactViewController.h +++ b/Frameworks/react-native-bridge.xcframework/ios-arm64/Headers/ReactViewController.h @@ -37,6 +37,7 @@ extern NSString *const TATokenPropKey; extern NSString *const TAAPIKeyPropKey; extern NSString *const TALockedOrientationPropKey; extern NSString *const TALockedOrientationDevicePropKey; +extern NSString *const TAEnableDebuggerPropKey; @interface ReactViewController : UIViewController diff --git a/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a b/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a index a4c8cdd..b6d4c0e 100644 Binary files a/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a and b/Frameworks/react-native-bridge.xcframework/ios-arm64/libreact-native-bridge.a differ diff --git a/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewController.h b/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewController.h index f809e63..5aaf78d 100644 --- a/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewController.h +++ b/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/Headers/ReactViewController.h @@ -37,6 +37,7 @@ extern NSString *const TATokenPropKey; extern NSString *const TAAPIKeyPropKey; extern NSString *const TALockedOrientationPropKey; extern NSString *const TALockedOrientationDevicePropKey; +extern NSString *const TAEnableDebuggerPropKey; @interface ReactViewController : UIViewController diff --git a/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a b/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a index 1786a60..aa6f83a 100644 Binary files a/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a and b/Frameworks/react-native-bridge.xcframework/ios-arm64_x86_64-simulator/libreact-native-bridge.a differ diff --git a/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a b/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a index 7e416a4..632390b 100644 Binary files a/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a and b/Frameworks/react-native-cookies.xcframework/ios-arm64/libreact-native-cookies.a differ diff --git a/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a b/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a index f6ec305..482c150 100644 Binary files a/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a and b/Frameworks/react-native-cookies.xcframework/ios-arm64_x86_64-simulator/libreact-native-cookies.a differ diff --git a/Frameworks/react-native-dfp.xcframework/Info.plist b/Frameworks/react-native-dfp.xcframework/Info.plist index 522dbb3..9023965 100644 --- a/Frameworks/react-native-dfp.xcframework/Info.plist +++ b/Frameworks/react-native-dfp.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-dfp.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-dfp.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-dfp.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-dfp.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-dfp.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a b/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a index 55d4382..2068f58 100644 Binary files a/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a and b/Frameworks/react-native-dfp.xcframework/ios-arm64/libreact-native-dfp.a differ diff --git a/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a b/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a index 118d8c7..437d94d 100644 Binary files a/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a and b/Frameworks/react-native-dfp.xcframework/ios-arm64_x86_64-simulator/libreact-native-dfp.a differ diff --git a/Frameworks/react-native-geolocation.xcframework/Info.plist b/Frameworks/react-native-geolocation.xcframework/Info.plist index 41f7a19..f5e1d95 100644 --- a/Frameworks/react-native-geolocation.xcframework/Info.plist +++ b/Frameworks/react-native-geolocation.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-geolocation.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-geolocation.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-geolocation.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-geolocation.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-geolocation.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a b/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a index fd07860..65b022c 100644 Binary files a/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a and b/Frameworks/react-native-geolocation.xcframework/ios-arm64/libreact-native-geolocation.a differ diff --git a/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a b/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a index 70463a5..f445d55 100644 Binary files a/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a and b/Frameworks/react-native-geolocation.xcframework/ios-arm64_x86_64-simulator/libreact-native-geolocation.a differ diff --git a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a index 58187a6..a299df6 100644 Binary files a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a and b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64/libreact-native-html-to-pdf.a differ diff --git a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a index e75d0ca..8d2a5cf 100644 Binary files a/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a and b/Frameworks/react-native-html-to-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-html-to-pdf.a differ diff --git a/Frameworks/react-native-idle-timer.xcframework/Info.plist b/Frameworks/react-native-idle-timer.xcframework/Info.plist index ed36ad9..9daaded 100644 --- a/Frameworks/react-native-idle-timer.xcframework/Info.plist +++ b/Frameworks/react-native-idle-timer.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-idle-timer.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-idle-timer.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-idle-timer.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-idle-timer.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-idle-timer.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a b/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a index 5e6cb10..90cda81 100644 Binary files a/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a and b/Frameworks/react-native-idle-timer.xcframework/ios-arm64/libreact-native-idle-timer.a differ diff --git a/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a b/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a index 53639b0..1336f08 100644 Binary files a/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a and b/Frameworks/react-native-idle-timer.xcframework/ios-arm64_x86_64-simulator/libreact-native-idle-timer.a differ diff --git a/Frameworks/react-native-image-editor.xcframework/Info.plist b/Frameworks/react-native-image-editor.xcframework/Info.plist index eac83c6..fde31a1 100644 --- a/Frameworks/react-native-image-editor.xcframework/Info.plist +++ b/Frameworks/react-native-image-editor.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-image-editor.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-image-editor.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-image-editor.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-image-editor.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-image-editor.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a b/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a index dcc8e71..8676bb1 100644 Binary files a/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a and b/Frameworks/react-native-image-editor.xcframework/ios-arm64/libreact-native-image-editor.a differ diff --git a/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a b/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a index a31b77d..4aa401f 100644 Binary files a/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a and b/Frameworks/react-native-image-editor.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-editor.a differ diff --git a/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a b/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a index 760d2d0..d92955e 100644 Binary files a/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a and b/Frameworks/react-native-image-marker.xcframework/ios-arm64/libreact-native-image-marker.a differ diff --git a/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a b/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a index 77b7327..dd661e2 100644 Binary files a/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a and b/Frameworks/react-native-image-marker.xcframework/ios-arm64_x86_64-simulator/libreact-native-image-marker.a differ diff --git a/Frameworks/react-native-mail.xcframework/Info.plist b/Frameworks/react-native-mail.xcframework/Info.plist index c81bdf4..d81e532 100644 --- a/Frameworks/react-native-mail.xcframework/Info.plist +++ b/Frameworks/react-native-mail.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-mail.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-mail.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-mail.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-mail.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-mail.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a b/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a index 8396328..bd5152f 100644 Binary files a/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a and b/Frameworks/react-native-mail.xcframework/ios-arm64/libreact-native-mail.a differ diff --git a/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a b/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a index 32e25f8..f2cc63b 100644 Binary files a/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a and b/Frameworks/react-native-mail.xcframework/ios-arm64_x86_64-simulator/libreact-native-mail.a differ diff --git a/Frameworks/react-native-netinfo.xcframework/Info.plist b/Frameworks/react-native-netinfo.xcframework/Info.plist index dc9787e..0019296 100644 --- a/Frameworks/react-native-netinfo.xcframework/Info.plist +++ b/Frameworks/react-native-netinfo.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-netinfo.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-netinfo.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-netinfo.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-netinfo.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-netinfo.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a b/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a index d2f3c67..14c9ce3 100644 Binary files a/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a and b/Frameworks/react-native-netinfo.xcframework/ios-arm64/libreact-native-netinfo.a differ diff --git a/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a b/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a index fc23acf..081cdec 100644 Binary files a/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a and b/Frameworks/react-native-netinfo.xcframework/ios-arm64_x86_64-simulator/libreact-native-netinfo.a differ diff --git a/Frameworks/react-native-pager-view.xcframework/Info.plist b/Frameworks/react-native-pager-view.xcframework/Info.plist index fbf40e0..864d1ca 100644 --- a/Frameworks/react-native-pager-view.xcframework/Info.plist +++ b/Frameworks/react-native-pager-view.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-pager-view.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-pager-view.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-pager-view.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-pager-view.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-pager-view.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a b/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a index f05d680..634998a 100644 Binary files a/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a and b/Frameworks/react-native-pager-view.xcframework/ios-arm64/libreact-native-pager-view.a differ diff --git a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a index 9a0cde3..ebb0a8a 100644 Binary files a/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a and b/Frameworks/react-native-pager-view.xcframework/ios-arm64_x86_64-simulator/libreact-native-pager-view.a differ diff --git a/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a b/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a index 39cbd1f..306574d 100644 Binary files a/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a and b/Frameworks/react-native-pdf.xcframework/ios-arm64/libreact-native-pdf.a differ diff --git a/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a b/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a index 7daf54b..6da2b04 100644 Binary files a/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a and b/Frameworks/react-native-pdf.xcframework/ios-arm64_x86_64-simulator/libreact-native-pdf.a differ diff --git a/Frameworks/react-native-photo-view-ex.xcframework/Info.plist b/Frameworks/react-native-photo-view-ex.xcframework/Info.plist index 1183925..38f4a95 100644 --- a/Frameworks/react-native-photo-view-ex.xcframework/Info.plist +++ b/Frameworks/react-native-photo-view-ex.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-photo-view-ex.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-photo-view-ex.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-photo-view-ex.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-photo-view-ex.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-photo-view-ex.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a index 99b389b..1491d12 100644 Binary files a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a and b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64/libreact-native-photo-view-ex.a differ diff --git a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a index e9311aa..a716fda 100644 Binary files a/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a and b/Frameworks/react-native-photo-view-ex.xcframework/ios-arm64_x86_64-simulator/libreact-native-photo-view-ex.a differ diff --git a/Frameworks/react-native-print.xcframework/Info.plist b/Frameworks/react-native-print.xcframework/Info.plist index 1972ad2..4e4d15c 100644 --- a/Frameworks/react-native-print.xcframework/Info.plist +++ b/Frameworks/react-native-print.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libreact-native-print.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-print.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libreact-native-print.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libreact-native-print.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-print.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a b/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a index 6264375..48f5e23 100644 Binary files a/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a and b/Frameworks/react-native-print.xcframework/ios-arm64/libreact-native-print.a differ diff --git a/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a b/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a index 8d5d6a8..ed7e3eb 100644 Binary files a/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a and b/Frameworks/react-native-print.xcframework/ios-arm64_x86_64-simulator/libreact-native-print.a differ diff --git a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a index ffe5659..0220849 100644 Binary files a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a and b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64/libreact-native-safe-area-context.a differ diff --git a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a index a309bdb..c8fc041 100644 Binary files a/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a and b/Frameworks/react-native-safe-area-context.xcframework/ios-arm64_x86_64-simulator/libreact-native-safe-area-context.a differ diff --git a/Frameworks/react-native-slider.xcframework/Info.plist b/Frameworks/react-native-slider.xcframework/Info.plist index a305d02..eb3d4b0 100644 --- a/Frameworks/react-native-slider.xcframework/Info.plist +++ b/Frameworks/react-native-slider.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-slider.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-slider.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-slider.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-slider.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-slider.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a b/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a index 24d4305..d867426 100644 Binary files a/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a and b/Frameworks/react-native-slider.xcframework/ios-arm64/libreact-native-slider.a differ diff --git a/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a b/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a index 7a4e256..264ba3a 100644 Binary files a/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a and b/Frameworks/react-native-slider.xcframework/ios-arm64_x86_64-simulator/libreact-native-slider.a differ diff --git a/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a b/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a index 3cc6663..44c9686 100644 Binary files a/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a and b/Frameworks/react-native-splash-screen.xcframework/ios-arm64/libreact-native-splash-screen.a differ diff --git a/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a b/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a index 521f1bc..46ef196 100644 Binary files a/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a and b/Frameworks/react-native-splash-screen.xcframework/ios-arm64_x86_64-simulator/libreact-native-splash-screen.a differ diff --git a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a index 01c375e..b0b3d72 100644 Binary files a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a and b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64/libreact-native-sqlite-storage.a differ diff --git a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a index c64b4c5..a62dfe0 100644 Binary files a/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a and b/Frameworks/react-native-sqlite-storage.xcframework/ios-arm64_x86_64-simulator/libreact-native-sqlite-storage.a differ diff --git a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a index 452b517..9a945a9 100644 Binary files a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a and b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64/libreact-native-uuid-generator.a differ diff --git a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a index c4a5540..5b4f09a 100644 Binary files a/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a and b/Frameworks/react-native-uuid-generator.xcframework/ios-arm64_x86_64-simulator/libreact-native-uuid-generator.a differ diff --git a/Frameworks/react-native-video.xcframework/Info.plist b/Frameworks/react-native-video.xcframework/Info.plist index b1b7829..0b7ee06 100644 --- a/Frameworks/react-native-video.xcframework/Info.plist +++ b/Frameworks/react-native-video.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-video.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-video.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-video.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-video.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-video.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a b/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a index fd4c13f..1686044 100644 Binary files a/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a and b/Frameworks/react-native-video.xcframework/ios-arm64/libreact-native-video.a differ diff --git a/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a b/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a index 7bb188b..cf6a91d 100644 Binary files a/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a and b/Frameworks/react-native-video.xcframework/ios-arm64_x86_64-simulator/libreact-native-video.a differ diff --git a/Frameworks/react-native-web-analytics.xcframework/Info.plist b/Frameworks/react-native-web-analytics.xcframework/Info.plist index 4ffdabd..b4a84da 100644 --- a/Frameworks/react-native-web-analytics.xcframework/Info.plist +++ b/Frameworks/react-native-web-analytics.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - libreact-native-web-analytics.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libreact-native-web-analytics.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath libreact-native-web-analytics.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + libreact-native-web-analytics.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libreact-native-web-analytics.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a b/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a index fbc0ebc..7854dc0 100644 Binary files a/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a and b/Frameworks/react-native-web-analytics.xcframework/ios-arm64/libreact-native-web-analytics.a differ diff --git a/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a b/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a index 61caab8..9e36850 100644 Binary files a/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a and b/Frameworks/react-native-web-analytics.xcframework/ios-arm64_x86_64-simulator/libreact-native-web-analytics.a differ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a b/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a index 4eb65f8..643a77d 100644 Binary files a/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a and b/Frameworks/react-native-webview.xcframework/ios-arm64/libreact-native-webview.a differ diff --git a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a index 8c130ab..0702a64 100644 Binary files a/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a and b/Frameworks/react-native-webview.xcframework/ios-arm64_x86_64-simulator/libreact-native-webview.a differ diff --git a/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a b/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a index 73f0898..dea23e7 100644 Binary files a/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a and b/Frameworks/react-native-zip-archive.xcframework/ios-arm64/libreact-native-zip-archive.a differ diff --git a/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a b/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a index 54f9972..07bc0dd 100644 Binary files a/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a and b/Frameworks/react-native-zip-archive.xcframework/ios-arm64_x86_64-simulator/libreact-native-zip-archive.a differ diff --git a/Frameworks/rn-fetch-blob.xcframework/Info.plist b/Frameworks/rn-fetch-blob.xcframework/Info.plist index 75cf30c..540c783 100644 --- a/Frameworks/rn-fetch-blob.xcframework/Info.plist +++ b/Frameworks/rn-fetch-blob.xcframework/Info.plist @@ -4,22 +4,6 @@ AvailableLibraries - - BinaryPath - librn-fetch-blob.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - librn-fetch-blob.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath librn-fetch-blob.a @@ -39,6 +23,22 @@ SupportedPlatformVariant simulator + + BinaryPath + librn-fetch-blob.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + librn-fetch-blob.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a b/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a index c5c4577..b3cd060 100644 Binary files a/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a and b/Frameworks/rn-fetch-blob.xcframework/ios-arm64/librn-fetch-blob.a differ diff --git a/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a b/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a index 0ff5900..1164f39 100644 Binary files a/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a and b/Frameworks/rn-fetch-blob.xcframework/ios-arm64_x86_64-simulator/librn-fetch-blob.a differ diff --git a/NewsmemorySDK.podspec b/NewsmemorySDK.podspec index 0978635..787379e 100644 --- a/NewsmemorySDK.podspec +++ b/NewsmemorySDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'NewsmemorySDK' - s.version = '3.15.03' + s.version = '3.15.08' s.description = 'Components and configuration for Tecnavia Newsmemory ePaper solution SDK.' s.summary = 'Components for Tecnavia Newsmemory SDK.' s.homepage = 'https://www.tecnavia.com' @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.source = { git: 'https://pubgit.newsmemory.com/tecnavia/newsmemory-ios-sdk.git', tag: "v#{s.version}" } - s.resources = 'Other/Resources/{Newsmemory.js,*.bundle,fonts/*.ttf,fonts/*.otf}', 'Other/assets' + s.resources = 'Other/Resources/{Newsmemory.js,*.bundle,fonts/*.ttf,fonts/*.otf,application}', 'Other/assets' s.platform = :ios, '11.0' diff --git a/Other/Resources/AccessibilityResources.bundle/Info.plist b/Other/Resources/AccessibilityResources.bundle/Info.plist index f5666f6..c67478c 100644 Binary files a/Other/Resources/AccessibilityResources.bundle/Info.plist and b/Other/Resources/AccessibilityResources.bundle/Info.plist differ diff --git a/Other/Resources/Newsmemory.js b/Other/Resources/Newsmemory.js index 864ae55..1dc3d61 100644 --- a/Other/Resources/Newsmemory.js +++ b/Other/Resources/Newsmemory.js @@ -431,10 +431,10 @@ __d(function(_g,_r,i,_a,_m,_e,_d){'use strict';var e="function"==typeof Symbol&& __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).View;e.default=t},425,[28]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=_r(d[0])(_r(d[1])),e=_r(d[0])(_r(d[2])),n=_r(d[0])(_r(d[3])),o=_r(d[0])(_r(d[4])),i=_r(d[0])(_r(d[5])),a=_r(d[0])(_r(d[6])),r=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var r=i?Object.getOwnPropertyDescriptor(t,a):null;r&&(r.get||r.set)?Object.defineProperty(o,a,r):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o})(_r(d[7])),s=_r(d[8]);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(t)}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!t})()}var u=.05,f=(function(l){(0,o.default)(w,l);var f,c,v=(f=w,c=p(),function(){var t,e=(0,a.default)(f);if(c){var n=(0,a.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,i.default)(this,t)});function w(n){var o;(0,e.default)(this,w),(o=v.call(this,n)).updateAnimatedEvent=function(t,e){var n=t.friction,i=t.overshootFriction,a=e.dragX,r=e.rowTranslation,l=e.leftWidth,p=void 0===l?0:l,u=e.rowWidth,f=void 0===u?0:u,h=e.rightOffset,c=void 0===h?f:h,v=Math.max(0,f-c),w=t.overshootLeft,S=void 0===w?p>0:w,O=t.overshootRight,A=void 0===O?v>0:O,R=s.Animated.add(r,a.interpolate({inputRange:[0,n],outputRange:[0,1]})).interpolate({inputRange:[-v-(A?1:i),-v,p,p+(S?1:i)],outputRange:[-v-(A||i>1?1:0),-v,p,p+(S||i>1?1:0)]});o.transX=R,o.showLeftAction=p>0?R.interpolate({inputRange:[-1,0,p],outputRange:[0,0,1]}):new s.Animated.Value(0),o.leftActionTranslate=o.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),o.showRightAction=v>0?R.interpolate({inputRange:[-v,0,1],outputRange:[1,0,0]}):new s.Animated.Value(0),o.rightActionTranslate=o.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},o.onTapHandlerStateChange=function(t){t.nativeEvent.oldState===_r(d[9]).State.ACTIVE&&o.close()},o.onHandlerStateChange=function(t){t.nativeEvent.oldState===_r(d[9]).State.ACTIVE&&o.handleRelease(t)},o.handleRelease=function(t){var e=t.nativeEvent,n=e.velocityX,i=e.translationX,a=o.state,r=a.leftWidth,s=void 0===r?0:r,l=a.rowWidth,p=void 0===l?0:l,f=a.rowState,h=o.state.rightOffset,c=p-(void 0===h?p:h),v=o.props,w=v.friction,S=v.leftThreshold,O=void 0===S?s/2:S,A=v.rightThreshold,R=void 0===A?c/2:A,y=o.currentOffset()+i/w,b=(i+u*n)/w,W=0;0===f?b>O?W=s:b<-R&&(W=-c):1===f?b>-O&&(W=s):b0&&o.props.onSwipeableLeftOpen?o.props.onSwipeableLeftOpen():n<0&&o.props.onSwipeableRightOpen&&o.props.onSwipeableRightOpen(),0===n?null==o.props.onSwipeableClose||o.props.onSwipeableClose():null==o.props.onSwipeableOpen||o.props.onSwipeableOpen())}),n>0&&o.props.onSwipeableLeftWillOpen?o.props.onSwipeableLeftWillOpen():n<0&&o.props.onSwipeableRightWillOpen&&o.props.onSwipeableRightWillOpen(),0===n?null==o.props.onSwipeableWillClose||o.props.onSwipeableWillClose():null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen()},o.onRowLayout=function(t){var e=t.nativeEvent;o.setState({rowWidth:e.layout.width})},o.currentOffset=function(){var t=o.state,e=t.leftWidth,n=void 0===e?0:e,i=t.rowWidth,a=void 0===i?0:i,r=t.rowState,s=o.state.rightOffset;return 1===r?n:-1===r?-(a-(void 0===s?a:s)):0},o.close=function(){o.animateRow(o.currentOffset(),0)},o.openLeft=function(){var t=o.state.leftWidth,e=void 0===t?0:t;o.animateRow(o.currentOffset(),e)},o.openRight=function(){var t=o.state.rowWidth,e=void 0===t?0:t,n=o.state.rightOffset,i=e-(void 0===n?e:n);o.animateRow(o.currentOffset(),-i)};var i=new s.Animated.Value(0);return o.state={dragX:i,rowTranslation:new s.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},o.updateAnimatedEvent(n,o.state),o.onGestureEvent=s.Animated.event([{nativeEvent:{translationX:i}}],{useNativeDriver:n.useNativeAnimations}),o}return(0,n.default)(w,[{key:"UNSAFE_componentWillUpdate",value:function(t,e){this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===e.leftWidth&&this.state.rightOffset===e.rightOffset&&this.state.rowWidth===e.rowWidth||this.updateAnimatedEvent(t,e)}},{key:"render",value:function(){var e=this,n=this.state.rowState,o=this.props,i=o.children,a=o.renderLeftActions,l=o.renderRightActions,p=a&&r.createElement(s.Animated.View,{style:[h.leftActions,{transform:[{translateX:this.leftActionTranslate}]}]},a(this.showLeftAction,this.transX),r.createElement(s.View,{onLayout:function(t){var n=t.nativeEvent;return e.setState({leftWidth:n.layout.x})}})),u=l&&r.createElement(s.Animated.View,{style:[h.rightActions,{transform:[{translateX:this.rightActionTranslate}]}]},l(this.showRightAction,this.transX),r.createElement(s.View,{onLayout:function(t){var n=t.nativeEvent;return e.setState({rightOffset:n.layout.x})}}));return r.createElement(_r(d[10]).PanGestureHandler,(0,t.default)({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}),r.createElement(s.Animated.View,{onLayout:this.onRowLayout,style:[h.container,this.props.containerStyle]},p,u,r.createElement(_r(d[10]).TapGestureHandler,{enabled:0!==n,onHandlerStateChange:this.onTapHandlerStateChange},r.createElement(s.Animated.View,{pointerEvents:0===n?'auto':'box-only',style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle]},i))))}}]),w})(r.Component);_e.default=f,f.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var h=s.StyleSheet.create({container:{overflow:'hidden'},leftActions:(0,t.default)({},s.StyleSheet.absoluteFillObject,{flexDirection:s.I18nManager.isRTL?'row-reverse':'row'}),rightActions:(0,t.default)({},s.StyleSheet.absoluteFillObject,{flexDirection:s.I18nManager.isRTL?'row':'row-reverse'})})},426,[5,6,7,8,12,14,16,17,28,3,4]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),a=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),r=_r(d[0])(_r(d[5])),i=_r(d[0])(_r(d[6])),o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=u(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,a&&a.set(e,n),n})(_r(d[7])),l=_r(d[0])(_r(d[8])),s=_r(d[9]);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(u=function(e){return e?a:t})(e)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var c=.05,w='Idle',f='Dragging',v='Settling',h=(function(e){(0,n.default)(b,e);var u,h,S=(u=b,h=p(),function(){var e,t=(0,i.default)(u);if(h){var a=(0,i.default)(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return(0,r.default)(this,e)});function b(e){var a;(0,t.default)(this,b),(a=S.call(this,e)).accessibilityIsModalView=o.createRef(),a.pointerEventsView=o.createRef(),a.panGestureHandler=o.createRef(),a.drawerShown=!1,a.updateAnimatedEvent=function(e,t){var n=e.drawerPosition,r=e.drawerWidth,i=e.drawerType,o=t.dragX,l=t.touchX,u=t.drawerTranslation,p=t.containerWidth,c=o,w=l;'left'!==n?(c=s.Animated.multiply(new s.Animated.Value(-1),o),w=s.Animated.add(new s.Animated.Value(p),s.Animated.multiply(new s.Animated.Value(-1),l)),l.setValue(p)):l.setValue(0);var f=c;if('front'===i){var v=s.Animated.add(w,s.Animated.multiply(new s.Animated.Value(-1),c)).interpolate({inputRange:[r-1,r,r+1],outputRange:[0,0,1]});f=s.Animated.add(c,v)}a.openValue=s.Animated.add(f,u).interpolate({inputRange:[0,r],outputRange:[0,1],extrapolate:'clamp'});var h={useNativeDriver:e.useNativeAnimations};a.props.onDrawerSlide&&(h.listener=function(e){var t=Math.floor(Math.abs(e.nativeEvent.translationX))/a.state.containerWidth;null==a.props.onDrawerSlide||a.props.onDrawerSlide(t)}),a.onGestureEvent=s.Animated.event([{nativeEvent:{translationX:o,x:l}}],h)},a.handleContainerLayout=function(e){var t=e.nativeEvent;a.setState({containerWidth:t.layout.width})},a.emitStateChanged=function(e,t){null==a.props.onDrawerStateChanged||a.props.onDrawerStateChanged(e,t)},a.openingHandlerStateChange=function(e){var t=e.nativeEvent;t.oldState===_r(d[10]).State.ACTIVE?a.handleRelease({nativeEvent:t}):t.state===_r(d[10]).State.ACTIVE&&(a.emitStateChanged(f,!1),'on-drag'===a.props.keyboardDismissMode&&s.Keyboard.dismiss(),a.props.hideStatusBar&&s.StatusBar.setHidden(!0,a.props.statusBarAnimation||'slide'))},a.onTapHandlerStateChange=function(e){var t=e.nativeEvent;a.drawerShown&&t.oldState===_r(d[10]).State.ACTIVE&&'locked-open'!==a.props.drawerLockMode&&a.closeDrawer()},a.handleRelease=function(e){var t=e.nativeEvent,n=a.props,r=n.drawerWidth,i=n.drawerPosition,o=n.drawerType,l=a.state.containerWidth,s=t.translationX,u=t.velocityX,p=t.x;'left'!==i&&(s=-s,p=l-p,u=-u);var w=p-s,f=0;'front'===o&&(f=w>r?w-r:0);var v=s+f+(a.drawerShown?r:0);v+c*u>r/2?a.animateDrawer(v,r,u):a.animateDrawer(v,0,u)},a.updateShowing=function(e){var t,n,r;a.drawerShown=e,null==(t=a.accessibilityIsModalView.current)||t.setNativeProps({accessibilityViewIsModal:e}),null==(n=a.pointerEventsView.current)||n.setNativeProps({pointerEvents:e?'auto':'none'});var i=a.props,o=i.drawerPosition,l=i.minSwipeDistance,s=i.edgeWidth,u='left'===o,p=(u?1:-1)*(a.drawerShown?-1:1),c=u?{left:0,width:e?void 0:s}:{right:0,width:e?void 0:s};null==(r=a.panGestureHandler.current)||r.setNativeProps({hitSlop:c,activeOffsetX:p*l})},a.animateDrawer=function(e,t,n,r){if(a.state.dragX.setValue(0),a.state.touchX.setValue('left'===a.props.drawerPosition?0:a.state.containerWidth),null!=e){var i=e;a.props.useNativeAnimations&&(e0?i=Math.min(e+n/60,t):e>t&&n<0&&(i=Math.max(e+n/60,t))),a.state.drawerTranslation.setValue(i)}var o=0!==t;a.updateShowing(o),a.emitStateChanged(v,o),a.props.hideStatusBar&&s.StatusBar.setHidden(o,a.props.statusBarAnimation||'slide'),s.Animated.spring(a.state.drawerTranslation,{velocity:n,bounciness:0,toValue:t,useNativeDriver:a.props.useNativeAnimations,speed:null!=r?r:void 0}).start(function(e){e.finished&&(a.emitStateChanged(w,o),o?null==a.props.onDrawerOpen||a.props.onDrawerOpen():null==a.props.onDrawerClose||a.props.onDrawerClose())})},a.openDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.animateDrawer(void 0,a.props.drawerWidth,e.velocity?e.velocity:0),a.forceUpdate()},a.closeDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.animateDrawer(void 0,0,e.velocity?e.velocity:0),a.forceUpdate()},a.renderOverlay=function(){(0,l.default)(a.openValue,'should be set');var e={opacity:a.openValue.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),backgroundColor:a.props.overlayColor};return o.createElement(_r(d[11]).TapGestureHandler,{onHandlerStateChange:a.onTapHandlerStateChange},o.createElement(s.Animated.View,{pointerEvents:a.drawerShown?'auto':'none',ref:a.pointerEventsView,style:[y.overlay,e]}))},a.renderDrawer=function(){var e,t=a.props,n=t.drawerBackgroundColor,r=t.drawerWidth,i=t.drawerPosition,u=t.drawerType,p=t.drawerContainerStyle,c=t.contentContainerStyle,w='left'===i,f='back'!==u,v='front'!==u,h=s.I18nManager.isRTL?w:!w,S={backgroundColor:n,width:r},b=a.openValue;((0,l.default)(b,'should be set'),v)&&(e={transform:[{translateX:b.interpolate({inputRange:[0,1],outputRange:w?[0,r]:[0,-r],extrapolate:'clamp'})}]});var V=0;if(f){var A=w?-r:r;V=b.interpolate({inputRange:[0,1],outputRange:[A,0],extrapolate:'clamp'})}var D={transform:[{translateX:V}],flexDirection:h?'row-reverse':'row'};return o.createElement(s.Animated.View,{style:y.main,onLayout:a.handleContainerLayout},o.createElement(s.Animated.View,{style:['front'===u?y.containerOnBack:y.containerInFront,e,c],importantForAccessibility:a.drawerShown?'no-hide-descendants':'yes'},'function'==typeof a.props.children?a.props.children(a.openValue):a.props.children,a.renderOverlay()),o.createElement(s.Animated.View,{pointerEvents:"box-none",ref:a.accessibilityIsModalView,accessibilityViewIsModal:a.drawerShown,style:[y.drawerContainer,D,p]},o.createElement(s.View,{style:S},a.props.renderNavigationView(a.openValue))))},a.setPanGestureRef=function(e){a.panGestureHandler.current=e,null==a.props.onGestureRef||a.props.onGestureRef(e)};var n=new s.Animated.Value(0),r=new s.Animated.Value(0),i=new s.Animated.Value(0);return a.state={dragX:n,touchX:r,drawerTranslation:i,containerWidth:0},a.updateAnimatedEvent(e,a.state),a}return(0,a.default)(b,[{key:"UNSAFE_componentWillUpdate",value:function(e,t){this.props.drawerPosition===e.drawerPosition&&this.props.drawerWidth===e.drawerWidth&&this.props.drawerType===e.drawerType&&this.state.containerWidth===t.containerWidth||this.updateAnimatedEvent(e,t)}},{key:"render",value:function(){var e=this.props,t=e.drawerPosition,a=e.drawerLockMode,n=e.edgeWidth,r=e.minSwipeDistance,i='left'===t,l=(i?1:-1)*(this.drawerShown?-1:1),s=i?{left:0,width:this.drawerShown?void 0:n}:{right:0,width:this.drawerShown?void 0:n};return o.createElement(_r(d[11]).PanGestureHandler,{ref:this.setPanGestureRef,hitSlop:s,activeOffsetX:l*r,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:'locked-closed'!==a&&'locked-open'!==a},this.renderDrawer())}}]),b})(o.Component);_e.default=h,h.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked',enableTrackpadTwoFingerGesture:!1},h.positions={Left:'left',Right:'right'};var y=s.StyleSheet.create({drawerContainer:(0,e.default)({},s.StyleSheet.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:(0,e.default)({},s.StyleSheet.absoluteFillObject,{zIndex:1002}),containerOnBack:(0,e.default)({},s.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:(0,e.default)({},s.StyleSheet.absoluteFillObject,{zIndex:1e3})})},427,[5,6,7,8,12,14,16,17,36,28,3,4]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),p=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));r(d[0])(r(d[9]));g.__DEV__=!1,g.btoa||(g.btoa=r(d[10]).encode),g.atob||(g.atob=r(d[10]).decode),g.newsmemoryStartupParams={},g.setNewsmemoryStartupParams=function(n){g.newsmemoryStartupParams=n},g.updateNewsmemoryStartupParams=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=g.getNewsmemoryStartupParams()||{};g.newsmemoryStartupParams=(0,t.default)({},o,n)},g.getNewsmemoryStartupParams=function(){return g.newsmemoryStartupParams},g.isIssueInNewsmemoryStartupParams=function(){if(g.newsmemoryStartupParams){var n=g.newsmemoryStartupParams,t=n.date,o=n.selDate,s=n.issue;return void 0!==o||void 0!==t||void 0!==s}return!1},g.shouldForceNewsmemoryWithStartupParams=function(){return!!g.newsmemoryStartupParams&&("load"===g.newsmemoryStartupParams.schemaPath||g.isIssueInNewsmemoryStartupParams())},g.resetNewsmemoryStartupParams=function(){g.newsmemoryStartupParams={}},g.initBaseValues=function(n){var t=n.language,o=n.pSetup,s=n.machine,u=n.splashBgColor,p=n.loadingColor,l=n.appName,c=n.appVersionName,f=n.appVersionCode,S=n.androidVersionName,C=n.iosIapSharedSecret,P=n.androidAppId,v=n.pushService,A=n.pushChannel,w=n.pushChannelSilent,b=n.masAppId,y=n.hcmAppId,M=n.oneSignalAppId,h=n.facebookAppId,N=n.isAddon,D=n.addonNeedsCloseButton,L=n.addonNeedsSafeArea,I=n.isTecnaviaHelperApp,x=n.debugMode,_=n.densityDPI,T=n.isHuawei,F=n.isKindle,V=n.initialOrientation,R=n.developerName,U=n.externalLinkAccountURL,O=n.token,E=n.apiKey;g.splashBgColor=u,g.loadingColor=p,g.appName=l,g.appVersionName=c,g.androidVersionName=S,g.appVersionCode=f,g.iosIapSharedSecret=C,g.androidAppId=P,g.pushService=v,g.pushChannel=A,g.pushChannelSilent=w,g.masAppId=b,g.hcmAppId=y,g.oneSignalAppId=M,g.facebookAppId=h,g.isDebug=g.__DEV__||x,g.showSendLog=!g.__DEV__&&x,g.isApiDebug=g.isDebug,g.cssDebug=g.isDebug,g.isHuawei=T,g.isKindle=F,g.locale=t,g.pSetup=o,g.server=s,g.isTecnaviaHelperApp=I,g.densityDPI=_,g.initialOrientation=V,g.isAddon=N,g.addonNeedsCloseButton=N&&D,g.addonNeedsSafeArea=N&&L,g.apiKey=E,g.developerName=R||"Tecnavia",g.externalLinkAccountURL=U,O&&g.updateNewsmemoryStartupParams({token:O}),r(d[11]).NetworkUtils.isHTTPS=g.isHTTPS(),r(d[11]).Logger.enableLog=g.isDebug,g.__DEV__&&g.isTaAddon(),g.initialized=!0},g.initialized=!1,g.startup=!0,g.lastAppSide=void 0,g.lastRssCategory=void 0,g.pSetup="",g.server="",g.locale="",g.isDebug=!1,g.showSendLog=!1,g.isAddon=!1,g.addonNeedsCloseButton=!1,g.addonNeedsSafeArea=!1,g.isTecnaviaHelperApp=!1,g.developer="naquilini",g.isApiDebug=!1,g.cssDebug=!1,g.adsTestDevices=["EF6F266379A7547A0AC501AC591D60A1"],g.isLayoutDebug=!1,g.isDimensionsDebug=!1,g.developerName=void 0,g.externalLinkAccountURL=void 0,g.apiKey=void 0,g.unauthorized=!1,g.machineId=void 0,g.openingPushNotificationDate=new Date,g.advertisingTrackingConsent=void 0,g.isTaAddon=function(){return g.isAddon||g.isTecnaviaHelperApp},g.TaAddonNeedsCloseButton=function(){return g.addonNeedsCloseButton},g.appNeedsSafeArea=function(){return!g.isTaAddon()||g.addonNeedsSafeArea},g.getRssFavoritesConfig=function(){return g.rssFavoritesConfig||(g.rssFavoritesConfig=new(r(d[12]).RssFavoritesConfig)),g.rssFavoritesConfig},g.getEpaperLayoutConfig=function(){return g.epaperLayoutConfig||(g.epaperLayoutConfig=new o.default),g.epaperLayoutConfig},g.getLocaleConfig=function(){return g.localeConfig||(g.localeConfig=new(r(d[13]).LocaleConfig)),g.localeConfig},g.getSslConfig=function(){return g.sslConfig||(g.sslConfig=new u.default),g.sslConfig},g.strings=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g.getLocaleConfig().strings(n,t)},g.date=function(n){return g.getLocaleConfig().date(n)},g.formattedDate=function(n,t){return g.getLocaleConfig().formattedDate(n,t)},g.getAudio=function(){return g.getLocaleConfig().audioMgr},g.getAdsConfig=function(){return g.adsConfig||(g.adsConfig=new(r(d[14]).AdsConfig)),g.adsConfig},g.getVerticalsConfig=function(){return g.verticalsConfig||(g.verticalsConfig=new(r(d[15]).VerticalsConfig)),g.verticalsConfig},g.getNewsmemoryConfig=function(){return g.newsmemoryConfig||(g.newsmemoryConfig=new s.default),g.newsmemoryConfig},g.getRssIndexManager=function(){return g.rssIndexManager||(g.rssIndexManager=new(r(d[16]).RssIndexManager)),g.rssIndexManager},g.getRssIndex=function(n){return g.getRssIndexManager().getIndex(n)},g.getFontsManager=function(){return g.fontsManager||(g.fontsManager=new(r(d[17]).FontsManager)),g.fontsManager},g.getFontsConfig=function(n){return g.getFontsManager().getConfig(n)},g.getUserSettings=function(){return g.userConfig||(g.userConfig=new(r(d[18]).UserConfig)),g.userConfig},g.getAppPSetup=function(){var n,t=g.getUserSettings().notificationEmail;if(t){n=r(d[11]).StringUtils.parseNotificationEmail(t).pSetup;var o=g.getPaperSetupManager();if(o){var s=o.activePSetup;if(s)n!==c.default.parseXpSetup(s).mainpSetup&&o.setActivePSetup(n);else o.setActivePSetup(n)}}n||(n=g.pSetup);return n.trim()},g.getAppServer=function(){var n,t=g.getUserSettings().notificationEmail;t&&(n=r(d[11]).StringUtils.parseNotificationEmail(t).server);n||(n=g.server);return n.trim()},g.isHTTPS=function(){return 0===g.getAppServer().indexOf("https://")},g.getPaperSetupManager=function(){return g.paperSetupManager||(g.paperSetupManager=new(r(d[19]).PaperSetupManager)),g.paperSetupManager},g.getMainPSetup=function(){return g.getPaperSetupManager().getMainPSetupConfig()},g.getActivePSetup=function(){return g.getPaperSetupManager().getActivePSetupConfig()},g.getRSSActivePSetup=function(){return g.getPaperSetupManager().getRSSActivePSetupConfig()},g.initPSetup=function(t,o,s){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().init(t,o,s));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.initConfigOnly=function(t,o){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().initConfigOnly(t,o));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.setPSetupConfig=function(t,o){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().setPSetupConfig(t,o));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.loadPSetup=function(o,s,u,p){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().load(o,s,(0,t.default)({fromCache:!0},u),p));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.reloadActivePSetup=function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().reload(t));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.getPublicationsManager=function(){return g.publicationsManager||(g.publicationsManager=new l.default),g.publicationsManager},g.loadPublications=function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPublicationsManager().load());case 1:case"end":return n.stop()}},null,null,null,Promise)},g.setCurrentPublication=function(n){return g.getPublicationsManager().setCurrentPublication(n)},g.getCurrentPublication=function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPublicationsManager().getCurrentPublication());case 1:case"end":return n.stop()}},null,null,null,Promise)},g.getContentManager=function(){return g.contentManager||(g.contentManager=new p.default),g.contentManager},g.analyzeUsedSpace=function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getContentManager().analyze());case 1:case"end":return n.stop()}},null,null,null,Promise)},g.getUsedSpace=function(){var n=g.getContentManager();return{usedSpace:n.usedSpace,numberOfPapersDirs:n.numberOfPapersDirs,numberOfIssuesDirs:n.numberOfIssuesDirs,numberOfPagesDirs:n.numberOfPagesDirs}},r(d[11]).Logger.enableLog=!1,r(d[11]).Logger.enableLogCaller=!1,r(d[11]).Logger.initializedLogSession=!1,r(d[11]).Logger.logSessionFileName="",g.getLocaleConfig().initLocale()},428,[5,80,6,429,1865,1969,1970,1728,605,1729,467,462,1971,1985,2021,2077,2084,2092,2095,1855]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),c=(r(d[0])(r(d[5])),(function(){function c(){(0,n.default)(this,c),this.isTablet=r(d[6]).PlatformUtils.isTablet(),this.config={}}return(0,o.default)(c,[{key:"_addPublicationsButton",value:function(){var t;if(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&!this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openMore.key})){var n=r(d[8]).main.buttons.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openMore.key});n&&this.mainFooter.buttons.push(new(r(d[9]).Icon)(n))}if(this.mainFooter.more&&this.mainFooter.more.length>0&&(t=this.mainFooter.more.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t&&(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&(t=this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t)){this.mainFooter.more||(this.mainFooter.more=[]);var o=r(d[8]).main.more.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openOptionPagePublications.key});if(o){var s=this.mainFooter.more.length+1;o.id=s,this.mainFooter.more.push(new(r(d[9]).Icon)(o))}}}},{key:"getIconByAction",value:function(t){var n;return this.mainFooter&&(n=this.mainFooter.getButtonByAction(t)),!n&&this.articleFooter&&(n=this.articleFooter.getButtonByAction(t)),!n&&this.firstLevelIndexFooter&&(n=this.firstLevelIndexFooter.getButtonByAction(t)),!n&&this.secondLevelIndexFooter&&(n=this.secondLevelIndexFooter.getButtonByAction(t)),!n&&this.articleHeader&&(n=this.articleHeader.getButtonByAction(t)),!n&&this.firstLevelIndexHeader&&(n=this.firstLevelIndexHeader.getButtonByAction(t)),!n&&this.secondLevelIndexHeader&&(n=this.secondLevelIndexHeader.getButtonByAction(t)),!n&&this.navigationModel&&(n=this.navigationModel.getButtonByAction(t)),n}},{key:"init",value:function(n,o,u){var h,l,f,v,y,p,F,b,x,A,w,I,L=arguments;return t.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(h=L.length>3&&void 0!==L[3]&&L[3],this.type=o,!u){B.next=25;break}return B.prev=3,B.next=6,t.default.awrap(s.default.getEpaperLayoutConfig());case 6:l=B.sent,this.config=l&&l.data||{},g.getNewsmemoryConfig().setLayout(n,this.config),B.next=16;break;case 11:return B.prev=11,B.t0=B.catch(3),B.next=15,t.default.awrap(g.getNewsmemoryConfig().getLayout(n));case 15:this.config=B.sent;case 16:return B.prev=16,B.next=19,t.default.awrap(g.getNewsmemoryConfig().resetTranslationAvailable());case 19:B.next=23;break;case 21:B.prev=21,B.t1=B.catch(16);case 23:B.next=28;break;case 25:return B.next=27,t.default.awrap(g.getNewsmemoryConfig().getLayout(n));case 27:this.config=B.sent;case 28:if(!this.config||!this.config.main)switch(this.type){case c.Type.hybridLite:case c.Type.hybrid:case c.Type.lite:default:this.config=this.isTablet?r(d[8]):r(d[10])}f=this.config,v=f.main,y=f.article,p=f.index,F=f.navigation,v&&(this.mainFooter=new(r(d[11]).Footer)(v),b=g.getActivePSetup(),x=b.isGenericApp,r(d[12]).PaperSetupManager.isGenericAppConfigured()&&!x&&(A=g.getPublicationsManager(),(h||A.getPublications().length>1)&&this._addPublicationsButton())),y&&(this.articleFooter=new(r(d[11]).Footer)(y.footer),this.articleHeader=new(r(d[13]).Header)(y)),p&&(w=p.firstLevel,I=p.secondLevel,w&&(this.firstLevelIndexHeader=new(r(d[13]).Header)(w),this.firstLevelIndexFooter=new(r(d[11]).Footer)(w.footer||y.footer)),I&&(this.secondLevelIndexHeader=new(r(d[13]).Header)(I),this.secondLevelIndexFooter=new(r(d[11]).Footer)(I.footer||y.footer))),F&&(this.navigationModel=new(r(d[14]).Navigation)(F));case 34:case"end":return B.stop()}},null,this,[[3,11],[16,21]],Promise)}}]),c})());e.default=c,c.Type={normal:0,lite:1,hybrid:2,hybridLite:3}},429,[5,80,7,8,430,1728,462,1731,1810,1811,1851,1852,1855,1859,1864]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),a=_r(d[0])(_r(d[3])),r=_r(d[0])(_r(d[4])),n=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),s=_r(d[0])(_r(d[7])),l=P(_r(d[8])),i=P(_r(d[9])),o=_r(d[0])(_r(d[10])),c=_r(d[0])(_r(d[11])),p=(_r(d[0])(_r(d[12])),_r(d[0])(_r(d[13])),_r(d[0])(_r(d[14]))),f=_r(d[0])(_r(d[15]));_r(d[0])(_r(d[16]));function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(v=function(e){return e?a:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=v(t);if(a&&a.has(e))return a.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=n?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(r,u,s):r[u]=e[u]}return r.default=e,a&&a.set(e,r),r}var w=(function(){function v(){(0,r.default)(this,v)}return(0,n.default)(v,null,[{key:"getDomain",value:function(e){var t=g.getActivePSetup().machine,a=g.getNewsmemoryConfig().cdnServer;return e&&a||t}},{key:"baseUrl",value:function(e){return u.default.baseUrl(v.getDomain(e))}},{key:"getDefaultGETParams",value:function(){return{pSetup:g.getActivePSetup().pSetup}}},{key:"getEncryptedCallsParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=g.getActivePSetup(),a=t.pSetup,r=t.encryptFilenames;if(e&&r===_r(d[17]).ENCRYPT_FILENAME_TYPE.XPAPER){var n=i.default.parseXpSetup(a).xpSetup;if(n)return{pSetup:n}}return{}}},{key:"getResourceCDNParams",value:function(e,t,r,n){var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={};return e?(s=(0,a.default)({},v.getEncryptedCallsParams(u),{cc:i.default.encryptFilenames(r,e)}),n&&(s.mtime=n.join(","))):(s[t]=r.join(","),n&&(s.ts=i.default.getCDNChecksum(n))),s}},{key:"get",value:function(t){var r,n,s,l=arguments;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>1&&void 0!==l[1]?l[1]:{},n=l.length>2&&void 0!==l[2]&&l[2],s=l.length>3&&void 0!==l[3]?l[3]:{},e.abrupt("return",u.default.get(v.baseUrl(),r,(0,a.default)({},v.getDefaultGETParams(),t),n,s));case 4:case"end":return e.stop()}},null,null,null,Promise)}},{key:"post",value:function(t){var r,n,s,l,i,o,c=arguments;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2&&void 0!==c[2]?c[2]:{},s=c.length>3&&void 0!==c[3]?c[3]:{responseType:"text"},l=c.length>4&&void 0!==c[4]?c[4]:{},i=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),r),o=_r(d[18]).StringUtils.appendParams(t,i),e.abrupt("return",u.default.post(o,s,n,!0,l));case 7:case"end":return e.stop()}},null,null,null,Promise)}},{key:"login",value:function(r,n){var u,s,l,i,o,c;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return u=r.username,s=r.password,l=r.TAUID,i=r.TOKEN,o=r.challenge,c=(0,t.default)(r,["username","password","TAUID","TOKEN","challenge"]),e.abrupt("return",v.get((0,a.default)({action:"login",timepc:(new Date).getTime()/1e3||0,username:_r(d[18]).JSUtils.isNull(u)?void 0:u,password:s,challenge:o,TAUID:l,TOKEN:i,LocalUA:_r(d[18]).PlatformUtils.getUserAgent()},c),{timeout:n}));case 2:case"end":return e.stop()}},null,null,null,Promise)}},{key:"createIAPUser",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"createIAPUser"}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getEditionsAndIssues",value:function(){var t,r,n,s,l,o,c=arguments;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},r=g.getActivePSetup(),n=r.loadEditionsUrl,s=i.default.parseXpSetup(g.getActivePSetup().pSetup),l=s.mainpSetup,p.prev=3,p.next=6,e.default.awrap(u.default.get(n,{},(0,a.default)({},v.getDefaultGETParams(),{pSetup:l},t)));case 6:return o=p.sent,p.abrupt("return",o.data);case 10:p.prev=10,p.t0=p.catch(3);case 12:return p.abrupt("return",{});case 13:case"end":return p.stop()}},null,null,[[3,10]],Promise)}},{key:"getIssues",value:function(t){var a,r,n,u,s,l,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return a=g.getActivePSetup(),r=a.defaultMaxIssues,n=a.udb,u=g.getNewsmemoryConfig(),o.next=4,e.default.awrap(u.getPrefEdi(n));case 4:return s=o.sent,o.next=7,e.default.awrap(u.getFavEdi());case 7:return l=o.sent,o.prev=8,o.next=11,e.default.awrap(v.get({action:"issues",maxIssues:r,edition:t,prefEdi:s,favEdi:l}));case 11:return i=o.sent,o.abrupt("return",i.data);case 15:o.prev=15,o.t0=o.catch(8);case 17:return o.abrupt("return",[]);case 18:case"end":return o.stop()}},null,null,[[8,15]],Promise)}},{key:"getEditions",value:function(t){var a;return e.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,e.default.awrap(v.get({action:"editions",issue:t}));case 3:return a=r.sent,r.abrupt("return",a.data);case 7:r.prev=7,r.t0=r.catch(0);case 9:return r.abrupt("return",[]);case 10:case"end":return r.stop()}},null,null,[[0,7]],Promise)}},{key:"translateArticle",value:function(t){var r,n,s,l,o,c,p,f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return r=g.getActivePSetup(),n=r.translationServer,s=!1,n?l=u.default.baseUrl(n):(s=i.default.isCDNEnabled(),l=v.baseUrl(s)),b.prev=3,o=t.target,c=t.issue,p=t.edition,f=t.filename,P=t.artid,w=t.filetime,h=t.secret,y=(0,a.default)({},u.default.getDefaultParams(!0,s),v.getDefaultGETParams(),{action:"translate",target:o,issue:c,edition:p,artid:P},v.getResourceCDNParams(h,"filename",[f],[w],s)),b.next=8,e.default.awrap(u.default.get(l,{},y,!0));case 8:return D=b.sent,b.abrupt("return",D.data);case 12:b.prev=12,b.t0=b.catch(3);case 14:return b.abrupt("return","");case 15:case"end":return b.stop()}},null,null,[[3,12]],Promise)}},{key:"translationsAvailable",value:function(){var t;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.default.awrap(v.get({action:"languages"}));case 3:return t=a.sent,a.abrupt("return",t.data);case 7:a.prev=7,a.t0=a.catch(0);case 9:return a.abrupt("return",{});case 10:case"end":return a.stop()}},null,null,[[0,7]],Promise)}},{key:"share",value:function(t){var r,n,u,s,l,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return r=g.getActivePSetup(),n=r.loginStatus,u=n.TAUID,s=n.TOKEN,l=(0,a.default)({action:"share"},t,{TAUID:u,TOKEN:s}),o.prev=3,o.next=6,e.default.awrap(v.get(l));case 6:return i=o.sent,o.abrupt("return",i.data);case 10:o.prev=10,o.t0=o.catch(3);case 12:return o.abrupt("return",{});case 13:case"end":return o.stop()}},null,null,[[3,10]],Promise)}},{key:"downloadEditionDB",value:function(t,r,n,s,o){var c,f,P,w,h,y,D,b,x,E,T,U,I,k,N,A,S,C;return e.default.async(function(R){for(;;)switch(R.prev=R.next){case 0:return c=g.getActivePSetup(),f=c.loginStatus,P=c.encryptFilenames,w=f.TAUID,h=f.TOKEN,y=f.oneTimeToken,D=i.default.normalizeEdition(n)+"_pages",b=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"adfile",issue:r,adtype:D,edition:n,TAUID:w,TOKEN:h,oneTimeToken:y,uAVCC:f.getReceiptToken(),appendFirstPages:s?1:0}),P>_r(d[17]).ENCRYPT_FILENAME_TYPE.NONE&&(b.e=1),x=g.getNewsmemoryConfig(),(E=x.dbDownloadPSetup)&&(b.pSetup=E),T=_r(d[18]).StringUtils.appendParams(v.baseUrl(),b),U=p.default.getNewspaperIssueDirectory(t,r),I=r+"_"+D+".zip",R.next=12,e.default.awrap(l.default.getEditionDatabaseAndPages(T,I,U,(0,a.default)({completionCallback:function(e){var t=e.speed;k=t}},o)));case 12:return N=R.sent,A=N.filenames,S=N.responseHeaders,C=(0,a.default)({},A,{responseHeaders:S}),k&&(C.speed=k),R.abrupt("return",C);case 18:case"end":return R.stop()}},null,null,null,Promise)}},{key:"getHrImageUrl",value:function(e,t,r,n,s,l,o){var c=t?"jpg":"gif",p=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,p),v.getDefaultGETParams(),{action:"hrimage",issue:e,xmlId:r,boxId:n,type:c},v.getResourceCDNParams(o,"filename",[s],[l],p));return _r(d[18]).StringUtils.appendParams(v.baseUrl(p),f)}},{key:"getPagePath",value:function(e,t,a){return p.default.getNewspaperIssueDirectory(e,t)+a+"/"}},{key:"getHrPath",value:function(e,t,a,r,n,u){var s="pag_"+n+"_"+u+"."+(r?"jpg":"gif");return v.getPagePath(e,t,a)+s}},{key:"downloadHRImage",value:function(t,a,r,n,u,s,i,o){var p,f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return p="pag_"+u+"_"+s+"."+(i?"jpg":"gif"),f=v.getHrImageUrl(a,i,u,s,r,n,o),b.prev=3,P=v.getPagePath(t,a,r),b.next=7,e.default.awrap(l.default.downloadResourceInFolder(f,P,p));case 7:return w=b.sent,b.next=10,e.default.awrap((0,_r(d[19]).getImageSize)("file://"+w));case 10:return h=b.sent,y=h.width,D=h.height,b.abrupt("return",{path:w,name:c.default.getFilename(w),width:y,height:D});case 16:throw b.prev=16,b.t0=b.catch(3),b.t0;case 19:case"end":return b.stop()}},null,null,[[3,16]],Promise)}},{key:"downloadImage",value:function(t,r,n,s,o,f){var P,w,h,y,D,b,x,E;return e.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:return P=i.default.isCDNEnabled(),w=(0,a.default)({},u.default.getDefaultParams(!0,P),v.getDefaultGETParams(),{action:"base64image",issue:r,image:n},v.getResourceCDNParams(f,"filename",[s],[o],P)),h=_r(d[18]).StringUtils.appendParams(v.baseUrl(P),w),T.prev=3,y=p.default.getNewspaperIssueDirectory(t,r)+s+"/",T.next=7,e.default.awrap(l.default.downloadResourceInFolder(h,y,n));case 7:if(D=T.sent,b=0,x=0,!D.endsWith(_r(d[20]).EPaperImageName.PDF)){T.next=15;break}b=100,x=100,T.next=24;break;case 15:return T.next=17,e.default.awrap((0,_r(d[19]).getImageSize)("file://"+D));case 17:if(E=T.sent,b=E.width,x=E.height,0!==b&&0!==x){T.next=24;break}return T.next=23,e.default.awrap(_r(d[18]).FileUtils.unlink(D));case 23:throw new Error("Invalid size "+b+"x"+x+" for image "+D);case 24:return T.abrupt("return",{path:D,name:c.default.getFilename(D),width:b,height:x});case 27:throw T.prev=27,T.t0=T.catch(3),T.t0;case 30:case"end":return T.stop()}},null,null,[[3,27]],Promise)}},{key:"downloadPageZip",value:function(t,r,n,s,o){var c,f,P,w,h,y,D,b,x;return e.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return c=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,c),v.getDefaultGETParams(),{action:"zippedimages",issue:r},v.getResourceCDNParams(o,"filename",[n],[s],c)),P=_r(d[18]).StringUtils.appendParams(v.baseUrl(c),f),E.prev=3,w=p.default.getNewspaperIssueDirectory(t,r)+n+"/",E.next=7,e.default.awrap(l.default.downloadResourceAndUnzipInFolder(P,w));case 7:return h=_r(d[20]).EPaperImageName.LOW,y=_r(d[20]).EPaperImageName.GRAPH,D=_r(d[20]).EPaperImageName.GIF,b=_r(d[20]).EPaperImageName.PDF,E.next=10,e.default.awrap(l.default.scanPageFolderForImages(w,[h,y,D,b]));case 10:return x=E.sent,E.abrupt("return",x);case 14:throw E.prev=14,E.t0=E.catch(3),E.t0;case 17:case"end":return E.stop()}},null,null,[[3,14]],Promise)}},{key:"downloadHRImagesZip",value:function(t,r,n,s,o){var f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return f=i.default.isCDNEnabled(),P=n.substring(0,n.length-2),w=(0,a.default)({},u.default.getDefaultParams(!0,f),v.getDefaultGETParams(),{action:"zippedhrimages",mode:"g",issue:r},v.getResourceCDNParams(o,"page",[P],[s],f)),h=_r(d[18]).StringUtils.appendParams(v.baseUrl(f),w),b.prev=4,y=p.default.getNewspaperIssueDirectory(t,r)+n+"/",b.next=8,e.default.awrap(l.default.downloadResourceInFolder(h,y,i.ARCHIVE_ZIP_GRAPH_FILENAME));case 8:return D=b.sent,b.next=11,e.default.awrap(c.default.exists(D));case 11:if(!b.sent){b.next=14;break}return b.abrupt("return",D);case 14:return b.abrupt("return",null);case 17:throw b.prev=17,b.t0=b.catch(4),b.t0;case 20:case"end":return b.stop()}},null,null,[[4,17]],Promise)}},{key:"downloadMultiplePagesZips",value:function(t,r,n,s,o){var c,f,P,w,h,y,D,b;return e.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:return c=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,c),v.getDefaultGETParams(),{action:"multizippedimages",issue:r},v.getResourceCDNParams(o,"filenames",n,s,c)),P=_r(d[18]).StringUtils.appendParams(v.baseUrl(c),f),x.prev=3,w=p.default.getNewspaperIssueDirectory(t,r),x.next=7,e.default.awrap(l.default.downloadResourceAndUnzipInFolder(P,w));case 7:return h=_r(d[20]).EPaperImageName.LOW,y=_r(d[20]).EPaperImageName.GRAPH,D=_r(d[20]).EPaperImageName.GIF,b=_r(d[20]).EPaperImageName.PDF,x.abrupt("return",Promise.all(n.map(function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l.default.scanPageFolderForImages(w+t,[h,y,D,b]));case 1:case"end":return e.stop()}},null,null,null,Promise)})));case 11:throw x.prev=11,x.t0=x.catch(3),x.t0;case 14:case"end":return x.stop()}},null,null,[[3,11]],Promise)}},{key:"downloadFullPaper",value:function(t,r,n){var s,i,o,c,f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return s=g.getActivePSetup(),i=s.loginStatus,o=i.TAUID,c=i.TOKEN,f=i.oneTimeToken,P=g.getNewsmemoryConfig(),w=P.network,h=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"zippedpaper",issue:r,edition:n,TAUID:o,TOKEN:c,oneTimeToken:f,network:w,uAVCC:i.getReceiptToken()}),y=_r(d[18]).StringUtils.appendParams(v.baseUrl(),h),b.prev=5,D=p.default.getNewspaperIssueDirectory(t,r),b.next=9,e.default.awrap(l.default.downloadResourceAndUnzipInFolder(y,D));case 9:b.next=14;break;case 11:throw b.prev=11,b.t0=b.catch(5),b.t0;case 14:case"end":return b.stop()}},null,null,[[5,11]],Promise)}},{key:"downloadPaperIndex",value:function(t,a){var r,n,u,s,l,i,o,c;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return r=g.getActivePSetup(),n=r.loginStatus,u=n.TAUID,s=n.TOKEN,l=n.oneTimeToken,i={action:"index",issue:t,edition:a,TAUID:u,TOKEN:s,oneTimeToken:l,uAVCC:n.getReceiptToken()},p.next=5,e.default.awrap(v.get(i));case 5:if(o=p.sent,!(c=o.data)){p.next=9;break}return p.abrupt("return",c);case 9:throw new Error("NewsmemoryAJAX - downloadPaperIndex: no data returned");case 10:case"end":return p.stop()}},null,null,null,Promise)}},{key:"downloadArticles",value:function(t,r,n,u){var s,l,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,s=(0,a.default)({action:"articles",issue:t,edition:r},v.getResourceCDNParams(u,"filename",[n])),o.next=4,e.default.awrap(v.get(s));case 4:if(l=o.sent,!(i=l.data)){o.next=8;break}return o.abrupt("return",i);case 8:o.next=12;break;case 10:o.prev=10,o.t0=o.catch(0);case 12:throw new Error("NewsmemoryAJAX - downloadArticles: no data returned");case 13:case"end":return o.stop()}},null,null,[[0,10]],Promise)}},{key:"getAvailableLanguages",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"languages"}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getRemoteSharePage",value:function(t,a){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"publink",type:t,forwardShareId:a}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getEpaperLayoutConfig",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"buttons"}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getApplication",value:function(){var t,r,n,s,l;return e.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"application"}),r=_r(d[18]).StringUtils.appendParams(v.baseUrl(),t),i.prev=2,i.next=5,e.default.awrap(c.default.fetch(r));case 5:if(!(n=i.sent)){i.next=23;break}return s=n.path(),l=f.default.getDirectory()+"/",i.prev=9,i.next=12,e.default.awrap(c.default.unlink(l));case 12:i.next=16;break;case 14:i.prev=14,i.t0=i.catch(9);case 16:return i.next=18,e.default.awrap(c.default.mkdir(l));case 18:return i.next=20,e.default.awrap(c.default.unzip(s,l));case 20:return i.next=22,e.default.awrap(c.default.clearUnusedDownloadedFiles(s));case 22:return i.abrupt("return",!0);case 23:i.next=28;break;case 25:throw i.prev=25,i.t1=i.catch(2),new Error("Failed to download "+r);case 28:return i.abrupt("return",!1);case 29:case"end":return i.stop()}},null,null,[[2,25],[9,14]],Promise)}},{key:"getCDNStatus",value:function(t,r){var n,s,l,i,o,c;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.getActivePSetup(),s=n.loginStatus,l=s.TAUID,i=s.TOKEN,o=s.oneTimeToken,c=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"cdn",issue:t,edition:r,TAUID:l,TOKEN:i,oneTimeToken:o,uAVCC:s.getReceiptToken()}),e.abrupt("return",v.get(c));case 4:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getChildArtImageUrl",value:function(e,t,r,n,s,l,o,c,p){var f=i.default.isCDNEnabled(),P=(0,a.default)({},u.default.getDefaultParams(!0,!0),v.getDefaultGETParams(),{action:"loadImage",type:"printImage",xmlId:t,issue:e,images:r,medDpi:n,pageW:s,pageH:l},v.getResourceCDNParams(p,"filename",[o],[c],f));return _r(d[18]).StringUtils.appendParams(v.baseUrl(f),P)}},{key:"getInArticleImageUrl",value:function(e,t,r,n,s,l,o,c){var p=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,!0),v.getDefaultGETParams(),{action:"loadImage",type:"Image",paper:e,issue:t,edition:r,val:n,imageIssue:s!==t?s:void 0},v.getResourceCDNParams(c,"filename",[l],[o],p));return _r(d[18]).StringUtils.appendParams(v.baseUrl(p),f)}},{key:"getSpecialSectionUrl",value:function(e,t,r,n){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=i.default.isCDNEnabled(),c=(0,a.default)({},u.default.getDefaultParams(!0,o),v.getDefaultGETParams(),{action:e,issue:t},v.getResourceCDNParams(n,"edition",[r],[0],o&&!s));return s&&(c.editionfromcalling=g.getNewsmemoryConfig().editionfromcalling),"indexspecial"===e&&(c.showSections=l?1:0,c.remote=1),_r(d[18]).StringUtils.appendParams(v.baseUrl(o),c)}},{key:"getDownloadPdfUrl",value:function(t,r){var n,s,l,i,o,c,p,f,P,w,h,y;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getIssue(),s=t.getEdition(),l=t.getSecret(),i=r.getFilename(),o=r.getPage(),c=g.getActivePSetup(),p=c.loginStatus,f=p.TAUID,P=p.TOKEN,w=p.oneTimeToken,h=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"page",issue:n,edition:s,page:o,TAUID:f,TOKEN:P,oneTimeToken:w,uAVCC:p.getReceiptToken()},v.getResourceCDNParams(l,"filename",[i])),y=_r(d[18]).StringUtils.appendParams(v.baseUrl(),h),e.abrupt("return",y);case 10:case"end":return e.stop()}},null,null,null,Promise)}},{key:"downloadPDF",value:function(t,a){var r,n,u,s,p,f,P,w;return e.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return h.prev=0,r=g.getActivePSetup(),n=r.paperName,n=i.default.normalizePaperName(n),u=t.getIssue(),s=o.default.removeZerosFromPageNumber(a.getPage()),h.next=7,e.default.awrap(v.getDownloadPdfUrl(t,a));case 7:return p=h.sent,f=n+"_"+u+"_"+s+".pdf",P=c.default.getDownloadedPdfDirectory()+"/"+f,h.next=12,e.default.awrap(c.default.exists(P));case 12:if(h.sent){h.next=18;break}return h.next=15,e.default.awrap(l.default.downloadResourceInFolder(p,c.default.getDownloadedPdfDirectory()+"/",f));case 15:w=h.sent,h.next=19;break;case 18:w=P;case 19:return h.abrupt("return",{path:w,name:f,url:p});case 22:throw h.prev=22,h.t0=h.catch(0),h.t0;case 25:case"end":return h.stop()}},null,null,[[0,22]],Promise)}},{key:"uploadSessionReport",value:function(t,a){var r,n,u,s;return e.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,r=g.getActivePSetup(),n=r.sessionUploadBaseURL,u=n||v.baseUrl(),s=JSON.stringify(a.getReport()),l.next=6,e.default.awrap(v.post(u,{action:"uploadSessionReport"},{sessionId:t,report:s}));case 6:return l.abrupt("return",!0);case 9:l.prev=9,l.t0=l.catch(0);case 11:return l.abrupt("return",!1);case 12:case"end":return l.stop()}},null,null,[[0,9]],Promise)}},{key:"getVideoURL",value:function(e){var t=s.default.getSafeArea(),r=t.width,n=t.height,l=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"video",videoURL:_r(d[18]).StringUtils.appendParams(e,{width:Math.min(r,n)})});return _r(d[18]).StringUtils.appendParams(v.baseUrl(),l)}},{key:"getIubendaCMPBaseURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.default)({},u.default.getDefaultParams(),{action:"cmp"},e);return _r(d[18]).StringUtils.appendParams(v.baseUrl(),t)}},{key:"getCMPVendorListUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.default)({version:s.default.getAppVersion(),action:"cmpVendorList",cc:1,mtime:0},e),r=g,n=r.isApiDebug,u=r.developer;n&&(t.isDebug=n,t.developer=u);var l=g.getNewsmemoryConfig().cdnVersion;void 0!==l&&(t.v=l);var o=i.default.isCDNEnabled();return _r(d[18]).StringUtils.appendParams(v.baseUrl(o),t)}},{key:"getCMPVendorList",value:function(){var t,a,r=arguments;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,n.next=4,e.default.awrap(u.default.get(v.getCMPVendorListUrl(t),{},{},!0));case 4:return a=n.sent,n.abrupt("return",a.data);case 8:n.prev=8,n.t0=n.catch(1);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}},null,null,[[1,8]],Promise)}},{key:"validateReceipt",value:function(){var t,a,r,n,s=arguments;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},a=g.getActivePSetup(),r=a.loginStatus,n=r.TAUID,_r(d[18]).JSUtils.isNull(t.TAUID)&&_r(d[21]).LoginStatus.isValidTAUID(n)&&(t.TAUID=n),e.abrupt("return",u.default.validateReceipt(t));case 5:case"end":return e.stop()}},null,null,null,Promise)}}]),v})();_e.default=w},430,[5,80,108,6,7,8,431,458,588,605,746,576,747,646,748,752,753,754,462,590,589,758]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HTTP_CODES=e.MAX_RETRIES=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),p=o.default.create();e.MAX_RETRIES=3;var v={PARTIAL_CONTENT:206,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504};e.HTTP_CODES=v;var h=(function(){function o(){(0,l.default)(this,o)}return(0,s.default)(o,null,[{key:"setReadAndNetworkTimeouts",value:function(t,n){p.defaults.timeout=n,f.default.networkTimeout=n,f.default.readTimeout=r(d[9]).PlatformUtils.isAndroid()?t:n}},{key:"set2GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_2G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_2G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set3GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_3G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_3G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set4GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_4G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_4G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"setTimeout",value:function(){r(d[9]).NetworkUtils.is2G()?o.set2GTimeout():r(d[9]).NetworkUtils.is3G()?o.set3GTimeout():(r(d[9]).NetworkUtils.is4G(),o.set4GTimeout())}},{key:"getServer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return r(d[9]).NetworkUtils.addDefaultProtocol(t.trim())}},{key:"baseUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return o.getServer(t).concat("/default_react_native.php")}},{key:"getDefaultParams",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=g,s=l.getAppPSetup,f=l.isApiDebug,p=l.developer,v={};return f&&(v.isDebug=f,v.developer=p),(0,u.default)({pSetup:s()},n?{}:o.getUserParams(),t?{}:o.getDeviceParams(),{version:c.default.getAppVersion()},v)}},{key:"getUserParams",value:function(){return{MACHINEID:g.machineId,t:(new Date).getTime()}}},{key:"getDeviceParams",value:function(){return{os:r(d[9]).PlatformUtils.isAndroid()?"android":"ios",isEInk:r(d[9]).PlatformUtils.isEInk()?1:void 0,isKindle:c.default.isKindle()?1:void 0,isPhone:r(d[9]).PlatformUtils.isTablet()?0:1,apiVersion:r(d[9]).PlatformUtils.getSystemSDK()}}},{key:"head",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",p.head(n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"ajax",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",p.get(n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"get",value:function(n){var l,s,c,f,v,h=arguments;return t.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:return l=h.length>1&&void 0!==h[1]?h[1]:{},s=h.length>2&&void 0!==h[2]?h[2]:{},c=h.length>3&&void 0!==h[3]&&h[3],f=h.length>4&&void 0!==h[4]?h[4]:{},v=s,c||(v=(0,u.default)({},o.getDefaultParams(),v)),T.prev=6,T.next=9,t.default.awrap(p.get(n,(0,u.default)({headers:(0,u.default)({"User-Agent":r(d[9]).PlatformUtils.getUserAgent()},f)},l,{params:v,paramsSerializer:r(d[9]).StringUtils.getQuerystring})));case 9:return T.abrupt("return",T.sent);case 12:throw T.prev=12,T.t0=T.catch(6),T.t0;case 15:case"end":return T.stop()}},null,null,[[6,12]],Promise)}},{key:"post",value:function(n){var l,s,c,f,v,h,T=arguments;return t.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:return l=T.length>1&&void 0!==T[1]?T[1]:{},s=T.length>2&&void 0!==T[2]?T[2]:{},c=T.length>3&&void 0!==T[3]&&T[3],f=T.length>4&&void 0!==T[4]?T[4]:{},v=s,c||(v=(0,u.default)({},o.getDefaultParams(),v)),h=r(d[9]).StringUtils.getQuerystring(v),P.prev=7,P.next=10,t.default.awrap(p.post(n,h,(0,u.default)({headers:(0,u.default)({Accept:"application/x-www-form-urlencoded","User-Agent":r(d[9]).PlatformUtils.getUserAgent()},f)},l)));case 10:return P.abrupt("return",P.sent);case 13:throw P.prev=13,P.t0=P.catch(7),P.t0;case 16:case"end":return P.stop()}},null,null,[[7,13]],Promise)}},{key:"remp",value:function(n,u){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.get(n,{},u));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"rssIndex",value:function(l){var s,c,f,p,v;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.customUrl,c=l.pSetup,f=l.machine,p=(0,n.default)(l,["customUrl","pSetup","machine"]),v={},s||(v=(0,u.default)({action:"RSSindex",pSetup:c},p)),t.abrupt("return",o.get(s||o.baseUrl(f),{responseType:"text"},v));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getWithParams",value:function(n){var u,l,s,c=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=c.length>1&&void 0!==c[1]?c[1]:{},l=c.length>2?c[2]:void 0,s=c.length>3&&void 0!==c[3]&&c[3],t.abrupt("return",o.get(o.baseUrl(l),u,n,s));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"cities",value:function(n){var u;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n.wording,t.abrupt("return",o.getWithParams({action:"utilscities",wording:u}));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"closestCities",value:function(n){var u,l;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n.lat,l=n.lon,t.abrupt("return",o.getWithParams({action:"utilsclosestcity",lat:u,lon:l}));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"deleteDeviceToPushServer",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.token,c=(0,n.default)(l,["token"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"push_deletion_service",package_id:r(d[9]).PlatformUtils.getPackagedId(),reg_id:s},c)));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"registerDeviceToPushServer",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.token,c=(0,n.default)(l,["token"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"push_registration_service",package_id:r(d[9]).PlatformUtils.getPackagedId(),reg_id:s},c)));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"notices",value:function(){var l,s,c,f=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l=f.length>0&&void 0!==f[0]?f[0]:{},s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"advertisements"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"noticeURI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=t.machine,s=(0,n.default)(t,["machine"]);return r(d[9]).StringUtils.appendParams(o.baseUrl(l),(0,u.default)({},o.getDefaultParams(),{action:"notices"},s))}},{key:"sslCertificatesURI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,l=!!n;return r(d[9]).StringUtils.appendParams(o.baseUrl(n),(0,u.default)({},o.getDefaultParams(l,l),t,{os:"android",action:"certificates"}))}},{key:"pSetup",value:function(l){var s,f;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,f=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"message",bundleVersion:c.default.getBundleVersion(),version:c.default.getAppVersion(),inches:r(d[9]).PlatformUtils.getScreenInches(),device:r(d[9]).PlatformUtils.getDeviceId()},f),{responseType:"text"},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getBundleDownloadUrl",value:function(){var t=o.getDefaultParams();return t.action="getBundle",t.bundleVersion=c.default.getBundleVersion(),r(d[9]).StringUtils.appendParams(o.baseUrl(),t)}},{key:"customLanguagePack",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"locale"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"customFonts",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"fonts"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"checkConfigUpdate",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"checkconfigupdate"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getConfig",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"config"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getAppStoreMetadata",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getWithParams({action:"appstoremetadata",bundleId:r(d[9]).PlatformUtils.getPackagedId()}));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getGoogleAccessToken",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getWithParams({action:"getGoogleToken"}));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"validateReceipt",value:function(){var n,l=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},t.abrupt("return",o.post(r(d[9]).StringUtils.appendParams(o.baseUrl(),(0,u.default)({},o.getDefaultParams(),{action:"validatereceipt"})),{},n,!0));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getMaster",value:function(){var t=g.getAppServer();if(r(d[9]).StringUtils.isTecnaviaDomain(t)){var n=t.replace(/https?:\/\//,"").split(/(?:-|\.)(?!com)/);n.length>3&&(5===n.length&&n.splice(0,1),n[0]="server",4===n.length&&(n[3]="admin."+n[3],n.splice(2,1)),t=n.join(g.isHTTPS()?"-":"."))}return t}},{key:"sendLogToServer",value:function(){var n;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=r(d[9]).StringUtils.appendParams(o.baseUrl(o.getMaster()),(0,u.default)({},o.getDefaultParams(),{action:"upload_log"})),l.prev=1,l.next=4,t.default.awrap(f.default.post(n,{name:"uploadedfile",filename:r(d[9]).Logger.logSessionFileName,type:"text/plain",data:f.default.wrap(r(d[10]).LOG_BASE_PATH+"/"+r(d[9]).Logger.logSessionFileName)}));case 4:return l.abrupt("return",!0);case 7:return l.prev=7,l.t0=l.catch(1),l.abrupt("return",!1);case 10:case"end":return l.stop()}},null,null,[[1,7]],Promise)}},{key:"sendLog",value:function(){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,t.default.awrap(o.sendLogToServer());case 2:return n=u.sent,u.next=5,t.default.awrap(r(d[9]).Logger.deleteLogFile());case 5:return u.next=7,t.default.awrap(r(d[9]).Logger.createNewSessionLog());case 7:return u.abrupt("return",n);case 8:case"end":return u.stop()}},null,null,null,Promise)}},{key:"requestWithRetry",value:function(n){var u,l,s,o,c,f,p,h,T,P,U=arguments;return t.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:for(u=n.request,l=n.onRetry,s=n.maxRetries,o=void 0===s?3:s,f=0,p=U.length,h=new Array(p>1?p-1:0),T=1;T0&&l&&l(f,o),y.next=7,t.default.awrap(u.apply(void 0,h));case 7:P=y.sent,c=P.data,y.next=15;break;case 11:if(y.prev=11,y.t0=y.catch(3),!y.t0.response||y.t0.response.status!==v.UNAUTHORIZED){y.next=15;break}throw y.t0;case 15:f+=1;case 16:if(!c&&f0&&void 0!==arguments[0]?arguments[0]:{},o=g.getNewsmemoryStartupParams()||{};g.newsmemoryStartupParams=(0,t.default)({},o,n)},g.getNewsmemoryStartupParams=function(){return g.newsmemoryStartupParams},g.isIssueInNewsmemoryStartupParams=function(){if(g.newsmemoryStartupParams){var n=g.newsmemoryStartupParams,t=n.date,o=n.selDate,s=n.issue;return void 0!==o||void 0!==t||void 0!==s}return!1},g.shouldForceNewsmemoryWithStartupParams=function(){return!!g.newsmemoryStartupParams&&("load"===g.newsmemoryStartupParams.schemaPath||g.isIssueInNewsmemoryStartupParams())},g.resetNewsmemoryStartupParams=function(){g.newsmemoryStartupParams={}},g.initBaseValues=function(n){var t=n.language,o=n.pSetup,s=n.machine,u=n.splashBgColor,p=n.loadingColor,l=n.appName,c=n.appVersionName,f=n.appVersionCode,S=n.androidVersionName,C=n.iosIapSharedSecret,P=n.androidAppId,v=n.pushService,b=n.pushChannel,A=n.pushChannelSilent,w=n.masAppId,y=n.hcmAppId,M=n.oneSignalAppId,h=n.facebookAppId,D=n.isAddon,N=n.addonNeedsCloseButton,L=n.addonNeedsSafeArea,I=n.isTecnaviaHelperApp,x=n.debugMode,_=n.densityDPI,T=n.isHuawei,F=n.isKindle,V=n.initialOrientation,R=n.developerName,U=n.externalLinkAccountURL,O=n.token,E=n.apiKey,k=n.enableDebugger;g.splashBgColor=u,g.loadingColor=p,g.appName=l,g.appVersionName=c,g.androidVersionName=S,g.appVersionCode=f,g.iosIapSharedSecret=C,g.androidAppId=P,g.pushService=v,g.pushChannel=b,g.pushChannelSilent=A,g.masAppId=w,g.hcmAppId=y,g.oneSignalAppId=M,g.facebookAppId=h,g.isDebug=g.__DEV__||x,g.showSendLog=!g.__DEV__&&x,g.isApiDebug=g.isDebug,g.cssDebug=g.isDebug,g.isHuawei=T,g.isKindle=F,g.locale=t,g.pSetup=o,g.server=s,g.isTecnaviaHelperApp=I,g.densityDPI=_,g.initialOrientation=V,g.isAddon=D,g.addonNeedsCloseButton=D&&N,g.addonNeedsSafeArea=D&&L,g.apiKey=E,g.enableDebugger=!!k,g.developerName=R||"Tecnavia",g.externalLinkAccountURL=U,O&&g.updateNewsmemoryStartupParams({token:O}),r(d[11]).NetworkUtils.isHTTPS=g.isHTTPS(),r(d[11]).Logger.enableLog=g.isDebug,g.__DEV__&&g.isTaAddon(),g.initialized=!0},g.initialized=!1,g.startup=!0,g.lastAppSide=void 0,g.lastRssCategory=void 0,g.pSetup="",g.server="",g.locale="",g.isDebug=!1,g.showSendLog=!1,g.isAddon=!1,g.addonNeedsCloseButton=!1,g.addonNeedsSafeArea=!1,g.isTecnaviaHelperApp=!1,g.developer="naquilini",g.isApiDebug=!1,g.cssDebug=!1,g.adsTestDevices=["EF6F266379A7547A0AC501AC591D60A1"],g.isLayoutDebug=!1,g.isDimensionsDebug=!1,g.developerName=void 0,g.externalLinkAccountURL=void 0,g.apiKey=void 0,g.unauthorized=!1,g.enableDebugger=!1,g.machineId=void 0,g.openingPushNotificationDate=new Date,g.advertisingTrackingConsent=void 0,g.isTaAddon=function(){return g.isAddon||g.isTecnaviaHelperApp},g.TaAddonNeedsCloseButton=function(){return g.addonNeedsCloseButton},g.appNeedsSafeArea=function(){return!g.isTaAddon()||g.addonNeedsSafeArea},g.getRssFavoritesConfig=function(){return g.rssFavoritesConfig||(g.rssFavoritesConfig=new(r(d[12]).RssFavoritesConfig)),g.rssFavoritesConfig},g.getEpaperLayoutConfig=function(){return g.epaperLayoutConfig||(g.epaperLayoutConfig=new o.default),g.epaperLayoutConfig},g.getLocaleConfig=function(){return g.localeConfig||(g.localeConfig=new(r(d[13]).LocaleConfig)),g.localeConfig},g.getSslConfig=function(){return g.sslConfig||(g.sslConfig=new u.default),g.sslConfig},g.strings=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g.getLocaleConfig().strings(n,t)},g.date=function(n){return g.getLocaleConfig().date(n)},g.formattedDate=function(n,t){return g.getLocaleConfig().formattedDate(n,t)},g.getAudio=function(){return g.getLocaleConfig().audioMgr},g.getAdsConfig=function(){return g.adsConfig||(g.adsConfig=new(r(d[14]).AdsConfig)),g.adsConfig},g.getVerticalsConfig=function(){return g.verticalsConfig||(g.verticalsConfig=new(r(d[15]).VerticalsConfig)),g.verticalsConfig},g.getNewsmemoryConfig=function(){return g.newsmemoryConfig||(g.newsmemoryConfig=new s.default),g.newsmemoryConfig},g.getRssIndexManager=function(){return g.rssIndexManager||(g.rssIndexManager=new(r(d[16]).RssIndexManager)),g.rssIndexManager},g.getRssIndex=function(n){return g.getRssIndexManager().getIndex(n)},g.getFontsManager=function(){return g.fontsManager||(g.fontsManager=new(r(d[17]).FontsManager)),g.fontsManager},g.getFontsConfig=function(n){return g.getFontsManager().getConfig(n)},g.getUserSettings=function(){return g.userConfig||(g.userConfig=new(r(d[18]).UserConfig)),g.userConfig},g.getAppPSetup=function(){var n,t=g.getUserSettings().notificationEmail;if(t){n=r(d[11]).StringUtils.parseNotificationEmail(t).pSetup;var o=g.getPaperSetupManager();if(o){var s=o.activePSetup;if(s)n!==c.default.parseXpSetup(s).mainpSetup&&o.setActivePSetup(n);else o.setActivePSetup(n)}}n||(n=g.pSetup);return n.trim()},g.getAppServer=function(){var n,t=g.getUserSettings().notificationEmail;t&&(n=r(d[11]).StringUtils.parseNotificationEmail(t).server);n||(n=g.server);return n.trim()},g.isHTTPS=function(){return 0===g.getAppServer().indexOf("https://")},g.getPaperSetupManager=function(){return g.paperSetupManager||(g.paperSetupManager=new(r(d[19]).PaperSetupManager)),g.paperSetupManager},g.getMainPSetup=function(){return g.getPaperSetupManager().getMainPSetupConfig()},g.getActivePSetup=function(){return g.getPaperSetupManager().getActivePSetupConfig()},g.getRSSActivePSetup=function(){return g.getPaperSetupManager().getRSSActivePSetupConfig()},g.initPSetup=function(t,o,s){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().init(t,o,s));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.initConfigOnly=function(t,o){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().initConfigOnly(t,o));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.setPSetupConfig=function(t,o){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().setPSetupConfig(t,o));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.loadPSetup=function(o,s,u,p){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().load(o,s,(0,t.default)({fromCache:!0},u),p));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.reloadActivePSetup=function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPaperSetupManager().reload(t));case 1:case"end":return n.stop()}},null,null,null,Promise)},g.getPublicationsManager=function(){return g.publicationsManager||(g.publicationsManager=new l.default),g.publicationsManager},g.loadPublications=function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPublicationsManager().load());case 1:case"end":return n.stop()}},null,null,null,Promise)},g.setCurrentPublication=function(n){return g.getPublicationsManager().setCurrentPublication(n)},g.getCurrentPublication=function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getPublicationsManager().getCurrentPublication());case 1:case"end":return n.stop()}},null,null,null,Promise)},g.getContentManager=function(){return g.contentManager||(g.contentManager=new p.default),g.contentManager},g.analyzeUsedSpace=function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",g.getContentManager().analyze());case 1:case"end":return n.stop()}},null,null,null,Promise)},g.getUsedSpace=function(){var n=g.getContentManager();return{usedSpace:n.usedSpace,numberOfPapersDirs:n.numberOfPapersDirs,numberOfIssuesDirs:n.numberOfIssuesDirs,numberOfPagesDirs:n.numberOfPagesDirs}},r(d[11]).Logger.enableLog=!1,r(d[11]).Logger.enableLogCaller=!1,r(d[11]).Logger.initializedLogSession=!1,r(d[11]).Logger.logSessionFileName="",g.getLocaleConfig().initLocale()},428,[5,80,6,429,1868,1972,1973,1728,605,1729,467,462,1974,1988,2024,2080,2087,1859,2095,1855]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),c=(r(d[0])(r(d[5])),(function(){function c(){(0,n.default)(this,c),this.isTablet=r(d[6]).PlatformUtils.isTablet(),this.config={}}return(0,o.default)(c,[{key:"_addPublicationsButton",value:function(){var t;if(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&!this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openMore.key})){var n=r(d[8]).main.buttons.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openMore.key});n&&this.mainFooter.buttons.push(new(r(d[9]).Icon)(n))}if(this.mainFooter.more&&this.mainFooter.more.length>0&&(t=this.mainFooter.more.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t&&(this.mainFooter.buttons&&this.mainFooter.buttons.length>0&&(t=this.mainFooter.buttons.find(function(t){return t&&t.getAction()===r(d[7]).ACTIONS.openOptionPagePublications.key})),!t)){this.mainFooter.more||(this.mainFooter.more=[]);var o=r(d[8]).main.more.find(function(t){return t&&t.function===r(d[7]).ACTIONS.openOptionPagePublications.key});if(o){var s=this.mainFooter.more.length+1;o.id=s,this.mainFooter.more.push(new(r(d[9]).Icon)(o))}}}},{key:"getIconByAction",value:function(t){var n;return this.mainFooter&&(n=this.mainFooter.getButtonByAction(t)),!n&&this.articleFooter&&(n=this.articleFooter.getButtonByAction(t)),!n&&this.firstLevelIndexFooter&&(n=this.firstLevelIndexFooter.getButtonByAction(t)),!n&&this.secondLevelIndexFooter&&(n=this.secondLevelIndexFooter.getButtonByAction(t)),!n&&this.articleHeader&&(n=this.articleHeader.getButtonByAction(t)),!n&&this.firstLevelIndexHeader&&(n=this.firstLevelIndexHeader.getButtonByAction(t)),!n&&this.secondLevelIndexHeader&&(n=this.secondLevelIndexHeader.getButtonByAction(t)),!n&&this.navigationModel&&(n=this.navigationModel.getButtonByAction(t)),n}},{key:"init",value:function(n,o,u){var h,l,f,v,y,p,F,b,x,A,w,I,L=arguments;return t.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(h=L.length>3&&void 0!==L[3]&&L[3],this.type=o,!u){B.next=25;break}return B.prev=3,B.next=6,t.default.awrap(s.default.getEpaperLayoutConfig());case 6:l=B.sent,this.config=l&&l.data||{},g.getNewsmemoryConfig().setLayout(n,this.config),B.next=16;break;case 11:return B.prev=11,B.t0=B.catch(3),B.next=15,t.default.awrap(g.getNewsmemoryConfig().getLayout(n));case 15:this.config=B.sent;case 16:return B.prev=16,B.next=19,t.default.awrap(g.getNewsmemoryConfig().resetTranslationAvailable());case 19:B.next=23;break;case 21:B.prev=21,B.t1=B.catch(16);case 23:B.next=28;break;case 25:return B.next=27,t.default.awrap(g.getNewsmemoryConfig().getLayout(n));case 27:this.config=B.sent;case 28:if(!this.config||!this.config.main)switch(this.type){case c.Type.hybridLite:case c.Type.hybrid:case c.Type.lite:default:this.config=this.isTablet?r(d[8]):r(d[10])}f=this.config,v=f.main,y=f.article,p=f.index,F=f.navigation,v&&(this.mainFooter=new(r(d[11]).Footer)(v),b=g.getActivePSetup(),x=b.isGenericApp,r(d[12]).PaperSetupManager.isGenericAppConfigured()&&!x&&(A=g.getPublicationsManager(),(h||A.getPublications().length>1)&&this._addPublicationsButton())),y&&(this.articleFooter=new(r(d[11]).Footer)(y.footer),this.articleHeader=new(r(d[13]).Header)(y)),p&&(w=p.firstLevel,I=p.secondLevel,w&&(this.firstLevelIndexHeader=new(r(d[13]).Header)(w),this.firstLevelIndexFooter=new(r(d[11]).Footer)(w.footer||y.footer)),I&&(this.secondLevelIndexHeader=new(r(d[13]).Header)(I),this.secondLevelIndexFooter=new(r(d[11]).Footer)(I.footer||y.footer))),F&&(this.navigationModel=new(r(d[14]).Navigation)(F));case 34:case"end":return B.stop()}},null,this,[[3,11],[16,21]],Promise)}}]),c})());e.default=c,c.Type={normal:0,lite:1,hybrid:2,hybridLite:3}},429,[5,80,7,8,430,1728,462,1731,1810,1811,1851,1852,1855,1862,1867]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),a=_r(d[0])(_r(d[3])),r=_r(d[0])(_r(d[4])),n=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),s=_r(d[0])(_r(d[7])),l=P(_r(d[8])),i=P(_r(d[9])),o=_r(d[0])(_r(d[10])),c=_r(d[0])(_r(d[11])),p=(_r(d[0])(_r(d[12])),_r(d[0])(_r(d[13])),_r(d[0])(_r(d[14]))),f=_r(d[0])(_r(d[15]));_r(d[0])(_r(d[16]));function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(v=function(e){return e?a:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=v(t);if(a&&a.has(e))return a.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=n?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(r,u,s):r[u]=e[u]}return r.default=e,a&&a.set(e,r),r}var w=(function(){function v(){(0,r.default)(this,v)}return(0,n.default)(v,null,[{key:"getDomain",value:function(e){var t=g.getActivePSetup().machine,a=g.getNewsmemoryConfig().cdnServer;return e&&a||t}},{key:"baseUrl",value:function(e){return u.default.baseUrl(v.getDomain(e))}},{key:"getDefaultGETParams",value:function(){return{pSetup:g.getActivePSetup().pSetup}}},{key:"getEncryptedCallsParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=g.getActivePSetup(),a=t.pSetup,r=t.encryptFilenames;if(e&&r===_r(d[17]).ENCRYPT_FILENAME_TYPE.XPAPER){var n=i.default.parseXpSetup(a).xpSetup;if(n)return{pSetup:n}}return{}}},{key:"getResourceCDNParams",value:function(e,t,r,n){var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={};return e?(s=(0,a.default)({},v.getEncryptedCallsParams(u),{cc:i.default.encryptFilenames(r,e)}),n&&(s.mtime=n.join(","))):(s[t]=r.join(","),n&&(s.ts=i.default.getCDNChecksum(n))),s}},{key:"get",value:function(t){var r,n,s,l=arguments;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>1&&void 0!==l[1]?l[1]:{},n=l.length>2&&void 0!==l[2]&&l[2],s=l.length>3&&void 0!==l[3]?l[3]:{},e.abrupt("return",u.default.get(v.baseUrl(),r,(0,a.default)({},v.getDefaultGETParams(),t),n,s));case 4:case"end":return e.stop()}},null,null,null,Promise)}},{key:"post",value:function(t){var r,n,s,l,i,o,c=arguments;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>1&&void 0!==c[1]?c[1]:{},n=c.length>2&&void 0!==c[2]?c[2]:{},s=c.length>3&&void 0!==c[3]?c[3]:{responseType:"text"},l=c.length>4&&void 0!==c[4]?c[4]:{},i=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),r),o=_r(d[18]).StringUtils.appendParams(t,i),e.abrupt("return",u.default.post(o,s,n,!0,l));case 7:case"end":return e.stop()}},null,null,null,Promise)}},{key:"login",value:function(r,n){var u,s,l,i,o,c;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return u=r.username,s=r.password,l=r.TAUID,i=r.TOKEN,o=r.challenge,c=(0,t.default)(r,["username","password","TAUID","TOKEN","challenge"]),e.abrupt("return",v.get((0,a.default)({action:"login",timepc:(new Date).getTime()/1e3||0,username:_r(d[18]).JSUtils.isNull(u)?void 0:u,password:s,challenge:o,TAUID:l,TOKEN:i,LocalUA:_r(d[18]).PlatformUtils.getUserAgent()},c),{timeout:n}));case 2:case"end":return e.stop()}},null,null,null,Promise)}},{key:"createIAPUser",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"createIAPUser"}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getEditionsAndIssues",value:function(){var t,r,n,s,l,o,c=arguments;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},r=g.getActivePSetup(),n=r.loadEditionsUrl,s=i.default.parseXpSetup(g.getActivePSetup().pSetup),l=s.mainpSetup,p.prev=3,p.next=6,e.default.awrap(u.default.get(n,{},(0,a.default)({},v.getDefaultGETParams(),{pSetup:l},t)));case 6:return o=p.sent,p.abrupt("return",o.data);case 10:p.prev=10,p.t0=p.catch(3);case 12:return p.abrupt("return",{});case 13:case"end":return p.stop()}},null,null,[[3,10]],Promise)}},{key:"getIssues",value:function(t){var a,r,n,u,s,l,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return a=g.getActivePSetup(),r=a.defaultMaxIssues,n=a.udb,u=g.getNewsmemoryConfig(),o.next=4,e.default.awrap(u.getPrefEdi(n));case 4:return s=o.sent,o.next=7,e.default.awrap(u.getFavEdi());case 7:return l=o.sent,o.prev=8,o.next=11,e.default.awrap(v.get({action:"issues",maxIssues:r,edition:t,prefEdi:s,favEdi:l}));case 11:return i=o.sent,o.abrupt("return",i.data);case 15:o.prev=15,o.t0=o.catch(8);case 17:return o.abrupt("return",[]);case 18:case"end":return o.stop()}},null,null,[[8,15]],Promise)}},{key:"getEditions",value:function(t){var a;return e.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,e.default.awrap(v.get({action:"editions",issue:t}));case 3:return a=r.sent,r.abrupt("return",a.data);case 7:r.prev=7,r.t0=r.catch(0);case 9:return r.abrupt("return",[]);case 10:case"end":return r.stop()}},null,null,[[0,7]],Promise)}},{key:"translateArticle",value:function(t){var r,n,s,l,o,c,p,f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return r=g.getActivePSetup(),n=r.translationServer,s=!1,n?l=u.default.baseUrl(n):(s=i.default.isCDNEnabled(),l=v.baseUrl(s)),b.prev=3,o=t.target,c=t.issue,p=t.edition,f=t.filename,P=t.artid,w=t.filetime,h=t.secret,y=(0,a.default)({},u.default.getDefaultParams(!0,s),v.getDefaultGETParams(),{action:"translate",target:o,issue:c,edition:p,artid:P},v.getResourceCDNParams(h,"filename",[f],[w],s)),b.next=8,e.default.awrap(u.default.get(l,{},y,!0));case 8:return D=b.sent,b.abrupt("return",D.data);case 12:b.prev=12,b.t0=b.catch(3);case 14:return b.abrupt("return","");case 15:case"end":return b.stop()}},null,null,[[3,12]],Promise)}},{key:"translationsAvailable",value:function(){var t;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.default.awrap(v.get({action:"languages"}));case 3:return t=a.sent,a.abrupt("return",t.data);case 7:a.prev=7,a.t0=a.catch(0);case 9:return a.abrupt("return",{});case 10:case"end":return a.stop()}},null,null,[[0,7]],Promise)}},{key:"share",value:function(t){var r,n,u,s,l,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return r=g.getActivePSetup(),n=r.loginStatus,u=n.TAUID,s=n.TOKEN,l=(0,a.default)({action:"share"},t,{TAUID:u,TOKEN:s}),o.prev=3,o.next=6,e.default.awrap(v.get(l));case 6:return i=o.sent,o.abrupt("return",i.data);case 10:o.prev=10,o.t0=o.catch(3);case 12:return o.abrupt("return",{});case 13:case"end":return o.stop()}},null,null,[[3,10]],Promise)}},{key:"downloadEditionDB",value:function(t,r,n,s,o){var c,f,P,w,h,y,D,b,x,U,E,T,k,I,N,S,A,C;return e.default.async(function(R){for(;;)switch(R.prev=R.next){case 0:return c=g.getActivePSetup(),f=c.loginStatus,P=c.encryptFilenames,w=f.TAUID,h=f.TOKEN,y=f.oneTimeToken,D=i.default.normalizeEdition(n)+"_pages",b=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"adfile",issue:r,adtype:D,edition:n,TAUID:w,TOKEN:h,oneTimeToken:y,uAVCC:f.getReceiptToken(),appendFirstPages:s?1:0}),P>_r(d[17]).ENCRYPT_FILENAME_TYPE.NONE&&(b.e=1),x=g.getNewsmemoryConfig(),(U=x.dbDownloadPSetup)&&(b.pSetup=U),E=_r(d[18]).StringUtils.appendParams(v.baseUrl(),b),T=p.default.getNewspaperIssueDirectory(t,r),k=r+"_"+D+".zip",R.next=12,e.default.awrap(l.default.getEditionDatabaseAndPages(E,k,T,(0,a.default)({completionCallback:function(e){var t=e.speed;I=t}},o)));case 12:return N=R.sent,S=N.filenames,A=N.responseHeaders,C=(0,a.default)({},S,{responseHeaders:A}),I&&(C.speed=I),R.abrupt("return",C);case 18:case"end":return R.stop()}},null,null,null,Promise)}},{key:"getHrImageUrl",value:function(e,t,r,n,s,l,o){var c=t?"jpg":"gif",p=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,p),v.getDefaultGETParams(),{action:"hrimage",issue:e,xmlId:r,boxId:n,type:c},v.getResourceCDNParams(o,"filename",[s],[l],p));return _r(d[18]).StringUtils.appendParams(v.baseUrl(p),f)}},{key:"getPagePath",value:function(e,t,a){return p.default.getNewspaperIssueDirectory(e,t)+a+"/"}},{key:"getHrPath",value:function(e,t,a,r,n,u){var s="pag_"+n+"_"+u+"."+(r?"jpg":"gif");return v.getPagePath(e,t,a)+s}},{key:"downloadHRImage",value:function(t,a,r,n,u,s,i,o){var p,f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return p="pag_"+u+"_"+s+"."+(i?"jpg":"gif"),f=v.getHrImageUrl(a,i,u,s,r,n,o),b.prev=3,P=v.getPagePath(t,a,r),b.next=7,e.default.awrap(l.default.downloadResourceInFolder(f,P,p));case 7:return w=b.sent,b.next=10,e.default.awrap((0,_r(d[19]).getImageSize)("file://"+w));case 10:return h=b.sent,y=h.width,D=h.height,b.abrupt("return",{path:w,name:c.default.getFilename(w),width:y,height:D});case 16:throw b.prev=16,b.t0=b.catch(3),b.t0;case 19:case"end":return b.stop()}},null,null,[[3,16]],Promise)}},{key:"downloadImage",value:function(t,r,n,s,o,f){var P,w,h,y,D,b,x,U;return e.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return P=i.default.isCDNEnabled(),w=(0,a.default)({},u.default.getDefaultParams(!0,P),v.getDefaultGETParams(),{action:"base64image",issue:r,image:n},v.getResourceCDNParams(f,"filename",[s],[o],P)),h=_r(d[18]).StringUtils.appendParams(v.baseUrl(P),w),E.prev=3,y=p.default.getNewspaperIssueDirectory(t,r)+s+"/",E.next=7,e.default.awrap(l.default.downloadResourceInFolder(h,y,n));case 7:if(D=E.sent,b=0,x=0,!D.endsWith(_r(d[20]).EPaperImageName.PDF)){E.next=15;break}b=100,x=100,E.next=24;break;case 15:return E.next=17,e.default.awrap((0,_r(d[19]).getImageSize)("file://"+D));case 17:if(U=E.sent,b=U.width,x=U.height,0!==b&&0!==x){E.next=24;break}return E.next=23,e.default.awrap(_r(d[18]).FileUtils.unlink(D));case 23:throw new Error("Invalid size "+b+"x"+x+" for image "+D);case 24:return E.abrupt("return",{path:D,name:c.default.getFilename(D),width:b,height:x});case 27:throw E.prev=27,E.t0=E.catch(3),E.t0;case 30:case"end":return E.stop()}},null,null,[[3,27]],Promise)}},{key:"downloadPageZip",value:function(t,r,n,s,o){var c,f,P,w,h,y,D,b,x;return e.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:return c=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,c),v.getDefaultGETParams(),{action:"zippedimages",issue:r},v.getResourceCDNParams(o,"filename",[n],[s],c)),P=_r(d[18]).StringUtils.appendParams(v.baseUrl(c),f),U.prev=3,w=p.default.getNewspaperIssueDirectory(t,r)+n+"/",U.next=7,e.default.awrap(l.default.downloadResourceAndUnzipInFolder(P,w));case 7:return h=_r(d[20]).EPaperImageName.LOW,y=_r(d[20]).EPaperImageName.GRAPH,D=_r(d[20]).EPaperImageName.GIF,b=_r(d[20]).EPaperImageName.PDF,U.next=10,e.default.awrap(l.default.scanPageFolderForImages(w,[h,y,D,b]));case 10:return x=U.sent,U.abrupt("return",x);case 14:throw U.prev=14,U.t0=U.catch(3),U.t0;case 17:case"end":return U.stop()}},null,null,[[3,14]],Promise)}},{key:"downloadHRImagesZip",value:function(t,r,n,s,o){var f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return f=i.default.isCDNEnabled(),P=n.substring(0,n.length-2),w=(0,a.default)({},u.default.getDefaultParams(!0,f),v.getDefaultGETParams(),{action:"zippedhrimages",mode:"g",issue:r},v.getResourceCDNParams(o,"page",[P],[s],f)),h=_r(d[18]).StringUtils.appendParams(v.baseUrl(f),w),b.prev=4,y=p.default.getNewspaperIssueDirectory(t,r)+n+"/",b.next=8,e.default.awrap(l.default.downloadResourceInFolder(h,y,i.ARCHIVE_ZIP_GRAPH_FILENAME));case 8:return D=b.sent,b.next=11,e.default.awrap(c.default.exists(D));case 11:if(!b.sent){b.next=14;break}return b.abrupt("return",D);case 14:return b.abrupt("return",null);case 17:throw b.prev=17,b.t0=b.catch(4),b.t0;case 20:case"end":return b.stop()}},null,null,[[4,17]],Promise)}},{key:"downloadMultiplePagesZips",value:function(t,r,n,s,o){var c,f,P,w,h,y,D,b;return e.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:return c=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,c),v.getDefaultGETParams(),{action:"multizippedimages",issue:r},v.getResourceCDNParams(o,"filenames",n,s,c)),P=_r(d[18]).StringUtils.appendParams(v.baseUrl(c),f),x.prev=3,w=p.default.getNewspaperIssueDirectory(t,r),x.next=7,e.default.awrap(l.default.downloadResourceAndUnzipInFolder(P,w));case 7:return h=_r(d[20]).EPaperImageName.LOW,y=_r(d[20]).EPaperImageName.GRAPH,D=_r(d[20]).EPaperImageName.GIF,b=_r(d[20]).EPaperImageName.PDF,x.abrupt("return",Promise.all(n.map(function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l.default.scanPageFolderForImages(w+t,[h,y,D,b]));case 1:case"end":return e.stop()}},null,null,null,Promise)})));case 11:throw x.prev=11,x.t0=x.catch(3),x.t0;case 14:case"end":return x.stop()}},null,null,[[3,11]],Promise)}},{key:"downloadFullPaper",value:function(t,r,n){var s,i,o,c,f,P,w,h,y,D;return e.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return s=g.getActivePSetup(),i=s.loginStatus,o=i.TAUID,c=i.TOKEN,f=i.oneTimeToken,P=g.getNewsmemoryConfig(),w=P.network,h=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"zippedpaper",issue:r,edition:n,TAUID:o,TOKEN:c,oneTimeToken:f,network:w,uAVCC:i.getReceiptToken()}),y=_r(d[18]).StringUtils.appendParams(v.baseUrl(),h),b.prev=5,D=p.default.getNewspaperIssueDirectory(t,r),b.next=9,e.default.awrap(l.default.downloadResourceAndUnzipInFolder(y,D));case 9:b.next=14;break;case 11:throw b.prev=11,b.t0=b.catch(5),b.t0;case 14:case"end":return b.stop()}},null,null,[[5,11]],Promise)}},{key:"downloadPaperIndex",value:function(t,a){var r,n,u,s,l,i,o,c;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return r=g.getActivePSetup(),n=r.loginStatus,u=n.TAUID,s=n.TOKEN,l=n.oneTimeToken,i={action:"index",issue:t,edition:a,TAUID:u,TOKEN:s,oneTimeToken:l,uAVCC:n.getReceiptToken()},p.next=5,e.default.awrap(v.get(i));case 5:if(o=p.sent,!(c=o.data)){p.next=9;break}return p.abrupt("return",c);case 9:throw new Error("NewsmemoryAJAX - downloadPaperIndex: no data returned");case 10:case"end":return p.stop()}},null,null,null,Promise)}},{key:"downloadArticles",value:function(t,r,n,u){var s,l,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,s=(0,a.default)({action:"articles",issue:t,edition:r},v.getResourceCDNParams(u,"filename",[n])),o.next=4,e.default.awrap(v.get(s));case 4:if(l=o.sent,!(i=l.data)){o.next=8;break}return o.abrupt("return",i);case 8:o.next=12;break;case 10:o.prev=10,o.t0=o.catch(0);case 12:throw new Error("NewsmemoryAJAX - downloadArticles: no data returned");case 13:case"end":return o.stop()}},null,null,[[0,10]],Promise)}},{key:"getAvailableLanguages",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"languages"}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getEpaperLayoutConfig",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",v.get({action:"buttons"}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getApplication",value:function(){var t,r,n,s,l;return e.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return t=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"application"}),r=_r(d[18]).StringUtils.appendParams(v.baseUrl(),t),i.prev=2,i.next=5,e.default.awrap(c.default.fetch(r));case 5:if(!(n=i.sent)){i.next=23;break}return s=n.path(),l=f.default.getDirectory()+"/",i.prev=9,i.next=12,e.default.awrap(c.default.unlink(l));case 12:i.next=16;break;case 14:i.prev=14,i.t0=i.catch(9);case 16:return i.next=18,e.default.awrap(c.default.mkdir(l));case 18:return i.next=20,e.default.awrap(c.default.unzip(s,l));case 20:return i.next=22,e.default.awrap(c.default.clearUnusedDownloadedFiles(s));case 22:return i.abrupt("return",!0);case 23:i.next=28;break;case 25:throw i.prev=25,i.t1=i.catch(2),new Error("Failed to download "+r);case 28:return i.abrupt("return",!1);case 29:case"end":return i.stop()}},null,null,[[2,25],[9,14]],Promise)}},{key:"getCDNStatus",value:function(t,a){var r,n,u,s,l,i;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.getActivePSetup(),n=r.loginStatus,u=n.TAUID,s=n.TOKEN,l=n.oneTimeToken,i={action:"cdn",issue:t,edition:a,TAUID:u,TOKEN:s,oneTimeToken:l,uAVCC:n.getReceiptToken()},e.abrupt("return",v.get(i));case 4:case"end":return e.stop()}},null,null,null,Promise)}},{key:"getChildArtImageUrl",value:function(e,t,r,n,s,l,o,c,p){var f=i.default.isCDNEnabled(),P=(0,a.default)({},u.default.getDefaultParams(!0,!0),v.getDefaultGETParams(),{action:"loadImage",type:"printImage",xmlId:t,issue:e,images:r,medDpi:n,pageW:s,pageH:l},v.getResourceCDNParams(p,"filename",[o],[c],f));return _r(d[18]).StringUtils.appendParams(v.baseUrl(f),P)}},{key:"getInArticleImageUrl",value:function(e,t,r,n,s,l,o,c){var p=i.default.isCDNEnabled(),f=(0,a.default)({},u.default.getDefaultParams(!0,!0),v.getDefaultGETParams(),{action:"loadImage",type:"Image",paper:e,issue:t,edition:r,val:n,imageIssue:s!==t?s:void 0},v.getResourceCDNParams(c,"filename",[l],[o],p));return _r(d[18]).StringUtils.appendParams(v.baseUrl(p),f)}},{key:"getSpecialSectionUrl",value:function(e,t,r,n){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=i.default.isCDNEnabled(),c=(0,a.default)({},u.default.getDefaultParams(!0,o),v.getDefaultGETParams(),{action:e,issue:t},v.getResourceCDNParams(n,"edition",[r],[0],o&&!s));return s&&(c.editionfromcalling=g.getNewsmemoryConfig().editionfromcalling),"indexspecial"===e&&(c.showSections=l?1:0,c.remote=1),_r(d[18]).StringUtils.appendParams(v.baseUrl(o),c)}},{key:"getDownloadPdfUrl",value:function(t,r){var n,s,l,i,o,c,p,f,P,w,h,y;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getIssue(),s=t.getEdition(),l=t.getSecret(),i=r.getFilename(),o=r.getPage(),c=g.getActivePSetup(),p=c.loginStatus,f=p.TAUID,P=p.TOKEN,w=p.oneTimeToken,h=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"page",issue:n,edition:s,page:o,TAUID:f,TOKEN:P,oneTimeToken:w,uAVCC:p.getReceiptToken()},v.getResourceCDNParams(l,"filename",[i])),y=_r(d[18]).StringUtils.appendParams(v.baseUrl(),h),e.abrupt("return",y);case 10:case"end":return e.stop()}},null,null,null,Promise)}},{key:"downloadPDF",value:function(t,a){var r,n,u,s,p,f,P,w;return e.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return h.prev=0,r=g.getActivePSetup(),n=r.paperName,n=i.default.normalizePaperName(n),u=t.getIssue(),s=o.default.removeZerosFromPageNumber(a.getPage()),h.next=7,e.default.awrap(v.getDownloadPdfUrl(t,a));case 7:return p=h.sent,f=n+"_"+u+"_"+s+".pdf",P=c.default.getDownloadedPdfDirectory()+"/"+f,h.next=12,e.default.awrap(c.default.exists(P));case 12:if(h.sent){h.next=18;break}return h.next=15,e.default.awrap(l.default.downloadResourceInFolder(p,c.default.getDownloadedPdfDirectory()+"/",f));case 15:w=h.sent,h.next=19;break;case 18:w=P;case 19:return h.abrupt("return",{path:w,name:f,url:p});case 22:throw h.prev=22,h.t0=h.catch(0),h.t0;case 25:case"end":return h.stop()}},null,null,[[0,22]],Promise)}},{key:"uploadSessionReport",value:function(t,a){var r,n,u,s;return e.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,r=g.getActivePSetup(),n=r.sessionUploadBaseURL,u=n||v.baseUrl(),s=JSON.stringify(a.getReport()),l.next=6,e.default.awrap(v.post(u,{action:"uploadSessionReport"},{sessionId:t,report:s}));case 6:return l.abrupt("return",!0);case 9:l.prev=9,l.t0=l.catch(0);case 11:return l.abrupt("return",!1);case 12:case"end":return l.stop()}},null,null,[[0,9]],Promise)}},{key:"getVideoURL",value:function(e){var t=s.default.getSafeArea(),r=t.width,n=t.height,l=(0,a.default)({},u.default.getDefaultParams(),v.getDefaultGETParams(),{action:"video",videoURL:_r(d[18]).StringUtils.appendParams(e,{width:Math.min(r,n)})});return _r(d[18]).StringUtils.appendParams(v.baseUrl(),l)}},{key:"getCMPBaseURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.default)({},u.default.getDefaultParams(),{action:"cmp"},e);return _r(d[18]).StringUtils.appendParams(v.baseUrl(),t)}},{key:"getCMPVendorListUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.default)({version:s.default.getAppVersion(),action:"cmpVendorList",cc:1,mtime:0},e),r=g,n=r.isApiDebug,u=r.developer;n&&(t.isDebug=n,t.developer=u);var l=g.getNewsmemoryConfig().cdnVersion;void 0!==l&&(t.v=l);var o=i.default.isCDNEnabled();return _r(d[18]).StringUtils.appendParams(v.baseUrl(o),t)}},{key:"getCMPVendorList",value:function(){var t,a,r=arguments;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},n.prev=1,n.next=4,e.default.awrap(u.default.get(v.getCMPVendorListUrl(t),{},{},!0));case 4:return a=n.sent,n.abrupt("return",a.data);case 8:n.prev=8,n.t0=n.catch(1);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}},null,null,[[1,8]],Promise)}},{key:"validateReceipt",value:function(){var t,a,r,n,s=arguments;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},a=g.getActivePSetup(),r=a.loginStatus,n=r.TAUID,_r(d[18]).JSUtils.isNull(t.TAUID)&&_r(d[21]).LoginStatus.isValidTAUID(n)&&(t.TAUID=n),e.abrupt("return",u.default.validateReceipt(t));case 5:case"end":return e.stop()}},null,null,null,Promise)}},{key:"customFonts",value:function(r){var n,s,l,i,o,c;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.pSetup,s=r.machine,l=r.cdnServer,i=r.mtime,o=(0,t.default)(r,["pSetup","machine","cdnServer","mtime"]),c=(0,a.default)({},u.default.getDefaultParams(!0,!0),{pSetup:n,action:"fonts",cc:1,mtime:i},o),e.abrupt("return",u.default.get(u.default.baseUrl(l||s),{},c,!0));case 3:case"end":return e.stop()}},null,null,null,Promise)}}]),v})();_e.default=w},430,[5,80,108,6,7,8,431,458,588,605,746,576,747,646,748,752,753,754,462,590,589,758]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HTTP_CODES=e.MAX_RETRIES=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),p=o.default.create();e.MAX_RETRIES=3;var v={PARTIAL_CONTENT:206,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504};e.HTTP_CODES=v;var h=(function(){function o(){(0,l.default)(this,o)}return(0,s.default)(o,null,[{key:"setReadAndNetworkTimeouts",value:function(t,n){p.defaults.timeout=n,f.default.networkTimeout=n,f.default.readTimeout=r(d[9]).PlatformUtils.isAndroid()?t:n}},{key:"set2GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_2G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_2G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set3GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_3G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_3G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"set4GTimeout",value:function(){o.timeout=o.DEFAULT_CONNECTION_TIMEOUT_4G,o.readTimeout=o.DEFAULT_READ_TIMEOUT_4G,o.setReadAndNetworkTimeouts(o.readTimeout,o.timeout)}},{key:"setTimeout",value:function(){r(d[9]).NetworkUtils.is2G()?o.set2GTimeout():r(d[9]).NetworkUtils.is3G()?o.set3GTimeout():(r(d[9]).NetworkUtils.is4G(),o.set4GTimeout())}},{key:"getServer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return r(d[9]).NetworkUtils.addDefaultProtocol(t.trim())}},{key:"baseUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getAppServer();return o.getServer(t).concat("/default_react_native.php")}},{key:"getDefaultParams",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=g,s=l.getAppPSetup,f=l.isApiDebug,p=l.developer,v={};return f&&(v.isDebug=f,v.developer=p),(0,u.default)({pSetup:s()},n?{}:o.getUserParams(),t?{}:o.getDeviceParams(),{version:c.default.getAppVersion()},v)}},{key:"getUserParams",value:function(){return{MACHINEID:g.machineId,t:(new Date).getTime()}}},{key:"getDeviceParams",value:function(){return{os:r(d[9]).PlatformUtils.isAndroid()?"android":"ios",isEInk:r(d[9]).PlatformUtils.isEInk()?1:void 0,isKindle:c.default.isKindle()?1:void 0,isPhone:r(d[9]).PlatformUtils.isTablet()?0:1,apiVersion:r(d[9]).PlatformUtils.getSystemSDK()}}},{key:"head",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",p.head(n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"ajax",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",p.get(n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"get",value:function(n){var l,s,c,f,v,h=arguments;return t.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:return l=h.length>1&&void 0!==h[1]?h[1]:{},s=h.length>2&&void 0!==h[2]?h[2]:{},c=h.length>3&&void 0!==h[3]&&h[3],f=h.length>4&&void 0!==h[4]?h[4]:{},v=s,c||(v=(0,u.default)({},o.getDefaultParams(),v)),T.prev=6,T.next=9,t.default.awrap(p.get(n,(0,u.default)({headers:(0,u.default)({"User-Agent":r(d[9]).PlatformUtils.getUserAgent()},f)},l,{params:v,paramsSerializer:r(d[9]).StringUtils.getQuerystring})));case 9:return T.abrupt("return",T.sent);case 12:throw T.prev=12,T.t0=T.catch(6),T.t0;case 15:case"end":return T.stop()}},null,null,[[6,12]],Promise)}},{key:"post",value:function(n){var l,s,c,f,v,h,T=arguments;return t.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:return l=T.length>1&&void 0!==T[1]?T[1]:{},s=T.length>2&&void 0!==T[2]?T[2]:{},c=T.length>3&&void 0!==T[3]&&T[3],f=T.length>4&&void 0!==T[4]?T[4]:{},v=s,c||(v=(0,u.default)({},o.getDefaultParams(),v)),h=r(d[9]).StringUtils.getQuerystring(v),P.prev=7,P.next=10,t.default.awrap(p.post(n,h,(0,u.default)({headers:(0,u.default)({Accept:"application/x-www-form-urlencoded","User-Agent":r(d[9]).PlatformUtils.getUserAgent()},f)},l)));case 10:return P.abrupt("return",P.sent);case 13:throw P.prev=13,P.t0=P.catch(7),P.t0;case 16:case"end":return P.stop()}},null,null,[[7,13]],Promise)}},{key:"remp",value:function(n,u){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.get(n,{},u));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"rssIndex",value:function(l){var s,c,f,p,v;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.customUrl,c=l.pSetup,f=l.machine,p=(0,n.default)(l,["customUrl","pSetup","machine"]),v={},s||(v=(0,u.default)({action:"RSSindex",pSetup:c},p)),t.abrupt("return",o.get(s||o.baseUrl(f),{responseType:"text"},v));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getWithParams",value:function(n){var u,l,s,c=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=c.length>1&&void 0!==c[1]?c[1]:{},l=c.length>2?c[2]:void 0,s=c.length>3&&void 0!==c[3]&&c[3],t.abrupt("return",o.get(o.baseUrl(l),u,n,s));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"cities",value:function(n){var u;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n.wording,t.abrupt("return",o.getWithParams({action:"utilscities",wording:u}));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"closestCities",value:function(n){var u,l;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n.lat,l=n.lon,t.abrupt("return",o.getWithParams({action:"utilsclosestcity",lat:u,lon:l}));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"deleteDeviceToPushServer",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.token,c=(0,n.default)(l,["token"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"push_deletion_service",package_id:r(d[9]).PlatformUtils.getPackagedId(),reg_id:s},c)));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"registerDeviceToPushServer",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.token,c=(0,n.default)(l,["token"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"push_registration_service",package_id:r(d[9]).PlatformUtils.getPackagedId(),reg_id:s},c)));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"notices",value:function(){var l,s,c,f=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l=f.length>0&&void 0!==f[0]?f[0]:{},s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"advertisements"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"noticeURI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=t.machine,s=(0,n.default)(t,["machine"]);return r(d[9]).StringUtils.appendParams(o.baseUrl(l),(0,u.default)({},o.getDefaultParams(),{action:"notices"},s))}},{key:"sslCertificatesURI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,l=!!n;return r(d[9]).StringUtils.appendParams(o.baseUrl(n),(0,u.default)({},o.getDefaultParams(l,l),t,{os:"android",action:"certificates"}))}},{key:"pSetup",value:function(l){var s,f;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,f=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"message",bundleVersion:c.default.getBundleVersion(),inches:r(d[9]).PlatformUtils.getScreenInches(),device:r(d[9]).PlatformUtils.getDeviceId(),isAddon:g.isTaAddon()?1:void 0},f),{responseType:"text"},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getBundleDownloadUrl",value:function(){var t=o.getDefaultParams();return t.action="getBundle",t.bundleVersion=c.default.getBundleVersion(),r(d[9]).StringUtils.appendParams(o.baseUrl(),t)}},{key:"customLanguagePack",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"locale"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"checkConfigUpdate",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"checkconfigupdate"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getConfig",value:function(l){var s,c;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.machine,c=(0,n.default)(l,["machine"]),t.abrupt("return",o.getWithParams((0,u.default)({action:"config"},c),{},s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getAppStoreMetadata",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getWithParams({action:"appstoremetadata",bundleId:r(d[9]).PlatformUtils.getPackagedId()}));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getGoogleAccessToken",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.getWithParams({action:"getGoogleToken"}));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"validateReceipt",value:function(){var n,l=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},t.abrupt("return",o.post(r(d[9]).StringUtils.appendParams(o.baseUrl(),(0,u.default)({},o.getDefaultParams(),{action:"validatereceipt"})),{},n,!0));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getMaster",value:function(){var t=g.getAppServer();if(r(d[9]).StringUtils.isTecnaviaDomain(t)){var n=t.replace(/https?:\/\//,"").split(/(?:-|\.)(?!com)/);n.length>3&&(5===n.length&&n.splice(0,1),n[0]="server",4===n.length&&(n[3]="admin."+n[3],n.splice(2,1)),t=n.join(g.isHTTPS()?"-":"."))}return t}},{key:"sendLogToServer",value:function(){var n;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=r(d[9]).StringUtils.appendParams(o.baseUrl(o.getMaster()),(0,u.default)({},o.getDefaultParams(),{action:"upload_log"})),l.prev=1,l.next=4,t.default.awrap(f.default.post(n,{name:"uploadedfile",filename:r(d[9]).Logger.logSessionFileName,type:"text/plain",data:f.default.wrap(r(d[10]).LOG_BASE_PATH+"/"+r(d[9]).Logger.logSessionFileName)}));case 4:return l.abrupt("return",!0);case 7:return l.prev=7,l.t0=l.catch(1),l.abrupt("return",!1);case 10:case"end":return l.stop()}},null,null,[[1,7]],Promise)}},{key:"sendLog",value:function(){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,t.default.awrap(o.sendLogToServer());case 2:return n=u.sent,u.next=5,t.default.awrap(r(d[9]).Logger.deleteLogFile());case 5:return u.next=7,t.default.awrap(r(d[9]).Logger.createNewSessionLog());case 7:return u.abrupt("return",n);case 8:case"end":return u.stop()}},null,null,null,Promise)}},{key:"requestWithRetry",value:function(n){var u,l,s,o,c,f,p,h,T,P,U=arguments;return t.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:for(u=n.request,l=n.onRetry,s=n.maxRetries,o=void 0===s?3:s,f=0,p=U.length,h=new Array(p>1?p-1:0),T=1;T0&&l&&l(f,o),y.next=7,t.default.awrap(u.apply(void 0,h));case 7:P=y.sent,c=P.data,y.next=15;break;case 11:if(y.prev=11,y.t0=y.catch(3),!y.t0.response||y.t0.response.status!==v.UNAUTHORIZED){y.next=15;break}throw y.t0;case 15:f+=1;case 16:if(!c&&f0&&(I=parseInt(T.sort(function(t,a){return t-a}).pop(),10)),void 0===U&&(L=Object.keys(V)).length>0&&(U=L.length),void 0===h&&(B=Object.keys(O)).length>0&&(h=B.length)),E.next=24,t.default.awrap(c.setVendorData(w,I));case 24:return E.next=26,t.default.awrap(c.setRestrictionsData(k,I));case 26:return E.next=28,t.default.awrap(c.setPurposeData(P,U));case 28:return E.next=30,t.default.awrap(c.setPublisherData(y,U));case 30:if(!v||void 0===h){E.next=33;break}return E.next=33,t.default.awrap(s.default.setStandardUserDefaultsValue(l.SpecialFeaturesOptIns,c.computeBinaryString(v,h)));case 33:return E.next=35,t.default.awrap(s.default.setStandardUserDefaultsValue(l.AddtlConsent,b));case 35:case"end":return E.stop()}},null,null,null,Promise)}},{key:"getTCData",value:function(){var a;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!c.tcData){n.next=2;break}return n.abrupt("return",c.tcData);case 2:return a={},n.prev=3,n.t1=JSON,n.next=7,t.default.awrap(s.default.getItem(s.default.SP.keys.tcData));case 7:if(n.t2=n.sent,n.t0=n.t1.parse.call(n.t1,n.t2),n.t0){n.next=11;break}n.t0={};case 11:a=n.t0,n.next=16;break;case 14:n.prev=14,n.t3=n.catch(3);case 16:return c.tcData=a,n.abrupt("return",a);case 18:case"end":return n.stop()}},null,null,[[3,14]],Promise)}},{key:"clearTCData",value:function(){var a,n,u;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return c.tcData&&(a=c.tcData.restrictions),c.tcData=void 0,n=s.default.SP.keys.tcData,f.next=5,t.default.awrap(s.default.clearItem(n));case 5:return f.next=7,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.AddtlConsent));case 7:return f.next=9,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.CmpSdkID));case 9:return f.next=11,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.CmpSdkVersion));case 11:return f.next=13,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.gdprApplies));case 13:return f.next=15,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PolicyVersion));case 15:return f.next=17,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherCC));case 17:return f.next=19,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PurposeOneTreatment));case 19:return f.next=21,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.UseNonStandardStacks));case 21:return f.next=23,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.TCString));case 23:return f.next=25,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.VendorConsents));case 25:return f.next=27,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.VendorLegitimateInterests));case 27:return f.next=29,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PurposeConsents));case 29:return f.next=31,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PurposeLegitimateInterests));case 31:return f.next=33,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.SpecialFeaturesOptIns));case 33:return f.next=35,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherConsent));case 35:return f.next=37,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherLegitimateInterests));case 37:return f.next=39,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherCustomPurposesConsents));case 39:return f.next=41,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherCustomPurposesLegitimateInterests));case 41:if(!a){f.next=45;break}return u=Object.keys(a).map(function(t){return s.default.clearStandardUserDefaultsItem(l.PublisherRestrictions+t)}),f.next=45,t.default.awrap(Promise.all(u));case 45:case"end":return f.stop()}},null,null,null,Promise)}},{key:"setUSPData",value:function(a){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return c.uspData=a,u.next=3,t.default.awrap(s.default.setItem(s.default.SP.keys.uspData,a));case 3:return n=a.uspString,u.next=6,t.default.awrap(s.default.setStandardUserDefaultsValue(s.default.US.keys.USPrivacy,n));case 6:case"end":return u.stop()}},null,null,null,Promise)}},{key:"getUSPData",value:function(){var a;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!c.uspData){n.next=2;break}return n.abrupt("return",c.uspData);case 2:return a={},n.prev=3,n.t1=JSON,n.next=7,t.default.awrap(s.default.getItem(s.default.SP.keys.uspData));case 7:if(n.t2=n.sent,n.t0=n.t1.parse.call(n.t1,n.t2),n.t0){n.next=11;break}n.t0={};case 11:a=n.t0,n.next=16;break;case 14:n.prev=14,n.t3=n.catch(3);case 16:return c.uspData=a,n.abrupt("return",a);case 18:case"end":return n.stop()}},null,null,[[3,14]],Promise)}},{key:"clearUSData",value:function(){var a;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return c.uspData=void 0,a=s.default.SP.keys.uspData,n.next=4,t.default.awrap(s.default.clearItem(a));case 4:return n.next=6,t.default.awrap(s.default.clearStandardUserDefaultsItem(s.default.US.keys.USPrivacy));case 6:case"end":return n.stop()}},null,null,null,Promise)}},{key:"reset",value:function(){c.tcData=void 0,c.uspData=void 0}},{key:"init",value:function(){return t.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return c.reset(),a.next=3,t.default.awrap(c.getTCData());case 3:return a.next=5,t.default.awrap(c.getUSPData());case 5:case"end":return a.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return c.reset(),a.next=3,t.default.awrap(c.clearTCData());case 3:return a.next=5,t.default.awrap(c.clearUSData());case 5:case"end":return a.stop()}},null,null,null,Promise)}}]),c})();e.default=c},542,[5,80,7,8,463,503,543]); +__d(function(g,r,_i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),a=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=(r(d[0])(r(d[4])),r(d[0])(r(d[5]))),s=r(d[0])(r(d[6])),l=s.default.IABTCF.keys,c=(function(){function c(){(0,a.default)(this,c)}return(0,n.default)(c,null,[{key:"setATTDenied",value:function(t){c.attDenied=t}},{key:"computeBinaryString",value:function(t,a){for(var n="",u=1;u0&&(I=parseInt(O.sort(function(t,a){return t-a}).pop(),10)),void 0===U&&(L=Object.keys(V)).length>0&&(U=L.length),void 0===h&&(B=Object.keys(T)).length>0&&(h=B.length)),A.next=26,t.default.awrap(c.setVendorData(w,I));case 26:return A.next=28,t.default.awrap(c.setRestrictionsData(y,I));case 28:return A.next=30,t.default.awrap(c.setPurposeData(v,U));case 30:return A.next=32,t.default.awrap(c.setPublisherData(b,U));case 32:if(!P||void 0===h){A.next=35;break}return A.next=35,t.default.awrap(s.default.setStandardUserDefaultsValue(l.SpecialFeaturesOptIns,c.computeBinaryString(P,h)));case 35:return A.next=37,t.default.awrap(s.default.setStandardUserDefaultsValue(l.AddtlConsent,k));case 37:case"end":return A.stop()}},null,null,null,Promise)}},{key:"getTCData",value:function(){var a;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!c.tcData){n.next=2;break}return n.abrupt("return",c.tcData);case 2:return a={},n.prev=3,n.t1=JSON,n.next=7,t.default.awrap(s.default.getItem(s.default.SP.keys.tcData));case 7:if(n.t2=n.sent,n.t0=n.t1.parse.call(n.t1,n.t2),n.t0){n.next=11;break}n.t0={};case 11:a=n.t0,n.next=16;break;case 14:n.prev=14,n.t3=n.catch(3);case 16:return c.tcData=a,n.abrupt("return",a);case 18:case"end":return n.stop()}},null,null,[[3,14]],Promise)}},{key:"clearTCData",value:function(){var a,n,u;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return c.tcData&&(a=c.tcData.restrictions),c.tcData=void 0,n=s.default.SP.keys.tcData,f.next=5,t.default.awrap(s.default.clearItem(n));case 5:return f.next=7,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.AddtlConsent));case 7:return f.next=9,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.CmpSdkID));case 9:return f.next=11,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.CmpSdkVersion));case 11:return f.next=13,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.gdprApplies));case 13:return f.next=15,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PolicyVersion));case 15:return f.next=17,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherCC));case 17:return f.next=19,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PurposeOneTreatment));case 19:return f.next=21,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.UseNonStandardStacks));case 21:return f.next=23,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.TCString));case 23:return f.next=25,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.VendorConsents));case 25:return f.next=27,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.VendorLegitimateInterests));case 27:return f.next=29,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PurposeConsents));case 29:return f.next=31,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PurposeLegitimateInterests));case 31:return f.next=33,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.SpecialFeaturesOptIns));case 33:return f.next=35,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherConsent));case 35:return f.next=37,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherLegitimateInterests));case 37:return f.next=39,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherCustomPurposesConsents));case 39:return f.next=41,t.default.awrap(s.default.clearStandardUserDefaultsItem(l.PublisherCustomPurposesLegitimateInterests));case 41:if(!a){f.next=45;break}return u=Object.keys(a).map(function(t){return s.default.clearStandardUserDefaultsItem(l.PublisherRestrictions+t)}),f.next=45,t.default.awrap(Promise.all(u));case 45:case"end":return f.stop()}},null,null,null,Promise)}},{key:"setUSPData",value:function(a){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(!c.attDenied){u.next=2;break}return u.abrupt("return");case 2:return c.uspData=a,u.next=5,t.default.awrap(s.default.setItem(s.default.SP.keys.uspData,a));case 5:return n=a.uspString,u.next=8,t.default.awrap(s.default.setStandardUserDefaultsValue(s.default.US.keys.USPrivacy,n));case 8:case"end":return u.stop()}},null,null,null,Promise)}},{key:"getUSPData",value:function(){var a;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!c.uspData){n.next=2;break}return n.abrupt("return",c.uspData);case 2:return a={},n.prev=3,n.t1=JSON,n.next=7,t.default.awrap(s.default.getItem(s.default.SP.keys.uspData));case 7:if(n.t2=n.sent,n.t0=n.t1.parse.call(n.t1,n.t2),n.t0){n.next=11;break}n.t0={};case 11:a=n.t0,n.next=16;break;case 14:n.prev=14,n.t3=n.catch(3);case 16:return c.uspData=a,n.abrupt("return",a);case 18:case"end":return n.stop()}},null,null,[[3,14]],Promise)}},{key:"clearUSData",value:function(){var a;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return c.uspData=void 0,a=s.default.SP.keys.uspData,n.next=4,t.default.awrap(s.default.clearItem(a));case 4:return n.next=6,t.default.awrap(s.default.clearStandardUserDefaultsItem(s.default.US.keys.USPrivacy));case 6:case"end":return n.stop()}},null,null,null,Promise)}},{key:"reset",value:function(){c.tcData=void 0,c.uspData=void 0}},{key:"init",value:function(){var a,n=arguments;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(a=n.length>0&&void 0!==n[0]&&n[0],c.setATTDenied(a),!c.attDenied){u.next=8;break}return u.next=5,t.default.awrap(c.clearTCData());case 5:return u.next=7,t.default.awrap(c.clearUSData());case 7:return u.abrupt("return");case 8:return c.reset(),u.next=11,t.default.awrap(c.getTCData());case 11:return u.next=13,t.default.awrap(c.getUSPData());case 13:case"end":return u.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return c.reset(),a.next=3,t.default.awrap(c.clearTCData());case 3:return a.next=5,t.default.awrap(c.clearUSData());case 5:case"end":return a.stop()}},null,null,null,Promise)}}]),c})();e.default=c,c.attDenied=!1},542,[5,80,7,8,463,503,543]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),l=(function(){function l(){(0,n.default)(this,l)}return(0,s.default)(l,null,[{key:"getDefaultPreferencesName",value:function(){}},{key:"getStandardUserDefaultsValue",value:function(t){return u.default.getItemInDefaultPreferences(l.getDefaultPreferencesName(),t)}},{key:"setStandardUserDefaultsValue",value:function(t,n){return u.default.setItemInDefaultPreferences(l.getDefaultPreferencesName(),t,n)}},{key:"clearStandardUserDefaultsItem",value:function(t){return u.default.clearItemFromDefaultPreferences(l.getDefaultPreferencesName(),t)}},{key:"clearStandardUserDefaults",value:function(){return u.default.clearAllFromDefaultPreferences(l.getDefaultPreferencesName())}},{key:"setStorageName",value:function(t){l.SP.name=t}},{key:"getItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",u.default.getItem(l.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(n,s){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",u.default.setItem(l.SP.name,n,s));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"clearItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",u.default.clear(l.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),l})();e.default=l,l.SP={name:"cmp",keys:{tcData:"tcData",uspData:"uspData"}},l.IABTCF={keys:{CmpSdkID:"IABTCF_CmpSdkID",CmpSdkVersion:"IABTCF_CmpSdkVersion",PolicyVersion:"IABTCF_PolicyVersion",gdprApplies:"IABTCF_gdprApplies",PublisherCC:"IABTCF_PublisherCC",PurposeOneTreatment:"IABTCF_PurposeOneTreatment",UseNonStandardStacks:"IABTCF_UseNonStandardStacks",TCString:"IABTCF_TCString",VendorConsents:"IABTCF_VendorConsents",VendorLegitimateInterests:"IABTCF_VendorLegitimateInterests",PurposeConsents:"IABTCF_PurposeConsents",PurposeLegitimateInterests:"IABTCF_PurposeLegitimateInterests",SpecialFeaturesOptIns:"IABTCF_SpecialFeaturesOptIns",PublisherRestrictions:"IABTCF_PublisherRestrictions",PublisherConsent:"IABTCF_PublisherConsent",PublisherLegitimateInterests:"IABTCF_PublisherLegitimateInterests",PublisherCustomPurposesConsents:"IABTCF_PublisherCustomPurposesConsents",PublisherCustomPurposesLegitimateInterests:"IABTCF_PublisherCustomPurposesLegitimateInterests",AddtlConsent:"IABTCF_AddtlConsent"}},l.US={keys:{USPrivacy:"IABUSPrivacy_String"}}},543,[5,80,7,8,544]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),f=(r(d[0])(r(d[7])),(function(){function l(){(0,n.default)(this,l)}return(0,u.default)(l,null,[{key:"setItemInDefaultPreferences",value:function(n,u,c){return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.abrupt("return",l.queue.add(function(){return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,t.default.awrap(s.default.setName(n));case 3:return l.next=5,t.default.awrap(s.default.set(u,c));case 5:l.next=9;break;case 7:l.prev=7,l.t0=l.catch(0);case 9:case"end":return l.stop()}},null,null,[[0,7]],Promise)}));case 1:case"end":return f.stop()}},null,null,null,Promise)}},{key:"getItemFromDefaultPreferences",value:function(n,u){return t.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",l.queue.add(function(){var c;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:if(c="",l.prev=1,!u){l.next=8;break}return l.next=5,t.default.awrap(s.default.setName(n));case 5:return l.next=7,t.default.awrap(s.default.get(u));case 7:c=l.sent;case 8:l.next=12;break;case 10:l.prev=10,l.t0=l.catch(1);case 12:return l.abrupt("return",c);case 13:case"end":return l.stop()}},null,null,[[1,10]],Promise)}));case 1:case"end":return c.stop()}},null,null,null,Promise)}},{key:"clearItemFromDefaultPreferences",value:function(n,u){return t.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",l.queue.add(function(){return t.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,t.default.awrap(s.default.setName(n));case 3:return c.next=5,t.default.awrap(s.default.clear(u));case 5:c.next=9;break;case 7:c.prev=7,c.t0=c.catch(0);case 9:case"end":return c.stop()}},null,null,[[0,7]],Promise)}));case 1:case"end":return c.stop()}},null,null,null,Promise)}},{key:"clearAllFromDefaultPreferences",value:function(n){return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",l.queue.add(function(){return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,t.default.awrap(s.default.setName(n));case 3:return u.next=5,t.default.awrap(s.default.clearAll());case 5:u.next=9;break;case 7:u.prev=7,u.t0=u.catch(0);case 9:case"end":return u.stop()}},null,null,[[0,7]],Promise)}));case 1:case"end":return u.stop()}},null,null,null,Promise)}},{key:"appendNameToKey",value:function(t,n){return"@"+t+":"+n}},{key:"formatValue",value:function(t){return"object"==typeof t||Array.isArray(t)?JSON.stringify(t):""+t}},{key:"setItem",value:function(n,u,s){var f;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,f=l.appendNameToKey(n,u),o.next=4,t.default.awrap(c.default.setItem(f,l.formatValue(s)));case 4:o.next=8;break;case 6:o.prev=6,o.t0=o.catch(0);case 8:case"end":return o.stop()}},null,null,[[0,6]],Promise)}},{key:"multiSet",value:function(n,u){var s;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,s=Object.keys(u).map(function(t){return[l.appendNameToKey(n,t),l.formatValue(u[t])]}),f.next=4,t.default.awrap(c.default.multiSet(s));case 4:f.next=8;break;case 6:f.prev=6,f.t0=f.catch(0);case 8:case"end":return f.stop()}},null,null,[[0,6]],Promise)}},{key:"multiGet",value:function(n,u){var l,s;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return l={},f.prev=1,f.next=4,t.default.awrap(c.default.getAllKeys());case 4:return s=f.sent.filter(function(t){return t.includes("@"+n+":")}),f.next=7,t.default.awrap(c.default.multiGet(s));case 7:l=f.sent.reduce(function(t,c){return t[c[0].replace("@"+n+":","")]=u?u(c[1]):c[1],t},{}),f.next=12;break;case 10:f.prev=10,f.t0=f.catch(1);case 12:return f.abrupt("return",l);case 13:case"end":return f.stop()}},null,null,[[1,10]],Promise)}},{key:"getItem",value:function(n,u){var s,f;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(s="",o.prev=1,!u){o.next=7;break}return f=l.appendNameToKey(n,u),o.next=6,t.default.awrap(c.default.getItem(f));case 6:s=o.sent;case 7:o.next=11;break;case 9:o.prev=9,o.t0=o.catch(1);case 11:return o.abrupt("return",s);case 12:case"end":return o.stop()}},null,null,[[1,9]],Promise)}},{key:"clear",value:function(n,u){return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,t.default.awrap(c.default.removeItem(l.appendNameToKey(n,u)));case 3:s.next=7;break;case 5:s.prev=5,s.t0=s.catch(0);case 7:case"end":return s.stop()}},null,null,[[0,5]],Promise)}},{key:"clearAll",value:function(n){var u;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,t.default.awrap(c.default.getAllKeys());case 3:return u=l.sent.filter(function(t){return t.includes("@"+n+":")}),l.next=6,t.default.awrap(c.default.multiRemove(u));case 6:l.next=10;break;case 8:l.prev=8,l.t0=l.catch(0);case 10:case"end":return l.stop()}},null,null,[[0,8]],Promise)}},{key:"clearAllByKeys",value:function(n,u){var l;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,l=u.map(function(t){return"@"+n+":"+t}),s.next=4,t.default.awrap(c.default.multiRemove(l));case 4:s.next=8;break;case 6:s.prev=6,s.t0=s.catch(0);case 8:case"end":return s.stop()}},null,null,[[0,6]],Promise)}},{key:"clearAllByRegExp",value:function(n){var u;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,t.default.awrap(c.default.getAllKeys());case 3:return u=l.sent.filter(function(t){return!!t.match("@"+n+":")}),l.next=6,t.default.awrap(c.default.multiRemove(u));case 6:l.next=10;break;case 8:l.prev=8,l.t0=l.catch(0);case 10:case"end":return l.stop()}},null,null,[[0,8]],Promise)}}]),l})());e.default=f,f.queue=new l.default(1,1/0)},544,[5,80,7,8,545,551,554,463]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useAsyncStorage",{enumerable:!0,get:function(){return r(d[0]).useAsyncStorage}}),e.default=void 0;var t=r(d[1])(r(d[2])).default;e.default=t},545,[546,5,547]); @@ -707,18 +707,18 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.d __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.addWhitelistedNativeProps=function(o){l=(0,t.default)({},l,o),s()},e.addWhitelistedUIProps=function(o){n=(0,t.default)({},n,o),s()};var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n={opacity:!0,transform:!0,backgroundColor:!0,borderRightColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderStartColor:!0,borderTopColor:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},l={borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStartWidth:!0,borderTopWidth:!0,borderWidth:!0,bottom:!0,flex:!0,flexGrow:!0,flexShrink:!0,height:!0,left:!0,margin:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,padding:!0,paddingBottom:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,width:!0,zIndex:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,opacity:!0,elevation:!0,fontSize:!0,lineHeight:!0,textShadowRadius:!0,letterSpacing:!0,display:!0,backfaceVisibility:!0,overflow:!0,resizeMode:!0,fontStyle:!0,fontWeight:!0,textAlign:!0,textDecorationLine:!0,fontFamily:!0,textAlignVertical:!0,fontVariant:!0,textDecorationStyle:!0,textTransform:!0,writingDirection:!0,color:!0};function s(){o.default.configureProps(Object.keys(l),Object.keys(n))}s()},701,[5,6,651]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.CustomAlert=_e.ModalOverlay=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),n=_r(d[0])(_r(d[3])),o=_r(d[0])(_r(d[4])),a=_r(d[0])(_r(d[5])),l=_r(d[0])(_r(d[6])),i=_r(d[0])(_r(d[7])),r=_r(d[0])(_r(d[8])),s=_r(d[9]),u=_r(d[0])(_r(d[10])),c=_r(d[0])(_r(d[11])),f=_r(d[0])(_r(d[12])),v=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=a?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(o,l,i):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o})(_r(d[13]));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var h=(function(p){(0,a.default)(M,p);var h,b,O=(h=M,b=y(),function(){var e,t=(0,i.default)(h);if(b){var n=(0,i.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function M(e){var n;return(0,t.default)(this,M),(n=O.call(this,e)).state={cancelable:!0,expanded:!1,Component:null,style:void 0,containerStyle:void 0,contentStyle:void 0,supportedOrientations:void 0,onDismiss:void 0,dontUseModal:!1},n.show=n._show.bind((0,o.default)(n)),n.hide=n._hide.bind((0,o.default)(n)),n}return(0,n.default)(M,[{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.Component,n=e.style,o=e.containerStyle,a=e.contentStyle,l=e.supportedOrientations,i=e.cancelable,r=e.onDismiss,s=e.dontUseModal,u=void 0!==s&&s;this.setState({expanded:!0,cancelable:i,Component:t,style:n,containerStyle:o,contentStyle:a,supportedOrientations:l,onDismiss:r,dontUseModal:u})}},{key:"_hide",value:function(){var e=this.state.onDismiss;"function"==typeof e&&e(),this.setState({cancelable:!0,expanded:!1,Component:null,style:void 0,contentStyle:void 0,supportedOrientations:void 0,onDismiss:void 0,dontUseModal:!1})}},{key:"render",value:function(){var t=this.state,n=t.expanded,o=t.cancelable,a=t.Component,l=t.style,i=t.containerStyle,c=t.contentStyle,p=t.supportedOrientations,y=t.dontUseModal,h={cancelable:o};o&&(h.onBackdropPress=this.hide,h.onBackButtonPress=this.hide);var b=_r(d[14]).Css.getDefaultBackgroundColor(),O=r.default.createElement(s.View,{style:c},a);if(y){var M=u.default.getSafeAreaInsets(),S=M.top,k=M.bottom,w=u.default.getSafeArea().height;return r.default.createElement(f.default,(0,e.default)({visible:n,containerStyle:i},h,{useNativeDriver:!0}),r.default.createElement(s.View,{style:[v.ModalStyle.container,{backgroundColor:b,marginTop:S,marginBottom:k,maxHeight:w}]},O))}return a?r.default.createElement(v.default,(0,e.default)({visible:n,supportedOrientations:p,style:l,containerStyle:i,backgroundColor:b},h),r.default.createElement(_r(d[15]).GestureHandlerRootView,null,O)):null}}],[{key:"alert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message,o=e.buttons,a=void 0===o?[]:o,l=e.options,i=void 0===l?{}:l,s=i.cancelable,u=void 0===s||s,f=i.onDismiss,v=i.dontUseModal,p=void 0!==v&&v;M.show({Component:r.default.createElement(c.default,{title:t,message:n,buttons:a,onDismiss:M.hide}),cancelable:u,onDismiss:f,dontUseModal:p})}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};M.instance.show(e)}},{key:"hide",value:function(){M.instance.hide()}}]),M})(r.default.Component);_e.ModalOverlay=h;var b={alert:function(t,n,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};h.alert({title:t,message:n,buttons:o,options:(0,e.default)({dontUseModal:!0},a)})}};_e.CustomAlert=b},702,[5,6,7,8,15,12,14,16,17,28,458,703,717,718,708,1]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),n=_r(d[3]),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[4]));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var o=n.StyleSheet.create({modal:{padding:10},title:{fontSize:20,margin:10},text:{marginHorizontal:10,marginBottom:10},button:{flex:1,alignItems:"center",justifyContent:"center",height:50,borderWidth:.5,margin:5}});function a(e){var l=e.title,a=e.message,u=e.onDismiss,f=e.buttons;f||(f=[]),0===f.length&&f.push({text:g.strings("btn_ok")});var i=_r(d[5]).Css.getDefaultBackgroundColor(),s=_r(d[5]).Css.getDefaultForegroundColor(),c={flexDirection:"row",width:"100%"};return f.length>2&&(c.flexDirection="column",c.height=f.length*(o.button.height+2*o.button.margin)),t.default.createElement(n.View,{style:[o.modal,{backgroundColor:i}]},l?t.default.createElement(r.default,{style:[o.title,{color:s}],type:r.Type.bold},l):null,a?t.default.createElement(r.default,{style:[o.text,{color:s}]},a):null,f.length?t.default.createElement(n.View,{style:c},f.map(function(e,l){var a=e.Component,f=void 0===a?null:a,i=e.text,c=e.onPress,p=e.style,y=void 0===p?{}:p;return t.default.createElement(n.View,{key:"ta_alert_button_container_"+l,style:{flexDirection:"row",flex:1}},f||t.default.createElement(n.TouchableOpacity,{key:"ta_alert_button_"+l,style:[o.button,{borderColor:s},y],onPress:function(){"function"==typeof u&&u(),"function"==typeof c&&c()}},t.default.createElement(r.default,{style:[o.buttonText,{color:s}],type:r.Type.bold},i)))})):null)}a.propTypes={title:e.default.string,message:e.default.string,buttons:e.default.arrayOf(e.default.shape({Component:e.default.any,text:e.default.string,onPress:e.default.func,style:e.default.oneOfType([e.default.array,e.default.object,e.default.number])})),onDismiss:e.default.func},a.defaultProps={title:"",message:"",buttons:[]};var u=a;_e.default=u},703,[5,201,17,28,704,708]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.Type=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),u=r(d[6]),s=["uppercase","lowercase","capitalize","none"],f=["flex","none"],y={bold:"bold",medium:"medium",regular:"regular"};_e.Type=y;var p=function(t,e){var o=r(d[7]).CssUtils.getAttributeFromStyle("fontFamily",t),l=r(d[7]).CssUtils.getAttributeFromStyle("fontWeight",t),n={};if(o||(n.fontFamily="system font"),!l)switch(e){case y.bold:n.fontWeight="bold";break;case y.medium:n.fontWeight="normal";break;default:n.fontWeight="normal"}return n},c=function(t,e){var o=r(d[7]).CssUtils.getAttributeFromStyle("textTransform",e,"none",!0),l=t;"upperFirst"===o&&"string"==typeof t?l=(l=l.toLowerCase()).charAt(0).toUpperCase()+l.slice(1):s.includes(o)&&e.push({textTransform:o});var n=r(d[7]).CssUtils.getAttributeFromStyle("display",e,"",!0);return n&&(f.includes(n)||(n="flex"),e.push({display:n})),{children:l,style:e}};function F(n){var s=(0,r(d[8]).useFonts)(r(d[8]).FontContext),f=s.allowFontScaling,F=s.fontRegular,b=s.fontMedium,h=s.fontBold,v=n.type,S=n.style,x=n.onLayout,A=n.children,C=(0,o.default)(n,["type","style","onLayout","children"]),U=[(function(t){var e={};return t===y.bold&&h?e.fontFamily=h.font:t===y.medium&&b?e.fontFamily=b.font:F&&(e.fontFamily=F.font),e})(v)];S&&(Array.isArray(S)?U.push.apply(U,(0,e.default)(S)):U.push(S)),U.push(p(U,v));var T=c(A,U);return l.default.createElement(u.Text,(0,t.default)({onLayout:function(t){x&&x(t,U)},allowFontScaling:f,minimumFontScale:r(d[7]).FontUtils.fontMinScale,maxFontSizeMultiplier:r(d[7]).FontUtils.fontMaxScale},C,T))}F.propTypes={type:n.default.oneOf(Object.values(y)),onLayout:n.default.func,style:n.default.any,children:n.default.any,supportFontScaling:n.default.bool,useDefaultFonts:n.default.bool},F.defaultProps={type:y.regular,supportFontScaling:!0,useDefaultFonts:!1};var b=F;_e.default=b},704,[5,6,21,108,17,201,28,462,705]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useFonts=function(){return(0,r(d[0]).useReactiveContext)(t).state},e.setFonts=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.set(o)},e.FontContext=void 0;var t=(0,r(d[0]).createReactiveContext)({fontBold:void 0,fontMedium:void 0,fontRegular:void 0,allowFontScaling:!0});e.FontContext=t},705,[706]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.Type=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),u=r(d[6]),s=["uppercase","lowercase","capitalize","none"],f=["flex","none"],y={bold:"bold",medium:"medium",regular:"regular"};_e.Type=y;var p=function(t,e){var l=r(d[7]).CssUtils.getAttributeFromStyle("fontFamily",t),o=r(d[7]).CssUtils.getAttributeFromStyle("fontWeight",t),n={};if(l||(n.fontFamily="system font"),!o)switch(e){case y.bold:n.fontWeight="bold";break;case y.medium:n.fontWeight="normal";break;default:n.fontWeight="normal"}return n},c=function(t,e){var l=r(d[7]).CssUtils.getAttributeFromStyle("textTransform",e,"none",!0),o=t;"upperFirst"===l&&"string"==typeof t?o=(o=o.toLowerCase()).charAt(0).toUpperCase()+o.slice(1):s.includes(l)&&e.push({textTransform:l});var n=r(d[7]).CssUtils.getAttributeFromStyle("display",e,"",!0);return n&&(f.includes(n)||(n="flex"),e.push({display:n})),{children:o,style:e}};function F(o){var s=(0,r(d[8]).useFonts)(),f=s.allowFontScaling,F=s.fontRegular,b=s.fontMedium,h=s.fontBold,v=o.type,S=o.style,x=o.onLayout,A=o.children,U=(0,l.default)(o,["type","style","onLayout","children"]),C=[(function(t){var e={};return t===y.bold&&h?e.fontFamily=h.font:t===y.medium&&b?e.fontFamily=b.font:F&&(e.fontFamily=F.font),e})(v)];S&&(Array.isArray(S)?C.push.apply(C,(0,e.default)(S)):C.push(S)),C.push(p(C,v));var T=c(A,C);return n.default.createElement(u.Text,(0,t.default)({onLayout:function(t){x&&x(t,C)},allowFontScaling:f,minimumFontScale:r(d[7]).FontUtils.fontMinScale,maxFontSizeMultiplier:r(d[7]).FontUtils.fontMaxScale},U,T))}F.propTypes={type:o.default.oneOf(Object.values(y)),onLayout:o.default.func,style:o.default.any,children:o.default.any,supportFontScaling:o.default.bool,useDefaultFonts:o.default.bool},F.defaultProps={type:y.regular,supportFontScaling:!0,useDefaultFonts:!1};var b=F;_e.default=b},704,[5,6,21,108,201,17,28,462,705]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.addDebugOperation=function(e,t){if(g.enableDebugger)try{u.set({enabled:!0,lastOperation:new o(e,t)})}catch(e){}},_e.resetDebugOperations=function(){u.set({lastOperation:void 0})},_e.setDebugOperationsEnabled=function(e){g.enableDebugger=e,u.set({enabled:e})},_e.setFonts=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.set(e)},_e.useDebugContext=function(){return(0,r(d[3]).useReactiveContext)(u).state},_e.useFonts=function(){return(0,r(d[3]).useReactiveContext)(n).state},_e.FontContext=_e.DebugOperation=_e.DebugContext=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=(0,r(d[3]).createReactiveContext)({fontBold:void 0,fontMedium:void 0,fontRegular:void 0,allowFontScaling:!0});_e.FontContext=n;var o=(function(){function n(t,o){(0,e.default)(this,n),this.prefix=t,this.text=o,this.timestamp=(new Date).getTime()}return(0,t.default)(n,[{key:"getTimestamp",value:function(){return this.timestamp}},{key:"toString",value:function(){return this.text?this.prefix+" - "+this.text:this.prefix}}]),n})();_e.DebugOperation=o;var u=(0,r(d[3]).createReactiveContext)({enabled:!1,lastOperation:void 0});_e.DebugContext=u},705,[5,7,8,706]); __d(function(g,r,_i,_a,m,e,d){function t(t){return t&&'object'==typeof t&&'default'in t?t.default:t}var n,o=r(d[0]),u=t(o),c=t(r(d[1]));function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0||(c[o]=t[o]);return c}!(function(t){t.equals=function(t,n){return c(t,n)}})(n||(n={}));var i,l=["value","decorator"],s=["children"];function v(t,n){var o;return"function"==typeof i&&(o=i(t,n)),{decoratedState:o,state:t}}e.createReactiveContext=function(t,c){var b,y,p=o.createContext(t),h={};function j(t){void 0===t&&(t=[]);for(var n=0;n_))return!1;var p=f.get(t);if(p&&f.get(o))return p==o;var v=-1,y=!0,b=u&n?new xt:void 0;for(f.set(t,o),f.set(o,t);++v<_;){var j=t[v],w=o[v];if(c)var z=l?c(w,j,v,o,t,f):c(j,w,v,t,o,f);if(void 0!==z){if(z)continue;y=!1;break}if(b){if(!V(o,function(t,e){if(n=e,!b.has(n)&&(j===t||s(j,t,u,c,f)))return b.push(e);var n})){y=!1;break}}else if(j!==w&&!s(j,w,u,c,f)){y=!1;break}}return f.delete(t),f.delete(o),y}function Vt(t,o,u,c,s,h,p){switch(u){case E:if(t.byteLength!=o.byteLength||t.byteOffset!=o.byteOffset)return!1;t=t.buffer,o=o.buffer;case P:return!(t.byteLength!=o.byteLength||!h(new st(t),new st(o)));case f:case l:case y:return ee(+t,+o);case _:return t.name==o.name&&t.message==o.message;case z:case O:return t==o+'';case v:var b=H;case A:var j=c&e;if(b||(b=J),t.size!=o.size&&!j)return!1;var w=p.get(t);if(w)return w==o;c|=n,p.set(t,o);var S=Nt(b(t),b(o),c,s,h,p);return p.delete(t),S;case k:if(Pt)return Pt.call(t)==Pt.call(o)}return!1}function Gt(t,n,o,u,c,s){var f=o&e,l=qt(t),_=l.length;if(_!=qt(n).length&&!f)return!1;for(var h=_;h--;){var p=l[h];if(!(f?p in n:nt.call(n,p)))return!1}var v=s.get(t);if(v&&s.get(n))return v==n;var y=!0;s.set(t,n),s.set(n,t);for(var b=f;++h<_;){var j=t[p=l[h]],w=n[p];if(u)var z=f?u(w,j,p,n,t,s):u(j,w,p,t,n,s);if(!(void 0===z?j===w||c(j,w,o,u,s):z)){y=!1;break}b||(b='constructor'==p)}if(y&&!b){var A=t.constructor,O=n.constructor;A!=O&&'constructor'in t&&'constructor'in n&&!('function'==typeof A&&A instanceof A&&'function'==typeof O&&O instanceof O)&&(y=!1)}return s.delete(t),s.delete(n),y}function qt(t){return It(t,fe,Qt)}function Ht(t,e){var n,o,u=t.__data__;return('string'==(o=typeof(n=e))||'number'==o||'symbol'==o||'boolean'==o?'__proto__'!==n:null===n)?u['string'==typeof e?'string':'hash']:u.map}function Jt(t,e){var n=q(t,e);return Rt(n)?n:void 0}function Kt(t){var e=nt.call(t,_t),n=t[_t];try{t[_t]=void 0}catch(t){}var o=it.call(t);return e?t[_t]=n:delete t[_t],o}Et.prototype.clear=function(){this.__data__=wt?wt(null):{},this.size=0},Et.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Et.prototype.get=function(e){var n=this.__data__;if(wt){var o=n[e];return o===t?void 0:o}return nt.call(n,e)?n[e]:void 0},Et.prototype.has=function(t){var e=this.__data__;return wt?void 0!==e[t]:nt.call(e,t)},Et.prototype.set=function(e,n){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=wt&&void 0===n?t:n,this},Ft.prototype.clear=function(){this.__data__=[],this.size=0},Ft.prototype.delete=function(t){var e=this.__data__,n=Bt(e,t);return!(n<0||(n==e.length-1?e.pop():lt.call(e,n,1),--this.size,0))},Ft.prototype.get=function(t){var e=this.__data__,n=Bt(e,t);return n<0?void 0:e[n][1]},Ft.prototype.has=function(t){return Bt(this.__data__,t)>-1},Ft.prototype.set=function(t,e){var n=this.__data__,o=Bt(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this},$t.prototype.clear=function(){this.size=0,this.__data__={hash:new Et,map:new(bt||Ft),string:new Et}},$t.prototype.delete=function(t){var e=Ht(this,t).delete(t);return this.size-=e?1:0,e},$t.prototype.get=function(t){return Ht(this,t).get(t)},$t.prototype.has=function(t){return Ht(this,t).has(t)},$t.prototype.set=function(t,e){var n=Ht(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this},xt.prototype.add=xt.prototype.push=function(e){return this.__data__.set(e,t),this},xt.prototype.has=function(t){return this.__data__.has(t)},Mt.prototype.clear=function(){this.__data__=new Ft,this.size=0},Mt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Mt.prototype.get=function(t){return this.__data__.get(t)},Mt.prototype.has=function(t){return this.__data__.has(t)},Mt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ft){var o=n.__data__;if(!bt||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new $t(o)}return n.set(t,e),this.size=n.size,this};var Qt=ht?function(t){return null==t?[]:(t=Object(t),C(ht(t),function(e){return ft.call(t,e)}))}:function(){return[]},Xt=Lt;function Yt(t,e){return!!(e=null==e?o:e)&&('number'==typeof t||$.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=o}function ue(t){var e=typeof t;return null!=t&&('object'==e||'function'==e)}function ce(t){return null!=t&&'object'==typeof t}var se=R?(function(t){return function(e){return t(e)}})(R):function(t){return ce(t)&&ae(t.length)&&!!x[Lt(t)]};function fe(t){return null!=(e=t)&&ae(e.length)&&!ie(e)?Ut(t):Ct(t);var e}m.exports=function(t,e){return Wt(t,e)}},707,[]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Css=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),u=_r(d[0])(_r(d[5])),l=_r(d[0])(_r(d[6])),a=_r(d[0])(_r(d[7])),o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(n,l,a):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n})(_r(d[8])),s=_r(d[0])(_r(d[9])),i=_r(d[0])(_r(d[10])),c=_r(d[0])(_r(d[11]));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function v(e){var t=p();return function(){var r,n=(0,a.default)(e);if(t){var u=(0,a.default)(this).constructor;r=Reflect.construct(n,arguments,u)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var y=o.default,h=y.Consumer,C=y.Provider,k=function(){return{isPortrait:c.default.isPortrait(),isTablet:_r(d[12]).PlatformUtils.isTablet(),isDark:c.default.isDark()}},T=(function(e){(0,u.default)(l,e);var t=v(l);function l(){return(0,r.default)(this,l),t.apply(this,arguments)}return(0,n.default)(l,[{key:"render",value:function(){return s.default.createElement(C,this.props)}}]),l})(s.default.Component),b=(function(l){(0,u.default)(c,l);var a=v(c);function c(){return(0,r.default)(this,c),a.apply(this,arguments)}return(0,n.default)(c,[{key:"componentDidMount",value:function(){this.onSizeChangeId=_r(d[13]).EventRegister.addEventListener(i.default.ON_ORIENTATION_CHANGE,function(){o.default.set((0,t.default)({},k()))})}},{key:"componentWillUnmount",value:function(){this.onSizeChangeId&&_r(d[13]).EventRegister.rm(this.onSizeChangeId)}},{key:"render",value:function(){return s.default.createElement(h,this.props)}}],[{key:"flatten",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.CssHelper.flatten(e,t,r)}},{key:"getStyleByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.getStyle(e,t)}},{key:"getStyleObjByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.getStyleObj(e,t)}},{key:"getActiveTheme",value:function(){return o.CssHelper.getActiveThemeId()}},{key:"getThemeInUse",value:function(){return o.CssHelper.getInUseThemeId()}},{key:"getThemes",value:function(){return o.CssHelper.getThemes()}},{key:"arrayToObject",value:function(e){return o.CssHelper.arrayToObject(e)}},{key:"applyCustomStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.CssHelper.mergeRnStyles((0,_r(d[14]).getDefaultStyles)(),e,(0,_r(d[15]).getDebugStyles)());o.default.set((0,t.default)({rnStyles:r},k(),{activeTheme:c.getUserTheme()}))}},{key:"updateCustomStyles",value:function(t){var r;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(r=c.getUserTheme(),t===r){n.next=6;break}return n.next=4,e.default.awrap(g.getNewsmemoryConfig().setTheme(t));case 4:return o.default.set({activeTheme:t}),n.abrupt("return",!0);case 6:return n.abrupt("return",!1);case 7:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getUserTheme",value:function(){return g.getNewsmemoryConfig().cssTheme}},{key:"getDefaultBackgroundColor",value:function(){return o.CssHelper.isActiveThemeDark()?_r(d[12]).colors.grey1010:_r(d[12]).colors.white}},{key:"getAlternateDefaultBackgroundColor",value:function(){return o.CssHelper.isActiveThemeDark()?_r(d[12]).colors.grey1200:_r(d[12]).colors.grey200}},{key:"getDefaultForegroundColor",value:function(){return o.CssHelper.isActiveThemeDark()?_r(d[12]).colors.white_transparent_135:_r(d[12]).colors.black}},{key:"isDarkTheme",value:function(){return o.CssHelper.isActiveThemeDark()}},{key:"isAutomaticTheme",value:function(){return o.CssHelper.isActiveThemeAutomatic()}},{key:"resolvePlaceholders",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.resolvePlaceholders(e,t)}}]),c})(s.default.Component);_e.Css=b,b.Provider=T,b.use=o.useCss},708,[5,80,6,7,8,12,14,16,709,17,460,458,462,574,715,716]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),Object.defineProperty(_e,"useCss",{enumerable:!0,get:function(){return a.useCss}}),_e.default=_e.CssHelper=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=a?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(n,u,l):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[5]));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return _r(d[6]).CssManager.arrayToObject(e)},flatten:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _r(d[6]).CssManager.flatten(l.get().state,e,t,r)},getStyle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[6]).CssManager.getStyle(l.get().state,e,t)},getStyleObj:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[6]).CssManager.getStyleObj(l.get().state,e,t)},getInUseThemeId:function(){return _r(d[6]).CssManager.getInUseThemeId(l.get().state)},getInUseTheme:function(){return _r(d[6]).CssManager.getInUseTheme(l.get().state)},getActiveThemeId:function(){return _r(d[6]).CssManager.getActiveThemeId(l.get().state)},getThemes:function(){return _r(d[6]).CssManager.getThemes(l.get().state)},isActiveThemeDark:function(){return _r(d[6]).CssManager.isActiveThemeDark(l.get().state)},isActiveThemeAutomatic:function(){return _r(d[6]).CssManager.isActiveThemeAutomatic(l.get().state)},mergeRnStyles:_r(d[7]).CssUtils.mergeRnStyles,resolvePlaceholders:_r(d[7]).CssUtils.resolvePlaceholders};_e.CssHelper=o;var i=l;_e.default=i},709,[5,6,21,108,17,710,711,713]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Css=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),u=_r(d[0])(_r(d[5])),l=_r(d[0])(_r(d[6])),a=_r(d[0])(_r(d[7])),o=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(n,l,a):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n})(_r(d[8])),s=_r(d[0])(_r(d[9])),i=_r(d[0])(_r(d[10])),c=_r(d[0])(_r(d[11]));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function v(e){var t=p();return function(){var r,n=(0,a.default)(e);if(t){var u=(0,a.default)(this).constructor;r=Reflect.construct(n,arguments,u)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var y=o.default,h=y.Consumer,C=y.Provider,k=function(){return{isPortrait:c.default.isPortrait(),isTablet:_r(d[12]).PlatformUtils.isTablet(),isDark:c.default.isDark()}},T=(function(e){(0,u.default)(l,e);var t=v(l);function l(){return(0,r.default)(this,l),t.apply(this,arguments)}return(0,n.default)(l,[{key:"render",value:function(){return s.default.createElement(C,this.props)}}]),l})(s.default.Component),b=(function(l){(0,u.default)(c,l);var a=v(c);function c(){return(0,r.default)(this,c),a.apply(this,arguments)}return(0,n.default)(c,[{key:"componentDidMount",value:function(){this.onSizeChangeId=_r(d[13]).EventRegister.addEventListener(i.default.ON_ORIENTATION_CHANGE,function(){o.default.set((0,t.default)({},k()))})}},{key:"componentWillUnmount",value:function(){this.onSizeChangeId&&_r(d[13]).EventRegister.rm(this.onSizeChangeId)}},{key:"render",value:function(){return s.default.createElement(h,this.props)}}],[{key:"flatten",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.CssHelper.flatten(e,t,r)}},{key:"getStyleByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.getStyle(e,t)}},{key:"getStyleObjByCssClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.getStyleObj(e,t)}},{key:"getActiveTheme",value:function(){return o.CssHelper.getActiveThemeId()}},{key:"getThemeInUse",value:function(){return o.CssHelper.getInUseThemeId()}},{key:"getThemes",value:function(){return o.CssHelper.getThemes()}},{key:"arrayToObject",value:function(e){return o.CssHelper.arrayToObject(e)}},{key:"applyCustomStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.CssHelper.mergeRnStyles((0,_r(d[14]).getDefaultStyles)(),e,(0,_r(d[15]).getDebugStyles)());o.default.set((0,t.default)({rnStyles:r},k(),{activeTheme:c.getUserTheme()}))}},{key:"updateCustomStyles",value:function(t){var r;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(r=c.getUserTheme(),t===r){n.next=6;break}return n.next=4,e.default.awrap(g.getNewsmemoryConfig().setTheme(t));case 4:return o.default.set({activeTheme:t}),n.abrupt("return",!0);case 6:return n.abrupt("return",!1);case 7:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getUserTheme",value:function(){return g.getNewsmemoryConfig().cssTheme}},{key:"getDefaultBackgroundColor",value:function(){var e=o.CssHelper.getActiveBaseColors().background;return e||(o.CssHelper.isActiveThemeDark()?_r(d[12]).colors.grey1010:_r(d[12]).colors.white)}},{key:"getAlternateDefaultBackgroundColor",value:function(){var e=o.CssHelper.getActiveBaseColors().alternateBackground;return e||(o.CssHelper.isActiveThemeDark()?_r(d[12]).colors.grey1200:_r(d[12]).colors.grey200)}},{key:"getDefaultForegroundColor",value:function(){var e=o.CssHelper.getActiveBaseColors().foreground;return e||(o.CssHelper.isActiveThemeDark()?_r(d[12]).colors.white_transparent_135:_r(d[12]).colors.black)}},{key:"isDarkTheme",value:function(){return o.CssHelper.isActiveThemeDark()}},{key:"isAutomaticTheme",value:function(){return o.CssHelper.isActiveThemeAutomatic()}},{key:"resolvePlaceholders",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.CssHelper.resolvePlaceholders(e,t)}}]),c})(s.default.Component);_e.Css=b,b.Provider=T,b.use=o.useCss},708,[5,80,6,7,8,12,14,16,709,17,460,458,462,574,715,716]); +__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),Object.defineProperty(_e,"useCss",{enumerable:!0,get:function(){return a.useCss}}),_e.default=_e.CssHelper=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var o=a?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(n,u,o):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[5]));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return _r(d[6]).CssManager.arrayToObject(e)},flatten:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _r(d[6]).CssManager.flatten(o.get().state,e,t,r)},getStyle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[6]).CssManager.getStyle(o.get().state,e,t)},getStyleObj:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _r(d[6]).CssManager.getStyleObj(o.get().state,e,t)},getInUseThemeId:function(){return _r(d[6]).CssManager.getInUseThemeId(o.get().state)},getInUseTheme:function(){return _r(d[6]).CssManager.getInUseTheme(o.get().state)},getActiveThemeId:function(){return _r(d[6]).CssManager.getActiveThemeId(o.get().state)},getThemes:function(){return _r(d[6]).CssManager.getThemes(o.get().state)},isActiveThemeDark:function(){return _r(d[6]).CssManager.isActiveThemeDark(o.get().state)},isActiveThemeAutomatic:function(){return _r(d[6]).CssManager.isActiveThemeAutomatic(o.get().state)},getActiveBaseColors:function(){return _r(d[6]).CssManager.getActiveBaseColors(o.get().state)},mergeRnStyles:_r(d[7]).CssUtils.mergeRnStyles,resolvePlaceholders:_r(d[7]).CssUtils.resolvePlaceholders};_e.CssHelper=l;var i=o;_e.default=i},709,[5,6,21,108,17,710,711,713]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useCss=function(n){return(0,r(d[0]).useReactiveContext)(t,n)},e.default=void 0;var t=(0,r(d[0]).createReactiveContext)({rnStyles:{}});var n=t;e.default=n},710,[706]); -__d(function(g,r,_i2,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CssManager=void 0;var t,n=r(d[0])(r(d[1])),i=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),s=r(d[4]);e.CssManager=t,(function(t){function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={},i={};return Object.keys(t).forEach(function(o){o.match(/mw[0-9]{2,}/)?n[o]=t[o]:i[o]=t[o]}),{mw:n,rest:i}}function l(t,n){var i=t.window,s={};if(i&&i.width){for(var u=[],l=Object.keys(n),c=0;c1&&void 0!==arguments[1]?arguments[1]:[],i={};return t.forEach(function(t){Object.keys(t).forEach(function(o){n.includes(o)||(i[o]=t[o])})}),i}function f(t,n){var i=t.rnStyles,o=[];if(i&&n){var s,u=i.themes,l=i.base,f=i.baseLight,h=i.baseDark,y=w(t);"object"==typeof u&&void 0!==y&&(s=u[y]),l&&l.styles&&o.push(v(t,l.styles[n])),s&&1===s.dark?h&&h.styles&&o.push(v(t,h.styles[n])):f&&f.styles&&o.push(v(t,f.styles[n])),s&&s.styles&&o.push(v(t,s.styles[n]))}return c(o)}function h(t){var i=t.classes,o=t.toggle,s=t.active,u=t.cssKey,l=[];if(i&&i.length){if(l.push.apply(l,(0,n.default)(i)),o)for(var v=0;v2&&void 0!==arguments[2]?arguments[2]:{},s=h((0,o.default)({classes:n},i));return Array.isArray(s)?s.map(function(n){return f(t,n)}):[]}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(y(t,n,i),o)}function b(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=w(n);return null!==(t=n.rnStyles)&&void 0!==t&&t.themes&&i?n.rnStyles.themes[i]:void 0}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.isDark,s=t.activeTheme,u=i.themes;if("object"==typeof u){var l=Object.keys(u).filter(function(t){return"object"==typeof u[t]});l.length>0&&(s||(s=l.find(function(t){var n;return 1===(null===(n=u[t])||void 0===n?void 0:n.default)})),"automatic"===s&&(s=l.filter(function(t){var n;return"automatic"!==t&&1===(null===(n=u[t])||void 0===n?void 0:n.automatic)}).find(function(t){var n;return 1===(null===(n=u[t])||void 0===n?void 0:n.dark)===o})),s||(s=l[0]))}return s}t.flatten=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return s.StyleSheet.flatten([].concat((0,n.default)(i),[p(t,o,u)]))},t.arrayToObject=function(t,n){return c(t,n)},t.getStyle=p,t.getStyleObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(y(t,n,i),o)},t.getThemes=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==n&&void 0!==n&&null!==(t=n.rnStyles)&&void 0!==t&&t.themes?Object.keys(n.rnStyles.themes).map(function(t){return(0,o.default)({},n.rnStyles.themes[t],{key:t})}):[]},t.isActiveThemeDark=function(){var t;return 1===(null===(t=b(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))||void 0===t?void 0:t.dark)},t.isActiveThemeAutomatic=function(){return"automatic"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).activeTheme},t.getInUseTheme=b,t.getInUseThemeId=w,t.getActiveThemeId=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.activeTheme;if(o)return o;var s=i.themes;return"object"==typeof s?Object.keys(s).find(function(t){var n;return"object"==typeof s[t]&&1===(null===(n=s[t])||void 0===n?void 0:n.default)}):void 0}})(t||(e.CssManager=t={}))},711,[5,21,108,6,28,712]); +__d(function(g,r,_i2,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CssManager=void 0;var t,n=r(d[0])(r(d[1])),i=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),l=r(d[4]);e.CssManager=t,(function(t){function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={},i={};return Object.keys(t).forEach(function(o){o.match(/mw[0-9]{2,}/)?n[o]=t[o]:i[o]=t[o]}),{mw:n,rest:i}}function u(t,n){var i=t.window,l={};if(i&&i.width){for(var s=[],u=Object.keys(n),c=0;c0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles;if(!n)return{};var i=[],o=n.base,l=n.baseLight,s=n.baseDark;null!==o&&void 0!==o&&o.colors&&i.push(v(t,o.colors));var u=f(t);return 1===(null===u||void 0===u?void 0:u.dark)?null!==s&&void 0!==s&&s.colors&&i.push(v(t,s.colors)):null!==l&&void 0!==l&&l.colors&&i.push(v(t,l.colors)),null!==u&&void 0!==u&&u.colors&&i.push(v(t,u.colors)),c(i)}function y(t,n){var i=t.rnStyles;if(!i||!n)return{};var o=[],l=i.base,s=i.baseLight,u=i.baseDark;null!==l&&void 0!==l&&l.styles&&o.push(v(t,l.styles[n]));var y,p,b=f(t);return 1===(null===b||void 0===b?void 0:b.dark)?null!==u&&void 0!==u&&u.styles&&o.push(v(t,u.styles[n])):null!==s&&void 0!==s&&s.styles&&o.push(v(t,s.styles[n])),null!==b&&void 0!==b&&b.styles&&o.push(v(t,b.styles[n])),y=c(o),p=h(t),r(d[6]).CssUtils.resolvePlaceholders(y,p)}function p(t){var i=t.classes,o=t.toggle,l=t.active,s=t.cssKey,u=[];if(i&&i.length){if(u.push.apply(u,(0,n.default)(i)),o)for(var v=0;v2&&void 0!==arguments[2]?arguments[2]:{},l=p((0,o.default)({classes:n},i));return Array.isArray(l)?l.map(function(n){return y(t,n)}):[]}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(b(t,n,i),o)}function S(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=j(n);return null!==(t=n.rnStyles)&&void 0!==t&&t.themes&&i?n.rnStyles.themes[i]:void 0}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.isDark,l=t.activeTheme,s=i.themes;if("object"==typeof s){var u=Object.keys(s).filter(function(t){return"object"==typeof s[t]});u.length>0&&(l||(l=u.find(function(t){var n;return 1===(null===(n=s[t])||void 0===n?void 0:n.default)})),"automatic"===l&&(l=u.filter(function(t){var n;return"automatic"!==t&&1===(null===(n=s[t])||void 0===n?void 0:n.automatic)}).find(function(t){var n;return 1===(null===(n=s[t])||void 0===n?void 0:n.dark)===o})),l||(l=u[0]))}return l}t.arrayToObject=c,t.getActiveBaseColors=h,t.flatten=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return l.StyleSheet.flatten([].concat((0,n.default)(i),[w(t,o,s)]))},t.getStyle=w,t.getStyleObj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.ignoreKeys;return c(b(t,n,i),o)},t.getThemes=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!==n&&void 0!==n&&null!==(t=n.rnStyles)&&void 0!==t&&t.themes?Object.keys(n.rnStyles.themes).map(function(t){return(0,o.default)({},n.rnStyles.themes[t],{key:t})}):[]},t.isActiveThemeDark=function(){var t;return 1===(null===(t=S(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))||void 0===t?void 0:t.dark)},t.isActiveThemeAutomatic=function(){return"automatic"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).activeTheme},t.getInUseTheme=S,t.getInUseThemeId=j,t.getActiveThemeId=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.rnStyles,i=void 0===n?{}:n,o=t.activeTheme;if(o)return o;var l=i.themes;return"object"==typeof l?Object.keys(l).find(function(t){var n;return"object"==typeof l[t]&&1===(null===(n=l[t])||void 0===n?void 0:n.default)}):void 0}})(t||(e.CssManager=t={}))},711,[5,21,108,6,28,712,713,714]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.os=function(){return n.Platform.OS},e.isAndroid=function(){return"android"===n.Platform.OS},e.isIOS=function(){return"ios"===n.Platform.OS||"macos"===n.Platform.OS},e.isWeb=function(){return"web"===n.Platform.OS},e.isWindows=function(){return"windows"===n.Platform.OS},e.dpToPx=function(o){return n.PixelRatio.roundToNearestPixel(o)*n.PixelRatio.get()},e.fontScale=function(){return n.PixelRatio.getFontScale()};var n=r(d[0])},712,[28]); -__d(function(g,r,i,a,m,_e,d){var CssUtils;Object.defineProperty(_e,"__esModule",{value:!0}),_e.CssUtils=void 0,_e.CssUtils=CssUtils,(function(_CssUtils){function filterAutomaticThemes(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r(d[0]).Utils.isEmpty(t)){var s=Object.keys(t).filter(function(e){return 1===t[e].automatic});if(!r(d[0]).Utils.isEmpty(s)){var n=s.filter(function(e){return 0===t[e].dark}),l=s.filter(function(e){return 1===t[e].dark});r(d[0]).Utils.isEmpty(n)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&0===e[t].dark}).forEach(function(t){return delete e[t]}),r(d[0]).Utils.isEmpty(l)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&1===e[t].dark}).forEach(function(t){return delete e[t]})}var u=Object.keys(t).filter(function(e){return 1===t[e].default});r(d[0]).Utils.isEmpty(u)||Object.keys(e).filter(function(t){return 1===e[t].default}).forEach(function(t){return delete e[t]})}}function mergeRnStyles(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},params=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},paramKeys=Object.keys(params);return 0===paramKeys.length?style:Object.keys(style).reduce(function(prev,key){var rule=style[key];return"string"==typeof rule&&rule.match("{.+}")?paramKeys.forEach(function(paramKey){rule=rule.replace(new RegExp("{"+paramKey+"}","gm"),params[paramKey]);try{prev[key]=eval(rule)}catch(e){}}):prev[key]=rule,prev},{})}_CssUtils.mergeRnStyles=mergeRnStyles,_CssUtils.resolvePlaceholders=resolvePlaceholders})(CssUtils||(_e.CssUtils=CssUtils={}))},713,[714]); -__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Utils=void 0;var t,n=r(d[0])(r(d[1]));e.Utils=t,(function(t){function o(t){return void 0===t||null===t}t.mergeObjects=function t(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=(0,n.default)({},o);return Object.keys(f).forEach(function(n){void 0!==f[n]&&(Array.isArray(f[n])&&Array.isArray(o[n])?u[n]=f[n]:"object"==typeof f[n]&&"object"==typeof o[n]?u[n]=t(o[n],f[n]):u[n]=f[n])}),u},t.isEmpty=function(t){if(!o(t)){if("string"==typeof t)return 0===t.length;if(Array.isArray(t))return 0===t.length;if("object"==typeof t)return 0===Object.keys(t).length}return!0}})(t||(e.Utils=t={}))},714,[5,6]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultStyles=function(){return{base:{styles:{"newsmemory-article-container-splitscreen":{borderColor:r(d[0]).colors.articleContainerBorderColor,landscape:{borderLeftWidth:1},portrait:{borderTopWidth:1}},"newsmemory-thumbnail-download-icon-disabled":{color:r(d[0]).colors.md_grey_400},"drawer-item-icon-publications":{tintColor:r(d[0]).colors.black,width:32.5,height:25},"newsmemory-article-header-icon-toggleArticleExtra":{tintColor:r(d[0]).colors.white}}},baseDark:{styles:{spinner:{color:r(d[0]).colors.white_transparent_135},"hint-progress-spinner":{color:r(d[0]).colors.grey1200},"hint-progress-spinner-text":{color:r(d[0]).colors.grey1200},"newsmemory-article-container":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-article-container-splitscreen":{borderColor:r(d[0]).colors.white_transparent_135},"newsmemory-index-item-image":{borderColor:r(d[0]).colors.white_transparent_135},"newsmemory-article-footer-separator":{backgroundColor:r(d[0]).colors.white_transparent_135},"newsmemory-article-header-separator":{backgroundColor:r(d[0]).colors.white_transparent_135},"newsmemory-article-mode-sub-header":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-article-mode-sub-header-info":{color:r(d[0]).colors.white_transparent_135},"newsmemory-article-mode-sub-header-section":{color:r(d[0]).colors.white_transparent_135},"newsmemory-article-refresh-control":{backgroundColor:r(d[0]).colors.grey1200,color:r(d[0]).colors.white_transparent_135},"newsmemory-article-text":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-article-zoom-level-parent":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-article-zoom-level-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-copyright-footer":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-copyright-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-download-circle":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-download-circle-text":{textShadowOffset:{height:0,width:0},textShadowRadius:0,color:r(d[0]).colors.white_transparent_135},"newsmemory-footer":{backgroundColor:r(d[0]).colors.grey1200,borderColor:r(d[0]).colors.white_transparent_135},"newsmemory-footer-element-active":{backgroundColor:r(d[0]).colors.white_transparent_135},"newsmemory-footer-element-inactive":{color:r(d[0]).colors.white_transparent_135,tintColor:r(d[0]).colors.white_transparent_135},"newsmemory-footer-icon":{color:r(d[0]).colors.white_transparent_135,tintColor:r(d[0]).colors.white_transparent_135},"newsmemory-footer-icon-active":{color:r(d[0]).colors.grey1200,tintColor:r(d[0]).colors.grey1200},"newsmemory-footer-more-icon":{color:r(d[0]).colors.white_transparent_135,tintColor:r(d[0]).colors.white_transparent_135},"newsmemory-footer-more-menu":{color:r(d[0]).colors.grey1200},"newsmemory-footer-more-menu-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-footer-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-footer-text-active":{color:r(d[0]).colors.grey1200},"newsmemory-index-container":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-index-first-level-page":{color:r(d[0]).colors.white_transparent_135},"newsmemory-index-first-level-section":{color:r(d[0]).colors.white_transparent_135},"newsmemory-index-second-level-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-index-second-level-bullet":{color:r(d[0]).colors.white_transparent_135},"newsmemory-index-second-level-page":{color:r(d[0]).colors.white_transparent_135},"newsmemory-index-second-level-title":{color:r(d[0]).colors.white_transparent_135},"newsmemory-index-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-navigation-text":{color:r(d[0]).colors.white_transparent_135},"newsmemory-navigation-text-parent":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-pages-container":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-screen":{backgroundColor:r(d[0]).colors.grey1200,color:r(d[0]).colors.white_transparent_135},"newsmemory-search":{color:r(d[0]).colors.white_transparent_135},"newsmemory-search-container":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-search-header-container":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-search-input":{backgroundColor:r(d[0]).colors.grey1010,borderColor:r(d[0]).colors.grey1200,color:r(d[0]).colors.white_transparent_135},"newsmemory-search-list":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-separator":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-thumbnail-download-icon":{color:r(d[0]).colors.white_transparent_135},"newsmemory-thumbnails-container":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-thumbnails-page-text":{backgroundColor:r(d[0]).colors.grey1200,color:r(d[0]).colors.white_transparent_135},"newsmemory-thumbnails-page-text-selected":{backgroundColor:r(d[0]).colors.grey400,color:r(d[0]).colors.grey1200,borderWidth:1,borderColor:r(d[0]).colors.grey1200},"newsmemory-thumbnails-pages":{borderColor:r(d[0]).colors.white_transparent_135},"newsmemory-thumbnails-pages-selected":{borderColor:r(d[0]).colors.grey1200},"newsmemory-thumbnails-section-container":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-thumbnails-section-content":{backgroundColor:r(d[0]).colors.grey1010},"newsmemory-thumbnails-section-text":{color:r(d[0]).colors.white_transparent_135},"system-newsmemory-navigation-bar":{backgroundColor:r(d[0]).colors.grey1200},"system-newsmemory-status-bar":{backgroundColor:r(d[0]).colors.grey1010},optionspage:{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-search-close-icon":{opacity:.6},"newsmemory-article-header-icon":{opacity:.6,src:"default"},"newsmemory-index-header-icon":{opacity:.6,src:"default"},"optionspage-specialsections-close-icon":{opacity:.6},"rss-tab-item":{backgroundColor:r(d[0]).colors.grey1010},"rss-tab-item-text-inactive":{color:r(d[0]).colors.white_transparent_135},"rss-content-parent":{backgroundColor:r(d[0]).colors.grey1200},"rss-content":{backgroundColor:r(d[0]).colors.grey1200},"rss-footer-element":{backgroundColor:r(d[0]).colors.grey1010},"tile-title":{color:r(d[0]).colors.white_transparent_135},"tile-grid-image-title":{color:r(d[0]).colors.grey300},"tile-grid-title-epaper":{color:r(d[0]).colors.grey300},"tile-card-title-epaper":{color:r(d[0]).colors.white_transparent_135},"tile-summary":{color:r(d[0]).colors.white_transparent_135},"tile-header-text-part":{color:r(d[0]).colors.white_transparent_135},"tile-grid-image-header-text":{color:r(d[0]).colors.grey300},"tile-halfbox-text":{color:r(d[0]).colors.white_transparent_135},"article-pager":{backgroundColor:r(d[0]).colors.grey1200},"article-container":{backgroundColor:r(d[0]).colors.grey1200},"article-header":{backgroundColor:r(d[0]).colors.grey1200},"article-top-content":{backgroundColor:r(d[0]).colors.grey1200},"article-header-image-date":{color:r(d[0]).colors.white_transparent_135},"article-title":{color:r(d[0]).colors.white_transparent_135},"article-body":{backgroundColor:r(d[0]).colors.grey1200,color:r(d[0]).colors.white_transparent_135},"article-body-parent":{backgroundColor:r(d[0]).colors.grey1010},"rss-drawer":{backgroundColor:r(d[0]).colors.grey1010},"drawer-item-parent-inactive":{backgroundColor:r(d[0]).colors.grey1010},"drawer-item-text-inactive":{color:r(d[0]).colors.white_transparent_135},"icon-gallery":{tintColor:r(d[0]).colors.grey300},"settings-screen":{backgroundColor:r(d[0]).colors.grey1200},"newsmemory-article-caption":{color:r(d[0]).colors.white_transparent_135},"navigation-icon":{color:r(d[0]).colors.white_transparent_135},"rss-button":{backgroundColor:r(d[0]).colors.grey1010},"rss-button-icon":{color:r(d[0]).colors.white_transparent_135},"epaper-logo-image":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"navigation-header-logo":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"drawer-header-logo":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"drawer-item-icon":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}],image:"inherit"}}},themes:{default:{automatic:1,dark:0,default:1,name:g.strings("theme_light"),styles:{}},darkTheme:{automatic:1,dark:1,default:0,name:g.strings("theme_dark"),styles:{}},automatic:{name:g.strings("theme_auto")}}}}},715,[462,596]); +__d(function(g,r,i,a,m,_e,d){var CssUtils;Object.defineProperty(_e,"__esModule",{value:!0}),_e.CssUtils=void 0,_e.CssUtils=CssUtils,(function(_CssUtils){function filterAutomaticThemes(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r(d[0]).Utils.isEmpty(t)){var s=Object.keys(t).filter(function(e){return 1===t[e].automatic});if(!r(d[0]).Utils.isEmpty(s)){var n=s.filter(function(e){return 0===t[e].dark}),l=s.filter(function(e){return 1===t[e].dark});r(d[0]).Utils.isEmpty(n)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&0===e[t].dark}).forEach(function(t){return delete e[t]}),r(d[0]).Utils.isEmpty(l)||Object.keys(e).filter(function(t){return 1===e[t].automatic&&1===e[t].dark}).forEach(function(t){return delete e[t]})}var u=Object.keys(t).filter(function(e){return 1===t[e].default});r(d[0]).Utils.isEmpty(u)||Object.keys(e).filter(function(t){return 1===e[t].default}).forEach(function(t){return delete e[t]})}}function mergeRnStyles(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},params=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},paramKeys=Object.keys(params);return 0===paramKeys.length?style:Object.keys(style).reduce(function(prev,key){var rule=style[key];if("string"!=typeof rule||!rule.match("{.+}"))return prev[key]=rule,prev;var containsParam=paramKeys.some(function(e){return rule.includes("{"+e+"}")});if(!containsParam)return prev[key]=rule,prev;var singleValue=!!rule.match(/^\{[^{]+\}$/);if(paramKeys.forEach(function(e){rule=rule.replace(new RegExp("{"+e+"}","gm"),params[e])}),singleValue)return prev[key]=rule,prev;try{prev[key]=eval(rule)}catch(e){}return prev},{})}_CssUtils.mergeRnStyles=mergeRnStyles,_CssUtils.resolvePlaceholders=resolvePlaceholders})(CssUtils||(_e.CssUtils=CssUtils={}))},713,[714]); +__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Utils=void 0;var t,n=r(d[0])(r(d[1]));e.Utils=t,(function(t){function o(t){return void 0===t||null===t}t.mergeObjects=function t(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=(0,n.default)({},o);return Object.keys(c).forEach(function(n){void 0!==c[n]&&(Array.isArray(c[n])&&Array.isArray(o[n])?f[n]=c[n]:"object"==typeof c[n]&&"object"==typeof o[n]?f[n]=t(o[n],c[n]):f[n]=c[n])}),f},t.isEmpty=function(t){if(!o(t)){if("string"==typeof t)return 0===t.length;if(Array.isArray(t))return 0===t.length;if("object"==typeof t)return 0===Object.keys(t).length}return!0},t.arrayToObject=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o={};return t.forEach(function(t){Object.keys(t).forEach(function(c){n.includes(c)||(o[c]=t[c])})}),o}})(t||(e.Utils=t={}))},714,[5,6]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultStyles=function(){return{base:{colors:{foreground:r(d[0]).colors.black,background:r(d[0]).colors.white,alternateBackground:r(d[0]).colors.grey200},styles:{"newsmemory-article-container-splitscreen":{borderColor:r(d[0]).colors.articleContainerBorderColor,landscape:{borderLeftWidth:1},portrait:{borderTopWidth:1}},"newsmemory-thumbnail-download-icon-disabled":{color:r(d[0]).colors.md_grey_400},"drawer-item-icon-publications":{tintColor:r(d[0]).colors.black,width:32.5,height:25},"newsmemory-article-header-icon-toggleArticleExtra":{tintColor:r(d[0]).colors.white}}},baseDark:{colors:{foreground:r(d[0]).colors.white_transparent_135,background:r(d[0]).colors.grey1010,alternateBackground:r(d[0]).colors.grey1200},styles:{spinner:{color:"{foreground}"},"hint-progress-spinner":{color:"{alternateBackground}"},"hint-progress-spinner-text":{color:"{alternateBackground}"},"newsmemory-article-container":{backgroundColor:"{alternateBackground}"},"newsmemory-article-container-splitscreen":{borderColor:"{foreground}"},"newsmemory-index-item-image":{borderColor:"{foreground}"},"newsmemory-article-footer-separator":{backgroundColor:"{foreground}"},"newsmemory-article-header-separator":{backgroundColor:"{foreground}"},"newsmemory-article-mode-sub-header":{backgroundColor:"{alternateBackground}"},"newsmemory-article-mode-sub-header-info":{color:"{foreground}"},"newsmemory-article-mode-sub-header-section":{color:"{foreground}"},"newsmemory-article-refresh-control":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-article-text":{backgroundColor:"{background}"},"newsmemory-article-zoom-level-parent":{backgroundColor:"{background}"},"newsmemory-article-zoom-level-text":{color:"{foreground}"},"newsmemory-copyright-footer":{backgroundColor:"{background}"},"newsmemory-copyright-text":{color:"{foreground}"},"newsmemory-download-circle":{backgroundColor:"{alternateBackground}"},"newsmemory-download-circle-text":{textShadowOffset:{height:0,width:0},textShadowRadius:0,color:"{foreground}"},"newsmemory-footer":{backgroundColor:"{alternateBackground}",borderColor:"{foreground}"},"newsmemory-footer-element-active":{backgroundColor:"{foreground}"},"newsmemory-footer-element-inactive":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-icon":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-icon-active":{color:"{alternateBackground}",tintColor:"{alternateBackground}"},"newsmemory-footer-more-icon":{color:"{foreground}",tintColor:"{foreground}"},"newsmemory-footer-more-menu":{color:"{alternateBackground}"},"newsmemory-footer-more-menu-text":{color:"{foreground}"},"newsmemory-footer-text":{color:"{foreground}"},"newsmemory-footer-text-active":{color:"{alternateBackground}"},"newsmemory-index-container":{backgroundColor:"{background}"},"newsmemory-index-first-level-page":{color:"{foreground}"},"newsmemory-index-first-level-section":{color:"{foreground}"},"newsmemory-index-second-level-text":{color:"{foreground}"},"newsmemory-index-second-level-bullet":{color:"{foreground}"},"newsmemory-index-second-level-page":{color:"{foreground}"},"newsmemory-index-second-level-title":{color:"{foreground}"},"newsmemory-index-text":{color:"{foreground}"},"newsmemory-navigation-text":{color:"{foreground}"},"newsmemory-navigation-text-parent":{backgroundColor:"{alternateBackground}"},"newsmemory-pages-container":{backgroundColor:"{background}"},"newsmemory-screen":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-search":{color:"{foreground}"},"newsmemory-search-container":{backgroundColor:"{alternateBackground}"},"newsmemory-search-header-container":{backgroundColor:"{alternateBackground}"},"newsmemory-search-input":{backgroundColor:"{background}",borderColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-search-list":{backgroundColor:"{background}"},"newsmemory-separator":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnail-download-icon":{color:"{foreground}"},"newsmemory-thumbnails-container":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnails-page-text":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"newsmemory-thumbnails-page-text-selected":{backgroundColor:r(d[0]).colors.grey400,color:"{alternateBackground}",borderWidth:1,borderColor:"{alternateBackground}"},"newsmemory-thumbnails-pages":{borderColor:"{foreground}"},"newsmemory-thumbnails-pages-selected":{borderColor:"{alternateBackground}"},"newsmemory-thumbnails-section-container":{backgroundColor:"{alternateBackground}"},"newsmemory-thumbnails-section-content":{backgroundColor:"{background}"},"newsmemory-thumbnails-section-text":{color:"{foreground}"},"system-newsmemory-navigation-bar":{backgroundColor:"{alternateBackground}"},"system-newsmemory-status-bar":{backgroundColor:"{background}"},optionspage:{backgroundColor:"{alternateBackground}"},"newsmemory-search-close-icon":{opacity:.6},"newsmemory-article-header-icon":{opacity:.6,src:"default"},"newsmemory-index-header-icon":{opacity:.6,src:"default"},"optionspage-specialsections-close-icon":{opacity:.6},"rss-tab-item":{backgroundColor:"{background}"},"rss-tab-item-text-inactive":{color:"{foreground}"},"rss-content-parent":{backgroundColor:"{alternateBackground}"},"rss-content":{backgroundColor:"{alternateBackground}"},"rss-footer-element":{backgroundColor:"{background}"},"tile-title":{color:"{foreground}"},"tile-grid-image-title":{color:r(d[0]).colors.grey300},"tile-grid-title-epaper":{color:r(d[0]).colors.grey300},"tile-card-title-epaper":{color:"{foreground}"},"tile-summary":{color:"{foreground}"},"tile-header-text-part":{color:"{foreground}"},"tile-grid-image-header-text":{color:r(d[0]).colors.grey300},"tile-halfbox-text":{color:"{foreground}"},"article-pager":{backgroundColor:"{alternateBackground}"},"article-container":{backgroundColor:"{alternateBackground}"},"article-header":{backgroundColor:"{alternateBackground}"},"article-top-content":{backgroundColor:"{alternateBackground}"},"article-header-image-date":{color:"{foreground}"},"article-title":{color:"{foreground}"},"article-body":{backgroundColor:"{alternateBackground}",color:"{foreground}"},"article-body-parent":{backgroundColor:"{background}"},"rss-drawer":{backgroundColor:"{background}"},"drawer-item-parent-inactive":{backgroundColor:"{background}"},"drawer-item-text-inactive":{color:"{foreground}"},"icon-gallery":{tintColor:r(d[0]).colors.grey300},"settings-screen":{backgroundColor:"{alternateBackground}"},"newsmemory-article-caption":{color:"{foreground}"},"navigation-icon":{color:"{foreground}"},"rss-button":{backgroundColor:"{background}"},"rss-button-icon":{color:"{foreground}"},"epaper-logo-image":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"navigation-header-logo":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"drawer-header-logo":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}]},"drawer-item-icon":{filters:[{filter:r(d[1]).FILTERS.GRAYSCALE},{filter:r(d[1]).FILTERS.INVERT}],image:"inherit"}}},themes:{default:{automatic:1,dark:0,default:1,name:g.strings("theme_light"),styles:{}},darkTheme:{automatic:1,dark:1,default:0,name:g.strings("theme_dark"),styles:{}},automatic:{name:g.strings("theme_auto")}}}}},715,[462,596]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getDebugStyles=function(){if(g.cssDebug)return{};return{}}},716,[]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),a=_r(d[5]);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var u=a.StyleSheet.create({container:{position:"absolute",top:0,bottom:0,start:0,right:0,justifyContent:"center",alignItems:"center",backgroundColor:_r(d[6]).colors.transparent600}});function i(r){var o=r.visible,i=r.useNativeDriver,f=r.onBackButtonPress,l=r.onBackdropPress,c=r.containerStyle,s=(0,t.default)(r,["visible","useNativeDriver","onBackButtonPress","onBackdropPress","containerStyle"]);if(!o)return null;var p=a.Dimensions.get("window").width,v=(0,n.useRef)(new a.Animated.Value(0)).current,y=(0,n.useRef)(0),b=(0,n.useCallback)(function(){"function"==typeof l&&l()},[]),k=(0,n.useCallback)(function(){"function"==typeof f&&f()},[]);return(0,n.useEffect)(function(){var e;e=0===y.current?1:0,a.Animated.timing(v,{toValue:e,duration:300,useNativeDriver:i}).start(function(t){t.finished&&(y.current=e)});var t=a.BackHandler.addEventListener("hardwareBackPress",k);return function(){t&&t.remove()}},[o]),n.default.createElement(a.Animated.View,(0,e.default)({style:[u.container,{opacity:v,padding:.05*p},c],onTouchEnd:b},s))}i.propTypes={visible:r.default.bool,useNativeDriver:r.default.bool,onBackButtonPress:r.default.func,onBackdropPress:r.default.func,containerStyle:r.default.oneOfType([r.default.object,r.default.array,r.default.number])},i.defaultProps={visible:!1,useNativeDriver:!0};var f=i;_e.default=f},717,[5,6,108,201,17,28,462]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.ModalStyle=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),o=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=r?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,o&&o.set(e,n),n})(_r(d[5])),a=_r(d[6]),l=_r(d[0])(_r(d[7])),u=_r(d[0])(_r(d[8])),i=_r(d[0])(_r(d[9])),f=_r(d[0])(_r(d[10]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}var s=a.StyleSheet.create({modal:{padding:10,justifyContent:"center",alignItems:"center"},container:{padding:10,borderRadius:20,width:"100%",maxWidth:600,backgroundColor:_r(d[11]).colors.white,overflow:"hidden"}}),p=(0,r.forwardRef)(function(n,c){var p=n.visible,b=n.onClose,y=n.onCancel,C=n.onConfirm,h=n.onStateChange,v=n.onHide,O=n.hasFooter,k=n.children,S=n.supportedOrientations,w=n.backgroundColor,P=n.foregroundColor,j=n.containerStyle,T=n.style,_=n.needsKeyboardOffsetCheck,D=n.cancelable,M=(0,o.default)(n,["visible","onClose","onCancel","onConfirm","onStateChange","onHide","hasFooter","children","supportedOrientations","backgroundColor","foregroundColor","containerStyle","style","needsKeyboardOffsetCheck","cancelable"]),E=u.default.getSafeAreaInsets(),F=E.top,I=E.bottom,B=u.default.getSafeArea().height,H=(0,r.useState)(!1),x=(0,t.default)(H,2),K=x[0],W=x[1],R=(0,r.useState)(F),A=(0,t.default)(R,2),N=A[0],V=A[1],L=function(){return W(!1)},U=function(e){"function"==typeof e&&e()||L()},q=function(){return"function"==typeof v&&v()},z=function(){return U(b)},G={},J={};return _r(d[11]).PlatformUtils.isIOS()&&(_&&(G.onLayout=function(e){var t=e.nativeEvent;t.layout.height0&&(t=n.item(0).value||0),l.next=13;break;case 10:l.prev=10,l.t0=l.catch(1),t=0;case 13:l.prev=13,u=0;case 15:if(!(u1&&void 0!==s[1]?s[1]:[],c.abrupt("return",this.queue.add(function(){return new Promise(function(s){var c,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,e.default.awrap(u.open());case 2:if(!o.sent){o.next=18;break}return o.prev=3,o.next=6,e.default.awrap(u.openTransaction());case 6:return c=o.sent,o.next=9,e.default.awrap(u.executeSql(c,t,n));case 9:i=o.sent,s(i),o.next=16;break;case 13:o.prev=13,o.t0=o.catch(3),s([]);case 16:o.next=19;break;case 18:s([]);case 19:case"end":return o.stop()}},null,null,[[3,13]],Promise)})}));case 2:case"end":return c.stop()}},null,this,null,Promise)}},{key:"tableExists",value:function(t){var n,u;return e.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=!1,s.prev=1,u="SELECT name FROM sqlite_master WHERE type='table' AND name='"+t+"';",s.next=5,e.default.awrap(this.transaction(u,[]));case 5:s.sent.length>0&&(n=!0),s.next=11;break;case 9:s.prev=9,s.t0=s.catch(1);case 11:return s.abrupt("return",n);case 12:case"end":return s.stop()}},null,this,[[1,9]],Promise)}},{key:"columnExists",value:function(t,n){var u,s,c,i;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return u=!1,o.prev=1,s="PRAGMA table_info("+t+");",o.next=5,e.default.awrap(this.transaction(s,[]));case 5:for(c=o.sent,i=0;i0&&!n.inProgress&&(n.inProgress=!0,n.queue.shift().start())}))},n.prototype.abortAllPendingTransactions=function(){var t,e,n,r;if((r=c[this.dbname])&&r.queue.length>0){for(t=0,e=(n=r.queue).length;t0&&!n.inProgress&&e.startNextTransaction()}})(this),n=(function(t){return function(){e&&e(s('Could not open database')),delete t.openDBs[t.dbname],t.abortAllPendingTransactions()}})(this),this.openDBs[this.dbname]="INIT",h.exec("open",this.openargs,r,n))},n.prototype.close=function(t,e){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void e(s('database cannot be closed while a transaction is in progress'));delete this.openDBs[this.dbname],c[this.dbname];h.exec("close",{path:this.dbname},function(e,n){if(t)return t(n)},function(t,n){if(e)return e(n)})}else{e&&l(function(){return e("cannot close: database is not open")})}},n.prototype.attach=function(t,e,n,r){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void r(s('database cannot be attached while a transaction is in progress'));h.exec("attach",{path:this.dbname,dbName:t,dbAlias:e},function(t,e){if(n)return n(e)},function(t){if(r)return r(t)})}else{r&&l(function(){return r("cannot attach: database is not open")})}},n.prototype.detach=function(t,e,n){if(this.dbname in this.openDBs){if(c[this.dbname]&&c[this.dbname].inProgress)return void n(s('database cannot be attached while a transaction is in progress'));this.executeSql('DETACH DATABASE '+t,[],function(t,n){if(e)return e(n)},function(t){if(n)return n(t)})}else{n&&l(function(){return n("cannot attach: database is not open")})}},n.prototype.executeSql=function(t,e,n,o){var i,s,c;c=function(t,e){if(n)return n(e)},i=function(t,e){if(o)return o(e)},s=function(n){n.addStatement(t,e,c,i)},this.addTransaction(new r(this,s,null,null,!1,!1))},(r=function(t,e,n,r,o,i){if("function"!=typeof e){var c=s("transaction expected a function");if(n)return n(c);throw c}this.db=t,this.fn=e,this.error=n,this.success=r,this.txlock=o,this.readOnly=i,this.executes=[],o?this.addStatement("BEGIN",[],null,function(t,e){throw s("unable to begin transaction: "+e.message,e.code)}):this.addStatement("SELECT 1",[],null,null)}).prototype.start=function(){var t;try{this.fn(this),this.run()}catch(e){t=e,c[this.db.dbname].inProgress=!1,this.db.startNextTransaction(),this.error&&this.error(s(t))}},r.prototype.executeSql=function(e,n,r,o){if(this.finalized)throw{message:"InvalidStateError: DOM Exception 11: This transaction is already finalized. Transactions are committed after its success or failure handlers are called. If you are using a Promise to handle callbacks, be aware that implementations following the A+ standard adhere to run-to-completion semantics and so Promise resolution occurs on a subsequent tick and therefore after the transaction commits.",code:11};if(this.readOnly&&t.test(e))this.handleStatementFailure(o,{message:'invalid sql for a read-only transaction'});else{this.addStatement(e,n,function(t,e){if(r)return r(t,e)},function(t,e){if(o)return o(e)})}},r.prototype.addStatement=function(t,e,n,r){var o,i,c,u,h,l;if(u='string'==typeof t?t:t.toString(),c=[],e&&e.constructor===Array)for(o=0,i=e.length;o found in addStatement()';return console.error(f),void r(s(f))}c.push(l.toString()),console.warn('addStatement - parameter of type <'+h+'> converted to string using toString()')}this.executes.push({success:n,error:r,sql:u,params:c})},r.prototype.handleStatementSuccess=function(t,e){var n;t&&t(this,{rows:{item:function(t){return n[t]},raw:function(){return n.slice()},length:(n=e.rows||[]).length},rowsAffected:e.rowsAffected||0,insertId:e.insertId||void 0})},r.prototype.handleStatementFailure=function(t,e){if(!t)throw s("a statement with no error handler failed: "+e.message,e.code);if(!1!==t(this,e))throw s("a statement error callback did not return false: "+e.message,e.code)},r.prototype.run=function(){var t,e,n,r,o,i,c,u,l;for(u=null,i=[],t=this.executes,l=t.length,this.executes=[],c=this,e=function(e,n){return function(r){if(!u){try{n?c.handleStatementSuccess(t[e].success,r):c.handleStatementFailure(t[e].error,s(r))}catch(t){var o=JSON.stringify(t);"{}"===o&&(o=t.toString())}n||(u=s(r))}0==--l&&(u?(c.executes=[],c.abort(u)):c.executes.length>0?c.run():c.finish())}},n=0,r=[];n=5&&(o=t[4],t.length>5&&(e=t[5]))):(!!(s=r).readOnly||s.location&&s.location.constructor===String&&i.hasOwnProperty(s.location)?s.dblocation=i[s.location]:s.dblocation=i.default,s.createFromLocation&&(1===s.createFromLocation?s.assetFilename="1":'string'==typeof s.createFromLocation&&(s.assetFilename=s.createFromLocation)),s.androidDatabaseImplementation&&2===s.androidDatabaseImplementation&&(s.androidOldDatabaseImplementation=1),s.androidLockWorkaround&&1===s.androidLockWorkaround&&(s.androidBugWorkaround=1),t.length>=2&&(o=t[1],t.length>2&&(e=t[2]))),new n(s,o,e))}),e.prototype.echoTest=function(t,e){h.exec("echoStringValue",{value:"test-string"},function(n){return"test-string"===n?t():e("Mismatch: got: "+n+" , expected: test-string")},function(t){return e(t)})},e.prototype.deleteDatabase=function(t,e,r){var o={};if(t.constructor===String)o.path=t,o.dblocation=i.default;else{if(!t||!t.name)throw new Error("Please specify db name via name property");o.path=t.name,t.location&&t.location.constructor===String&&i.hasOwnProperty(t.location)?o.dblocation=i[t.location]:o.dblocation=i.default}h.exec("delete",o,function(t){if(delete n.prototype.openDBs[o.path],e)return e(t)},function(t){if(r)return r(t)})},h.sqlitePlugin={SQLiteFactory:e,SQLitePluginTransaction:r,SQLitePlugin:n},m.exports=h.sqlitePlugin},751,[28]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),c=(function(){function c(){(0,n.default)(this,c)}return(0,u.default)(c,null,[{key:"getMainBundleLocation",value:function(){return l.default.getMainBundleDirectory()+"/application"}},{key:"getDirectory",value:function(){return l.default.getNewsmemoryBaseDirectory()+"application"}},{key:"getDefaultIconsDirectory",value:function(){return"file://"+c.getDirectory()+"/code/icons/"}},{key:"getDefaultArticleTextBanner",value:function(){return"file://"+c.getDirectory()+"/code/images/article-banner.png"}},{key:"getHybridDirectory",value:function(){return c.getDirectory()+"/hybrid"}},{key:"getEditionArticleTextBanner",value:function(t){if(t&&t.length)return"file://"+c.getHybridDirectory()+"/header/logo_"+t+".gif";throw new Error("missing edition")}},{key:"getLogoPath",value:function(n){var u;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,!n){o.next=10;break}return n=(n=(n=n.replace(/ /g,"")).replace(/\xfc/g,"u")).replace(/\\-/,""),u=c.getEditionArticleTextBanner(n.toLowerCase()),o.next=8,t.default.awrap(l.default.exists(u));case 8:if(!o.sent){o.next=10;break}return o.abrupt("return",u);case 10:o.next=14;break;case 12:o.prev=12,o.t0=o.catch(0);case 14:return o.abrupt("return",c.getDefaultArticleTextBanner());case 15:case"end":return o.stop()}},null,null,[[0,12]],Promise)}},{key:"getHybridVersionFilePath",value:function(){return c.getHybridDirectory()+"/version.txt"}},{key:"getHybridVersion",value:function(){var n,u;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return n=c.getHybridVersionFilePath(),o.next=3,t.default.awrap(l.default.exists(n));case 3:if(!o.sent){o.next=8;break}return o.next=6,t.default.awrap(l.default.readFile(n));case 6:return u=o.sent,o.abrupt("return",u);case 8:return o.abrupt("return","-1");case 9:case"end":return o.stop()}},null,null,null,Promise)}},{key:"updateHybridVersion",value:function(n){var u,o;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return u=c.getHybridDirectory(),o=c.getHybridVersionFilePath(),s.next=4,t.default.awrap(l.default.exists(u));case 4:if(s.sent){s.next=7;break}return s.next=7,t.default.awrap(l.default.mkdir(u));case 7:return s.next=9,t.default.awrap(l.default.write(o,n));case 9:case"end":return s.stop()}},null,null,null,Promise)}},{key:"copyApplicationFolder",value:function(){var n,u,o;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=l.default.getNewsmemoryBaseDirectory(),u=c.getDirectory(),s.prev=2,s.next=5,t.default.awrap(l.default.exists(u));case 5:if(s.sent){s.next=14;break}if(!r(d[5]).PlatformUtils.isIOS()){s.next=12;break}return o=c.getMainBundleLocation(),s.next=10,t.default.awrap(l.default.copyFile(o,u));case 10:s.next=14;break;case 12:return s.next=14,t.default.awrap(l.default.assetsCopy("application",n));case 14:s.next=19;break;case 16:return s.prev=16,s.t0=s.catch(2),s.abrupt("return",!1);case 19:return s.abrupt("return",!0);case 20:case"end":return s.stop()}},null,null,[[2,16]],Promise)}},{key:"deleteApplicationFolder",value:function(){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return n=c.getDirectory(),u.prev=1,u.next=4,t.default.awrap(l.default.unlink(n));case 4:u.next=9;break;case 6:return u.prev=6,u.t0=u.catch(1),u.abrupt("return",!1);case 9:return u.abrupt("return",!0);case 10:case"end":return u.stop()}},null,null,[[1,6]],Promise)}}]),c})();e.default=c},752,[5,80,7,8,576,462]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),l=(function(){function l(){(0,n.default)(this,l)}return(0,u.default)(l,null,[{key:"getMainBundleLocation",value:function(){return c.default.getMainBundleDirectory()+"/application"}},{key:"getDirectory",value:function(){return c.default.getNewsmemoryBaseDirectory()+"application"}},{key:"getDefaultIconsDirectory",value:function(){return"file://"+l.getDirectory()+"/code/icons/"}},{key:"getDefaultArticleTextBanner",value:function(){return"file://"+l.getDirectory()+"/code/images/article-banner.png"}},{key:"getHybridDirectory",value:function(){return l.getDirectory()+"/hybrid"}},{key:"getFontsDirectory",value:function(){return l.getDirectory()+"/fonts"}},{key:"getEditionArticleTextBanner",value:function(t){if(t&&t.length)return"file://"+l.getHybridDirectory()+"/header/logo_"+t+".gif";throw new Error("missing edition")}},{key:"getLogoPath",value:function(n){var u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(s.prev=0,!n){s.next=10;break}return n=(n=(n=n.replace(/ /g,"")).replace(/\xfc/g,"u")).replace(/\\-/,""),u=l.getEditionArticleTextBanner(n.toLowerCase()),s.next=8,t.default.awrap(c.default.exists(u));case 8:if(!s.sent){s.next=10;break}return s.abrupt("return",u);case 10:s.next=14;break;case 12:s.prev=12,s.t0=s.catch(0);case 14:return s.abrupt("return",l.getDefaultArticleTextBanner());case 15:case"end":return s.stop()}},null,null,[[0,12]],Promise)}},{key:"getHybridVersionFilePath",value:function(){return l.getHybridDirectory()+"/version.txt"}},{key:"getHybridVersion",value:function(){var n,u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=l.getHybridVersionFilePath(),s.next=3,t.default.awrap(c.default.exists(n));case 3:if(!s.sent){s.next=8;break}return s.next=6,t.default.awrap(c.default.readFile(n));case 6:return u=s.sent,s.abrupt("return",u);case 8:return s.abrupt("return","-1");case 9:case"end":return s.stop()}},null,null,null,Promise)}},{key:"updateHybridVersion",value:function(n){var u,s;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return u=l.getHybridDirectory(),s=l.getHybridVersionFilePath(),o.next=4,t.default.awrap(c.default.exists(u));case 4:if(o.sent){o.next=7;break}return o.next=7,t.default.awrap(c.default.mkdir(u));case 7:return o.next=9,t.default.awrap(c.default.write(s,n));case 9:case"end":return o.stop()}},null,null,null,Promise)}},{key:"makeFontsDirectory",value:function(){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return n=c.default.getFontsDirectory(),u.next=3,t.default.awrap(c.default.exists(n));case 3:if(u.sent){u.next=6;break}return u.next=6,t.default.awrap(c.default.mkdir(n));case 6:case"end":return u.stop()}},null,null,null,Promise)}},{key:"copyApplicationFolder",value:function(){var n,u,s,o,f;return t.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return n=l.getDirectory(),p.prev=1,p.next=4,t.default.awrap(c.default.exists(n));case 4:if(!p.sent){p.next=6;break}return p.abrupt("return",!0);case 6:if(!r(d[5]).PlatformUtils.isIOS()){p.next=12;break}return u=l.getMainBundleLocation(),p.next=10,t.default.awrap(c.default.copyFile(u,n));case 10:p.next=15;break;case 12:return s=c.default.getNewsmemoryBaseDirectory(),p.next=15,t.default.awrap(c.default.assetsCopy("application",s));case 15:return o=l.getFontsDirectory(),p.next=18,t.default.awrap(c.default.exists(o));case 18:if(!p.sent){p.next=34;break}return f=c.default.getFontsDirectory(),p.prev=20,p.next=23,t.default.awrap(c.default.unlink(f));case 23:p.next=27;break;case 25:p.prev=25,p.t0=p.catch(20);case 27:return p.prev=27,p.next=30,t.default.awrap(c.default.moveFile(o,f));case 30:p.next=34;break;case 32:p.prev=32,p.t1=p.catch(27);case 34:return p.abrupt("return",!0);case 37:p.prev=37,p.t2=p.catch(1);case 39:return p.abrupt("return",!1);case 40:case"end":return p.stop()}},null,null,[[1,37],[20,25],[27,32]],Promise)}},{key:"deleteApplicationFolder",value:function(){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return n=l.getDirectory(),u.prev=1,u.next=4,t.default.awrap(c.default.unlink(n));case 4:return u.abrupt("return",!0);case 7:u.prev=7,u.t0=u.catch(1);case 9:return u.abrupt("return",!1);case 10:case"end":return u.stop()}},null,null,[[1,7]],Promise)}}]),l})();e.default=l},752,[5,80,7,8,576,462]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Action=e.Route=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),h=r(d[0])(r(d[9]));function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}var p=(function(){function t(n){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(new Date).getTime();(0,l.default)(this,t),this.time=u,this.name=n}return(0,f.default)(t,[{key:"getName",value:function(){return this.name}},{key:"getTime",value:function(){return this.time}},{key:"toString",value:function(){return"{\"time\": "+this.time+", \"name\": \""+this.name+"\" }"}},{key:"equals",value:function(t){return this.name===t.getName()}}]),t})();e.Route=p;var y=(function(t){(0,o.default)(p,t);var n,u,h=(n=p,u=v(),function(){var t,o=(0,c.default)(n);if(u){var l=(0,c.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,s.default)(this,t)});function p(t,n){var u,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime();return(0,l.default)(this,p),(u=h.call(this,t,o)).params=n,u}return(0,f.default)(p,[{key:"getParams",value:function(){return this.params||{}}},{key:"toString",value:function(){return"{\"time\": "+this.time+", \"name\": \""+this.name+"\", \"params\": "+JSON.stringify(this.params)+" }"}},{key:"equals",value:function(t){return this.name===t.getName()&&r(d[10]).JSUtils.equals(this.params,t.getParams())}}]),p})(p);e.Action=y;var k=(function(){function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(new Date).getTime(),s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.default.getCurrentOrientation();(0,l.default)(this,o),this.startTime=u,this.startOrientation=s.toLowerCase(),this.actions=t,this.navigation=n}return(0,f.default)(o,[{key:"filterRoute",value:function(t,n){var u=n[n.length-1];return!(!u||!u.equals(t))||n.filter(function(n){return t.getTime()-n.getTime()<1e3&&n.equals(t)}).length>0}},{key:"addAction",value:function(t,n){var u=new y(t,n);this.filterRoute(u,this.actions)||this.actions.push(u)}},{key:"addRoute",value:function(t){var n=new p(t);this.filterRoute(n,this.navigation)||this.navigation.push(n)}},{key:"getActions",value:function(){return this.actions||[]}},{key:"getNavigation",value:function(){return this.navigation||[]}},{key:"getDuration",value:function(){var t=this.actions[this.actions.length-1];return t?t.getTime()-this.startTime:0}},{key:"getActionsCounters",value:function(){return this.actions.reduce(function(t,n){var u=n.getName();return t[u]=t[u]?t[u]+1:1,t},{})}},{key:"getRoutesCounters",value:function(){var t=this;return this.navigation.reduce(function(n,u,o){var s=t.navigation[o-1],c=t.navigation[o+1],l=(new Date).getTime();c&&(l=c.getTime());var f=u.getName(),h=1,v=l-u.getTime();if(n[f]){var p=n[f],y=p.times,k=p.duration;(!s||s&&f!==s.getName())&&(h=y+1),v+=k}return n[f]={times:h,duration:v},n},{})}},{key:"getOrientationInfo",value:function(){var t=[new y("rotate_"+this.startOrientation,{},this.startTime)];if(t.push.apply(t,(0,u.default)(this.actions.filter(function(t){return t.getName().startsWith("rotate_")}))),t&&t.length>0){var n=t.reduce(function(n,u,o){var s=t[o+1],c=(new Date).getTime();s&&(c=s.getTime());var l=u.getName().replace("rotate_",""),f=c-u.getTime();return n[l]&&(f+=n[l]),n[l]=f,n},{}),o=Object.keys(n).reduce(function(t,u){return t+n[u]},0);return Object.keys(n).reduce(function(t,u){return t[u]=o?n[u]/o*100:0,t},{})}return{}}},{key:"getFullReport",value:function(){var t=r(d[10]).PlatformUtils.info,u=t.appName,o=t.bundleId,s=(t.uniqueId,t.version),c=(0,n.default)(t,["appName","bundleId","uniqueId","version"]),l=h.default.getAppVersion(),f={pSetup:g.getAppPSetup(),machine:g.getAppServer(),appName:u,bundleId:o,version:l};return l!==s&&(f.storeVersion=s),{startTime:this.startTime,startOrientation:this.startOrientation,duration:this.getDuration(),actions:this.actions,routes:this.navigation,orientation:this.getOrientationInfo(),deviceInfo:c,appInfo:f}}},{key:"getReport",value:function(){return(0,t.default)({},this.getFullReport(),{actions:this.getActionsCounters(),routes:this.getRoutesCounters()})}},{key:"toString",value:function(){return"{\"startTime\": "+this.startTime+", \"startOrientation\": \""+this.startOrientation+"\",\n \"actions\": "+JSON.stringify(this.actions.map(function(t){return t.toString()}))+", \"navigation\": "+JSON.stringify(this.navigation.map(function(t){return t.toString()}))+"}"}}]),o})();e.default=k},753,[5,6,108,21,12,14,16,7,8,458,462]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.PaperSetupConfig=_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS=_e.DEFAULT_CUSTOM_DIMENSIONS=_e.ARTICLE_TITLE_BOX_MODE=_e.MAX_SHARE_CHECK_TYPES=_e.ENCRYPT_FILENAME_TYPE=_e.LATEST_AVAILABLE_EDITION_FORMAT=_e.PAGES_NAVIGATION_BUTTONS_LAYOUT=_e.SHOW_TYPES_ARTICLE=_e.NEWSMEMORY_START_MODE=_e.MERGE_ARTICLES_TYPES=_e.URL_TYPES=_e.NEWSMEMORY_SCREENS_NAME=_e.NEWSMEMORY_SCREENS=_e.BOTH_ENABLED=_e.NEWSMEMORY_ENABLED=_e.RSS_ENABLED=_e.DEFAULT=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),o=r(d[0])(r(d[8])),h=r(d[0])(r(d[9])),p=r(d[0])(r(d[10]));function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}_e.DEFAULT="0";_e.RSS_ENABLED="1";_e.NEWSMEMORY_ENABLED="2";_e.BOTH_ENABLED="3";var f={REACT:0,NATIVE:1,HTML5:2};_e.NEWSMEMORY_SCREENS=f;_e.NEWSMEMORY_SCREENS_NAME={REACT:"NewsmemoryScreen",NATIVE:"NewsmemoryNativeScreen",HTML5:"NewsmemoryHTML5Screen"};var x={UNDERLINE:"underline",SQUARED:"squared",ROUNDED:"rounded"};_e.URL_TYPES=x;var b={NORMAL:0,MERGED:1,ONLY_FIRST:2,PAGE_REFS:3};_e.MERGE_ARTICLES_TYPES=b;var w={READ:"read",SWIPE:"swipe",BROWSE:"browse"};_e.NEWSMEMORY_START_MODE=w;var k={ONLY_TEXT:"0",TEXT_AND_GRAPH:"1",ALL:"2"};_e.SHOW_TYPES_ARTICLE=k;var V={HIDDEN:"0",FIXED:"1",ANIMATED:"2"};_e.PAGES_NAVIGATION_BUTTONS_LAYOUT=V;var y={PLAIN_MESSAGE:"0",ONLY_EDITION:"1",ISSUE_AND_EDITION:"2"};_e.LATEST_AVAILABLE_EDITION_FORMAT=y;var E={NONE:0,MAIN:1,XPAPER:2};_e.ENCRYPT_FILENAME_TYPE=E;_e.MAX_SHARE_CHECK_TYPES={LOCAL:1,REMOTE:2};var S={NEVER:"0",EDITORIAL_ONLY:"1",ALL:"2"};_e.ARTICLE_TITLE_BOX_MODE=S;var A="dimension1=$deviceType&dimension2=$issue&dimension3=$edition&dimension4=$page&dimension5=$articleId&dimension6=$action&dimension7=$ePaperAccess&dimension8=$title";_e.DEFAULT_CUSTOM_DIMENSIONS=A;var T="device=$deviceType&issue=$issue&edition=$edition&page=$page&article_id=$articleId&action=$action&epaper_access=$ePaperAccess&app_mode=$appSide&title=$title&site_id=$siteId&remote_site_id=$remoteSiteId";_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS=T;var I=["pSetup","paper","layoutStyle","layoutSubStyle","newsmemoryToUse","rssIsEnabled","newsMemoryIsEnabled","migrate","googleAnalyticsAnonymizeIP","clientGoogleAnalyticsAccount","feedbackGoogleAnalyticsAccount","tecnaviaGoogleAnalyticsAccount","TAGoogleAnalyticsEvent","comScoreId","comScorePublisherSecret","comScoreAppName","rempAccountURL","adobeAnalyticsEnabled","adobeAnalyticsConfig","matherAnalyticsEnabled","matomoEnabled","matomoConfig","matomoTrackerEnabled","matomoTrackerConfig","facebookAnalyticsEnabled","attConfig","iubendaEnabled","iubendaConfig","bundleUpdateAvailable","resetAppBundle","isGenericApp","rnStyles","fixButtonsBarToBottom","externalXPapers","pushTags","useAsymmetricCardList","preventScreenshots","showNativeOptionsPageFallbackUrl","lockPanIfNotZoomedByDegrees","showOpenArticleExtraOnTitleBox"],v=["checksum"],N=["json","pSetupFileTime","checksum","lastIssue","lastEdition","demoIssue","external"],P=o.default.SP.keys,L=(function(o){(0,l.default)(R,o);var L,C,M=(L=R,C=_(),function(){var t,e=(0,c.default)(L);if(C){var s=(0,c.default)(this).constructor;t=Reflect.construct(e,arguments,s)}else t=e.apply(this,arguments);return(0,u.default)(this,t)});function R(){var t;(0,e.default)(this,R);for(var s=arguments.length,n=new Array(s),l=0;l0&&void 0!==X[0]?X[0]:{},Z.next=3,t.default.awrap((0,n.default)((0,c.default)(R.prototype),"init",this).call(this,e));case 3:return Z.next=5,t.default.awrap(this.getValue(P.layout_style));case 5:if(this.layoutStyle=Z.sent,this.layoutStyle){Z.next=8;break}return Z.abrupt("return",!1);case 8:if(this.pSetup!==g.getAppPSetup()){Z.next=20;break}return Z.next=11,t.default.awrap(g.getUserSettings().getForceLayoutSubStyle());case 11:if(s=Z.sent,Z.t0=s,Z.t0){Z.next=17;break}return Z.next=16,t.default.awrap(this.getValue(P.layout_sub_style));case 16:Z.t0=Z.sent;case 17:this.layoutSubStyle=Z.t0,Z.next=23;break;case 20:return Z.next=22,t.default.awrap(this.getValue(P.layout_sub_style));case 22:this.layoutSubStyle=Z.sent;case 23:return Z.next=25,t.default.awrap(this.getValue(P.user_ip));case 25:if(Z.t1=Z.sent,Z.t1){Z.next=28;break}Z.t1="n/a";case 28:return l=Z.t1,r(d[11]).NetworkUtils.setIP(l),Z.next=32,t.default.awrap(this.getValue(P.is_allowed_ip));case 32:return Z.t2=Z.sent,this.isAllowedIP="1"===Z.t2,Z.next=36,t.default.awrap(this.getValue(P.machine));case 36:return this.machine=Z.sent,this.premiumIconURL=this.machine.concat("/eeLayout/").concat(this.layoutStyle).concat("/").concat(this.layoutSubStyle).concat("/images/webapp/tecnavia_premium_article.png"),Z.next=40,t.default.awrap(this.getValue(P.paper));case 40:return this.paper=Z.sent,Z.next=43,t.default.awrap(this.getValue(P.xpaper));case 43:return this.xpaper=Z.sent,Z.next=46,t.default.awrap(this.getValue(P.app_mode_selection_page_enabled));case 46:return Z.t3=Z.sent,this.appModeSelectionPageEnabled="1"===Z.t3,Z.next=50,t.default.awrap(this.getValue(P.app_mode_selection_page_url));case 50:return this.appModeSelectionPageURL=Z.sent,Z.t5=Number,Z.next=54,t.default.awrap(this.getValue(P.app_mode_selection_page_version));case 54:if(Z.t6=Z.sent,Z.t4=Z.t5.parseInt.call(Z.t5,Z.t6,10),Z.t4){Z.next=58;break}Z.t4=0;case 58:return this.appModeSelectionPageVersion=Z.t4,Z.next=61,t.default.awrap(this.getValue(P.powered_by));case 61:return this.poweredBy=Z.sent,Z.next=64,t.default.awrap(this.getValue(P.powered_by_url));case 64:return this.poweredByURL=Z.sent,Z.next=67,t.default.awrap(this.getValue(P.copyright));case 67:return this.copyright=Z.sent,Z.next=70,t.default.awrap(this.getValue(P.copyright_url));case 70:return this.copyrightURL=Z.sent,Z.next=73,t.default.awrap(this.getValue(P.add_disclaimer));case 73:return this.addDisclaimer=Z.sent,Z.next=76,t.default.awrap(this.getValue(P.paper_name));case 76:return this.paperName=Z.sent,Z.next=79,t.default.awrap(this.getValue(P.language));case 79:return this.language=Z.sent,Z.next=82,t.default.awrap(this.getValue(P.site_domain));case 82:return this.siteDomain=Z.sent,Z.next=85,t.default.awrap(this.getValue(P.is_lite));case 85:return Z.t7=Z.sent,this.isLite="1"===Z.t7,Z.next=89,t.default.awrap(this.getValue(P.init_x_paper_not_in_view));case 89:if(Z.t8=Z.sent,Z.t8){Z.next=92;break}Z.t8="";case 92:return this.initpageXpaperNotView=Z.t8,Z.next=95,t.default.awrap(this.getValue(P.external_xpapers));case 95:if(Z.t9=Z.sent,Z.t9){Z.next=98;break}Z.t9="";case 98:return this.externalXPapers=Z.t9,Z.next=101,t.default.awrap(this.getValue(P.special_before_index));case 101:return this.specialBeforeIndex=Z.sent,Z.next=104,t.default.awrap(this.getValue(P.special_before_index_tablet));case 104:return this.specialBeforeIndexTablet=Z.sent,Z.next=107,t.default.awrap(this.getValue(P.special_before_index_phone));case 107:return this.specialBeforeIndexPhone=Z.sent,Z.next=110,t.default.awrap(this.getValue(P.udb));case 110:return this.udb=Z.sent,this.loginStatus=new(r(d[12]).LoginStatus),Z.next=114,t.default.awrap(this.loginStatus.init(this.udb));case 114:if(Z.sent){Z.next=115;break}case 115:return Z.t10=this.loginStatus,Z.next=118,t.default.awrap(this.getValue(P.preview_token));case 118:return Z.t11=Z.sent,Z.t10.setOneTimeToken.call(Z.t10,Z.t11),Z.next=122,t.default.awrap(this.getValue(P.refreshes_tauid));case 122:if(Z.t12=Z.sent,Z.t12){Z.next=125;break}Z.t12="";case 125:return u=Z.t12,this.refreshesTAUIDTimestamp=r(d[11]).DateUtils.getUnixTimestampFromDateTimeString(u),Z.next=129,t.default.awrap(this.getValue(P.change_user_agent_for_oauth));case 129:if(Z.t13=Z.sent,o="1"===Z.t13,_="",!o){Z.next=149;break}if(!r(d[11]).PlatformUtils.isAndroid()){Z.next=142;break}return Z.next=136,t.default.awrap(this.getValue(P.custom_user_agent_for_oauth));case 136:if(Z.t14=Z.sent,Z.t14){Z.next=139;break}Z.t14="";case 139:_=Z.t14,Z.next=149;break;case 142:return Z.next=144,t.default.awrap(this.getValue(P.custom_string_to_append_to_user_agent_for_oauth));case 144:if(Z.t15=Z.sent,Z.t15){Z.next=147;break}Z.t15="Safari/{APPLE_WEBKIT_VERSION}";case 147:(I=Z.t15)&&(I=I.replace("{APPLE_WEBKIT_VERSION}",r(d[11]).PlatformUtils.getAppleWebKitVersion()),_=r(d[11]).PlatformUtils.getUserAgent()+" "+I);case 149:return this.overrideNewsMemoryUserAgent=_,Z.t16=parseInt,Z.next=153,t.default.awrap(this.getValue(P.newsmemory_to_use));case 153:if(Z.t17=Z.sent,Z.t17){Z.next=156;break}Z.t17=f.NATIVE;case 156:return Z.t18=Z.t17,this.newsmemoryToUse=(0,Z.t16)(Z.t18,10),Z.next=160,t.default.awrap(this.getValue(P.newsmemory_to_use_timestamp));case 160:if(Z.t19=Z.sent,Z.t19){Z.next=163;break}Z.t19="";case 163:if(this.newsmemoryToUseTimestamp=Z.t19,Z.t20=r(d[11]).PlatformUtils.isAndroid(),!Z.t20){Z.next=170;break}return Z.next=168,t.default.awrap(this.getValue(P.gallery_download_enabled));case 168:Z.t21=Z.sent,Z.t20="1"===Z.t21;case 170:return this.galleryDownloadEnabled=Z.t20,Z.next=173,t.default.awrap(this.getValue(P.gallery_thumbnail_disabled));case 173:return Z.t22=Z.sent,this.galleryThumbnailEnabled="1"!==Z.t22,Z.next=177,t.default.awrap(this.getValue(P.open_http_link_on_external_browser));case 177:if(Z.t23=Z.sent,Z.t23){Z.next=180;break}Z.t23="1";case 180:return Z.t24=Z.t23,this.openHttpLinkOnExternalBrowser="0"!==Z.t24,Z.t25=parseInt,Z.next=185,t.default.awrap(this.getValue(P.file_time));case 185:if(Z.t26=Z.sent,Z.t26){Z.next=188;break}Z.t26=-1;case 188:return Z.t27=Z.t26,this.pSetupFileTime=(0,Z.t25)(Z.t27,10),Z.t28=parseInt,Z.next=193,t.default.awrap(this.getValue(P.rss_index_file_time));case 193:if(Z.t29=Z.sent,Z.t29){Z.next=196;break}Z.t29=-1;case 196:return Z.t30=Z.t29,this.rssIndexFileTime=(0,Z.t28)(Z.t30,10),Z.t31=parseInt,Z.next=201,t.default.awrap(this.getValue(P.custom_language_pack_file_time));case 201:if(Z.t32=Z.sent,Z.t32){Z.next=204;break}Z.t32=-1;case 204:return Z.t33=Z.t32,this.customLanguagePackFileTime=(0,Z.t31)(Z.t33,10),Z.t34=parseInt,Z.next=209,t.default.awrap(this.getValue(P.custom_fonts_file_time));case 209:if(Z.t35=Z.sent,Z.t35){Z.next=212;break}Z.t35=-1;case 212:return Z.t36=Z.t35,this.customFontsFileTime=(0,Z.t34)(Z.t36,10),Z.next=216,t.default.awrap(this.getValue(P.load_editions_url));case 216:return this.loadEditionsUrl=Z.sent,Z.t37=parseInt,Z.next=220,t.default.awrap(this.getValue(P.option_page_mode));case 220:return Z.t38=Z.sent,v=(0,Z.t37)(Z.t38,10),Z.next=224,t.default.awrap(this.getValue(P.option_page_url));case 224:return N=Z.sent,Z.next=227,t.default.awrap(this.getValue(P.option_page_coordinates));case 227:if(Z.t39=Z.sent,Z.t39){Z.next=230;break}Z.t39="";case 230:return L=Z.t39,Z.next=233,t.default.awrap(this.getValue(P.option_page_modal));case 233:return Z.t40=Z.sent,C="1"===Z.t40,this.optionspageConfig=new(r(d[13]).OptionspageConfig)({mode:v,baseURL:N,coordinatesString:L,modal:C}),Z.next=238,t.default.awrap(this.getValue(P.mode_enabled));case 238:return M=Z.sent,Z.next=241,t.default.awrap(this.checkIfRssIsEnabled());case 241:return this.rssIsEnabled=Z.sent,this.newsMemoryIsEnabled="0"===M||"2"===M||"3"===M,Z.next=245,t.default.awrap(this.getValue(P.startup_mode));case 245:return this.startupMode=Z.sent,Z.next=248,t.default.awrap(this.getValue(P.startup_mode_timestamp));case 248:if(Z.t41=Z.sent,Z.t41){Z.next=251;break}Z.t41="";case 251:return this.startupModeTimestamp=Z.t41,Z.next=254,t.default.awrap(this.getValue(P.base_rss_update_url));case 254:return O=Z.sent,O=r(d[11]).NetworkUtils.addDefaultProtocol(O),O=h.default.replaceUrlPlaceHolder(O),this.baseRssUpdateURL=O,Z.next=260,t.default.awrap(this.getValue(P.feedback.enable));case 260:if(Z.t42=Z.sent,this.feedbackEnabled="1"===Z.t42,!this.feedbackEnabled){Z.next=266;break}return this.feedbackConfig=new(r(d[14]).FeedbackConfig)(this.pSetup,this.originalMachine),Z.next=266,t.default.awrap(this.feedbackConfig.init(e));case 266:return Z.next=268,t.default.awrap(this.getValue(P.disable_firebase_analytics));case 268:if(Z.t43=Z.sent,Z.t43){Z.next=271;break}Z.t43="0";case 271:return Z.t44=Z.t43,this.disableFirebaseAnalytics="1"===Z.t44,Z.next=275,t.default.awrap(this.getValue(P.firebase_analytics_custom_dimensions));case 275:if(Z.t45=Z.sent,Z.t45){Z.next=278;break}Z.t45=T;case 278:return this.firebaseAnalyticsCustomDimensions=Z.t45,this.otherFirebaseProjects=[],Z.next=282,t.default.awrap(this.getValue(P.other_firebase_projects));case 282:if(D=Z.sent)try{this.otherFirebaseProjects=JSON.parse(D)}catch(t){}return Z.next=286,t.default.awrap(this.getValue(P.firebase_analytics_send_external_id));case 286:if(Z.t46=Z.sent,Z.t46){Z.next=289;break}Z.t46="0";case 289:return Z.t47=Z.t46,this.firebaseAnalyticsSendExternalId="1"===Z.t47,Z.next=293,t.default.awrap(this.getValue(P.disable_google_analytics_3));case 293:if(Z.t48=Z.sent,Z.t48){Z.next=296;break}Z.t48="0";case 296:return Z.t49=Z.t48,this.disableGoogleAnalytics3="1"===Z.t49,Z.next=300,t.default.awrap(this.getValue(P.g_analytics_anonymize_ip));case 300:if(Z.t50=Z.sent,Z.t50){Z.next=303;break}Z.t50="1";case 303:return Z.t51=Z.t50,this.googleAnalyticsAnonymizeIP="1"===Z.t51,Z.next=307,t.default.awrap(this.getValue(P.g_analytics));case 307:return this.clientGoogleAnalyticsAccount=Z.sent,Z.next=310,t.default.awrap(this.getValue(P.g_analytics_feedback));case 310:return this.feedbackGoogleAnalyticsAccount=Z.sent,Z.next=313,t.default.awrap(this.getValue(P.g_analytics_tecnavia));case 313:return this.tecnaviaGoogleAnalyticsAccount=Z.sent,Z.next=316,t.default.awrap(this.getValue(P.ta_google_analytics_event));case 316:return this.TAGoogleAnalyticsEvent=Z.sent,Z.next=319,t.default.awrap(this.getValue(P.google_analytics_custom_dimensions));case 319:if(Z.t52=Z.sent,Z.t52){Z.next=322;break}Z.t52=A;case 322:return this.googleAnalyticsCustomDimensions=Z.t52,Z.next=325,t.default.awrap(this.getValue(P.remp_account));case 325:return this.rempAccountURL=Z.sent,Z.next=328,t.default.awrap(this.getValue(P.comscore.app_name));case 328:return this.comScoreAppName=Z.sent,Z.next=331,t.default.awrap(this.getValue(P.comscore.id));case 331:return this.comScoreId=Z.sent,Z.next=334,t.default.awrap(this.getValue(P.comscore.publisher_secret));case 334:return this.comScorePublisherSecret=Z.sent,Z.next=337,t.default.awrap(this.getValue(P.comscore.base_url));case 337:return this.comScoreBaseURL=Z.sent,Z.next=340,t.default.awrap(this.getValue(P.mather_analytics.enabled));case 340:if(Z.t53=Z.sent,Z.t53){Z.next=343;break}Z.t53="0";case 343:return Z.t54=Z.t53,this.matherAnalyticsEnabled="1"===Z.t54,Z.next=347,t.default.awrap(this.getValue(P.mather_analytics.customer_id));case 347:if(Z.t55=Z.sent,Z.t55){Z.next=350;break}Z.t55="";case 350:return this.matherAnalyticsCustomerId=Z.t55,Z.next=353,t.default.awrap(this.getValue(P.mather_analytics.site_id));case 353:if(Z.t56=Z.sent,Z.t56){Z.next=356;break}Z.t56="";case 356:return this.matherAnalyticsSiteId=Z.t56,Z.next=359,t.default.awrap(this.getValue(P.mather_analytics.send_email));case 359:if(Z.t57=Z.sent,Z.t57){Z.next=362;break}Z.t57="0";case 362:return Z.t58=Z.t57,this.matherAnalyticsSendEmail="1"===Z.t58,Z.next=366,t.default.awrap(this.getValue(P.adobe_analytics.enabled));case 366:if(Z.t59=Z.sent,Z.t59){Z.next=369;break}Z.t59="0";case 369:if(Z.t60=Z.t59,this.adobeAnalyticsEnabled="1"===Z.t60,!this.adobeAnalyticsEnabled){Z.next=375;break}return this.adobeAnalyticsConfig=new(r(d[15]).AdobeAnalyticsConfig)(this.pSetup,this.originalMachine),Z.next=375,t.default.awrap(this.adobeAnalyticsConfig.init(e));case 375:return Z.next=377,t.default.awrap(this.getValue(P.matomo.enabled));case 377:if(Z.t61=Z.sent,Z.t61){Z.next=380;break}Z.t61="0";case 380:if(Z.t62=Z.t61,this.matomoEnabled="1"===Z.t62,!this.matomoEnabled){Z.next=386;break}return this.matomoConfig=new(r(d[16]).MatomoConfig)(this.pSetup,this.originalMachine),Z.next=386,t.default.awrap(this.matomoConfig.init(e,this.googleAnalyticsCustomDimensions));case 386:return Z.next=388,t.default.awrap(this.getValue(P.matomo_tracker.enabled));case 388:if(Z.t63=Z.sent,Z.t63){Z.next=391;break}Z.t63="0";case 391:if(Z.t64=Z.t63,this.matomoTrackerEnabled="1"===Z.t64,!this.matomoTrackerEnabled){Z.next=397;break}return this.matomoTrackerConfig=new(r(d[17]).MatomoTrackerConfig)(this.pSetup,this.originalMachine),Z.next=397,t.default.awrap(this.matomoTrackerConfig.init(e));case 397:return Z.next=399,t.default.awrap(this.getValue(P.facebook_enabled));case 399:if(Z.t65=Z.sent,Z.t65){Z.next=402;break}Z.t65="";case 402:return F=Z.t65,this.facebookAnalyticsEnabled=F&&"0"!==F,Z.next=406,t.default.awrap(this.getValue(P.blueconic.enabled));case 406:if(Z.t66=Z.sent,Z.t66){Z.next=409;break}Z.t66="0";case 409:if(Z.t67=Z.t66,this.blueConicEnabled="1"===Z.t67,!this.blueConicEnabled){Z.next=415;break}return this.blueConicConfig=new(r(d[18]).BlueConicConfig)(this.pSetup,this.originalMachine),Z.next=415,t.default.awrap(this.blueConicConfig.init(e));case 415:return this.chartbeatConfig=new(r(d[19]).ChartbeatConfig)(this.pSetup,this.originalMachine),Z.next=418,t.default.awrap(this.chartbeatConfig.init(e));case 418:return Z.next=420,t.default.awrap(this.getValue(P.default_connectivity));case 420:return this.defaultConnectivity=Z.sent,Z.next=423,t.default.awrap(this.getValue(P.default_connectivity_timestamp));case 423:if(Z.t68=Z.sent,Z.t68){Z.next=426;break}Z.t68="";case 426:return this.defaultConnectivityTimestamp=Z.t68,Z.next=429,t.default.awrap(this.getValue(P.url_type));case 429:if(Z.t69=Z.sent,Z.t69){Z.next=432;break}Z.t69=x.UNDERLINE;case 432:return this.urlType=Z.t69,Z.next=435,t.default.awrap(this.getValue(P.showLinksHighlight));case 435:if(Z.t70=Z.sent,Z.t70){Z.next=438;break}Z.t70="1";case 438:return Z.t71=Z.t70,this.showLinksHighlight="1"===Z.t71,Z.next=442,t.default.awrap(this.getValue(P.relabel_fit_page_button));case 442:return Z.t72=Z.sent,Z.next=445,t.default.awrap(this.getValue(P.relabel_offline_button));case 445:return Z.t73=Z.sent,Z.next=448,t.default.awrap(this.getValue(P.relabel_help_button));case 448:return Z.t74=Z.sent,Z.next=451,t.default.awrap(this.getValue(P.relabel_setting_button));case 451:return Z.t75=Z.sent,Z.next=454,t.default.awrap(this.getValue(P.relabel_option_button));case 454:return Z.t76=Z.sent,Z.next=457,t.default.awrap(this.getValue(P.relabel_special_sections_button));case 457:return Z.t77=Z.sent,Z.next=460,t.default.awrap(this.getValue(P.relabel_search_button));case 460:return Z.t78=Z.sent,Z.next=463,t.default.awrap(this.getValue(P.relabel_ebook_button));case 463:return Z.t79=Z.sent,Z.next=466,t.default.awrap(this.getValue(P.relabel_gbook_button));case 466:return Z.t80=Z.sent,Z.next=469,t.default.awrap(this.getValue(P.relabel_phodir_button));case 469:return Z.t81=Z.sent,Z.next=472,t.default.awrap(this.getValue(P.relabel_feed_button));case 472:return Z.t82=Z.sent,this.relabel={fitPageButton:Z.t72,downloadButton:Z.t73,helpButton:Z.t74,settingsButton:Z.t75,editionsButton:Z.t76,specialSectionButton:Z.t77,searchButton:Z.t78,indexButton:Z.t79,gBookButton:Z.t80,thumbnailButton:Z.t81,feedButton:Z.t82},Z.t84=parseInt,Z.next=477,t.default.awrap(this.getValue(P.default_max_issues));case 477:if(Z.t85=Z.sent,Z.t83=(0,Z.t84)(Z.t85,10),Z.t83){Z.next=481;break}Z.t83=30;case 481:return this.defaultMaxIssues=Z.t83,Z.next=484,t.default.awrap(this.getValue(P.date_format));case 484:return this.dateFormat=Z.sent,Z.next=487,t.default.awrap(this.getValue(P.show_week));case 487:return Z.t86=Z.sent,this.showWeekAfterDate="1"===Z.t86,Z.next=491,t.default.awrap(this.getValue(P.download_multi_zips));case 491:return Z.t87=Z.sent,this.downloadMultiZips="1"===Z.t87,Z.next=495,t.default.awrap(this.getValue(P.show_types_article));case 495:if(Z.t88=Z.sent,Z.t88){Z.next=498;break}Z.t88=k.TEXT_AND_GRAPH;case 498:return this.showTypesArticle=Z.t88,Z.next=501,t.default.awrap(this.getValue(P.enable_article_extra));case 501:if(Z.t89=Z.sent,Z.t89){Z.next=504;break}Z.t89="0";case 504:return Z.t90=Z.t89,this.enableArticleExtra="1"===Z.t90,Z.t92=parseInt,Z.next=509,t.default.awrap(this.getValue(P.max_zips_to_download_per_request));case 509:if(Z.t93=Z.sent,Z.t91=(0,Z.t92)(Z.t93,10),Z.t91){Z.next=513;break}Z.t91=10;case 513:return this.maxZipsToDownloadEachRequest=Z.t91,this.cssFilesToAdd="csscustom",Z.next=517,t.default.awrap(this.getValue(P.css_files_to_add));case 517:return(U=Z.sent)&&(this.cssFilesToAdd+=","+U),Z.next=521,t.default.awrap(this.getValue(P.email_content));case 521:return this.emailContent=Z.sent,Z.next=524,t.default.awrap(this.getValue(P.email_subject));case 524:return this.emailSubject=Z.sent,Z.next=527,t.default.awrap(this.getValue(P.twitter_text));case 527:return this.twitterText=Z.sent,Z.t95=parseInt,Z.next=531,t.default.awrap(this.getValue(P.update_db_percentage));case 531:if(Z.t96=Z.sent,Z.t94=(0,Z.t95)(Z.t96,10),Z.t94){Z.next=535;break}Z.t94=50;case 535:return this.updateDBPercentage=Z.t94,Z.next=538,t.default.awrap(this.getValue(P.enable_advanced_gestures_mode));case 538:if(Z.t97=Z.sent,Z.t97){Z.next=541;break}Z.t97="1";case 541:if(Z.t98=Z.t97,this.enableAdvancedGesturesMode="1"===Z.t98,!this.enableAdvancedGesturesMode){Z.next=564;break}return Z.next=546,t.default.awrap(this.getValue(P.two_fingers_tap_to_article));case 546:if(Z.t99=Z.sent,Z.t99){Z.next=549;break}Z.t99="0";case 549:if(Z.t100=Z.t99,this.twoFingersTapToArticle="1"===Z.t100,!this.twoFingersTapToArticle){Z.next=561;break}return Z.next=554,t.default.awrap(this.getValue(P.single_tap_to_zoom));case 554:if(Z.t101=Z.sent,Z.t101){Z.next=557;break}Z.t101="1";case 557:Z.t102=Z.t101,this.singleTapToZoom="1"===Z.t102,Z.next=562;break;case 561:this.singleTapToZoom=!1;case 562:Z.next=566;break;case 564:this.twoFingersTapToArticle=!0,this.singleTapToZoom=!0;case 566:return Z.next=568,t.default.awrap(this.getValue(P.lock_horizontal_pan_if_not_zoomed));case 568:if(Z.t103=Z.sent,Z.t103){Z.next=571;break}Z.t103="0";case 571:return Z.t104=Z.t103,this.lockHorizontalPanIfNotZoomed="1"===Z.t104,Z.next=575,t.default.awrap(this._getLockPanIfNotZoomedByDegrees());case 575:return this.lockPanIfNotZoomedByDegrees=Z.sent,Z.next=578,t.default.awrap(this.getValue(P.machine_for_hr));case 578:if(Z.t105=Z.sent,Z.t105){Z.next=581;break}Z.t105=this.machine;case 581:return this.machineForHR=Z.t105,Z.next=584,t.default.awrap(this.getValue(P.translation_available));case 584:return Z.t106=Z.sent,this.translationAvailable="1"===Z.t106,Z.next=588,t.default.awrap(this.getValue(P.translation_server));case 588:if(Z.t107=Z.sent,Z.t107){Z.next=591;break}Z.t107="";case 591:return this.translationServer=Z.t107,Z.next=594,t.default.awrap(this.getValue(P.use_native_accessibility));case 594:if(Z.t109=Z.sent,Z.t109){Z.next=597;break}Z.t109="0";case 597:if(Z.t110=Z.t109,Z.t108="1"===Z.t110,Z.t108){Z.next=601;break}Z.t108=g.isDebug;case 601:return this.useNativeAccessibility=Z.t108,Z.next=604,t.default.awrap(this.getValue(P.use_car_mode));case 604:if(Z.t112=Z.sent,Z.t112){Z.next=607;break}Z.t112="0";case 607:if(Z.t113=Z.t112,Z.t111="1"===Z.t113,Z.t111){Z.next=611;break}Z.t111=g.isDebug;case 611:return this.useCarMode=Z.t111,Z.next=614,t.default.awrap(this.getValue(P.show_native_options_page_fallback_url));case 614:return this.showNativeOptionsPageFallbackUrl=Z.sent,Z.next=617,t.default.awrap(this.getValue(P.show_native_options_page));case 617:if(Z.t114=Z.sent,Z.t114){Z.next=620;break}Z.t114="0";case 620:return Z.t115=Z.t114,this.showNativeOptionsPage="1"===Z.t115,Z.next=624,t.default.awrap(this.getValue(P.show_native_settings_screen));case 624:if(Z.t117=Z.sent,Z.t117){Z.next=627;break}Z.t117="0";case 627:if(Z.t118=Z.t117,Z.t116="1"===Z.t118,Z.t116){Z.next=631;break}Z.t116=g.isDebug;case 631:return this.showNativeSettingsScreen=Z.t116,Z.next=634,t.default.awrap(this.getValue(P.enable_translation_customization));case 634:if(Z.t119=Z.sent,Z.t119){Z.next=637;break}Z.t119="1";case 637:return Z.t120=Z.t119,this.showTranslationCustomization="1"===Z.t120,Z.next=641,t.default.awrap(this.getValue(P.show_themes_customization));case 641:if(Z.t121=Z.sent,Z.t121){Z.next=644;break}Z.t121="1";case 644:return Z.t122=Z.t121,this.showThemesCustomization="1"===Z.t122,Z.next=648,t.default.awrap(this.getValue(P.enable_zoom_level_customization));case 648:if(Z.t123=Z.sent,Z.t123){Z.next=651;break}Z.t123="1";case 651:return Z.t124=Z.t123,this.enableZoomLevelCustomization="1"===Z.t124,Z.next=655,t.default.awrap(this.getValue(P.enable_article_types_customization));case 655:if(Z.t125=Z.sent,Z.t125){Z.next=658;break}Z.t125="1";case 658:return Z.t126=Z.t125,this.enableArticleTypesCustomization="1"===Z.t126,Z.next=662,t.default.awrap(this.getValue(P.show_article_column_view_customization));case 662:if(Z.t127=Z.sent,Z.t127){Z.next=665;break}Z.t127="1";case 665:return Z.t128=Z.t127,this.showArticleColumnViewCustomization="1"===Z.t128,Z.next=669,t.default.awrap(this.getValue(P.show_navigation_buttons_layout_customization));case 669:if(Z.t129=Z.sent,Z.t129){Z.next=672;break}Z.t129="1";case 672:return Z.t130=Z.t129,this.showNavigationButtonsLayoutCustomization="1"===Z.t130,Z.next=676,t.default.awrap(this.getValue(P.show_xpaper_navigation_close_button));case 676:if(Z.t131=Z.sent,Z.t131){Z.next=679;break}Z.t131="0";case 679:return Z.t132=Z.t131,this.showXPaperNavigationCloseButton="1"===Z.t132,Z.next=683,t.default.awrap(this.getValue(P.show_highlight_behavior_customization));case 683:if(Z.t133=Z.sent,Z.t133){Z.next=686;break}Z.t133="1";case 686:return Z.t134=Z.t133,this.showHighlightBehaviorCustomization="1"===Z.t134,Z.next=690,t.default.awrap(this.getValue(P.show_open_article_extra_on_title_box));case 690:if(Z.t135=Z.sent,Z.t135){Z.next=693;break}Z.t135=S.NEVER;case 693:return this.showOpenArticleExtraOnTitleBox=Z.t135,Z.next=696,t.default.awrap(this.getValue(P.change_favorite_edition));case 696:if(Z.t136=Z.sent,Z.t136){Z.next=699;break}Z.t136="0";case 699:return Z.t137=Z.t136,this.changeFavoriteEdition="1"===Z.t137,Z.next=703,t.default.awrap(this.getValue(P.favorite_edition));case 703:if(Z.t138=Z.sent,Z.t138){Z.next=706;break}Z.t138="";case 706:return this.favoriteEdition=Z.t138,Z.next=709,t.default.awrap(this.getValue(P.enable_connectivity_options));case 709:if(Z.t139=Z.sent,Z.t139){Z.next=712;break}Z.t139="1";case 712:return Z.t140=Z.t139,this.enableConnectivityOptions="1"===Z.t140,Z.next=716,t.default.awrap(this.getValue(P.enable_font_size_customization));case 716:if(Z.t141=Z.sent,Z.t141){Z.next=719;break}Z.t141="1";case 719:return Z.t142=Z.t141,this.enableFontSizeCustomization="1"===Z.t142,Z.next=723,t.default.awrap(this.getValue(P.enable_graph_size_customization));case 723:if(Z.t143=Z.sent,Z.t143){Z.next=726;break}Z.t143="1";case 726:return Z.t144=Z.t143,this.enableGraphSizeCustomization="1"===Z.t144,Z.t145=parseInt,Z.next=731,t.default.awrap(this.getValue(P.fit_graphic_article));case 731:if(Z.t146=Z.sent,Z.t146){Z.next=734;break}Z.t146="1";case 734:return Z.t147=Z.t146,this.fitGraphicArticle=(0,Z.t145)(Z.t147,10),Z.next=738,t.default.awrap(this.getValue(P.sub_path));case 738:return this.subPath=Z.sent,Z.next=741,t.default.awrap(this.getValue(P.extra_link_color));case 741:if(Z.t148=Z.sent,Z.t148){Z.next=744;break}Z.t148="255,0,0,0.25";case 744:return this.extraLinkColor=Z.t148,Z.t149=parseInt,Z.next=748,t.default.awrap(this.getValue(P.background_duration_article_selected));case 748:return Z.t150=Z.sent,B=(0,Z.t149)(Z.t150,10),this.backgroundDurationArticleSelected=r(d[11]).JSUtils.isNumber(B)?B:r(d[20]).HIDE_ANIMATION_DURATION,Z.t151=parseInt,Z.next=754,t.default.awrap(this.getValue(P.background_timer_article_selected));case 754:return Z.t152=Z.sent,z=(0,Z.t151)(Z.t152,10),this.backgroundTimerArticleSelected=r(d[11]).JSUtils.isNumber(z)?z:r(d[20]).HIDE_ANIMATION_TIMER,Z.next=759,t.default.awrap(this.getValue(P.background_color_article.selected));case 759:if(Z.t153=Z.sent,Z.t153){Z.next=762;break}Z.t153="255,0,0,0.25";case 762:return this.backgroundColorArticleSelected=Z.t153,Z.next=765,t.default.awrap(this.getValue(P.background_color_article.to_select));case 765:if(Z.t154=Z.sent,Z.t154){Z.next=768;break}Z.t154=this.backgroundColorArticleSelected;case 768:return this.backgroundColorArticleToSelect=Z.t154,Z.next=771,t.default.awrap(this.getValue(P.preview_highlight_enabled));case 771:if(Z.t155=Z.sent,Z.t155){Z.next=774;break}Z.t155="0";case 774:return Z.t156=Z.t155,this.previewHighlightEnabled="1"===Z.t156,Z.t157=parseInt,Z.next=779,t.default.awrap(this.getValue(P.preview_highlight_duration_seconds));case 779:if(Z.t158=Z.sent,Z.t158){Z.next=782;break}Z.t158="2";case 782:return Z.t159=Z.t158,this.previewHighlightDurationSeconds=(0,Z.t157)(Z.t159,10),Z.t160=parseInt,Z.next=787,t.default.awrap(this.getValue(P.zooming_factor));case 787:return Z.t161=Z.sent,this.zoomingFactor=(0,Z.t160)(Z.t161,10),this.zoomingFactor=this.zoomingFactor<=0?100:this.zoomingFactor,Z.t162=parseInt,Z.next=793,t.default.awrap(this.getValue(P.max_zoom));case 793:if(Z.t163=Z.sent,Z.t163){Z.next=796;break}Z.t163="5";case 796:return Z.t164=Z.t163,this.maxZoom=(0,Z.t162)(Z.t164,10),Z.t165=parseFloat,Z.next=801,t.default.awrap(this.getValue(P.pdf_thumbnail_ratio));case 801:if(Z.t166=Z.sent,Z.t166){Z.next=804;break}Z.t166="0.5";case 804:return Z.t167=Z.t166,this.pdfThumbnailRatio=(0,Z.t165)(Z.t167),Z.t168=parseFloat,Z.next=809,t.default.awrap(this.getValue(P.eink_complete_hr_factor));case 809:if(Z.t169=Z.sent,Z.t169){Z.next=812;break}Z.t169="2.2";case 812:return Z.t170=Z.t169,this.einkCompleteHrFactor=(0,Z.t168)(Z.t170),Z.t171=parseInt,Z.next=817,t.default.awrap(this.getValue(P.hr_factor));case 817:if(Z.t172=Z.sent,Z.t172){Z.next=820;break}Z.t172="1";case 820:return Z.t173=Z.t172,this.hrFactor=(0,Z.t171)(Z.t173,10),Z.t174=parseFloat,Z.next=825,t.default.awrap(this.getValue(P.pdf_factor));case 825:if(Z.t175=Z.sent,Z.t175){Z.next=828;break}Z.t175="1.2";case 828:return Z.t176=Z.t175,this.pdfFactor=(0,Z.t174)(Z.t176),Z.t177=parseFloat,Z.next=833,t.default.awrap(this.getValue(P.pdf_factor_landscape));case 833:if(Z.t178=Z.sent,Z.t178){Z.next=836;break}Z.t178="1";case 836:return Z.t179=Z.t178,this.pdfFactorLandscape=(0,Z.t177)(Z.t179),Z.next=840,t.default.awrap(this.getValue(P.force_pdf_in_roaming_mode));case 840:if(Z.t180=Z.sent,Z.t180){Z.next=843;break}Z.t180="0";case 843:return Z.t181=Z.t180,this.forcePdfInRoamingMode="1"===Z.t181,Z.t182=parseInt,Z.next=848,t.default.awrap(this.getValue(P.low_pages_to_render));case 848:if(Z.t183=Z.sent,Z.t183){Z.next=851;break}Z.t183="1";case 851:return Z.t184=Z.t183,this.lowPagesToRender=(0,Z.t182)(Z.t184,10),Z.t185=parseInt,Z.next=856,t.default.awrap(this.getValue(P.mid_pages_to_render));case 856:if(Z.t186=Z.sent,Z.t186){Z.next=859;break}Z.t186="1";case 859:return Z.t187=Z.t186,this.midPagesToRender=(0,Z.t185)(Z.t187,10),Z.next=863,t.default.awrap(this.getValue(P.load_mid_res_on_scroll));case 863:if(Z.t188=Z.sent,Z.t188){Z.next=866;break}Z.t188="1";case 866:return Z.t189=Z.t188,this.loadMidResOnScroll="1"===Z.t189,Z.next=870,t.default.awrap(this.getValue(P.enable_article_text_selection));case 870:return Z.t190=Z.sent,this.enableArticleTextSelection="1"===Z.t190,Z.next=874,t.default.awrap(this.getValue(P.show_edition_thumbs));case 874:if(Z.t191=Z.sent,this.showEditionThumbs="1"===Z.t191,!r(d[11]).PlatformUtils.isTablet()){Z.next=882;break}return Z.next=879,t.default.awrap(this.getValue(P.scroll_tiles));case 879:Z.t192=Z.sent,Z.next=885;break;case 882:return Z.next=884,t.default.awrap(this.getValue(P.scroll_tiles_phone));case 884:Z.t192=Z.sent;case 885:return this.scrollTiles=Z.t192,this.scrollTiles=parseInt(this.scrollTiles,10),Z.next=889,t.default.awrap(this.getValue(P.on_login_error_go_to));case 889:if(Z.t193=Z.sent,Z.t193){Z.next=892;break}Z.t193=r(d[21]).tabs.home;case 892:return this.onLoginErrorGoTo=Z.t193,Z.next=895,t.default.awrap(this.getValue(P.on_validation_error_go_to));case 895:if(Z.t194=Z.sent,Z.t194){Z.next=898;break}Z.t194=r(d[21]).tabs.login;case 898:return this.onValidationErrorGoTo=Z.t194,Z.t196=parseInt,Z.next=902,t.default.awrap(this.getValue(P.time_limit_check_edition));case 902:if(Z.t197=Z.sent,Z.t195=(0,Z.t196)(Z.t197,10),Z.t195){Z.next=906;break}Z.t195=10;case 906:return Z.t198=Z.t195,Z.t199=60*Z.t198,this.timeLimitCheckEdition=1e3*Z.t199,Z.t201=parseInt,Z.next=912,t.default.awrap(this.getValue(P.latest_edition_available_message_format));case 912:if(Z.t202=Z.sent,Z.t200=(0,Z.t201)(Z.t202,10),Z.t200){Z.next=916;break}Z.t200=y.ISSUE_AND_EDITION;case 916:return this.latestEditionAvailableMessageFormat=Z.t200,Z.t204=parseInt,Z.next=920,t.default.awrap(this.getValue(P.time_limit_check_login));case 920:if(Z.t205=Z.sent,Z.t203=(0,Z.t204)(Z.t205,10),Z.t203){Z.next=924;break}Z.t203=7200;case 924:return Z.t206=Z.t203,this.timeLimitCheckLogin=1e3*Z.t206,Z.t208=parseInt,Z.next=929,t.default.awrap(this.getValue(P.time_limit_forget_login));case 929:if(Z.t209=Z.sent,Z.t207=(0,Z.t208)(Z.t209,10),Z.t207){Z.next=933;break}Z.t207=120;case 933:return Z.t210=Z.t207,Z.t211=60*Z.t210,this.timeLimitForgetLogin=1e3*Z.t211,Z.next=938,t.default.awrap(this.getValue(P.last_pSetup));case 938:if(Z.t212=Z.sent,Z.t212){Z.next=941;break}Z.t212=this.pSetup;case 941:return this.lastPSetup=Z.t212,Z.next=944,t.default.awrap(this.getValue(P.last_issue));case 944:return this.lastIssue=Z.sent,Z.next=947,t.default.awrap(this.getValue(P.last_edition));case 947:return this.lastEdition=Z.sent,Z.next=950,t.default.awrap(this.getValue(P.demo_issue));case 950:return this.demoIssue=Z.sent,Z.next=953,t.default.awrap(this.getValue(P.force_article_mode_fullscreen_portrait));case 953:if(Z.t213=Z.sent,Z.t213){Z.next=956;break}Z.t213="0";case 956:return this.articleModeDefaultFullscreenPortrait=Z.t213,Z.next=959,t.default.awrap(this.getValue(P.force_article_mode_fullscreen_landscape));case 959:if(Z.t214=Z.sent,Z.t214){Z.next=962;break}Z.t214="0";case 962:return this.articleModeDefaultFullscreenLandscape=Z.t214,Z.t215=parseInt,Z.next=966,t.default.awrap(this.getValue(P.enable_text_to_speech));case 966:if(Z.t216=Z.sent,Z.t216){Z.next=969;break}Z.t216="1";case 969:return Z.t217=Z.t216,Z.t218=(0,Z.t215)(Z.t217,10),this.enableTextToSpeech=1===Z.t218,Z.t219=parseInt,Z.next=975,t.default.awrap(this.getValue(P.enable_text_to_speech_player));case 975:if(Z.t220=Z.sent,Z.t220){Z.next=978;break}Z.t220="0";case 978:return Z.t221=Z.t220,Z.t222=(0,Z.t219)(Z.t221,10),this.enableTextToSpeechPlayer=1===Z.t222,Z.t224=parseFloat,Z.next=984,t.default.awrap(this.getValue(P.text_to_speech_rate));case 984:if(Z.t225=Z.sent,Z.t223=(0,Z.t224)(Z.t225),Z.t223){Z.next=988;break}Z.t223=0;case 988:return this.textToSpeechRate=Z.t223,Z.t227=parseInt,Z.next=992,t.default.awrap(this.getValue(P.text_to_speech_chunk_length));case 992:if(Z.t228=Z.sent,Z.t226=(0,Z.t227)(Z.t228,10),Z.t226){Z.next=996;break}Z.t226=1e3;case 996:return this.textToSpeechChunkLength=Z.t226,Z.t230=parseInt,Z.next=1e3,t.default.awrap(this.getValue(P.low_speed_limit));case 1e3:if(Z.t231=Z.sent,Z.t229=(0,Z.t230)(Z.t231,10),Z.t229){Z.next=1004;break}Z.t229=250;case 1004:return this.lowSpeedLimit=Z.t229,Z.t232=parseInt,Z.next=1008,t.default.awrap(this.getValue(P.disable_low_speed_limit));case 1008:if(Z.t233=Z.sent,Z.t233){Z.next=1011;break}Z.t233="0";case 1011:return Z.t234=Z.t233,Z.t235=(0,Z.t232)(Z.t234,10),this.disableLowSpeedLimit=1===Z.t235,Z.next=1016,t.default.awrap(this.getValue(P.base_iap_api_url));case 1016:return this.baseInAppPurchaseAPIUrl=Z.sent,Z.next=1019,t.default.awrap(this.getValue(P.all_skus));case 1019:return this.allAndroidSkus=Z.sent,Z.t236=parseInt,Z.next=1023,t.default.awrap(this.getValue(P.is_nnb));case 1023:return Z.t237=Z.sent,Z.t238=(0,Z.t236)(Z.t237,10),this.isNNB=1===Z.t238,Z.t239=parseInt,Z.next=1029,t.default.awrap(this.getValue(P.enable_vmode_and_fit_orientation));case 1029:if(Z.t240=Z.sent,Z.t240){Z.next=1032;break}Z.t240="1";case 1032:return Z.t241=Z.t240,Z.t242=(0,Z.t239)(Z.t241,10),this.enableVmodeAndFitOrientation=1===Z.t242,Z.t243=parseInt,Z.next=1038,t.default.awrap(this.getValue(P.fit_page_type));case 1038:if(Z.t244=Z.sent,Z.t244){Z.next=1041;break}Z.t244=this.enableVmodeAndFitOrientation?"7":"6";case 1041:return Z.t245=Z.t244,this.fitPageType=(0,Z.t243)(Z.t245,10),Z.next=1045,t.default.awrap(this.getValue(P.start_in_index_mode));case 1045:if(Z.t246=Z.sent,Z.t246){Z.next=1048;break}Z.t246="0";case 1048:return this.startInIndexMode=Z.t246,Z.next=1051,t.default.awrap(this.getValue(P.epaper_start_mode));case 1051:if(Z.t247=Z.sent,Z.t247){Z.next=1054;break}Z.t247=w.READ;case 1054:return this.epaperStartMode=Z.t247,Z.next=1057,t.default.awrap(this.getValue(P.disable_epaper_mode_selection_page));case 1057:if(Z.t248=Z.sent,Z.t248){Z.next=1060;break}Z.t248="0";case 1060:return Z.t249=Z.t248,this.disableEPaperModeSelectionPage="1"===Z.t249,Z.next=1064,t.default.awrap(this.getValue(P.cdn_enabled));case 1064:if(Z.t250=Z.sent,Z.t250){Z.next=1067;break}Z.t250="1";case 1067:return Z.t251=Z.t250,this.cdnEnabled="1"===Z.t251,Z.next=1071,t.default.awrap(this.getValue(P.cdn_server));case 1071:return this.cdnServer=Z.sent,Z.t252=parseInt,Z.next=1075,t.default.awrap(this.getValue(P.cdn_version));case 1075:if(Z.t253=Z.sent,Z.t253){Z.next=1078;break}Z.t253="0";case 1078:return Z.t254=Z.t253,this.cdnVersion=(0,Z.t252)(Z.t254,10),Z.next=1082,t.default.awrap(this.getValue(P.disable_rn_demo));case 1082:if(Z.t255=Z.sent,Z.t255){Z.next=1085;break}Z.t255="0";case 1085:return Z.t256=Z.t255,this.disableRnDemo="1"===Z.t256,Z.next=1089,t.default.awrap(this.getValue(P.landing_page_url));case 1089:return this.landingPageURL=Z.sent,Z.t258=parseInt,Z.next=1093,t.default.awrap(this.getValue(P.landing_page_version));case 1093:if(Z.t259=Z.sent,Z.t257=(0,Z.t258)(Z.t259,10),Z.t257){Z.next=1097;break}Z.t257=0;case 1097:return this.landingPageVersion=Z.t257,Z.next=1100,t.default.awrap(this.getValue(P.show_landing_page_once));case 1100:return Z.t260=Z.sent,this.showLandingPageOnce="1"===Z.t260,Z.next=1104,t.default.awrap(this.getValue(P.forced_shared_secret));case 1104:return this.forcedSharedSecret=Z.sent,Z.next=1107,t.default.awrap(this.getValue(P.use_ios_sandbox_receipt_validation));case 1107:return Z.t261=Z.sent,this.useIOSSandboxReceiptValidation="1"===Z.t261,Z.t262=parseInt,Z.next=1112,t.default.awrap(this.getValue(P.use_cc));case 1112:if(Z.t263=Z.sent,Z.t263){Z.next=1115;break}Z.t263=E.NONE;case 1115:return Z.t264=Z.t263,this.encryptFilenames=(0,Z.t262)(Z.t264,10),Z.next=1119,t.default.awrap(this.getValue(P.migrate));case 1119:if(Z.t265=Z.sent,Z.t265){Z.next=1122;break}Z.t265="0";case 1122:return Z.t266=Z.t265,this.migrate="1"===Z.t266,Z.next=1126,t.default.awrap(this.getValue(P.hybrid_version));case 1126:if(Z.t267=Z.sent,Z.t267){Z.next=1129;break}Z.t267="0";case 1129:return this.hybridVersion=Z.t267,Z.t268=parseInt,Z.next=1133,t.default.awrap(this.getValue(P.append_first_pages));case 1133:if(Z.t269=Z.sent,Z.t269){Z.next=1136;break}Z.t269="1";case 1136:return Z.t270=Z.t269,Z.t271=(0,Z.t268)(Z.t270,10),this.enableAppendFirstPages=1===Z.t271,Z.t272=parseFloat,Z.next=1142,t.default.awrap(this.getValue(P.png_quality_factor));case 1142:if(Z.t273=Z.sent,Z.t273){Z.next=1145;break}Z.t273="1.8";case 1145:return Z.t274=Z.t273,this.pngQualityFactor=(0,Z.t272)(Z.t274),Z.next=1149,t.default.awrap(this.getValue(P.generate_png_based_on_screen_dimensions));case 1149:if(Z.t275=Z.sent,Z.t275){Z.next=1152;break}Z.t275="1";case 1152:return Z.t276=Z.t275,this.generatePNGBasedOnScreenDimensions="1"===Z.t276,Z.next=1156,t.default.awrap(this.getValue(P.consider_pixel_ratio_in_png_generation));case 1156:if(Z.t277=Z.sent,Z.t277){Z.next=1159;break}Z.t277="1";case 1159:return Z.t278=Z.t277,this.considerPixelRatioInPNGGeneration="1"===Z.t278,Z.t279=parseInt,Z.next=1164,t.default.awrap(this.getValue(P.png_width_limit));case 1164:if(Z.t280=Z.sent,Z.t280){Z.next=1167;break}Z.t280="1080";case 1167:return Z.t281=Z.t280,this.pngWidthLimit=(0,Z.t279)(Z.t281,10),Z.next=1171,t.default.awrap(this.getValue(P.print_enabled));case 1171:if(Z.t282=Z.sent,Z.t282){Z.next=1174;break}Z.t282="1";case 1174:return Z.t283=Z.t282,this.enablePrint="1"===Z.t283,Z.next=1178,t.default.awrap(this.getValue(P.print_to_letter));case 1178:if(Z.t284=Z.sent,Z.t284){Z.next=1181;break}Z.t284="1";case 1181:return Z.t285=Z.t284,this.printToLetter="1"===Z.t285,Z.t286=parseInt,Z.next=1186,t.default.awrap(this.getValue(P.print_margin));case 1186:if(Z.t287=Z.sent,Z.t287){Z.next=1189;break}Z.t287="10";case 1189:return Z.t288=Z.t287,this.printMargin=(0,Z.t286)(Z.t288,10),Z.next=1193,t.default.awrap(this.getValue(P.generic_app_enabled));case 1193:if(Z.t289=Z.sent,Z.t289){Z.next=1196;break}Z.t289="0";case 1196:return Z.t290=Z.t289,this.isGenericApp="1"===Z.t290,Z.next=1200,t.default.awrap(this.getValue(P.store_url));case 1200:if(Z.t291=Z.sent,Z.t291){Z.next=1203;break}Z.t291="";case 1203:return this.publicationsPageURL=Z.t291,Z.next=1206,t.default.awrap(this.getValue(P.iap_active));case 1206:if(Z.t292=Z.sent,Z.t292){Z.next=1209;break}Z.t292="0";case 1209:return Z.t293=Z.t292,this.iapActive="1"===Z.t293,Z.next=1213,t.default.awrap(this.getValue(P.payments));case 1213:if(Z.t294=Z.sent,Z.t294){Z.next=1216;break}Z.t294="[]";case 1216:return H=Z.t294,G=JSON.parse(H),this.payments=G.map(function(t){return new p.default(t)}),Z.next=1221,t.default.awrap(this.getValue(P.enable_multiple_subscriptions_alert));case 1221:if(Z.t295=Z.sent,Z.t295){Z.next=1224;break}Z.t295="1";case 1224:return Z.t296=Z.t295,this.enableMultipleSubscriptionsAlert="1"===Z.t296,Z.t297=parseInt,Z.next=1229,t.default.awrap(this.getValue(P.protect_site));case 1229:if(Z.t298=Z.sent,Z.t298){Z.next=1232;break}Z.t298="0";case 1232:return Z.t299=Z.t298,this.protectSite=(0,Z.t297)(Z.t299,10),Z.next=1236,t.default.awrap(this.getValue(P.pages_navigation_buttons_layout));case 1236:if(Z.t300=Z.sent,Z.t300){Z.next=1239;break}Z.t300=V.FIXED;case 1239:return this.pagesNavigationButtonsLayout=Z.t300,Z.next=1242,t.default.awrap(this.getValue(P.animate_layout_footer));case 1242:if(Z.t301=Z.sent,Z.t301){Z.next=1245;break}Z.t301="0";case 1245:return Z.t302=Z.t301,this.animateLayoutFooter="1"===Z.t302,Z.next=1249,t.default.awrap(this.getValue(P.fix_buttons_bar_to_bottom));case 1249:if(Z.t304=Z.sent,Z.t304){Z.next=1252;break}Z.t304="0";case 1252:if(Z.t305=Z.t304,Z.t303="1"===Z.t305,!Z.t303){Z.next=1256;break}Z.t303=r(d[11]).PlatformUtils.isTablet();case 1256:return this.fixButtonsBarToBottom=Z.t303,Z.t307=parseInt,Z.next=1260,t.default.awrap(this.getValue(P.dfp_reload_time));case 1260:if(Z.t308=Z.sent,Z.t306=(0,Z.t307)(Z.t308,10),Z.t306){Z.next=1264;break}Z.t306=2e4;case 1264:return this.dfpReloadTime=Z.t306,Z.next=1267,t.default.awrap(this.getValue(P.two_fingers_tap_hint_enabled));case 1267:if(Z.t309=Z.sent,Z.t309){Z.next=1270;break}Z.t309="1";case 1270:return Z.t310=Z.t309,this.twoFingersTapHintEnabled="1"===Z.t310,Z.t311=parseInt,Z.next=1275,t.default.awrap(this.getValue(P.two_fingers_tap_max_hints));case 1275:if(Z.t312=Z.sent,Z.t312){Z.next=1278;break}Z.t312="5";case 1278:return Z.t313=Z.t312,this.twoFingersTapMaxHints=(0,Z.t311)(Z.t313,10),Z.next=1282,t.default.awrap(this.getValue(P.enable_share));case 1282:if(Z.t314=Z.sent,Z.t314){Z.next=1285;break}Z.t314="1";case 1285:return Z.t315=Z.t314,this.enableShare="1"===Z.t315,Z.t316=parseInt,Z.next=1290,t.default.awrap(this.getValue(P.max_shares));case 1290:if(Z.t317=Z.sent,Z.t317){Z.next=1293;break}Z.t317="0";case 1293:return Z.t318=Z.t317,this.maxShares=(0,Z.t316)(Z.t318,10),Z.t319=parseInt,Z.next=1298,t.default.awrap(this.getValue(P.max_shares_check_type));case 1298:if(Z.t320=Z.sent,Z.t320){Z.next=1301;break}Z.t320="1";case 1301:return Z.t321=Z.t320,this.maxSharesCheckType=(0,Z.t319)(Z.t321,10),Z.next=1305,t.default.awrap(this.getValue(P.message_max_share));case 1305:if(Z.t322=Z.sent,Z.t322){Z.next=1308;break}Z.t322="";case 1308:return this.messageMaxShare=Z.t322,Z.next=1311,t.default.awrap(this.getValue(P.download_single_pdf));case 1311:if(Z.t323=Z.sent,Z.t323){Z.next=1314;break}Z.t323="0";case 1314:return Z.t324=Z.t323,this.downloadSinglePdf="1"===Z.t324,Z.t325=parseInt,Z.next=1319,t.default.awrap(this.getValue(P.merge_articles));case 1319:if(Z.t326=Z.sent,Z.t326){Z.next=1322;break}Z.t326=b.NORMAL;case 1322:return Z.t327=Z.t326,this.mergeArticles=(0,Z.t325)(Z.t327,10),Z.t328=parseInt,Z.next=1327,t.default.awrap(this.getValue(P.column_view));case 1327:if(Z.t329=Z.sent,Z.t329){Z.next=1330;break}Z.t329="1";case 1330:return Z.t330=Z.t329,this.columnView=(0,Z.t328)(Z.t330,10),Z.next=1334,t.default.awrap(this.getValue(P.enable_phone_article_layout_on_tablet_in_landscape));case 1334:if(Z.t331=Z.sent,Z.t331){Z.next=1337;break}Z.t331="0";case 1337:return Z.t332=Z.t331,this.enablePhoneArticleLayoutOnTabletInLandscape="1"===Z.t332,Z.next=1341,t.default.awrap(this.getValue(P.enable_desktop_article_layout_on_ipad_pro_in_landscape));case 1341:if(Z.t333=Z.sent,Z.t333){Z.next=1344;break}Z.t333="0";case 1344:return Z.t334=Z.t333,this.enableDesktopArticleLayoutOnIPadProInLandscape="1"===Z.t334,Z.next=1348,t.default.awrap(this.getValue(P.show_art_complete));case 1348:if(Z.t335=Z.sent,Z.t335){Z.next=1351;break}Z.t335="0";case 1351:return Z.t336=Z.t335,this.showArtComplete="1"===Z.t336,Z.next=1355,t.default.awrap(this.getValue(P.calculate_mid_ads));case 1355:if(Z.t337=Z.sent,Z.t337){Z.next=1358;break}Z.t337="0";case 1358:return Z.t338=Z.t337,this.calculateMidAds="1"===Z.t338,Z.next=1362,t.default.awrap(this.getValue(P.keep_article_position_on_rotation));case 1362:if(Z.t339=Z.sent,Z.t339){Z.next=1365;break}Z.t339="0";case 1365:return Z.t340=Z.t339,this.keepArticlePositionOnRotation="1"===Z.t340,Z.next=1369,t.default.awrap(this.getValue(P.enable_article_image_reposition));case 1369:if(Z.t341=Z.sent,Z.t341){Z.next=1372;break}Z.t341="0";case 1372:return Z.t342=Z.t341,this.enableArticleImageReposition="1"===Z.t342,Z.next=1376,t.default.awrap(this.getValue(P.enable_article_byline_hrs));case 1376:if(Z.t343=Z.sent,Z.t343){Z.next=1379;break}Z.t343="1";case 1379:return Z.t344=Z.t343,this.enableArticleBylineHRs="1"===Z.t344,Z.next=1383,t.default.awrap(this.getValue(P.ads));case 1383:if(Z.t345=Z.sent,Z.t345){Z.next=1386;break}Z.t345="";case 1386:return this.ads=Z.t345,Z.next=1389,t.default.awrap(this.getValue(P.enable_instory_ad_marker));case 1389:if(Z.t346=Z.sent,Z.t346){Z.next=1392;break}Z.t346="0";case 1392:return Z.t347=Z.t346,this.enableInStoryAdMarker="1"===Z.t347,Z.next=1396,t.default.awrap(this.getValue(P.instory_ad_marker_text));case 1396:if(Z.t348=Z.sent,Z.t348){Z.next=1399;break}Z.t348=g.strings("str_advertisement");case 1399:return this.inStoryAdMarkerText=Z.t348,Z.next=1402,t.default.awrap(this.getValue(P.disable_rn_styles));case 1402:if(Z.t349=Z.sent,Z.t349){Z.next=1405;break}Z.t349="0";case 1405:return Z.t350=Z.t349,this.disableRnStyles="1"===Z.t350,this.rnStyles={},Z.next=1410,t.default.awrap(this.getValue(P.rn_styles));case 1410:if(Y=Z.sent)try{this.rnStyles=JSON.parse(Y)}catch(t){}return Z.t351=parseInt,Z.next=1415,t.default.awrap(this.getValue(P.rn_styles_file_time));case 1415:if(Z.t352=Z.sent,Z.t352){Z.next=1418;break}Z.t352=-1;case 1418:return Z.t353=Z.t352,this.rnStylesFileTime=(0,Z.t351)(Z.t353,10),Z.t354=parseInt,Z.next=1423,t.default.awrap(this.getValue(P.ssl_certificate_file_time));case 1423:if(Z.t355=Z.sent,Z.t355){Z.next=1426;break}Z.t355=-1;case 1426:return Z.t356=Z.t355,this.sslCertificateFileTime=(0,Z.t354)(Z.t356,10),Z.t357=parseInt,Z.next=1431,t.default.awrap(this.getValue(P.device_dpi));case 1431:if(Z.t358=Z.sent,Z.t358){Z.next=1434;break}Z.t358=0;case 1434:return Z.t359=Z.t358,this.deviceDpi=(0,Z.t357)(Z.t359,10),Z.next=1438,t.default.awrap(this.getValue(P.toc_style));case 1438:if(Z.t360=Z.sent,Z.t360){Z.next=1441;break}Z.t360="list";case 1441:return this.tocStyle=Z.t360,Z.next=1444,t.default.awrap(this.getValue(P.toc_style_preview));case 1444:if(Z.t361=Z.sent,Z.t361){Z.next=1447;break}Z.t361="all_art";case 1447:return this.tocStylePreview=Z.t361,Z.next=1450,t.default.awrap(this.getValue(P.enable_tab_index_mode));case 1450:if(Z.t362=Z.sent,Z.t362){Z.next=1453;break}Z.t362="0";case 1453:return Z.t363=Z.t362,this.enableTabIndexMode="1"===Z.t363,Z.next=1457,t.default.awrap(this.getValue(P.show_tab_index_mode_customization));case 1457:if(Z.t364=Z.sent,Z.t364){Z.next=1460;break}Z.t364=this.enableTabIndexMode?"1":"0";case 1460:return Z.t365=Z.t364,this.showTabIndexModeCustomization="1"===Z.t365,Z.next=1464,t.default.awrap(this.getValue(P.bundle_update_available));case 1464:if(Z.t366=Z.sent,Z.t366){Z.next=1467;break}Z.t366="0";case 1467:return Z.t367=Z.t366,this.bundleUpdateAvailable="1"===Z.t367,Z.next=1471,t.default.awrap(this.getValue(P.reset_app_bundle));case 1471:if(Z.t368=Z.sent,Z.t368){Z.next=1474;break}Z.t368="0";case 1474:return Z.t369=Z.t368,this.resetAppBundle="1"===Z.t369,Z.t370=parseInt,Z.next=1479,t.default.awrap(this.getValue(P.see_newspaper_preview));case 1479:if(Z.t371=Z.sent,Z.t371){Z.next=1482;break}Z.t371="0";case 1482:return Z.t372=Z.t371,this.seeNewspaperPreview=(0,Z.t370)(Z.t372,10),Z.t374=parseInt,Z.next=1487,t.default.awrap(this.getValue(P.page_see_newspaper_preview));case 1487:if(Z.t375=Z.sent,Z.t373=(0,Z.t374)(Z.t375,10),Z.t373){Z.next=1491;break}Z.t373=2;case 1491:return this.pageSeeNewspaperPreview=Z.t373,Z.t377=parseInt,Z.next=1495,t.default.awrap(this.getValue(P.hours_to_send_push_registration));case 1495:if(Z.t378=Z.sent,Z.t376=(0,Z.t377)(Z.t378,10),Z.t376){Z.next=1499;break}Z.t376=6;case 1499:return this.hoursToSendPushRegistration=Z.t376,Z.next=1502,t.default.awrap(this.getValue(P.webview_ios_native_player));case 1502:if(Z.t379=Z.sent,Z.t379){Z.next=1505;break}Z.t379="0";case 1505:return Z.t380=Z.t379,this.webviewIOSNativePlayer="1"===Z.t380,Z.next=1509,t.default.awrap(this.getValue(P.webview_android_allow_fullscreen));case 1509:if(Z.t381=Z.sent,Z.t381){Z.next=1512;break}Z.t381="1";case 1512:return Z.t382=Z.t381,this.webviewAndroidAllowFullscreen="1"===Z.t382,Z.next=1516,t.default.awrap(this.getValue(P.webview_allow_autoplay));case 1516:if(Z.t383=Z.sent,Z.t383){Z.next=1519;break}Z.t383="0";case 1519:return Z.t384=Z.t383,this.webviewAllowAutoplay="1"===Z.t384,this.webviewCustomHTTPHeaders={},Z.next=1524,t.default.awrap(this.getValue(P.webview_custom_http_headers));case 1524:return($=Z.sent)&&(this.webviewCustomHTTPHeaders=r(d[11]).StringUtils.parseQuerystring($)),this.attConfig=new(r(d[22]).ATTConfig)(this.pSetup,this.originalMachine),Z.next=1529,t.default.awrap(this.attConfig.init(e));case 1529:return Z.next=1531,t.default.awrap(this.getValue(P.iubenda.enabled));case 1531:if(Z.t385=Z.sent,Z.t385){Z.next=1534;break}Z.t385="0";case 1534:if(Z.t386=Z.t385,this.iubendaEnabled="1"===Z.t386,!this.iubendaEnabled){Z.next=1540;break}return this.iubendaConfig=new(r(d[23]).IubendaConfig)(this.pSetup,this.originalMachine),Z.next=1540,t.default.awrap(this.iubendaConfig.init(e));case 1540:return Z.next=1542,t.default.awrap(this.getValue(P.osano.enabled));case 1542:if(Z.t387=Z.sent,Z.t387){Z.next=1545;break}Z.t387="0";case 1545:if(Z.t388=Z.t387,this.osanoEnabled="1"===Z.t388,!this.osanoEnabled){Z.next=1551;break}return this.osanoConfig=new(r(d[24]).OsanoConfig)(this.pSetup,this.originalMachine),Z.next=1551,t.default.awrap(this.osanoConfig.init(e));case 1551:return Z.next=1553,t.default.awrap(this.getValue(P.show_extras_in_article_graphic_mode));case 1553:if(Z.t389=Z.sent,Z.t389){Z.next=1556;break}Z.t389="0";case 1556:return Z.t390=Z.t389,this.showExtrasInArticleGraphicMode="1"===Z.t390,Z.next=1560,t.default.awrap(this.getValue(P.show_extras_to_logged_users_only));case 1560:if(Z.t391=Z.sent,Z.t391){Z.next=1563;break}Z.t391="0";case 1563:return Z.t392=Z.t391,this.showExtrasToLoggedUsersOnly="1"===Z.t392,Z.next=1567,t.default.awrap(this.getValue(P.morse_tauid));case 1567:if(Z.t393=Z.sent,Z.t393){Z.next=1570;break}Z.t393="0";case 1570:return Z.t394=Z.t393,this.morseTAUID="1"===Z.t394,Z.next=1574,t.default.awrap(this.getValue(P.add_watermark));case 1574:if(Z.t395=Z.sent,Z.t395){Z.next=1577;break}Z.t395="0";case 1577:return Z.t396=Z.t395,this.addWatermark="1"===Z.t396,Z.next=1581,t.default.awrap(this.getValue(P.watermark_text));case 1581:if(Z.t397=Z.sent,Z.t397){Z.next=1584;break}Z.t397="$extId";case 1584:return this.watermarkText=Z.t397,Z.next=1587,t.default.awrap(this.getValue(P.disable_screen_idle_timer_delay));case 1587:if(Z.t398=Z.sent,Z.t398){Z.next=1590;break}Z.t398="0";case 1590:return Z.t399=Z.t398,this.disableScreenIdleTimerDelay="1"===Z.t399,Z.next=1594,t.default.awrap(this.getValue(P.startup_params));case 1594:if(Z.t400=Z.sent,Z.t400){Z.next=1597;break}Z.t400="{}";case 1597:W=Z.t400;try{this.startupParams=JSON.parse(W)}catch(t){this.startupParams={}}return Z.next=1601,t.default.awrap(this.getValue(P.enable_session_collection));case 1601:if(Z.t401=Z.sent,Z.t401){Z.next=1604;break}Z.t401="0";case 1604:return Z.t402=Z.t401,this.enableSessionCollection="1"===Z.t402,Z.next=1608,t.default.awrap(this.getValue(P.enable_session_auto_upload));case 1608:if(Z.t403=Z.sent,Z.t403){Z.next=1611;break}Z.t403="0";case 1611:return Z.t404=Z.t403,this.enableSessionAutoUpload="1"===Z.t404,Z.next=1615,t.default.awrap(this.getValue(P.session_upload_base_url));case 1615:if(Z.t405=Z.sent,Z.t405){Z.next=1618;break}Z.t405="";case 1618:if(this.sessionUploadBaseURL=Z.t405,this.disableReaderAppModal=!0,this.readerAppLearnMoreLink="",!r(d[11]).PlatformUtils.isIOS()){Z.next=1635;break}return Z.next=1624,t.default.awrap(this.getValue(P.disable_reader_app_modal));case 1624:if(Z.t406=Z.sent,Z.t406){Z.next=1627;break}Z.t406="0";case 1627:return Z.t407=Z.t406,this.disableReaderAppModal="1"===Z.t407,Z.next=1631,t.default.awrap(this.getValue(P.reader_app_learn_more_link));case 1631:if(Z.t408=Z.sent,Z.t408){Z.next=1634;break}Z.t408="https://apps.apple.com/story/id1614232807";case 1634:this.readerAppLearnMoreLink=Z.t408;case 1635:return Z.next=1637,t.default.awrap(this.getValue(P.checksum));case 1637:if(Z.t409=Z.sent,Z.t409){Z.next=1640;break}Z.t409="";case 1640:return this.checksum=Z.t409,Z.next=1643,t.default.awrap(this.getValue(P.push_tags));case 1643:if(Z.t410=Z.sent,Z.t410){Z.next=1646;break}Z.t410="";case 1646:return this.pushTags=Z.t410,Z.next=1649,t.default.awrap(this.getValue(P.ssl_domains));case 1649:if(Z.t411=Z.sent,Z.t411){Z.next=1652;break}Z.t411="";case 1652:return this.sslDomains=Z.t411.split(","),Z.next=1655,t.default.awrap(this.getValue(P.use_asymmetric_card_list));case 1655:if(Z.t412=Z.sent,Z.t412){Z.next=1658;break}Z.t412="1";case 1658:return Z.t413=Z.t412,this.useAsymmetricCardList="1"===Z.t413,Z.next=1662,t.default.awrap(this.getValue(P.prevent_screenshots));case 1662:if(Z.t414=Z.sent,Z.t414){Z.next=1665;break}Z.t414="0";case 1665:return Z.t415=Z.t414,this.preventScreenshots="1"===Z.t415,Z.abrupt("return",!0);case 1668:case"end":return Z.stop()}},null,this,null,Promise)}},{key:"setLastIssue",value:function(t){this.lastIssue=t,this.setValue(P.last_issue,t)}},{key:"setLastEdition",value:function(t){this.lastEdition=t,this.setValue(P.last_edition,t)}},{key:"setLastPSetup",value:function(t){this.lastPSetup=t,this.setValue(P.last_pSetup,t)}},{key:"setDemoIssue",value:function(t){this.demoIssue=t,this.setValue(P.demo_issue,t)}},{key:"setRssIndexFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rssIndexFileTime=t,this.setValue(P.rss_index_file_time,""+t)}},{key:"setCustomLanguagePackFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customLanguagePackFileTime=t,this.setValue(P.custom_language_pack_file_time,""+t)}},{key:"setCustomFontsFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customFontsFileTime=t,this.setValue(P.custom_fonts_file_time,""+t)}},{key:"setRNStyles",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rnStyles=t,this.setValue(P.rn_styles,JSON.stringify(t))}},{key:"setRNStylesFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rnStylesFileTime=t,this.setValue(P.rn_styles_file_time,""+t)}},{key:"setSSLCertificateFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.sslCertificateFileTime=t,this.setValue(P.ssl_certificate_file_time,""+t)}},{key:"setModeEnabled",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.rssIsEnabled="1"===t||"3"===t,this.newsMemoryIsEnabled="0"===t||"2"===t||"3"===t,e||this.setValue(P.mode_enabled,t)}},{key:"checkIfRssIsEnabled",value:function(){var e;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t.default.awrap(this.getValue(P.mode_enabled));case 2:return e=s.sent,s.abrupt("return","1"===e||"3"===e);case 4:case"end":return s.stop()}},null,this,null,Promise)}},{key:"getPaymentByProductId",value:function(t){if(this.payments)return this.payments.find(function(e){return e.checkProductId(t)})}},{key:"setExternal",value:function(t){this.external=t}},{key:"setAllowedIP",value:function(t){this.isAllowedIP=t,this.setValue(P.is_allowed_ip,t?"1":"0")}},{key:"setCDNEnabled",value:function(t){this.cdnEnabled=t,this.setValue(P.cdn_enabled,t?"1":"0")}},{key:"setCDNServer",value:function(t){this.cdnServer=t,this.setValue(P.cdn_server,t)}},{key:"setCDNVersion",value:function(t){this.cdnVersion=parseInt(t,10),this.setValue(P.cdn_version,t)}},{key:"setBundleUpdateAvailable",value:function(t){this.bundleUpdateAvailable=t,this.setValue(P.bundle_update_available,t?"1":"0")}},{key:"setMigrate",value:function(t){this.migrate=t,this.setValue(P.migrate,t?"1":"0")}},{key:"setNativeOptionspageFallbackVersion",value:function(t){this.showNativeOptionsPageFallbackUrl=t,this.setValue(P.show_native_options_page_fallback_url,t)}},{key:"_getDifferences",value:function(t){var e=this,s=[];if(t)try{(s=Object.keys(this).filter(function(s){if("function"==typeof e[s])return!1;if("object"==typeof e[s]){var n={};return e[s]instanceof r(d[25]).PaperSetupBaseConfig&&(n.skipKeys=["json"]),!r(d[11]).JSUtils.areEqualDeep(e[s],t[s],n)}return e[s]!==t[s]})).length}catch(t){}return s}},{key:"_checkIfNeedToRestart",value:function(t){return void 0!==t.find(function(t){return I.includes(t)})}},{key:"_checkIfNeedToUpdate",value:function(t){return void 0!==t.find(function(t){return!N.includes(t)})}},{key:"_checkIfNeedLayoutUpdate",value:function(t){return void 0!==t.find(function(t){return v.includes(t)})}},{key:"_getLockPanIfNotZoomedByDegrees",value:function(){return t.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=JSON,e.next=4,t.default.awrap(this.getValue(P.lock_pan_if_not_zoomed_by_degrees));case 4:return e.t1=e.sent,e.abrupt("return",e.t0.parse.call(e.t0,e.t1));case 8:e.prev=8,e.t2=e.catch(0);case 10:return e.abrupt("return",[0,90]);case 11:case"end":return e.stop()}},null,this,[[0,8]],Promise)}}]),R})(r(d[25]).PaperSetupBaseConfig);_e.PaperSetupConfig=L},754,[5,80,7,8,90,12,14,16,755,756,757,462,758,760,761,763,764,765,766,767,768,769,1725,1726,1727,762]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),s=(function(){function s(){(0,o.default)(this,s)}return(0,n.default)(s,null,[{key:"setItem",value:function(o,n,s){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.setItem(o,n,s));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getItem",value:function(o,n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(o,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),s})();e.default=s,s.SP={keys:{app_mode_selection_page_enabled:"enableAppModeSelectionPage",app_mode_selection_page_url:"appModeSelectionPageUrl",app_mode_selection_page_version:"appModeSelectionPageVersion",base_rss_update_url:"baseRssUpdateUrl",change_user_agent_for_oauth:"changeUserAgentForOAuth",custom_string_to_append_to_user_agent_for_oauth:"customStringToAppendToUserAgentForOAuth",custom_user_agent_for_oauth:"customUserAgentForOAuth",adobe_analytics:{enabled:"enableAdobeAnalytics",props_list:"adobeAnalyticsPropsList",actions:{edition_load:"adobeAnalyticsEditionLoadActionName",double_tap_to_zoom:"adobeAnalyticsDoubleTapActionName",pinch_to_zoom:"adobeAnalyticsPinchOutActionName",tts:"adobeAnalyticsTextToSpeechActionName",skip_to_end:"adobeAnalyticsSkipToEndActionName",toggle_to_print:"adobeAnalyticsToggleToPrintActionName",toggle_to_digital:"adobeAnalyticsToggleToDigitalActionName",share:"adobeAnalyticsShareActionName",scroll_zoom:"adobeAnalyticsScrollZoomActionName",link_click:"adobeAnalyticsLinkClickActionName"},states:{scrolled:"adobeAnalyticsScrolledStateName",read:"adobeAnalyticsReadStateName",zoomed:"adobeAnalyticsZoomedStateName",index:"adobeAnalyticsIndexStateName",optionspage:"adobeAnalyticsOptionspageStateName"},send_only_edition_load:"adobeAnalyticsSendOnlyEditionLoad",user_types:{unknown:"adobeAnalyticsUserTypeUnknown",subscriber:"adobeAnalyticsUserTypeSubscriber"},media:{print:"adobeAnalyticsPrintMedium",digital:"adobeAnalyticsDigitalMedium",zoomed_suffix:"adobeAnalyticsZoomedMediumSuffix"},first_page_section_prefix:"adobeAnalyticsFirstPageSectionPrefix",content_types:{first_page:"adobeAnalyticsFirstPageContentType",page:"adobeAnalyticsPageContentType",index:"adobeAnalyticsIndexContentType",article:"adobeAnalyticsArticleContentType",optionspage:"adobeAnalyticsOptionspageContentType"},edition_type:"adobeAnalyticsEditionType",device_type:"adobeAnalyticsDeviceType"},blueconic:{enabled:"blueConicEnabled",user_profile_properties:"blueConicUserProfileProperties",view_profile_properties:"blueConicViewProfileProperties"},chartbeat:{account_id:"chartbeatAccountId",domain:"chartbeatDomain",rss_enabled:"chartbeatRssEnabled",epaper_enabled:"chartbeatEpaperEnabled",section_rss_properties:"chartbeatSectionRssProperties",section_epaper_properties:"chartbeatSectionEpaperProperties",author_rss_properties:"chartbeatAuthorRssProperties",author_epaper_properties:"chartbeatAuthorEpaperProperties",rss_title_keys:"chartbeatRssTitleKeys",epaper_title_keys:"chartbeatEpaperTitleKeys",rss_screen_key:"chartbeatRssScreenKey",epaper_screen_key:"chartbeatEpaperScreenKey",rss_custom_data:"chartbeatRssCustomData",epaper_custom_data:"chartbeatEpaperCustomData"},comscore:{app_name:"comScoreAppName",base_url:"comScoreBaseUrl",id:"comScoreID",publisher_secret:"comScorePublisherSecret"},copyright:"copyright",add_disclaimer:"addDisclaimer",copyright_url:"copyrighturl",custom_language_pack_file_time:"customLanguagePackFileTimestamp",custom_fonts_file_time:"customFontsFileTimestamp",default_connectivity:"defaultConnectivity",default_connectivity_timestamp:"defaultConnectivityTimeStamp",default_max_issues:"DEFAULT_MAX_ISSUES",feedback:{active_days_to_show:"feedbackActiveDaysToShow",ask:"feedbackAskForFeedback",email:"feedbackEmailForFeedback",reset_timestamp:"feedbackResetTimestamp",enable:"feedbackEnable",lower_active_date_range:"feedbackLowerActiveDateRange",request_title:"feedbackRequestFeedbackTitle",request_review_title:"feedbackRequestReviewFeedbackTitle",show_dont_show_again:"feedbackShowDontShowAgain",total_days_to_show:"feedbackTotalDaysToShow",upper_active_date_range:"feedbackUpperActiveDateRange",cool_down_days:"feedbackCoolDownDays",cool_down_days_dont_show_again:"feedbackCoolDownDaysDontShowAgain"},file_time:"pSetupTime",disable_firebase_analytics:"disableFirebaseAnalytics",other_firebase_projects:"otherFirebaseProjects",disable_google_analytics_3:"disableGoogleAnalytics3",g_analytics_anonymize_ip:"googleAnalyticsAnonymizeIP",g_analytics:"googleAnalyticsAccount",g_analytics_feedback:"googleAnalyticsAccountFeedback",g_analytics_tecnavia:"googleAnalyticsAccountTecnavia",gallery_download_enabled:"galleryDownloadEnabled",gallery_thumbnail_disabled:"galleryThumbnailDisabled",open_http_link_on_external_browser:"openHttpLinkOnExternalBrowser",url_type:"urltype",showLinksHighlight:"useAutoGeneratedLinks",is_lite:"newsmemoryLite",language:"language",layout_style:"layoutStyle",layout_sub_style:"layoutSubStyle",mather_analytics:{enabled:"matherAnalyticsEnable",customer_id:"matherCustomerId",site_id:"matherSiteId",send_email:"matherSendEmail"},matomo:{enabled:"matomoEnable",site_id:"matomoSiteId",rss_site_id:"matomoRssSiteId",base_url:"matomoBaseURL",visit_custom_dimensions:"matomoVisitCustomDimensions",custom_dimensions:"matomoCustomDimensions",dispatch_interval:"matomoDispatchInterval"},matomo_tracker:{enabled:"matomoTrackerEnable",site_id:"matomoTrackerSiteId",rss_site_id:"matomoTrackerRssSiteId",base_url:"matomoTrackerBaseURL",action_base_url:"matomoTrackerActionBaseURL",edition_remapping:"matomoTrackerEditionRemapping",titles:{scrolled:"matomoTrackerScrolledTitle",read:"matomoTrackerReadTitle",rss_drawer:"matomoTrackerRssDrawerTitle",rss_read:"matomoTrackerRssReadTitle"},custom_urls:{scrolled:"matomoTrackerScrolledURL",read:"matomoTrackerReadURL",rss_drawer:"matomoTrackerRssDrawerURL",rss_read:"matomoTrackerRssReadURL"},custom_dimensions:{scrolled:"matomoTrackerScrolledCustomDimensions",read:"matomoTrackerReadCustomDimensions",rss_drawer:"matomoTrackerRssDrawerCustomDimensions",rss_read:"matomoTrackerRssReadCustomDimensions"}},mode_enabled:"rssIsEnable",option_page_coordinates:"optionpageCoordinates",option_page_modal:"loginInModalMode",option_page_mode:"optionPage",option_page_url:"optionPageUrl",load_editions_url:"loadEditionsUrl",paper_name:"paperName",powered_by:"poweredBy",powered_by_url:"poweredByurl",relabel_ebook_button:"ebook_button",relabel_feed_button:"feed_button",relabel_fit_page_button:"fitPageImg_button",relabel_gbook_button:"gbook_button",relabel_help_button:"help_button",relabel_offline_button:"OfflineActionLabel",relabel_option_button:"option_button",relabel_phodir_button:"phodir_button",relabel_search_button:"search_button",relabel_setting_button:"setting_button",relabel_special_sections_button:"specialSections_button",remp_account:"rempAccount",rss_index_file_time:"rssConfigFileTimestamp",site_domain:"siteDomain",special_before_index_tablet:"specialBeforeIndexTablet",special_before_index_phone:"specialBeforeIndexPhone",special_before_index:"specialBeforeIndex",startup_mode:"disableRssAtStartup",startup_mode_timestamp:"disableRssAtStartupTimestamp",udb:"udbDatabase",newsmemory_to_use:"newsmemoryToUse",newsmemory_to_use_timestamp:"newsmemoryToUseTimeStamp",paper:"paper",xpaper:"xpaper",date_format:"DATE_FORMAT",show_week:"SHOW_WEEK",init_x_paper_not_in_view:"initpageXpaperNotView",external_xpapers:"externalXPapers",download_multi_zips:"downloadMultiZips",translation_available:"translationAvailable",translation_server:"translationServer",use_native_accessibility:"useNativeAccessibility",use_car_mode:"useCarMode",show_native_options_page_fallback_url:"showNativeOptionsPageFallbackUrl",show_native_options_page:"showNativeOptionsPage",show_native_settings_screen:"showNativeSettingsScreen",enable_translation_customization:"enableTranslationCustomization",show_themes_customization:"showThemesCustomization",enable_zoom_level_customization:"enableZoomLevelCustomization",enable_article_types_customization:"enableArticleTypesCustomization",show_article_column_view_customization:"showArticleColumnViewCustomization",show_navigation_buttons_layout_customization:"showNavigationButtonsLayoutCustomization",show_xpaper_navigation_close_button:"showXPaperNavigationCloseButton",show_highlight_behavior_customization:"showHighlightBehaviorCustomization",show_open_article_extra_on_title_box:"showOpenArticleExtraOnTitleBox",show_tab_index_mode_customization:"showTabIndexModeCustomization",change_favorite_edition:"changeFavoriteEdition",favorite_edition:"favoriteEdition",enable_connectivity_options:"enableConnectivityOptions",enable_font_size_customization:"enableFontSizeCustomization",enable_graph_size_customization:"enableGraphSizeCustomization",show_types_article:"showTypesArticle",enable_article_extra:"enableArticleExtra",max_zips_to_download_per_request:"maxZipsToDownloadEachRequest",css_files_to_add:"cssFilesToAdd",email_content:"emailContent",email_subject:"emailSubject",facebook_enabled:"ipadFacebook",twitter_text:"twitterText",update_db_percentage:"updateDBPerc",enable_advanced_gestures_mode:"enableAdvancedGesturesMode",single_tap_to_zoom:"singleTapToZoom",two_fingers_tap_to_article:"twoFingersTapToArticle",lock_horizontal_pan_if_not_zoomed:"lockHorizontalPanIfNotZoomed",lock_pan_if_not_zoomed_by_degrees:"lockPanIfNotZoomedByDegrees",machine_for_hr:"machineForHR",fit_graphic_article:"fitGraphicArticle",machine:"machine",sub_path:"subPath",extra_link_color:"extraLinkColor",background_duration_article_selected:"backgroundDurationArticleSelected",background_timer_article_selected:"backgroundTimerArticleSelected",background_color_article:{selected:"backgroundColorArticleSelected",to_select:"backgroundColorArticleToSelect"},preview_highlight_enabled:"highlightClickableUrlEnabled",preview_highlight_duration_seconds:"showHighlightingBoxesForSeconds",zooming_factor:"zoomingFactor",max_zoom:"maxZoom",ta_google_analytics_event:"TAGoogleAnalyticsEvent",google_analytics_custom_dimensions:"googleAnalyticsCustomDimensions",firebase_analytics_custom_dimensions:"firebaseAnalyticsCustomDimensions",firebase_analytics_send_external_id:"firebaseAnalyticsSendExternalId",enable_article_text_selection:"enableArticleTextSelection",enable_article_byline_hrs:"enableArticleBylineHrs",on_login_error_go_to:"onLoginErrorGoTo",on_validation_error_go_to:"onValidationErrorGoTo",time_limit_check_edition:"timeLimitForRestart",time_limit_check_login:"timeLimitToCheckLoginOnRestart",time_limit_forget_login:"timeLimitNotRememberLoginOnRestart",last_pSetup:"lastPSetup",last_issue:"lastIssue",last_edition:"lastEdition",latest_edition_available_message_format:"latestEditionAvailableMessageFormat",demo_issue:"demoIssue",show_edition_thumbs:"showEditionThumbs",scroll_tiles_phone:"scrollTilesPhone",scroll_tiles:"scrollTiles",force_article_mode_fullscreen_portrait:"forceArticleModeFullscreenPortrait",force_article_mode_fullscreen_landscape:"forceArticleModeFullscreenLandscape",enable_text_to_speech:"enableTextToSpeech",enable_text_to_speech_player:"enableTextToSpeechPlayer",text_to_speech_rate:"textToSpeechRate",text_to_speech_chunk_length:"textToSpeechChunkLength",low_speed_limit:"lowSpeedLimit",disable_low_speed_limit:"disableLowSpeedLimit",base_iap_api_url:"baseInAppPurchaseAPIUrl",all_skus:"allSkus",is_nnb:"isNNB",enable_vmode_and_fit_orientation:"enableVmodeAndFitOrientation",fit_page_type:"xc_fitPage",start_in_index_mode:"startInIndexMode",epaper_start_mode:"epaperStartMode",disable_epaper_mode_selection_page:"disableEPaperModeSelectionPage",cdn_enabled:"cdnEnabled",cdn_server:"cdnServer",cdn_version:"cdnVersion",disable_rn_demo:"disableRnDemo",pdf_thumbnail_ratio:"pdfThumbnailRatio",eink_complete_hr_factor:"einkCompleteHrFactor",hr_factor:"hrFactor",pdf_factor:"pdfFactor",pdf_factor_landscape:"pdfFactorLandscape",force_pdf_in_roaming_mode:"forcePdfInRoamingMode",low_pages_to_render:"lowPagesToRender",mid_pages_to_render:"midPagesToRender",load_mid_res_on_scroll:"loadMidResOnScroll",show_landing_page_once:"showLandingPageOnce",landing_page_version:"landingPageVersion",landing_page_url:"landingPageURL",forced_shared_secret:"sharedSecret",use_ios_sandbox_receipt_validation:"useIOSSandboxReceiptValidation",use_cc:"useCC",migrate:"migrate",hybrid_version:"hybridVersion",append_first_pages:"appendFirstPages",png_quality_factor:"pngQualityFactor",generate_png_based_on_screen_dimensions:"generatePNGBasedOnScreenDimensions",consider_pixel_ratio_in_png_generation:"considerPixelRatioInPNGGeneration",png_width_limit:"pngWidthLimit",print_enabled:"ipadPrint",print_to_letter:"printToLetter",print_margin:"printMargin",generic_app_enabled:"storeIsEnable",store_url:"customStoreUrl",iap_active:"iapActive",payments:"payments",enable_multiple_subscriptions_alert:"enableMultipleSubscriptionsAlert",protect_site:"protectSite",two_fingers_tap_hint_enabled:"twoFingersTapHintEnabled",two_fingers_tap_max_hints:"twoFingersTapMaxHints",download_single_pdf:"downloadSinglePdf",enable_share:"enableShare",max_shares:"maxShares",max_shares_check_type:"maxSharesCheckType",message_max_share:"messageMaxShare",merge_articles:"mergeArt",column_view:"columnView",show_art_complete:"showArtComplete",calculate_mid_ads:"calculateMidAds",pages_navigation_buttons_layout:"pagesNavigationButtonsLayout",animate_layout_footer:"animateLayoutFooter",fix_buttons_bar_to_bottom:"fixButtonsBarToBottom",dfp_reload_time:"dfpReloadTime",ads:"ads",enable_instory_ad_marker:"enableInStoryAdMarker",instory_ad_marker_text:"inStoryAdMarkerText",rn_styles:"rnStyles",disable_rn_styles:"disableRnStyles",rn_styles_file_time:"rnStylesFileTimestamp",ssl_certificate_file_time:"sslCertificateTimestamp",device_dpi:"deviceDpi",toc_style:"tocStyle",toc_style_preview:"tocStylePreview",enable_tab_index_mode:"enableTabIndexMode",bundle_update_available:"bundleUpdateAvailable",reset_app_bundle:"resetAppBundle",see_newspaper_preview:"seeNewspaperPreview",page_see_newspaper_preview:"pageSeeNewspaperPreview",hours_to_send_push_registration:"hoursToSendPushRegistration",preview_token:"previewToken",webview_allow_autoplay:"webviewAllowAutoplay",webview_android_allow_fullscreen:"webviewAndroidAllowFullscreen",webview_ios_native_player:"webviewIOSNativePlayer",webview_custom_http_headers:"webviewCustomHTTPHeaders",app_tracking_transparency:{force_message:"forceAppTrackingTransparencyMessage",disable_message:"disableAppTrackingTransparencyMessage",show_pre_message:"showPreAppTrackingTransparencyMessage",force_pre_message_on_app_update:"forcePreAppTrackingTransparencyMessageOnAppUpdate"},iubenda:{enabled:"iubendaEnabled",site_id:"iubendaSiteId",cookie_policy_id:"iubendaCookiePolicyId",lang:"iubendaLang",reset_consent_date:"iubendaResetConsentDate",force_consent_popup:"iubendaForceConsentPopup",ads_require_consent:"adsRequireConsent",google_ads_present:"googleAdsPresent",ref_privacy_laws:"referencePrivacyLaws"},osano:{enabled:"osanoEnabled",customer_id:"osanoCustomerId",config_id:"osanoConfigurationId",site_domain:"osanoSiteDomain",reset_consent_date:"osanoResetConsentDate"},show_extras_in_article_graphic_mode:"showExtrasInArticleGraphicMode",show_extras_to_logged_users_only:"showExtrasToLoggedUsersOnly",morse_tauid:"morseTAUID",add_watermark:"addWatermarkArticlePag",watermark_text:"watermarkText",disable_screen_idle_timer_delay:"disableScreenIdleTimerDelay",keep_article_position_on_rotation:"keepArticlePositionOnRotation",enable_article_image_reposition:"enableArticleImageReposition",refreshes_tauid:"refreshesTAUID",startup_params:"startupParams",enable_session_collection:"enableSessionCollection",enable_session_auto_upload:"enableSessionAutoUpload",session_upload_base_url:"sessionUploadBaseURL",checksum:"checksum",user_ip:"userIP",is_allowed_ip:"isAllowedIP",push_tags:"pushTags",disable_reader_app_modal:"disableReaderAppModal",reader_app_learn_more_link:"readerAppLearnMoreLink",ssl_domains:"sslDomains",use_asymmetric_card_list:"useAsymmetricCardList",prevent_screenshots:"preventScreenshots",enable_phone_article_layout_on_tablet_in_landscape:"enablePhoneArticleLayoutOnTabletInLandscape",enable_desktop_article_layout_on_ipad_pro_in_landscape:"enableDesktopArticleLayoutOnIPadProInLandscape"}}},755,[5,80,7,8,462]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.PaperSetupConfig=_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS=_e.DEFAULT_CUSTOM_DIMENSIONS=_e.ARTICLE_TITLE_BOX_MODE=_e.MAX_SHARE_CHECK_TYPES=_e.ENCRYPT_FILENAME_TYPE=_e.LATEST_AVAILABLE_EDITION_FORMAT=_e.PAGES_NAVIGATION_BUTTONS_LAYOUT=_e.SHOW_TYPES_ARTICLE=_e.NEWSMEMORY_START_MODE=_e.MERGE_ARTICLES_TYPES=_e.URL_TYPES=_e.NEWSMEMORY_SCREENS_NAME=_e.NEWSMEMORY_SCREENS=_e.BOTH_ENABLED=_e.NEWSMEMORY_ENABLED=_e.RSS_ENABLED=_e.DEFAULT=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),o=r(d[0])(r(d[8])),h=r(d[0])(r(d[9])),p=r(d[0])(r(d[10]));function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}_e.DEFAULT="0";_e.RSS_ENABLED="1";_e.NEWSMEMORY_ENABLED="2";_e.BOTH_ENABLED="3";var f={REACT:0,NATIVE:1,HTML5:2};_e.NEWSMEMORY_SCREENS=f;_e.NEWSMEMORY_SCREENS_NAME={REACT:"NewsmemoryScreen",NATIVE:"NewsmemoryNativeScreen",HTML5:"NewsmemoryHTML5Screen"};var x={UNDERLINE:"underline",SQUARED:"squared",ROUNDED:"rounded"};_e.URL_TYPES=x;var b={NORMAL:0,MERGED:1,ONLY_FIRST:2,PAGE_REFS:3};_e.MERGE_ARTICLES_TYPES=b;var w={READ:"read",SWIPE:"swipe",BROWSE:"browse"};_e.NEWSMEMORY_START_MODE=w;var k={ONLY_TEXT:"0",TEXT_AND_GRAPH:"1",ALL:"2"};_e.SHOW_TYPES_ARTICLE=k;var V={HIDDEN:"0",FIXED:"1",ANIMATED:"2"};_e.PAGES_NAVIGATION_BUTTONS_LAYOUT=V;var y={PLAIN_MESSAGE:"0",ONLY_EDITION:"1",ISSUE_AND_EDITION:"2"};_e.LATEST_AVAILABLE_EDITION_FORMAT=y;var E={NONE:0,MAIN:1,XPAPER:2};_e.ENCRYPT_FILENAME_TYPE=E;_e.MAX_SHARE_CHECK_TYPES={LOCAL:1,REMOTE:2};var S={NEVER:"0",EDITORIAL_ONLY:"1",ALL:"2"};_e.ARTICLE_TITLE_BOX_MODE=S;var A="dimension1=$deviceType&dimension2=$issue&dimension3=$edition&dimension4=$page&dimension5=$articleId&dimension6=$action&dimension7=$ePaperAccess&dimension8=$title";_e.DEFAULT_CUSTOM_DIMENSIONS=A;var T="device=$deviceType&issue=$issue&edition=$edition&page=$page&article_id=$articleId&action=$action&epaper_access=$ePaperAccess&app_mode=$appSide&title=$title&site_id=$siteId&remote_site_id=$remoteSiteId";_e.FIREBASE_DEFAULT_CUSTOM_DIMENSIONS=T;var I=["pSetup","paper","layoutStyle","layoutSubStyle","newsmemoryToUse","rssIsEnabled","newsMemoryIsEnabled","migrate","googleAnalyticsAnonymizeIP","clientGoogleAnalyticsAccount","feedbackGoogleAnalyticsAccount","tecnaviaGoogleAnalyticsAccount","TAGoogleAnalyticsEvent","comScoreId","comScorePublisherSecret","comScoreAppName","rempAccountURL","adobeAnalyticsEnabled","adobeAnalyticsConfig","matherAnalyticsEnabled","matomoEnabled","matomoConfig","matomoTrackerEnabled","matomoTrackerConfig","facebookAnalyticsEnabled","attConfig","iubendaEnabled","iubendaConfig","bundleUpdateAvailable","resetAppBundle","isGenericApp","rnStyles","fixButtonsBarToBottom","externalXPapers","pushTags","useAsymmetricCardList","preventScreenshots","showNativeOptionsPageFallbackUrl","lockPanIfNotZoomedByDegrees","showOpenArticleExtraOnTitleBox"],v=["checksum"],N=["json","pSetupFileTime","checksum","lastIssue","lastEdition","demoIssue","external"],P=o.default.SP.keys,L=(function(o){(0,l.default)(R,o);var L,C,M=(L=R,C=_(),function(){var t,e=(0,c.default)(L);if(C){var s=(0,c.default)(this).constructor;t=Reflect.construct(e,arguments,s)}else t=e.apply(this,arguments);return(0,u.default)(this,t)});function R(){var t;(0,e.default)(this,R);for(var s=arguments.length,n=new Array(s),l=0;l0&&void 0!==Z[0]?Z[0]:{},j.next=3,t.default.awrap((0,n.default)((0,c.default)(R.prototype),"init",this).call(this,s));case 3:return j.next=5,t.default.awrap(this.getValue(P.layout_style));case 5:if(this.layoutStyle=j.sent,this.layoutStyle){j.next=8;break}return j.abrupt("return",!1);case 8:if(this.pSetup!==g.getAppPSetup()){j.next=20;break}return j.next=11,t.default.awrap(g.getUserSettings().getForceLayoutSubStyle());case 11:if(l=j.sent,j.t0=l,j.t0){j.next=17;break}return j.next=16,t.default.awrap(this.getValue(P.layout_sub_style));case 16:j.t0=j.sent;case 17:this.layoutSubStyle=j.t0,j.next=23;break;case 20:return j.next=22,t.default.awrap(this.getValue(P.layout_sub_style));case 22:this.layoutSubStyle=j.sent;case 23:return j.next=25,t.default.awrap(this.getValue(P.user_ip));case 25:if(j.t1=j.sent,j.t1){j.next=28;break}j.t1="n/a";case 28:return u=j.t1,r(d[11]).NetworkUtils.setIP(u),j.next=32,t.default.awrap(this.getValue(P.is_allowed_ip));case 32:return j.t2=j.sent,this.isAllowedIP="1"===j.t2,j.next=36,t.default.awrap(this.getValue(P.machine));case 36:return this.machine=j.sent,this.premiumIconURL=this.machine.concat("/eeLayout/").concat(this.layoutStyle).concat("/").concat(this.layoutSubStyle).concat("/images/webapp/tecnavia_premium_article.png"),j.next=40,t.default.awrap(this.getValue(P.paper));case 40:return this.paper=j.sent,j.next=43,t.default.awrap(this.getValue(P.xpaper));case 43:return this.xpaper=j.sent,j.next=46,t.default.awrap(this.getValue(P.app_mode_selection_page_enabled));case 46:return j.t3=j.sent,this.appModeSelectionPageEnabled="1"===j.t3,j.next=50,t.default.awrap(this.getValue(P.app_mode_selection_page_url));case 50:return this.appModeSelectionPageURL=j.sent,j.t5=Number,j.next=54,t.default.awrap(this.getValue(P.app_mode_selection_page_version));case 54:if(j.t6=j.sent,j.t4=j.t5.parseInt.call(j.t5,j.t6,10),j.t4){j.next=58;break}j.t4=0;case 58:return this.appModeSelectionPageVersion=j.t4,j.next=61,t.default.awrap(this.getValue(P.powered_by));case 61:return this.poweredBy=j.sent,j.next=64,t.default.awrap(this.getValue(P.powered_by_url));case 64:return this.poweredByURL=j.sent,j.next=67,t.default.awrap(this.getValue(P.copyright));case 67:return this.copyright=j.sent,j.next=70,t.default.awrap(this.getValue(P.copyright_url));case 70:return this.copyrightURL=j.sent,j.next=73,t.default.awrap(this.getValue(P.add_disclaimer));case 73:return this.addDisclaimer=j.sent,j.next=76,t.default.awrap(this.getValue(P.paper_name));case 76:return this.paperName=j.sent,j.next=79,t.default.awrap(this.getValue(P.language));case 79:return this.language=j.sent,j.next=82,t.default.awrap(this.getValue(P.site_domain));case 82:return this.siteDomain=j.sent,j.next=85,t.default.awrap(this.getValue(P.is_lite));case 85:return j.t7=j.sent,this.isLite="1"===j.t7,j.next=89,t.default.awrap(this.getValue(P.init_x_paper_not_in_view));case 89:if(j.t8=j.sent,j.t8){j.next=92;break}j.t8="";case 92:return this.initpageXpaperNotView=j.t8,j.next=95,t.default.awrap(this.getValue(P.external_xpapers));case 95:if(j.t9=j.sent,j.t9){j.next=98;break}j.t9="";case 98:return this.externalXPapers=j.t9,j.next=101,t.default.awrap(this.getValue(P.special_before_index));case 101:return this.specialBeforeIndex=j.sent,j.next=104,t.default.awrap(this.getValue(P.special_before_index_tablet));case 104:return this.specialBeforeIndexTablet=j.sent,j.next=107,t.default.awrap(this.getValue(P.special_before_index_phone));case 107:return this.specialBeforeIndexPhone=j.sent,j.next=110,t.default.awrap(this.getValue(P.udb));case 110:return this.udb=j.sent,this.loginStatus=new(r(d[12]).LoginStatus),j.next=114,t.default.awrap(this.loginStatus.init(this.udb));case 114:if(j.sent){j.next=115;break}case 115:return j.t10=this.loginStatus,j.next=118,t.default.awrap(this.getValue(P.preview_token));case 118:return j.t11=j.sent,j.t10.setOneTimeToken.call(j.t10,j.t11),j.next=122,t.default.awrap(this.getValue(P.refreshes_tauid));case 122:if(j.t12=j.sent,j.t12){j.next=125;break}j.t12="";case 125:return o=j.t12,this.refreshesTAUIDTimestamp=r(d[11]).DateUtils.getUnixTimestampFromDateTimeString(o),j.next=129,t.default.awrap(this.getValue(P.change_user_agent_for_oauth));case 129:if(j.t13=j.sent,_="1"===j.t13,I="",!_){j.next=149;break}if(!r(d[11]).PlatformUtils.isAndroid()){j.next=142;break}return j.next=136,t.default.awrap(this.getValue(P.custom_user_agent_for_oauth));case 136:if(j.t14=j.sent,j.t14){j.next=139;break}j.t14="";case 139:I=j.t14,j.next=149;break;case 142:return j.next=144,t.default.awrap(this.getValue(P.custom_string_to_append_to_user_agent_for_oauth));case 144:if(j.t15=j.sent,j.t15){j.next=147;break}j.t15="Safari/{APPLE_WEBKIT_VERSION}";case 147:(v=j.t15)&&(v=v.replace("{APPLE_WEBKIT_VERSION}",r(d[11]).PlatformUtils.getAppleWebKitVersion()),I=r(d[11]).PlatformUtils.getUserAgent()+" "+v);case 149:return this.overrideNewsMemoryUserAgent=I,j.t16=parseInt,j.next=153,t.default.awrap(this.getValue(P.newsmemory_to_use));case 153:if(j.t17=j.sent,j.t17){j.next=156;break}j.t17=f.NATIVE;case 156:return j.t18=j.t17,this.newsmemoryToUse=(0,j.t16)(j.t18,10),j.next=160,t.default.awrap(this.getValue(P.newsmemory_to_use_timestamp));case 160:if(j.t19=j.sent,j.t19){j.next=163;break}j.t19="";case 163:if(this.newsmemoryToUseTimestamp=j.t19,j.t20=r(d[11]).PlatformUtils.isAndroid(),!j.t20){j.next=170;break}return j.next=168,t.default.awrap(this.getValue(P.gallery_download_enabled));case 168:j.t21=j.sent,j.t20="1"===j.t21;case 170:return this.galleryDownloadEnabled=j.t20,j.next=173,t.default.awrap(this.getValue(P.gallery_thumbnail_disabled));case 173:return j.t22=j.sent,this.galleryThumbnailEnabled="1"!==j.t22,j.next=177,t.default.awrap(this.getValue(P.open_http_link_on_external_browser));case 177:if(j.t23=j.sent,j.t23){j.next=180;break}j.t23="1";case 180:return j.t24=j.t23,this.openHttpLinkOnExternalBrowser="0"!==j.t24,j.t25=parseInt,j.next=185,t.default.awrap(this.getValue(P.file_time));case 185:if(j.t26=j.sent,j.t26){j.next=188;break}j.t26=-1;case 188:return j.t27=j.t26,this.pSetupFileTime=(0,j.t25)(j.t27,10),j.t28=parseInt,j.next=193,t.default.awrap(this.getValue(P.rss_index_file_time));case 193:if(j.t29=j.sent,j.t29){j.next=196;break}j.t29=-1;case 196:return j.t30=j.t29,this.rssIndexFileTime=(0,j.t28)(j.t30,10),j.t31=parseInt,j.next=201,t.default.awrap(this.getValue(P.custom_language_pack_file_time));case 201:if(j.t32=j.sent,j.t32){j.next=204;break}j.t32=-1;case 204:return j.t33=j.t32,this.customLanguagePackFileTime=(0,j.t31)(j.t33,10),j.next=208,t.default.awrap(this.getValue(P.custom_fonts));case 208:if(j.t34=e=j.sent,null==j.t34){j.next=213;break}j.t35=e,j.next=214;break;case 213:j.t35="";case 214:return this.customFontsString=j.t35,j.t36=parseInt,j.next=218,t.default.awrap(this.getValue(P.custom_fonts_file_time));case 218:if(j.t37=j.sent,j.t37){j.next=221;break}j.t37=-1;case 221:return j.t38=j.t37,this.customFontsFileTime=(0,j.t36)(j.t38,10),j.next=225,t.default.awrap(this.getValue(P.load_editions_url));case 225:return this.loadEditionsUrl=j.sent,j.t39=parseInt,j.next=229,t.default.awrap(this.getValue(P.option_page_mode));case 229:return j.t40=j.sent,N=(0,j.t39)(j.t40,10),j.next=233,t.default.awrap(this.getValue(P.option_page_url));case 233:return L=j.sent,j.next=236,t.default.awrap(this.getValue(P.option_page_coordinates));case 236:if(j.t41=j.sent,j.t41){j.next=239;break}j.t41="";case 239:return C=j.t41,j.next=242,t.default.awrap(this.getValue(P.option_page_modal));case 242:return j.t42=j.sent,M="1"===j.t42,this.optionspageConfig=new(r(d[13]).OptionspageConfig)({mode:N,baseURL:L,coordinatesString:C,modal:M}),j.next=247,t.default.awrap(this.getValue(P.mode_enabled));case 247:return O=j.sent,j.next=250,t.default.awrap(this.checkIfRssIsEnabled());case 250:return this.rssIsEnabled=j.sent,this.newsMemoryIsEnabled="0"===O||"2"===O||"3"===O,j.next=254,t.default.awrap(this.getValue(P.startup_mode));case 254:return this.startupMode=j.sent,j.next=257,t.default.awrap(this.getValue(P.startup_mode_timestamp));case 257:if(j.t43=j.sent,j.t43){j.next=260;break}j.t43="";case 260:return this.startupModeTimestamp=j.t43,j.next=263,t.default.awrap(this.getValue(P.base_rss_update_url));case 263:return D=j.sent,D=r(d[11]).NetworkUtils.addDefaultProtocol(D),D=h.default.replaceUrlPlaceHolder(D),this.baseRssUpdateURL=D,j.next=269,t.default.awrap(this.getValue(P.feedback.enable));case 269:if(j.t44=j.sent,this.feedbackEnabled="1"===j.t44,!this.feedbackEnabled){j.next=275;break}return this.feedbackConfig=new(r(d[14]).FeedbackConfig)(this.pSetup,this.originalMachine),j.next=275,t.default.awrap(this.feedbackConfig.init(s));case 275:return j.next=277,t.default.awrap(this.getValue(P.disable_firebase_analytics));case 277:if(j.t45=j.sent,j.t45){j.next=280;break}j.t45="0";case 280:return j.t46=j.t45,this.disableFirebaseAnalytics="1"===j.t46,j.next=284,t.default.awrap(this.getValue(P.firebase_analytics_custom_dimensions));case 284:if(j.t47=j.sent,j.t47){j.next=287;break}j.t47=T;case 287:return this.firebaseAnalyticsCustomDimensions=j.t47,this.otherFirebaseProjects=[],j.next=291,t.default.awrap(this.getValue(P.other_firebase_projects));case 291:if(F=j.sent)try{this.otherFirebaseProjects=JSON.parse(F)}catch(t){}return j.next=295,t.default.awrap(this.getValue(P.firebase_analytics_send_external_id));case 295:if(j.t48=j.sent,j.t48){j.next=298;break}j.t48="0";case 298:return j.t49=j.t48,this.firebaseAnalyticsSendExternalId="1"===j.t49,j.next=302,t.default.awrap(this.getValue(P.disable_google_analytics_3));case 302:if(j.t50=j.sent,j.t50){j.next=305;break}j.t50="0";case 305:return j.t51=j.t50,this.disableGoogleAnalytics3="1"===j.t51,j.next=309,t.default.awrap(this.getValue(P.g_analytics_anonymize_ip));case 309:if(j.t52=j.sent,j.t52){j.next=312;break}j.t52="1";case 312:return j.t53=j.t52,this.googleAnalyticsAnonymizeIP="1"===j.t53,j.next=316,t.default.awrap(this.getValue(P.g_analytics));case 316:return this.clientGoogleAnalyticsAccount=j.sent,j.next=319,t.default.awrap(this.getValue(P.g_analytics_feedback));case 319:return this.feedbackGoogleAnalyticsAccount=j.sent,j.next=322,t.default.awrap(this.getValue(P.g_analytics_tecnavia));case 322:return this.tecnaviaGoogleAnalyticsAccount=j.sent,j.next=325,t.default.awrap(this.getValue(P.ta_google_analytics_event));case 325:return this.TAGoogleAnalyticsEvent=j.sent,j.next=328,t.default.awrap(this.getValue(P.google_analytics_custom_dimensions));case 328:if(j.t54=j.sent,j.t54){j.next=331;break}j.t54=A;case 331:return this.googleAnalyticsCustomDimensions=j.t54,j.next=334,t.default.awrap(this.getValue(P.remp_account));case 334:return this.rempAccountURL=j.sent,j.next=337,t.default.awrap(this.getValue(P.comscore.app_name));case 337:return this.comScoreAppName=j.sent,j.next=340,t.default.awrap(this.getValue(P.comscore.id));case 340:return this.comScoreId=j.sent,j.next=343,t.default.awrap(this.getValue(P.comscore.publisher_secret));case 343:return this.comScorePublisherSecret=j.sent,j.next=346,t.default.awrap(this.getValue(P.comscore.base_url));case 346:return this.comScoreBaseURL=j.sent,j.next=349,t.default.awrap(this.getValue(P.mather_analytics.enabled));case 349:if(j.t55=j.sent,j.t55){j.next=352;break}j.t55="0";case 352:return j.t56=j.t55,this.matherAnalyticsEnabled="1"===j.t56,j.next=356,t.default.awrap(this.getValue(P.mather_analytics.customer_id));case 356:if(j.t57=j.sent,j.t57){j.next=359;break}j.t57="";case 359:return this.matherAnalyticsCustomerId=j.t57,j.next=362,t.default.awrap(this.getValue(P.mather_analytics.site_id));case 362:if(j.t58=j.sent,j.t58){j.next=365;break}j.t58="";case 365:return this.matherAnalyticsSiteId=j.t58,j.next=368,t.default.awrap(this.getValue(P.mather_analytics.send_email));case 368:if(j.t59=j.sent,j.t59){j.next=371;break}j.t59="0";case 371:return j.t60=j.t59,this.matherAnalyticsSendEmail="1"===j.t60,j.next=375,t.default.awrap(this.getValue(P.adobe_analytics.enabled));case 375:if(j.t61=j.sent,j.t61){j.next=378;break}j.t61="0";case 378:if(j.t62=j.t61,this.adobeAnalyticsEnabled="1"===j.t62,!this.adobeAnalyticsEnabled){j.next=384;break}return this.adobeAnalyticsConfig=new(r(d[15]).AdobeAnalyticsConfig)(this.pSetup,this.originalMachine),j.next=384,t.default.awrap(this.adobeAnalyticsConfig.init(s));case 384:return j.next=386,t.default.awrap(this.getValue(P.matomo.enabled));case 386:if(j.t63=j.sent,j.t63){j.next=389;break}j.t63="0";case 389:if(j.t64=j.t63,this.matomoEnabled="1"===j.t64,!this.matomoEnabled){j.next=395;break}return this.matomoConfig=new(r(d[16]).MatomoConfig)(this.pSetup,this.originalMachine),j.next=395,t.default.awrap(this.matomoConfig.init(s,this.googleAnalyticsCustomDimensions));case 395:return j.next=397,t.default.awrap(this.getValue(P.matomo_tracker.enabled));case 397:if(j.t65=j.sent,j.t65){j.next=400;break}j.t65="0";case 400:if(j.t66=j.t65,this.matomoTrackerEnabled="1"===j.t66,!this.matomoTrackerEnabled){j.next=406;break}return this.matomoTrackerConfig=new(r(d[17]).MatomoTrackerConfig)(this.pSetup,this.originalMachine),j.next=406,t.default.awrap(this.matomoTrackerConfig.init(s));case 406:return j.next=408,t.default.awrap(this.getValue(P.facebook_enabled));case 408:if(j.t67=j.sent,j.t67){j.next=411;break}j.t67="";case 411:return U=j.t67,this.facebookAnalyticsEnabled=U&&"0"!==U,j.next=415,t.default.awrap(this.getValue(P.blueconic.enabled));case 415:if(j.t68=j.sent,j.t68){j.next=418;break}j.t68="0";case 418:if(j.t69=j.t68,this.blueConicEnabled="1"===j.t69,!this.blueConicEnabled){j.next=424;break}return this.blueConicConfig=new(r(d[18]).BlueConicConfig)(this.pSetup,this.originalMachine),j.next=424,t.default.awrap(this.blueConicConfig.init(s));case 424:return this.chartbeatConfig=new(r(d[19]).ChartbeatConfig)(this.pSetup,this.originalMachine),j.next=427,t.default.awrap(this.chartbeatConfig.init(s));case 427:return j.next=429,t.default.awrap(this.getValue(P.default_connectivity));case 429:return this.defaultConnectivity=j.sent,j.next=432,t.default.awrap(this.getValue(P.default_connectivity_timestamp));case 432:if(j.t70=j.sent,j.t70){j.next=435;break}j.t70="";case 435:return this.defaultConnectivityTimestamp=j.t70,j.next=438,t.default.awrap(this.getValue(P.url_type));case 438:if(j.t71=j.sent,j.t71){j.next=441;break}j.t71=x.UNDERLINE;case 441:return this.urlType=j.t71,j.next=444,t.default.awrap(this.getValue(P.showLinksHighlight));case 444:if(j.t72=j.sent,j.t72){j.next=447;break}j.t72="1";case 447:return j.t73=j.t72,this.showLinksHighlight="1"===j.t73,j.next=451,t.default.awrap(this.getValue(P.relabel_fit_page_button));case 451:return j.t74=j.sent,j.next=454,t.default.awrap(this.getValue(P.relabel_offline_button));case 454:return j.t75=j.sent,j.next=457,t.default.awrap(this.getValue(P.relabel_help_button));case 457:return j.t76=j.sent,j.next=460,t.default.awrap(this.getValue(P.relabel_setting_button));case 460:return j.t77=j.sent,j.next=463,t.default.awrap(this.getValue(P.relabel_option_button));case 463:return j.t78=j.sent,j.next=466,t.default.awrap(this.getValue(P.relabel_special_sections_button));case 466:return j.t79=j.sent,j.next=469,t.default.awrap(this.getValue(P.relabel_search_button));case 469:return j.t80=j.sent,j.next=472,t.default.awrap(this.getValue(P.relabel_ebook_button));case 472:return j.t81=j.sent,j.next=475,t.default.awrap(this.getValue(P.relabel_gbook_button));case 475:return j.t82=j.sent,j.next=478,t.default.awrap(this.getValue(P.relabel_phodir_button));case 478:return j.t83=j.sent,j.next=481,t.default.awrap(this.getValue(P.relabel_feed_button));case 481:return j.t84=j.sent,this.relabel={fitPageButton:j.t74,downloadButton:j.t75,helpButton:j.t76,settingsButton:j.t77,editionsButton:j.t78,specialSectionButton:j.t79,searchButton:j.t80,indexButton:j.t81,gBookButton:j.t82,thumbnailButton:j.t83,feedButton:j.t84},j.t86=parseInt,j.next=486,t.default.awrap(this.getValue(P.default_max_issues));case 486:if(j.t87=j.sent,j.t85=(0,j.t86)(j.t87,10),j.t85){j.next=490;break}j.t85=30;case 490:return this.defaultMaxIssues=j.t85,j.next=493,t.default.awrap(this.getValue(P.date_format));case 493:return this.dateFormat=j.sent,j.next=496,t.default.awrap(this.getValue(P.show_week));case 496:return j.t88=j.sent,this.showWeekAfterDate="1"===j.t88,j.next=500,t.default.awrap(this.getValue(P.download_multi_zips));case 500:return j.t89=j.sent,this.downloadMultiZips="1"===j.t89,j.next=504,t.default.awrap(this.getValue(P.show_types_article));case 504:if(j.t90=j.sent,j.t90){j.next=507;break}j.t90=k.TEXT_AND_GRAPH;case 507:return this.showTypesArticle=j.t90,j.next=510,t.default.awrap(this.getValue(P.enable_article_extra));case 510:if(j.t91=j.sent,j.t91){j.next=513;break}j.t91="0";case 513:return j.t92=j.t91,this.enableArticleExtra="1"===j.t92,j.t94=parseInt,j.next=518,t.default.awrap(this.getValue(P.max_zips_to_download_per_request));case 518:if(j.t95=j.sent,j.t93=(0,j.t94)(j.t95,10),j.t93){j.next=522;break}j.t93=10;case 522:return this.maxZipsToDownloadEachRequest=j.t93,this.cssFilesToAdd="csscustom",j.next=526,t.default.awrap(this.getValue(P.css_files_to_add));case 526:return(B=j.sent)&&(this.cssFilesToAdd+=","+B),j.next=530,t.default.awrap(this.getValue(P.email_content));case 530:return this.emailContent=j.sent,j.next=533,t.default.awrap(this.getValue(P.email_subject));case 533:return this.emailSubject=j.sent,j.next=536,t.default.awrap(this.getValue(P.twitter_text));case 536:return this.twitterText=j.sent,j.t97=parseInt,j.next=540,t.default.awrap(this.getValue(P.update_db_percentage));case 540:if(j.t98=j.sent,j.t96=(0,j.t97)(j.t98,10),j.t96){j.next=544;break}j.t96=50;case 544:return this.updateDBPercentage=j.t96,j.next=547,t.default.awrap(this.getValue(P.enable_advanced_gestures_mode));case 547:if(j.t99=j.sent,j.t99){j.next=550;break}j.t99="1";case 550:if(j.t100=j.t99,this.enableAdvancedGesturesMode="1"===j.t100,!this.enableAdvancedGesturesMode){j.next=573;break}return j.next=555,t.default.awrap(this.getValue(P.two_fingers_tap_to_article));case 555:if(j.t101=j.sent,j.t101){j.next=558;break}j.t101="0";case 558:if(j.t102=j.t101,this.twoFingersTapToArticle="1"===j.t102,!this.twoFingersTapToArticle){j.next=570;break}return j.next=563,t.default.awrap(this.getValue(P.single_tap_to_zoom));case 563:if(j.t103=j.sent,j.t103){j.next=566;break}j.t103="1";case 566:j.t104=j.t103,this.singleTapToZoom="1"===j.t104,j.next=571;break;case 570:this.singleTapToZoom=!1;case 571:j.next=575;break;case 573:this.twoFingersTapToArticle=!0,this.singleTapToZoom=!0;case 575:return j.next=577,t.default.awrap(this.getValue(P.lock_horizontal_pan_if_not_zoomed));case 577:if(j.t105=j.sent,j.t105){j.next=580;break}j.t105="0";case 580:return j.t106=j.t105,this.lockHorizontalPanIfNotZoomed="1"===j.t106,j.next=584,t.default.awrap(this._getLockPanIfNotZoomedByDegrees());case 584:return this.lockPanIfNotZoomedByDegrees=j.sent,j.next=587,t.default.awrap(this.getValue(P.machine_for_hr));case 587:if(j.t107=j.sent,j.t107){j.next=590;break}j.t107=this.machine;case 590:return this.machineForHR=j.t107,j.next=593,t.default.awrap(this.getValue(P.translation_available));case 593:return j.t108=j.sent,this.translationAvailable="1"===j.t108,j.next=597,t.default.awrap(this.getValue(P.translation_server));case 597:if(j.t109=j.sent,j.t109){j.next=600;break}j.t109="";case 600:return this.translationServer=j.t109,j.next=603,t.default.awrap(this.getValue(P.use_native_accessibility));case 603:if(j.t111=j.sent,j.t111){j.next=606;break}j.t111="0";case 606:if(j.t112=j.t111,j.t110="1"===j.t112,j.t110){j.next=610;break}j.t110=g.isDebug;case 610:return this.useNativeAccessibility=j.t110,j.next=613,t.default.awrap(this.getValue(P.use_car_mode));case 613:if(j.t114=j.sent,j.t114){j.next=616;break}j.t114="0";case 616:if(j.t115=j.t114,j.t113="1"===j.t115,j.t113){j.next=620;break}j.t113=g.isDebug;case 620:return this.useCarMode=j.t113,j.next=623,t.default.awrap(this.getValue(P.show_native_options_page_fallback_url));case 623:return this.showNativeOptionsPageFallbackUrl=j.sent,j.next=626,t.default.awrap(this.getValue(P.show_native_options_page));case 626:if(j.t116=j.sent,j.t116){j.next=629;break}j.t116="0";case 629:return j.t117=j.t116,this.showNativeOptionsPage="1"===j.t117,j.next=633,t.default.awrap(this.getValue(P.show_native_settings_screen));case 633:if(j.t119=j.sent,j.t119){j.next=636;break}j.t119="0";case 636:if(j.t120=j.t119,j.t118="1"===j.t120,j.t118){j.next=640;break}j.t118=g.isDebug;case 640:return this.showNativeSettingsScreen=j.t118,j.next=643,t.default.awrap(this.getValue(P.enable_translation_customization));case 643:if(j.t121=j.sent,j.t121){j.next=646;break}j.t121="1";case 646:return j.t122=j.t121,this.showTranslationCustomization="1"===j.t122,j.next=650,t.default.awrap(this.getValue(P.show_themes_customization));case 650:if(j.t123=j.sent,j.t123){j.next=653;break}j.t123="1";case 653:return j.t124=j.t123,this.showThemesCustomization="1"===j.t124,j.next=657,t.default.awrap(this.getValue(P.enable_zoom_level_customization));case 657:if(j.t125=j.sent,j.t125){j.next=660;break}j.t125="1";case 660:return j.t126=j.t125,this.enableZoomLevelCustomization="1"===j.t126,j.next=664,t.default.awrap(this.getValue(P.enable_article_types_customization));case 664:if(j.t127=j.sent,j.t127){j.next=667;break}j.t127="1";case 667:return j.t128=j.t127,this.enableArticleTypesCustomization="1"===j.t128,j.next=671,t.default.awrap(this.getValue(P.show_article_column_view_customization));case 671:if(j.t129=j.sent,j.t129){j.next=674;break}j.t129="1";case 674:return j.t130=j.t129,this.showArticleColumnViewCustomization="1"===j.t130,j.next=678,t.default.awrap(this.getValue(P.show_navigation_buttons_layout_customization));case 678:if(j.t131=j.sent,j.t131){j.next=681;break}j.t131="1";case 681:return j.t132=j.t131,this.showNavigationButtonsLayoutCustomization="1"===j.t132,j.next=685,t.default.awrap(this.getValue(P.show_xpaper_navigation_close_button));case 685:if(j.t133=j.sent,j.t133){j.next=688;break}j.t133="0";case 688:return j.t134=j.t133,this.showXPaperNavigationCloseButton="1"===j.t134,j.next=692,t.default.awrap(this.getValue(P.show_highlight_behavior_customization));case 692:if(j.t135=j.sent,j.t135){j.next=695;break}j.t135="1";case 695:return j.t136=j.t135,this.showHighlightBehaviorCustomization="1"===j.t136,j.next=699,t.default.awrap(this.getValue(P.show_open_article_extra_on_title_box));case 699:if(j.t137=j.sent,j.t137){j.next=702;break}j.t137=S.NEVER;case 702:return this.showOpenArticleExtraOnTitleBox=j.t137,j.next=705,t.default.awrap(this.getValue(P.change_favorite_edition));case 705:if(j.t138=j.sent,j.t138){j.next=708;break}j.t138="0";case 708:return j.t139=j.t138,this.changeFavoriteEdition="1"===j.t139,j.next=712,t.default.awrap(this.getValue(P.favorite_edition));case 712:if(j.t140=j.sent,j.t140){j.next=715;break}j.t140="";case 715:return this.favoriteEdition=j.t140,j.next=718,t.default.awrap(this.getValue(P.enable_connectivity_options));case 718:if(j.t141=j.sent,j.t141){j.next=721;break}j.t141="1";case 721:return j.t142=j.t141,this.enableConnectivityOptions="1"===j.t142,j.next=725,t.default.awrap(this.getValue(P.enable_font_size_customization));case 725:if(j.t143=j.sent,j.t143){j.next=728;break}j.t143="1";case 728:return j.t144=j.t143,this.enableFontSizeCustomization="1"===j.t144,j.next=732,t.default.awrap(this.getValue(P.enable_graph_size_customization));case 732:if(j.t145=j.sent,j.t145){j.next=735;break}j.t145="1";case 735:return j.t146=j.t145,this.enableGraphSizeCustomization="1"===j.t146,j.t147=parseInt,j.next=740,t.default.awrap(this.getValue(P.fit_graphic_article));case 740:if(j.t148=j.sent,j.t148){j.next=743;break}j.t148="1";case 743:return j.t149=j.t148,this.fitGraphicArticle=(0,j.t147)(j.t149,10),j.next=747,t.default.awrap(this.getValue(P.sub_path));case 747:return this.subPath=j.sent,j.next=750,t.default.awrap(this.getValue(P.extra_link_color));case 750:if(j.t150=j.sent,j.t150){j.next=753;break}j.t150="255,0,0,0.25";case 753:return this.extraLinkColor=j.t150,j.t151=parseInt,j.next=757,t.default.awrap(this.getValue(P.background_duration_article_selected));case 757:return j.t152=j.sent,z=(0,j.t151)(j.t152,10),this.backgroundDurationArticleSelected=r(d[11]).JSUtils.isNumber(z)?z:r(d[20]).HIDE_ANIMATION_DURATION,j.t153=parseInt,j.next=763,t.default.awrap(this.getValue(P.background_timer_article_selected));case 763:return j.t154=j.sent,H=(0,j.t153)(j.t154,10),this.backgroundTimerArticleSelected=r(d[11]).JSUtils.isNumber(H)?H:r(d[20]).HIDE_ANIMATION_TIMER,j.next=768,t.default.awrap(this.getValue(P.background_color_article.selected));case 768:if(j.t155=j.sent,j.t155){j.next=771;break}j.t155="255,0,0,0.25";case 771:return this.backgroundColorArticleSelected=j.t155,j.next=774,t.default.awrap(this.getValue(P.background_color_article.to_select));case 774:if(j.t156=j.sent,j.t156){j.next=777;break}j.t156=this.backgroundColorArticleSelected;case 777:return this.backgroundColorArticleToSelect=j.t156,j.next=780,t.default.awrap(this.getValue(P.preview_highlight_enabled));case 780:if(j.t157=j.sent,j.t157){j.next=783;break}j.t157="0";case 783:return j.t158=j.t157,this.previewHighlightEnabled="1"===j.t158,j.t159=parseInt,j.next=788,t.default.awrap(this.getValue(P.preview_highlight_duration_seconds));case 788:if(j.t160=j.sent,j.t160){j.next=791;break}j.t160="2";case 791:return j.t161=j.t160,this.previewHighlightDurationSeconds=(0,j.t159)(j.t161,10),j.t162=parseInt,j.next=796,t.default.awrap(this.getValue(P.zooming_factor));case 796:return j.t163=j.sent,this.zoomingFactor=(0,j.t162)(j.t163,10),this.zoomingFactor=this.zoomingFactor<=0?100:this.zoomingFactor,j.t164=parseInt,j.next=802,t.default.awrap(this.getValue(P.max_zoom));case 802:if(j.t165=j.sent,j.t165){j.next=805;break}j.t165="5";case 805:return j.t166=j.t165,this.maxZoom=(0,j.t164)(j.t166,10),j.t167=parseFloat,j.next=810,t.default.awrap(this.getValue(P.pdf_thumbnail_ratio));case 810:if(j.t168=j.sent,j.t168){j.next=813;break}j.t168="0.5";case 813:return j.t169=j.t168,this.pdfThumbnailRatio=(0,j.t167)(j.t169),j.t170=parseFloat,j.next=818,t.default.awrap(this.getValue(P.eink_complete_hr_factor));case 818:if(j.t171=j.sent,j.t171){j.next=821;break}j.t171="2.2";case 821:return j.t172=j.t171,this.einkCompleteHrFactor=(0,j.t170)(j.t172),j.t173=parseInt,j.next=826,t.default.awrap(this.getValue(P.hr_factor));case 826:if(j.t174=j.sent,j.t174){j.next=829;break}j.t174="1";case 829:return j.t175=j.t174,this.hrFactor=(0,j.t173)(j.t175,10),j.t176=parseFloat,j.next=834,t.default.awrap(this.getValue(P.pdf_factor));case 834:if(j.t177=j.sent,j.t177){j.next=837;break}j.t177="1.2";case 837:return j.t178=j.t177,this.pdfFactor=(0,j.t176)(j.t178),j.t179=parseFloat,j.next=842,t.default.awrap(this.getValue(P.pdf_factor_landscape));case 842:if(j.t180=j.sent,j.t180){j.next=845;break}j.t180="1";case 845:return j.t181=j.t180,this.pdfFactorLandscape=(0,j.t179)(j.t181),j.next=849,t.default.awrap(this.getValue(P.force_pdf_in_roaming_mode));case 849:if(j.t182=j.sent,j.t182){j.next=852;break}j.t182="0";case 852:return j.t183=j.t182,this.forcePdfInRoamingMode="1"===j.t183,j.t184=parseInt,j.next=857,t.default.awrap(this.getValue(P.low_pages_to_render));case 857:if(j.t185=j.sent,j.t185){j.next=860;break}j.t185="1";case 860:return j.t186=j.t185,this.lowPagesToRender=(0,j.t184)(j.t186,10),j.t187=parseInt,j.next=865,t.default.awrap(this.getValue(P.mid_pages_to_render));case 865:if(j.t188=j.sent,j.t188){j.next=868;break}j.t188="1";case 868:return j.t189=j.t188,this.midPagesToRender=(0,j.t187)(j.t189,10),j.next=872,t.default.awrap(this.getValue(P.load_mid_res_on_scroll));case 872:if(j.t190=j.sent,j.t190){j.next=875;break}j.t190="1";case 875:return j.t191=j.t190,this.loadMidResOnScroll="1"===j.t191,j.next=879,t.default.awrap(this.getValue(P.enable_article_text_selection));case 879:return j.t192=j.sent,this.enableArticleTextSelection="1"===j.t192,j.next=883,t.default.awrap(this.getValue(P.show_edition_thumbs));case 883:if(j.t193=j.sent,this.showEditionThumbs="1"===j.t193,!r(d[11]).PlatformUtils.isTablet()){j.next=891;break}return j.next=888,t.default.awrap(this.getValue(P.scroll_tiles));case 888:j.t194=j.sent,j.next=894;break;case 891:return j.next=893,t.default.awrap(this.getValue(P.scroll_tiles_phone));case 893:j.t194=j.sent;case 894:return this.scrollTiles=j.t194,this.scrollTiles=parseInt(this.scrollTiles,10),j.next=898,t.default.awrap(this.getValue(P.on_login_error_go_to));case 898:if(j.t195=j.sent,j.t195){j.next=901;break}j.t195=r(d[21]).tabs.home;case 901:return this.onLoginErrorGoTo=j.t195,j.next=904,t.default.awrap(this.getValue(P.on_validation_error_go_to));case 904:if(j.t196=j.sent,j.t196){j.next=907;break}j.t196=r(d[21]).tabs.login;case 907:return this.onValidationErrorGoTo=j.t196,j.t198=parseInt,j.next=911,t.default.awrap(this.getValue(P.time_limit_check_edition));case 911:if(j.t199=j.sent,j.t197=(0,j.t198)(j.t199,10),j.t197){j.next=915;break}j.t197=10;case 915:return j.t200=j.t197,j.t201=60*j.t200,this.timeLimitCheckEdition=1e3*j.t201,j.t203=parseInt,j.next=921,t.default.awrap(this.getValue(P.latest_edition_available_message_format));case 921:if(j.t204=j.sent,j.t202=(0,j.t203)(j.t204,10),j.t202){j.next=925;break}j.t202=y.ISSUE_AND_EDITION;case 925:return this.latestEditionAvailableMessageFormat=j.t202,j.t206=parseInt,j.next=929,t.default.awrap(this.getValue(P.time_limit_check_login));case 929:if(j.t207=j.sent,j.t205=(0,j.t206)(j.t207,10),j.t205){j.next=933;break}j.t205=7200;case 933:return j.t208=j.t205,this.timeLimitCheckLogin=1e3*j.t208,j.t210=parseInt,j.next=938,t.default.awrap(this.getValue(P.time_limit_forget_login));case 938:if(j.t211=j.sent,j.t209=(0,j.t210)(j.t211,10),j.t209){j.next=942;break}j.t209=120;case 942:return j.t212=j.t209,j.t213=60*j.t212,this.timeLimitForgetLogin=1e3*j.t213,j.next=947,t.default.awrap(this.getValue(P.last_pSetup));case 947:if(j.t214=j.sent,j.t214){j.next=950;break}j.t214=this.pSetup;case 950:return this.lastPSetup=j.t214,j.next=953,t.default.awrap(this.getValue(P.last_issue));case 953:return this.lastIssue=j.sent,j.next=956,t.default.awrap(this.getValue(P.last_edition));case 956:return this.lastEdition=j.sent,j.next=959,t.default.awrap(this.getValue(P.demo_issue));case 959:return this.demoIssue=j.sent,j.next=962,t.default.awrap(this.getValue(P.force_article_mode_fullscreen_portrait));case 962:if(j.t215=j.sent,j.t215){j.next=965;break}j.t215="0";case 965:return this.articleModeDefaultFullscreenPortrait=j.t215,j.next=968,t.default.awrap(this.getValue(P.force_article_mode_fullscreen_landscape));case 968:if(j.t216=j.sent,j.t216){j.next=971;break}j.t216="0";case 971:return this.articleModeDefaultFullscreenLandscape=j.t216,j.t217=parseInt,j.next=975,t.default.awrap(this.getValue(P.enable_text_to_speech));case 975:if(j.t218=j.sent,j.t218){j.next=978;break}j.t218="1";case 978:return j.t219=j.t218,j.t220=(0,j.t217)(j.t219,10),this.enableTextToSpeech=1===j.t220,j.t221=parseInt,j.next=984,t.default.awrap(this.getValue(P.enable_text_to_speech_player));case 984:if(j.t222=j.sent,j.t222){j.next=987;break}j.t222="0";case 987:return j.t223=j.t222,j.t224=(0,j.t221)(j.t223,10),this.enableTextToSpeechPlayer=1===j.t224,j.t226=parseFloat,j.next=993,t.default.awrap(this.getValue(P.text_to_speech_rate));case 993:if(j.t227=j.sent,j.t225=(0,j.t226)(j.t227),j.t225){j.next=997;break}j.t225=0;case 997:return this.textToSpeechRate=j.t225,j.t229=parseInt,j.next=1001,t.default.awrap(this.getValue(P.text_to_speech_chunk_length));case 1001:if(j.t230=j.sent,j.t228=(0,j.t229)(j.t230,10),j.t228){j.next=1005;break}j.t228=1e3;case 1005:return this.textToSpeechChunkLength=j.t228,j.t232=parseInt,j.next=1009,t.default.awrap(this.getValue(P.low_speed_limit));case 1009:if(j.t233=j.sent,j.t231=(0,j.t232)(j.t233,10),j.t231){j.next=1013;break}j.t231=250;case 1013:return this.lowSpeedLimit=j.t231,j.t234=parseInt,j.next=1017,t.default.awrap(this.getValue(P.disable_low_speed_limit));case 1017:if(j.t235=j.sent,j.t235){j.next=1020;break}j.t235="0";case 1020:return j.t236=j.t235,j.t237=(0,j.t234)(j.t236,10),this.disableLowSpeedLimit=1===j.t237,j.next=1025,t.default.awrap(this.getValue(P.base_iap_api_url));case 1025:return this.baseInAppPurchaseAPIUrl=j.sent,j.next=1028,t.default.awrap(this.getValue(P.all_skus));case 1028:return this.allAndroidSkus=j.sent,j.t238=parseInt,j.next=1032,t.default.awrap(this.getValue(P.is_nnb));case 1032:return j.t239=j.sent,j.t240=(0,j.t238)(j.t239,10),this.isNNB=1===j.t240,j.t241=parseInt,j.next=1038,t.default.awrap(this.getValue(P.enable_vmode_and_fit_orientation));case 1038:if(j.t242=j.sent,j.t242){j.next=1041;break}j.t242="1";case 1041:return j.t243=j.t242,j.t244=(0,j.t241)(j.t243,10),this.enableVmodeAndFitOrientation=1===j.t244,j.t245=parseInt,j.next=1047,t.default.awrap(this.getValue(P.fit_page_type));case 1047:if(j.t246=j.sent,j.t246){j.next=1050;break}j.t246=this.enableVmodeAndFitOrientation?"7":"6";case 1050:return j.t247=j.t246,this.fitPageType=(0,j.t245)(j.t247,10),j.next=1054,t.default.awrap(this.getValue(P.start_in_index_mode));case 1054:if(j.t248=j.sent,j.t248){j.next=1057;break}j.t248="0";case 1057:return this.startInIndexMode=j.t248,j.next=1060,t.default.awrap(this.getValue(P.epaper_start_mode));case 1060:if(j.t249=j.sent,j.t249){j.next=1063;break}j.t249=w.READ;case 1063:return this.epaperStartMode=j.t249,j.next=1066,t.default.awrap(this.getValue(P.disable_epaper_mode_selection_page));case 1066:if(j.t250=j.sent,j.t250){j.next=1069;break}j.t250="0";case 1069:return j.t251=j.t250,this.disableEPaperModeSelectionPage="1"===j.t251,j.next=1073,t.default.awrap(this.getValue(P.cdn_enabled));case 1073:if(j.t252=j.sent,j.t252){j.next=1076;break}j.t252="1";case 1076:return j.t253=j.t252,this.cdnEnabled="1"===j.t253,j.next=1080,t.default.awrap(this.getValue(P.cdn_server));case 1080:return this.cdnServer=j.sent,j.t254=parseInt,j.next=1084,t.default.awrap(this.getValue(P.cdn_version));case 1084:if(j.t255=j.sent,j.t255){j.next=1087;break}j.t255="0";case 1087:return j.t256=j.t255,this.cdnVersion=(0,j.t254)(j.t256,10),j.next=1091,t.default.awrap(this.getValue(P.disable_rn_demo));case 1091:if(j.t257=j.sent,j.t257){j.next=1094;break}j.t257="0";case 1094:return j.t258=j.t257,this.disableRnDemo="1"===j.t258,j.next=1098,t.default.awrap(this.getValue(P.landing_page_url));case 1098:return this.landingPageURL=j.sent,j.t260=parseInt,j.next=1102,t.default.awrap(this.getValue(P.landing_page_version));case 1102:if(j.t261=j.sent,j.t259=(0,j.t260)(j.t261,10),j.t259){j.next=1106;break}j.t259=0;case 1106:return this.landingPageVersion=j.t259,j.next=1109,t.default.awrap(this.getValue(P.show_landing_page_once));case 1109:return j.t262=j.sent,this.showLandingPageOnce="1"===j.t262,j.next=1113,t.default.awrap(this.getValue(P.forced_shared_secret));case 1113:return this.forcedSharedSecret=j.sent,j.next=1116,t.default.awrap(this.getValue(P.use_ios_sandbox_receipt_validation));case 1116:return j.t263=j.sent,this.useIOSSandboxReceiptValidation="1"===j.t263,j.t264=parseInt,j.next=1121,t.default.awrap(this.getValue(P.use_cc));case 1121:if(j.t265=j.sent,j.t265){j.next=1124;break}j.t265=E.NONE;case 1124:return j.t266=j.t265,this.encryptFilenames=(0,j.t264)(j.t266,10),j.next=1128,t.default.awrap(this.getValue(P.migrate));case 1128:if(j.t267=j.sent,j.t267){j.next=1131;break}j.t267="0";case 1131:return j.t268=j.t267,this.migrate="1"===j.t268,j.next=1135,t.default.awrap(this.getValue(P.hybrid_version));case 1135:if(j.t269=j.sent,j.t269){j.next=1138;break}j.t269="0";case 1138:return this.hybridVersion=j.t269,j.t270=parseInt,j.next=1142,t.default.awrap(this.getValue(P.append_first_pages));case 1142:if(j.t271=j.sent,j.t271){j.next=1145;break}j.t271="1";case 1145:return j.t272=j.t271,j.t273=(0,j.t270)(j.t272,10),this.enableAppendFirstPages=1===j.t273,j.t274=parseFloat,j.next=1151,t.default.awrap(this.getValue(P.png_quality_factor));case 1151:if(j.t275=j.sent,j.t275){j.next=1154;break}j.t275="1.8";case 1154:return j.t276=j.t275,this.pngQualityFactor=(0,j.t274)(j.t276),j.next=1158,t.default.awrap(this.getValue(P.generate_png_based_on_screen_dimensions));case 1158:if(j.t277=j.sent,j.t277){j.next=1161;break}j.t277="1";case 1161:return j.t278=j.t277,this.generatePNGBasedOnScreenDimensions="1"===j.t278,j.next=1165,t.default.awrap(this.getValue(P.consider_pixel_ratio_in_png_generation));case 1165:if(j.t279=j.sent,j.t279){j.next=1168;break}j.t279="1";case 1168:return j.t280=j.t279,this.considerPixelRatioInPNGGeneration="1"===j.t280,j.t281=parseInt,j.next=1173,t.default.awrap(this.getValue(P.png_width_limit));case 1173:if(j.t282=j.sent,j.t282){j.next=1176;break}j.t282="1080";case 1176:return j.t283=j.t282,this.pngWidthLimit=(0,j.t281)(j.t283,10),j.next=1180,t.default.awrap(this.getValue(P.print_enabled));case 1180:if(j.t284=j.sent,j.t284){j.next=1183;break}j.t284="1";case 1183:return j.t285=j.t284,this.enablePrint="1"===j.t285,j.next=1187,t.default.awrap(this.getValue(P.print_to_letter));case 1187:if(j.t286=j.sent,j.t286){j.next=1190;break}j.t286="1";case 1190:return j.t287=j.t286,this.printToLetter="1"===j.t287,j.t288=parseInt,j.next=1195,t.default.awrap(this.getValue(P.print_margin));case 1195:if(j.t289=j.sent,j.t289){j.next=1198;break}j.t289="10";case 1198:return j.t290=j.t289,this.printMargin=(0,j.t288)(j.t290,10),j.next=1202,t.default.awrap(this.getValue(P.generic_app_enabled));case 1202:if(j.t291=j.sent,j.t291){j.next=1205;break}j.t291="0";case 1205:return j.t292=j.t291,this.isGenericApp="1"===j.t292,j.next=1209,t.default.awrap(this.getValue(P.store_url));case 1209:if(j.t293=j.sent,j.t293){j.next=1212;break}j.t293="";case 1212:return this.publicationsPageURL=j.t293,j.next=1215,t.default.awrap(this.getValue(P.iap_active));case 1215:if(j.t294=j.sent,j.t294){j.next=1218;break}j.t294="0";case 1218:return j.t295=j.t294,this.iapActive="1"===j.t295,j.next=1222,t.default.awrap(this.getValue(P.payments));case 1222:if(j.t296=j.sent,j.t296){j.next=1225;break}j.t296="[]";case 1225:return G=j.t296,Y=JSON.parse(G),this.payments=Y.map(function(t){return new p.default(t)}),j.next=1230,t.default.awrap(this.getValue(P.enable_multiple_subscriptions_alert));case 1230:if(j.t297=j.sent,j.t297){j.next=1233;break}j.t297="1";case 1233:return j.t298=j.t297,this.enableMultipleSubscriptionsAlert="1"===j.t298,j.t299=parseInt,j.next=1238,t.default.awrap(this.getValue(P.protect_site));case 1238:if(j.t300=j.sent,j.t300){j.next=1241;break}j.t300="0";case 1241:if(j.t301=j.t300,this.protectSite=(0,j.t299)(j.t301,10),!(this.protectSite>0)){j.next=1254;break}return j.t302=parseInt,j.next=1247,t.default.awrap(this.getValue(P.validate_site));case 1247:if(j.t303=j.sent,j.t303){j.next=1250;break}j.t303="0";case 1250:j.t304=j.t303,this.validateSite=(0,j.t302)(j.t304,10),j.next=1255;break;case 1254:this.validateSite=0;case 1255:return j.next=1257,t.default.awrap(this.getValue(P.pages_navigation_buttons_layout));case 1257:if(j.t305=j.sent,j.t305){j.next=1260;break}j.t305=V.FIXED;case 1260:return this.pagesNavigationButtonsLayout=j.t305,j.next=1263,t.default.awrap(this.getValue(P.animate_layout_footer));case 1263:if(j.t306=j.sent,j.t306){j.next=1266;break}j.t306="0";case 1266:return j.t307=j.t306,this.animateLayoutFooter="1"===j.t307,j.next=1270,t.default.awrap(this.getValue(P.fix_buttons_bar_to_bottom));case 1270:if(j.t309=j.sent,j.t309){j.next=1273;break}j.t309="0";case 1273:if(j.t310=j.t309,j.t308="1"===j.t310,!j.t308){j.next=1277;break}j.t308=r(d[11]).PlatformUtils.isTablet();case 1277:return this.fixButtonsBarToBottom=j.t308,j.t312=parseInt,j.next=1281,t.default.awrap(this.getValue(P.dfp_reload_time));case 1281:if(j.t313=j.sent,j.t311=(0,j.t312)(j.t313,10),j.t311){j.next=1285;break}j.t311=2e4;case 1285:return this.dfpReloadTime=j.t311,j.next=1288,t.default.awrap(this.getValue(P.two_fingers_tap_hint_enabled));case 1288:if(j.t314=j.sent,j.t314){j.next=1291;break}j.t314="1";case 1291:return j.t315=j.t314,this.twoFingersTapHintEnabled="1"===j.t315,j.t316=parseInt,j.next=1296,t.default.awrap(this.getValue(P.two_fingers_tap_max_hints));case 1296:if(j.t317=j.sent,j.t317){j.next=1299;break}j.t317="5";case 1299:return j.t318=j.t317,this.twoFingersTapMaxHints=(0,j.t316)(j.t318,10),j.next=1303,t.default.awrap(this.getValue(P.enable_share));case 1303:if(j.t319=j.sent,j.t319){j.next=1306;break}j.t319="1";case 1306:return j.t320=j.t319,this.enableShare="1"===j.t320,j.t321=parseInt,j.next=1311,t.default.awrap(this.getValue(P.max_shares));case 1311:if(j.t322=j.sent,j.t322){j.next=1314;break}j.t322="0";case 1314:return j.t323=j.t322,this.maxShares=(0,j.t321)(j.t323,10),j.t324=parseInt,j.next=1319,t.default.awrap(this.getValue(P.max_shares_check_type));case 1319:if(j.t325=j.sent,j.t325){j.next=1322;break}j.t325="1";case 1322:return j.t326=j.t325,this.maxSharesCheckType=(0,j.t324)(j.t326,10),j.next=1326,t.default.awrap(this.getValue(P.message_max_share));case 1326:if(j.t327=j.sent,j.t327){j.next=1329;break}j.t327="";case 1329:return this.messageMaxShare=j.t327,j.next=1332,t.default.awrap(this.getValue(P.download_single_pdf));case 1332:if(j.t328=j.sent,j.t328){j.next=1335;break}j.t328="0";case 1335:return j.t329=j.t328,this.downloadSinglePdf="1"===j.t329,j.t330=parseInt,j.next=1340,t.default.awrap(this.getValue(P.merge_articles));case 1340:if(j.t331=j.sent,j.t331){j.next=1343;break}j.t331=b.NORMAL;case 1343:return j.t332=j.t331,this.mergeArticles=(0,j.t330)(j.t332,10),j.t333=parseInt,j.next=1348,t.default.awrap(this.getValue(P.column_view));case 1348:if(j.t334=j.sent,j.t334){j.next=1351;break}j.t334="1";case 1351:return j.t335=j.t334,this.columnView=(0,j.t333)(j.t335,10),j.next=1355,t.default.awrap(this.getValue(P.enable_phone_article_layout_on_tablet_in_landscape));case 1355:if(j.t336=j.sent,j.t336){j.next=1358;break}j.t336="0";case 1358:return j.t337=j.t336,this.enablePhoneArticleLayoutOnTabletInLandscape="1"===j.t337,j.next=1362,t.default.awrap(this.getValue(P.enable_desktop_article_layout_on_ipad_pro_in_landscape));case 1362:if(j.t338=j.sent,j.t338){j.next=1365;break}j.t338="0";case 1365:return j.t339=j.t338,this.enableDesktopArticleLayoutOnIPadProInLandscape="1"===j.t339,j.next=1369,t.default.awrap(this.getValue(P.show_art_complete));case 1369:if(j.t340=j.sent,j.t340){j.next=1372;break}j.t340="0";case 1372:return j.t341=j.t340,this.showArtComplete="1"===j.t341,j.next=1376,t.default.awrap(this.getValue(P.calculate_mid_ads));case 1376:if(j.t342=j.sent,j.t342){j.next=1379;break}j.t342="0";case 1379:return j.t343=j.t342,this.calculateMidAds="1"===j.t343,j.next=1383,t.default.awrap(this.getValue(P.keep_article_position_on_rotation));case 1383:if(j.t344=j.sent,j.t344){j.next=1386;break}j.t344="0";case 1386:return j.t345=j.t344,this.keepArticlePositionOnRotation="1"===j.t345,j.next=1390,t.default.awrap(this.getValue(P.enable_article_image_reposition));case 1390:if(j.t346=j.sent,j.t346){j.next=1393;break}j.t346="0";case 1393:return j.t347=j.t346,this.enableArticleImageReposition="1"===j.t347,j.next=1397,t.default.awrap(this.getValue(P.enable_article_byline_hrs));case 1397:if(j.t348=j.sent,j.t348){j.next=1400;break}j.t348="1";case 1400:return j.t349=j.t348,this.enableArticleBylineHRs="1"===j.t349,j.next=1404,t.default.awrap(this.getValue(P.ads));case 1404:if(j.t350=j.sent,j.t350){j.next=1407;break}j.t350="";case 1407:return this.ads=j.t350,j.next=1410,t.default.awrap(this.getValue(P.enable_instory_ad_marker));case 1410:if(j.t351=j.sent,j.t351){j.next=1413;break}j.t351="0";case 1413:return j.t352=j.t351,this.enableInStoryAdMarker="1"===j.t352,j.next=1417,t.default.awrap(this.getValue(P.instory_ad_marker_text));case 1417:if(j.t353=j.sent,j.t353){j.next=1420;break}j.t353=g.strings("str_advertisement");case 1420:return this.inStoryAdMarkerText=j.t353,j.next=1423,t.default.awrap(this.getValue(P.disable_rn_styles));case 1423:if(j.t354=j.sent,j.t354){j.next=1426;break}j.t354="0";case 1426:return j.t355=j.t354,this.disableRnStyles="1"===j.t355,this.rnStyles={},j.next=1431,t.default.awrap(this.getValue(P.rn_styles));case 1431:if($=j.sent)try{this.rnStyles=JSON.parse($)}catch(t){}return j.t356=parseInt,j.next=1436,t.default.awrap(this.getValue(P.rn_styles_file_time));case 1436:if(j.t357=j.sent,j.t357){j.next=1439;break}j.t357=-1;case 1439:return j.t358=j.t357,this.rnStylesFileTime=(0,j.t356)(j.t358,10),j.t359=parseInt,j.next=1444,t.default.awrap(this.getValue(P.ssl_certificate_file_time));case 1444:if(j.t360=j.sent,j.t360){j.next=1447;break}j.t360=-1;case 1447:return j.t361=j.t360,this.sslCertificateFileTime=(0,j.t359)(j.t361,10),j.t362=parseInt,j.next=1452,t.default.awrap(this.getValue(P.device_dpi));case 1452:if(j.t363=j.sent,j.t363){j.next=1455;break}j.t363=0;case 1455:return j.t364=j.t363,this.deviceDpi=(0,j.t362)(j.t364,10),j.next=1459,t.default.awrap(this.getValue(P.toc_style));case 1459:if(j.t365=j.sent,j.t365){j.next=1462;break}j.t365="list";case 1462:return this.tocStyle=j.t365,j.next=1465,t.default.awrap(this.getValue(P.toc_style_preview));case 1465:if(j.t366=j.sent,j.t366){j.next=1468;break}j.t366="all_art";case 1468:return this.tocStylePreview=j.t366,j.next=1471,t.default.awrap(this.getValue(P.enable_tab_index_mode));case 1471:if(j.t367=j.sent,j.t367){j.next=1474;break}j.t367="0";case 1474:return j.t368=j.t367,this.enableTabIndexMode="1"===j.t368,j.next=1478,t.default.awrap(this.getValue(P.show_tab_index_mode_customization));case 1478:if(j.t369=j.sent,j.t369){j.next=1481;break}j.t369=this.enableTabIndexMode?"1":"0";case 1481:return j.t370=j.t369,this.showTabIndexModeCustomization="1"===j.t370,j.next=1485,t.default.awrap(this.getValue(P.bundle_update_available));case 1485:if(j.t371=j.sent,j.t371){j.next=1488;break}j.t371="0";case 1488:return j.t372=j.t371,this.bundleUpdateAvailable="1"===j.t372,j.next=1492,t.default.awrap(this.getValue(P.reset_app_bundle));case 1492:if(j.t373=j.sent,j.t373){j.next=1495;break}j.t373="0";case 1495:return j.t374=j.t373,this.resetAppBundle="1"===j.t374,j.t375=parseInt,j.next=1500,t.default.awrap(this.getValue(P.see_newspaper_preview));case 1500:if(j.t376=j.sent,j.t376){j.next=1503;break}j.t376="0";case 1503:return j.t377=j.t376,this.seeNewspaperPreview=(0,j.t375)(j.t377,10),j.t379=parseInt,j.next=1508,t.default.awrap(this.getValue(P.page_see_newspaper_preview));case 1508:if(j.t380=j.sent,j.t378=(0,j.t379)(j.t380,10),j.t378){j.next=1512;break}j.t378=2;case 1512:return this.pageSeeNewspaperPreview=j.t378,j.t382=parseInt,j.next=1516,t.default.awrap(this.getValue(P.hours_to_send_push_registration));case 1516:if(j.t383=j.sent,j.t381=(0,j.t382)(j.t383,10),j.t381){j.next=1520;break}j.t381=6;case 1520:return this.hoursToSendPushRegistration=j.t381,j.next=1523,t.default.awrap(this.getValue(P.webview_ios_native_player));case 1523:if(j.t384=j.sent,j.t384){j.next=1526;break}j.t384="0";case 1526:return j.t385=j.t384,this.webviewIOSNativePlayer="1"===j.t385,j.next=1530,t.default.awrap(this.getValue(P.webview_android_allow_fullscreen));case 1530:if(j.t386=j.sent,j.t386){j.next=1533;break}j.t386="1";case 1533:return j.t387=j.t386,this.webviewAndroidAllowFullscreen="1"===j.t387,j.next=1537,t.default.awrap(this.getValue(P.webview_allow_autoplay));case 1537:if(j.t388=j.sent,j.t388){j.next=1540;break}j.t388="0";case 1540:return j.t389=j.t388,this.webviewAllowAutoplay="1"===j.t389,this.webviewCustomHTTPHeaders={},j.next=1545,t.default.awrap(this.getValue(P.webview_custom_http_headers));case 1545:return(W=j.sent)&&(this.webviewCustomHTTPHeaders=r(d[11]).StringUtils.parseQuerystring(W)),this.attConfig=new(r(d[22]).ATTConfig)(this.pSetup,this.originalMachine),j.next=1550,t.default.awrap(this.attConfig.init(s));case 1550:return j.next=1552,t.default.awrap(this.getValue(P.iubenda.enabled));case 1552:if(j.t390=j.sent,j.t390){j.next=1555;break}j.t390="0";case 1555:if(j.t391=j.t390,this.iubendaEnabled="1"===j.t391,!this.iubendaEnabled){j.next=1561;break}return this.iubendaConfig=new(r(d[23]).IubendaConfig)(this.pSetup,this.originalMachine),j.next=1561,t.default.awrap(this.iubendaConfig.init(s));case 1561:return j.next=1563,t.default.awrap(this.getValue(P.osano.enabled));case 1563:if(j.t392=j.sent,j.t392){j.next=1566;break}j.t392="0";case 1566:if(j.t393=j.t392,this.osanoEnabled="1"===j.t393,!this.osanoEnabled){j.next=1572;break}return this.osanoConfig=new(r(d[24]).OsanoConfig)(this.pSetup,this.originalMachine),j.next=1572,t.default.awrap(this.osanoConfig.init(s));case 1572:return j.next=1574,t.default.awrap(this.getValue(P.show_extras_in_article_graphic_mode));case 1574:if(j.t394=j.sent,j.t394){j.next=1577;break}j.t394="0";case 1577:return j.t395=j.t394,this.showExtrasInArticleGraphicMode="1"===j.t395,j.next=1581,t.default.awrap(this.getValue(P.show_extras_to_logged_users_only));case 1581:if(j.t396=j.sent,j.t396){j.next=1584;break}j.t396="0";case 1584:return j.t397=j.t396,this.showExtrasToLoggedUsersOnly="1"===j.t397,j.next=1588,t.default.awrap(this.getValue(P.morse_tauid));case 1588:if(j.t398=j.sent,j.t398){j.next=1591;break}j.t398="0";case 1591:return j.t399=j.t398,this.morseTAUID="1"===j.t399,j.next=1595,t.default.awrap(this.getValue(P.add_watermark));case 1595:if(j.t400=j.sent,j.t400){j.next=1598;break}j.t400="0";case 1598:return j.t401=j.t400,this.addWatermark="1"===j.t401,j.next=1602,t.default.awrap(this.getValue(P.watermark_text));case 1602:if(j.t402=j.sent,j.t402){j.next=1605;break}j.t402="$extId";case 1605:return this.watermarkText=j.t402,j.next=1608,t.default.awrap(this.getValue(P.disable_screen_idle_timer_delay));case 1608:if(j.t403=j.sent,j.t403){j.next=1611;break}j.t403="0";case 1611:return j.t404=j.t403,this.disableScreenIdleTimerDelay="1"===j.t404,j.next=1615,t.default.awrap(this.getValue(P.startup_params));case 1615:if(j.t405=j.sent,j.t405){j.next=1618;break}j.t405="{}";case 1618:X=j.t405;try{this.startupParams=JSON.parse(X)}catch(t){this.startupParams={}}return j.next=1622,t.default.awrap(this.getValue(P.enable_session_collection));case 1622:if(j.t406=j.sent,j.t406){j.next=1625;break}j.t406="0";case 1625:return j.t407=j.t406,this.enableSessionCollection="1"===j.t407,j.next=1629,t.default.awrap(this.getValue(P.enable_session_auto_upload));case 1629:if(j.t408=j.sent,j.t408){j.next=1632;break}j.t408="0";case 1632:return j.t409=j.t408,this.enableSessionAutoUpload="1"===j.t409,j.next=1636,t.default.awrap(this.getValue(P.session_upload_base_url));case 1636:if(j.t410=j.sent,j.t410){j.next=1639;break}j.t410="";case 1639:if(this.sessionUploadBaseURL=j.t410,this.disableReaderAppModal=!0,this.readerAppLearnMoreLink="",!r(d[11]).PlatformUtils.isIOS()){j.next=1656;break}return j.next=1645,t.default.awrap(this.getValue(P.disable_reader_app_modal));case 1645:if(j.t411=j.sent,j.t411){j.next=1648;break}j.t411="0";case 1648:return j.t412=j.t411,this.disableReaderAppModal="1"===j.t412,j.next=1652,t.default.awrap(this.getValue(P.reader_app_learn_more_link));case 1652:if(j.t413=j.sent,j.t413){j.next=1655;break}j.t413="https://apps.apple.com/story/id1614232807";case 1655:this.readerAppLearnMoreLink=j.t413;case 1656:return j.next=1658,t.default.awrap(this.getValue(P.checksum));case 1658:if(j.t414=j.sent,j.t414){j.next=1661;break}j.t414="";case 1661:return this.checksum=j.t414,j.next=1664,t.default.awrap(this.getValue(P.push_tags));case 1664:if(j.t415=j.sent,j.t415){j.next=1667;break}j.t415="";case 1667:return this.pushTags=j.t415,j.next=1670,t.default.awrap(this.getValue(P.ssl_domains));case 1670:if(j.t416=j.sent,j.t416){j.next=1673;break}j.t416="";case 1673:return this.sslDomains=j.t416.split(","),j.next=1676,t.default.awrap(this.getValue(P.use_asymmetric_card_list));case 1676:if(j.t417=j.sent,j.t417){j.next=1679;break}j.t417="1";case 1679:return j.t418=j.t417,this.useAsymmetricCardList="1"===j.t418,j.next=1683,t.default.awrap(this.getValue(P.prevent_screenshots));case 1683:if(j.t419=j.sent,j.t419){j.next=1686;break}j.t419="0";case 1686:return j.t420=j.t419,this.preventScreenshots="1"===j.t420,j.abrupt("return",!0);case 1689:case"end":return j.stop()}},null,this,null,Promise)}},{key:"setLastIssue",value:function(t){this.lastIssue=t,this.setValue(P.last_issue,t)}},{key:"setLastEdition",value:function(t){this.lastEdition=t,this.setValue(P.last_edition,t)}},{key:"setLastPSetup",value:function(t){this.lastPSetup=t,this.setValue(P.last_pSetup,t)}},{key:"setDemoIssue",value:function(t){this.demoIssue=t,this.setValue(P.demo_issue,t)}},{key:"setRssIndexFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rssIndexFileTime=t,this.setValue(P.rss_index_file_time,""+t)}},{key:"setCustomLanguagePackFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customLanguagePackFileTime=t,this.setValue(P.custom_language_pack_file_time,""+t)}},{key:"setCustomFontsFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.customFontsFileTime=t,this.setValue(P.custom_fonts_file_time,""+t)}},{key:"setRNStyles",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rnStyles=t,this.setValue(P.rn_styles,JSON.stringify(t))}},{key:"setRNStylesFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.rnStylesFileTime=t,this.setValue(P.rn_styles_file_time,""+t)}},{key:"setSSLCertificateFileTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this.sslCertificateFileTime=t,this.setValue(P.ssl_certificate_file_time,""+t)}},{key:"setModeEnabled",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.rssIsEnabled="1"===t||"3"===t,this.newsMemoryIsEnabled="0"===t||"2"===t||"3"===t,e||this.setValue(P.mode_enabled,t)}},{key:"checkIfRssIsEnabled",value:function(){var e;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t.default.awrap(this.getValue(P.mode_enabled));case 2:return e=s.sent,s.abrupt("return","1"===e||"3"===e);case 4:case"end":return s.stop()}},null,this,null,Promise)}},{key:"getPaymentByProductId",value:function(t){if(this.payments)return this.payments.find(function(e){return e.checkProductId(t)})}},{key:"setExternal",value:function(t){this.external=t}},{key:"setAllowedIP",value:function(t){this.isAllowedIP=t,this.setValue(P.is_allowed_ip,t?"1":"0")}},{key:"setCDNEnabled",value:function(t){this.cdnEnabled=t,this.setValue(P.cdn_enabled,t?"1":"0")}},{key:"setCDNServer",value:function(t){this.cdnServer=t,this.setValue(P.cdn_server,t)}},{key:"setCDNVersion",value:function(t){this.cdnVersion=parseInt(t,10),this.setValue(P.cdn_version,t)}},{key:"setBundleUpdateAvailable",value:function(t){this.bundleUpdateAvailable=t,this.setValue(P.bundle_update_available,t?"1":"0")}},{key:"setMigrate",value:function(t){this.migrate=t,this.setValue(P.migrate,t?"1":"0")}},{key:"setNativeOptionspageFallbackVersion",value:function(t){this.showNativeOptionsPageFallbackUrl=t,this.setValue(P.show_native_options_page_fallback_url,t)}},{key:"_getDifferences",value:function(t){var e=this,s=[];if(t)try{(s=Object.keys(this).filter(function(s){if("function"==typeof e[s])return!1;if("object"==typeof e[s]){var n={};return e[s]instanceof r(d[25]).PaperSetupBaseConfig&&(n.skipKeys=["json"]),!r(d[11]).JSUtils.areEqualDeep(e[s],t[s],n)}return e[s]!==t[s]})).length}catch(t){}return s}},{key:"_checkIfNeedToRestart",value:function(t){return void 0!==t.find(function(t){return I.includes(t)})}},{key:"_checkIfNeedToUpdate",value:function(t){return void 0!==t.find(function(t){return!N.includes(t)})}},{key:"_checkIfNeedLayoutUpdate",value:function(t){return void 0!==t.find(function(t){return v.includes(t)})}},{key:"_getLockPanIfNotZoomedByDegrees",value:function(){return t.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=JSON,e.next=4,t.default.awrap(this.getValue(P.lock_pan_if_not_zoomed_by_degrees));case 4:return e.t1=e.sent,e.abrupt("return",e.t0.parse.call(e.t0,e.t1));case 8:e.prev=8,e.t2=e.catch(0);case 10:return e.abrupt("return",[0,90]);case 11:case"end":return e.stop()}},null,this,[[0,8]],Promise)}}]),R})(r(d[25]).PaperSetupBaseConfig);_e.PaperSetupConfig=L},754,[5,80,7,8,90,12,14,16,755,756,757,462,758,760,761,763,764,765,766,767,768,769,1725,1726,1727,762]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),s=(function(){function s(){(0,o.default)(this,s)}return(0,n.default)(s,null,[{key:"setItem",value:function(o,n,s){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.setItem(o,n,s));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getItem",value:function(o,n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(o,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),s})();e.default=s,s.SP={keys:{app_mode_selection_page_enabled:"enableAppModeSelectionPage",app_mode_selection_page_url:"appModeSelectionPageUrl",app_mode_selection_page_version:"appModeSelectionPageVersion",base_rss_update_url:"baseRssUpdateUrl",change_user_agent_for_oauth:"changeUserAgentForOAuth",custom_string_to_append_to_user_agent_for_oauth:"customStringToAppendToUserAgentForOAuth",custom_user_agent_for_oauth:"customUserAgentForOAuth",adobe_analytics:{enabled:"enableAdobeAnalytics",props_list:"adobeAnalyticsPropsList",actions:{edition_load:"adobeAnalyticsEditionLoadActionName",double_tap_to_zoom:"adobeAnalyticsDoubleTapActionName",pinch_to_zoom:"adobeAnalyticsPinchOutActionName",tts:"adobeAnalyticsTextToSpeechActionName",skip_to_end:"adobeAnalyticsSkipToEndActionName",toggle_to_print:"adobeAnalyticsToggleToPrintActionName",toggle_to_digital:"adobeAnalyticsToggleToDigitalActionName",share:"adobeAnalyticsShareActionName",scroll_zoom:"adobeAnalyticsScrollZoomActionName",link_click:"adobeAnalyticsLinkClickActionName"},states:{scrolled:"adobeAnalyticsScrolledStateName",read:"adobeAnalyticsReadStateName",zoomed:"adobeAnalyticsZoomedStateName",index:"adobeAnalyticsIndexStateName",optionspage:"adobeAnalyticsOptionspageStateName"},send_only_edition_load:"adobeAnalyticsSendOnlyEditionLoad",user_types:{unknown:"adobeAnalyticsUserTypeUnknown",subscriber:"adobeAnalyticsUserTypeSubscriber"},media:{print:"adobeAnalyticsPrintMedium",digital:"adobeAnalyticsDigitalMedium",zoomed_suffix:"adobeAnalyticsZoomedMediumSuffix"},first_page_section_prefix:"adobeAnalyticsFirstPageSectionPrefix",content_types:{first_page:"adobeAnalyticsFirstPageContentType",page:"adobeAnalyticsPageContentType",index:"adobeAnalyticsIndexContentType",article:"adobeAnalyticsArticleContentType",optionspage:"adobeAnalyticsOptionspageContentType"},edition_type:"adobeAnalyticsEditionType",device_type:"adobeAnalyticsDeviceType"},blueconic:{enabled:"blueConicEnabled",user_profile_properties:"blueConicUserProfileProperties",view_profile_properties:"blueConicViewProfileProperties"},chartbeat:{account_id:"chartbeatAccountId",domain:"chartbeatDomain",rss_enabled:"chartbeatRssEnabled",epaper_enabled:"chartbeatEpaperEnabled",section_rss_properties:"chartbeatSectionRssProperties",section_epaper_properties:"chartbeatSectionEpaperProperties",author_rss_properties:"chartbeatAuthorRssProperties",author_epaper_properties:"chartbeatAuthorEpaperProperties",rss_title_keys:"chartbeatRssTitleKeys",epaper_title_keys:"chartbeatEpaperTitleKeys",rss_screen_key:"chartbeatRssScreenKey",epaper_screen_key:"chartbeatEpaperScreenKey",rss_custom_data:"chartbeatRssCustomData",epaper_custom_data:"chartbeatEpaperCustomData"},comscore:{app_name:"comScoreAppName",base_url:"comScoreBaseUrl",id:"comScoreID",publisher_secret:"comScorePublisherSecret"},copyright:"copyright",add_disclaimer:"addDisclaimer",copyright_url:"copyrighturl",custom_language_pack_file_time:"customLanguagePackFileTimestamp",custom_fonts:"customFonts",custom_fonts_file_time:"customFontsFileTimestamp",default_connectivity:"defaultConnectivity",default_connectivity_timestamp:"defaultConnectivityTimeStamp",default_max_issues:"DEFAULT_MAX_ISSUES",feedback:{active_days_to_show:"feedbackActiveDaysToShow",ask:"feedbackAskForFeedback",email:"feedbackEmailForFeedback",reset_timestamp:"feedbackResetTimestamp",enable:"feedbackEnable",lower_active_date_range:"feedbackLowerActiveDateRange",request_title:"feedbackRequestFeedbackTitle",request_review_title:"feedbackRequestReviewFeedbackTitle",show_dont_show_again:"feedbackShowDontShowAgain",total_days_to_show:"feedbackTotalDaysToShow",upper_active_date_range:"feedbackUpperActiveDateRange",cool_down_days:"feedbackCoolDownDays",cool_down_days_dont_show_again:"feedbackCoolDownDaysDontShowAgain"},file_time:"pSetupTime",disable_firebase_analytics:"disableFirebaseAnalytics",other_firebase_projects:"otherFirebaseProjects",disable_google_analytics_3:"disableGoogleAnalytics3",g_analytics_anonymize_ip:"googleAnalyticsAnonymizeIP",g_analytics:"googleAnalyticsAccount",g_analytics_feedback:"googleAnalyticsAccountFeedback",g_analytics_tecnavia:"googleAnalyticsAccountTecnavia",gallery_download_enabled:"galleryDownloadEnabled",gallery_thumbnail_disabled:"galleryThumbnailDisabled",open_http_link_on_external_browser:"openHttpLinkOnExternalBrowser",url_type:"urltype",showLinksHighlight:"useAutoGeneratedLinks",is_lite:"newsmemoryLite",language:"language",layout_style:"layoutStyle",layout_sub_style:"layoutSubStyle",mather_analytics:{enabled:"matherAnalyticsEnable",customer_id:"matherCustomerId",site_id:"matherSiteId",send_email:"matherSendEmail"},matomo:{enabled:"matomoEnable",site_id:"matomoSiteId",rss_site_id:"matomoRssSiteId",base_url:"matomoBaseURL",visit_custom_dimensions:"matomoVisitCustomDimensions",custom_dimensions:"matomoCustomDimensions",dispatch_interval:"matomoDispatchInterval"},matomo_tracker:{enabled:"matomoTrackerEnable",site_id:"matomoTrackerSiteId",rss_site_id:"matomoTrackerRssSiteId",base_url:"matomoTrackerBaseURL",action_base_url:"matomoTrackerActionBaseURL",edition_remapping:"matomoTrackerEditionRemapping",titles:{scrolled:"matomoTrackerScrolledTitle",read:"matomoTrackerReadTitle",rss_drawer:"matomoTrackerRssDrawerTitle",rss_read:"matomoTrackerRssReadTitle"},custom_urls:{scrolled:"matomoTrackerScrolledURL",read:"matomoTrackerReadURL",rss_drawer:"matomoTrackerRssDrawerURL",rss_read:"matomoTrackerRssReadURL"},custom_dimensions:{scrolled:"matomoTrackerScrolledCustomDimensions",read:"matomoTrackerReadCustomDimensions",rss_drawer:"matomoTrackerRssDrawerCustomDimensions",rss_read:"matomoTrackerRssReadCustomDimensions"}},mode_enabled:"rssIsEnable",option_page_coordinates:"optionpageCoordinates",option_page_modal:"loginInModalMode",option_page_mode:"optionPage",option_page_url:"optionPageUrl",load_editions_url:"loadEditionsUrl",paper_name:"paperName",powered_by:"poweredBy",powered_by_url:"poweredByurl",relabel_ebook_button:"ebook_button",relabel_feed_button:"feed_button",relabel_fit_page_button:"fitPageImg_button",relabel_gbook_button:"gbook_button",relabel_help_button:"help_button",relabel_offline_button:"OfflineActionLabel",relabel_option_button:"option_button",relabel_phodir_button:"phodir_button",relabel_search_button:"search_button",relabel_setting_button:"setting_button",relabel_special_sections_button:"specialSections_button",remp_account:"rempAccount",rss_index_file_time:"rssConfigFileTimestamp",site_domain:"siteDomain",special_before_index_tablet:"specialBeforeIndexTablet",special_before_index_phone:"specialBeforeIndexPhone",special_before_index:"specialBeforeIndex",startup_mode:"disableRssAtStartup",startup_mode_timestamp:"disableRssAtStartupTimestamp",udb:"udbDatabase",newsmemory_to_use:"newsmemoryToUse",newsmemory_to_use_timestamp:"newsmemoryToUseTimeStamp",paper:"paper",xpaper:"xpaper",date_format:"DATE_FORMAT",show_week:"SHOW_WEEK",init_x_paper_not_in_view:"initpageXpaperNotView",external_xpapers:"externalXPapers",download_multi_zips:"downloadMultiZips",translation_available:"translationAvailable",translation_server:"translationServer",use_native_accessibility:"useNativeAccessibility",use_car_mode:"useCarMode",show_native_options_page_fallback_url:"showNativeOptionsPageFallbackUrl",show_native_options_page:"showNativeOptionsPage",show_native_settings_screen:"showNativeSettingsScreen",enable_translation_customization:"enableTranslationCustomization",show_themes_customization:"showThemesCustomization",enable_zoom_level_customization:"enableZoomLevelCustomization",enable_article_types_customization:"enableArticleTypesCustomization",show_article_column_view_customization:"showArticleColumnViewCustomization",show_navigation_buttons_layout_customization:"showNavigationButtonsLayoutCustomization",show_xpaper_navigation_close_button:"showXPaperNavigationCloseButton",show_highlight_behavior_customization:"showHighlightBehaviorCustomization",show_open_article_extra_on_title_box:"showOpenArticleExtraOnTitleBox",show_tab_index_mode_customization:"showTabIndexModeCustomization",change_favorite_edition:"changeFavoriteEdition",favorite_edition:"favoriteEdition",enable_connectivity_options:"enableConnectivityOptions",enable_font_size_customization:"enableFontSizeCustomization",enable_graph_size_customization:"enableGraphSizeCustomization",show_types_article:"showTypesArticle",enable_article_extra:"enableArticleExtra",max_zips_to_download_per_request:"maxZipsToDownloadEachRequest",css_files_to_add:"cssFilesToAdd",email_content:"emailContent",email_subject:"emailSubject",facebook_enabled:"ipadFacebook",twitter_text:"twitterText",update_db_percentage:"updateDBPerc",enable_advanced_gestures_mode:"enableAdvancedGesturesMode",single_tap_to_zoom:"singleTapToZoom",two_fingers_tap_to_article:"twoFingersTapToArticle",lock_horizontal_pan_if_not_zoomed:"lockHorizontalPanIfNotZoomed",lock_pan_if_not_zoomed_by_degrees:"lockPanIfNotZoomedByDegrees",machine_for_hr:"machineForHR",fit_graphic_article:"fitGraphicArticle",machine:"machine",sub_path:"subPath",extra_link_color:"extraLinkColor",background_duration_article_selected:"backgroundDurationArticleSelected",background_timer_article_selected:"backgroundTimerArticleSelected",background_color_article:{selected:"backgroundColorArticleSelected",to_select:"backgroundColorArticleToSelect"},preview_highlight_enabled:"highlightClickableUrlEnabled",preview_highlight_duration_seconds:"showHighlightingBoxesForSeconds",zooming_factor:"zoomingFactor",max_zoom:"maxZoom",ta_google_analytics_event:"TAGoogleAnalyticsEvent",google_analytics_custom_dimensions:"googleAnalyticsCustomDimensions",firebase_analytics_custom_dimensions:"firebaseAnalyticsCustomDimensions",firebase_analytics_send_external_id:"firebaseAnalyticsSendExternalId",enable_article_text_selection:"enableArticleTextSelection",enable_article_byline_hrs:"enableArticleBylineHrs",on_login_error_go_to:"onLoginErrorGoTo",on_validation_error_go_to:"onValidationErrorGoTo",time_limit_check_edition:"timeLimitForRestart",time_limit_check_login:"timeLimitToCheckLoginOnRestart",time_limit_forget_login:"timeLimitNotRememberLoginOnRestart",last_pSetup:"lastPSetup",last_issue:"lastIssue",last_edition:"lastEdition",latest_edition_available_message_format:"latestEditionAvailableMessageFormat",demo_issue:"demoIssue",show_edition_thumbs:"showEditionThumbs",scroll_tiles_phone:"scrollTilesPhone",scroll_tiles:"scrollTiles",force_article_mode_fullscreen_portrait:"forceArticleModeFullscreenPortrait",force_article_mode_fullscreen_landscape:"forceArticleModeFullscreenLandscape",enable_text_to_speech:"enableTextToSpeech",enable_text_to_speech_player:"enableTextToSpeechPlayer",text_to_speech_rate:"textToSpeechRate",text_to_speech_chunk_length:"textToSpeechChunkLength",low_speed_limit:"lowSpeedLimit",disable_low_speed_limit:"disableLowSpeedLimit",base_iap_api_url:"baseInAppPurchaseAPIUrl",all_skus:"allSkus",is_nnb:"isNNB",enable_vmode_and_fit_orientation:"enableVmodeAndFitOrientation",fit_page_type:"xc_fitPage",start_in_index_mode:"startInIndexMode",epaper_start_mode:"epaperStartMode",disable_epaper_mode_selection_page:"disableEPaperModeSelectionPage",cdn_enabled:"cdnEnabled",cdn_server:"cdnServer",cdn_version:"cdnVersion",disable_rn_demo:"disableRnDemo",pdf_thumbnail_ratio:"pdfThumbnailRatio",eink_complete_hr_factor:"einkCompleteHrFactor",hr_factor:"hrFactor",pdf_factor:"pdfFactor",pdf_factor_landscape:"pdfFactorLandscape",force_pdf_in_roaming_mode:"forcePdfInRoamingMode",low_pages_to_render:"lowPagesToRender",mid_pages_to_render:"midPagesToRender",load_mid_res_on_scroll:"loadMidResOnScroll",show_landing_page_once:"showLandingPageOnce",landing_page_version:"landingPageVersion",landing_page_url:"landingPageURL",forced_shared_secret:"sharedSecret",use_ios_sandbox_receipt_validation:"useIOSSandboxReceiptValidation",use_cc:"useCC",migrate:"migrate",hybrid_version:"hybridVersion",append_first_pages:"appendFirstPages",png_quality_factor:"pngQualityFactor",generate_png_based_on_screen_dimensions:"generatePNGBasedOnScreenDimensions",consider_pixel_ratio_in_png_generation:"considerPixelRatioInPNGGeneration",png_width_limit:"pngWidthLimit",print_enabled:"ipadPrint",print_to_letter:"printToLetter",print_margin:"printMargin",generic_app_enabled:"storeIsEnable",store_url:"customStoreUrl",iap_active:"iapActive",payments:"payments",enable_multiple_subscriptions_alert:"enableMultipleSubscriptionsAlert",protect_site:"protectSite",validate_site:"validateSite",two_fingers_tap_hint_enabled:"twoFingersTapHintEnabled",two_fingers_tap_max_hints:"twoFingersTapMaxHints",download_single_pdf:"downloadSinglePdf",enable_share:"enableShare",max_shares:"maxShares",max_shares_check_type:"maxSharesCheckType",message_max_share:"messageMaxShare",merge_articles:"mergeArt",column_view:"columnView",show_art_complete:"showArtComplete",calculate_mid_ads:"calculateMidAds",pages_navigation_buttons_layout:"pagesNavigationButtonsLayout",animate_layout_footer:"animateLayoutFooter",fix_buttons_bar_to_bottom:"fixButtonsBarToBottom",dfp_reload_time:"dfpReloadTime",ads:"ads",enable_instory_ad_marker:"enableInStoryAdMarker",instory_ad_marker_text:"inStoryAdMarkerText",rn_styles:"rnStyles",disable_rn_styles:"disableRnStyles",rn_styles_file_time:"rnStylesFileTimestamp",ssl_certificate_file_time:"sslCertificateTimestamp",device_dpi:"deviceDpi",toc_style:"tocStyle",toc_style_preview:"tocStylePreview",enable_tab_index_mode:"enableTabIndexMode",bundle_update_available:"bundleUpdateAvailable",reset_app_bundle:"resetAppBundle",see_newspaper_preview:"seeNewspaperPreview",page_see_newspaper_preview:"pageSeeNewspaperPreview",hours_to_send_push_registration:"hoursToSendPushRegistration",preview_token:"previewToken",webview_allow_autoplay:"webviewAllowAutoplay",webview_android_allow_fullscreen:"webviewAndroidAllowFullscreen",webview_ios_native_player:"webviewIOSNativePlayer",webview_custom_http_headers:"webviewCustomHTTPHeaders",app_tracking_transparency:{force_message:"forceAppTrackingTransparencyMessage",disable_message:"disableAppTrackingTransparencyMessage",show_pre_message:"showPreAppTrackingTransparencyMessage",force_pre_message_on_app_update:"forcePreAppTrackingTransparencyMessageOnAppUpdate"},iubenda:{enabled:"iubendaEnabled",site_id:"iubendaSiteId",cookie_policy_id:"iubendaCookiePolicyId",lang:"iubendaLang",reset_consent_date:"iubendaResetConsentDate",force_consent_popup:"iubendaForceConsentPopup",ads_require_consent:"adsRequireConsent",google_ads_present:"googleAdsPresent",ref_privacy_laws:"referencePrivacyLaws"},osano:{enabled:"osanoEnabled",customer_id:"osanoCustomerId",config_id:"osanoConfigurationId",site_domain:"osanoSiteDomain",reset_consent_date:"osanoResetConsentDate"},show_extras_in_article_graphic_mode:"showExtrasInArticleGraphicMode",show_extras_to_logged_users_only:"showExtrasToLoggedUsersOnly",morse_tauid:"morseTAUID",add_watermark:"addWatermarkArticlePag",watermark_text:"watermarkText",disable_screen_idle_timer_delay:"disableScreenIdleTimerDelay",keep_article_position_on_rotation:"keepArticlePositionOnRotation",enable_article_image_reposition:"enableArticleImageReposition",refreshes_tauid:"refreshesTAUID",startup_params:"startupParams",enable_session_collection:"enableSessionCollection",enable_session_auto_upload:"enableSessionAutoUpload",session_upload_base_url:"sessionUploadBaseURL",checksum:"checksum",user_ip:"userIP",is_allowed_ip:"isAllowedIP",push_tags:"pushTags",disable_reader_app_modal:"disableReaderAppModal",reader_app_learn_more_link:"readerAppLearnMoreLink",ssl_domains:"sslDomains",use_asymmetric_card_list:"useAsymmetricCardList",prevent_screenshots:"preventScreenshots",enable_phone_article_layout_on_tablet_in_landscape:"enablePhoneArticleLayoutOnTabletInLandscape",enable_desktop_article_layout_on_ipad_pro_in_landscape:"enableDesktopArticleLayoutOnIPadProInLandscape"}}},755,[5,80,7,8,462]); __d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.WEBVIEW_BASE_URL=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),i=r(d[0])(r(d[3])),o=["load","start","ul"];e.WEBVIEW_BASE_URL="http://localhost/";var c=(function(){function c(){(0,t.default)(this,c)}return(0,n.default)(c,null,[{key:"isExternalUrl",value:function(t){var n=r(d[4]).StringUtils.segmentUrl(t),i=n.protocol,o=n.getParams,c=n.anchorParams;return!(!i||!i.startsWith("xhttp"))||(!(!o||!r(d[4]).JSUtils.hasProperty(o,"xhttp")&&!r(d[4]).JSUtils.hasProperty(o,"xhttps"))||!(!c||!r(d[4]).JSUtils.hasProperty(c,"xhttp")&&!r(d[4]).JSUtils.hasProperty(c,"xhttps")))}},{key:"parseUniversalLink",value:function(t){var n;if(t){if(-1===t.indexOf("?"))for(var i=0;i")?t.replace("",""+n):t.replace("",""+n+"")}},{key:"appendToHead",value:function(t,n){return-1!==t.indexOf("")?t.replace("",n+""):t.replace("",""+n+"")}},{key:"addViewportStyles",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=t;if(i){var o="\n ";n&&(o+="\n "),o+="\n ",i=c.appendToHead(t,o)}return i}},{key:"getZoom",value:function(t,n,i,o){var c=i/(t>0?t:1),l=o/(n>0?n:1),s=c>l?l:c;return Math.round(10*s)/10}},{key:"getJSToZoomContent",value:function(t,n,i){return"\n document.body.style.position = 'absolute';\n document.body.style.left = '"+t+"px';\n document.body.style.top = '"+n+"px';\n document.body.style.transform = 'scale("+i+")'"}},{key:"getJSToCenterContent",value:function(t){return"\n document.body.style.margin = 'auto';\n document.body.style.display = 'table';\n document.body.style.background = '"+t+"';"}},{key:"setupHtmlForWebView",value:function(t){var n=t;return n&&(n=this.addTags(n,"body"),n=this.addTags(n,"html")),n}},{key:"addTags",value:function(t,n){var i=t;return i.includes("<"+n)||(i="<"+n+">".concat(i)+" "),i.includes("")||(i=i.concat("")),i}},{key:"addViewport",value:function(){return"\n var meta = document.createElement('meta');\n meta.name = 'viewport';\n meta.content = 'width=device-width, initial-scale=1';\n document.getElementsByTagName('head')[0].appendChild(meta);"}},{key:"replaceHttpWithHttps",value:function(t){var n,i=/http:\/\/([a-zA-Z0-9\.]+)\.newsmemory\.com/;if(t)do{if(n=i.exec(t)){var o=n[0],c=n[1],l=c.replace(/\./g,"-"),s=o.replace("http","https").replace(c,l);t=t.replace(o,s)}}while(null!==n);return t}},{key:"getRonDinoViewPort",value:function(t){return"\n var myCustomViewport = 'width="+t+", initial-scale=1.0, maximum-scale=1.0, user-scalable=no';\n var viewportElement = document.querySelector('meta[name=viewport]');\n if (viewportElement) {\n viewportElement.content = myCustomViewport;\n } else {\n viewportElement = document.createElement('meta');\n viewportElement.name = 'viewport';\n viewportElement.content = myCustomViewport;\n document.getElementsByTagName('head')[0].appendChild(viewportElement);\n };"}},{key:"getImagesInsidePage",value:function(){return"\n (function getImagesInsidePage() {\n const images = document.getElementsByTagName('img');\n const sources = [];\n for(let i=0; i < images.length; i++){\n sources.push(images[i].src);\n }\n window.ReactNativeWebView.postMessage(JSON.stringify({ content: sources, type: 'GET_RESOURCES' }));\n })();"}},{key:"replaceResourcesInPage",value:function(t){return"\n (function getImagesInsidePage(newSources) {\n const parsed = JSON.parse(newSources);\n const images = document.getElementsByTagName('img');\n for(let i=0; i < images.length; i++){\n if(parsed[images[i].src]){\n images[i].src = parsed[images[i].src];\n }\n }\n })('"+JSON.stringify(t)+"')"}},{key:"addSafeAreaToWebView",value:function(){var t=i.default.getSafeAreaInsets();return"(function() { \n document.body.style.marginTop='"+t.top+"px'; \n document.body.style.marginBottom='"+t.bottom+"px'; \n })();"}},{key:"replaceUrlPlaceHolder",value:function(t){return t.includes("?")||(t+="?"),t.includes("##PAYWALL_SUBSCRIPTION_TYPE#")?t=t.replace("##PAYWALL_SUBSCRIPTION_TYPE#",""):t+="&subType=",(t=t.includes("##MACHINEID#")?t.replace("##MACHINEID#",g.machineId):t+"&MACHINEID="+g.machineId).includes("##WORDPRESS_TOKEN#")&&(t=t.replace("##WORDPRESS_TOKEN#",c.secretTokenForWordpress())),t}},{key:"secretTokenForWordpress",value:function(){var t=(new Date).getTime();return r(d[4]).StringUtils.getMd5(r(d[4]).StringUtils.getMd5("TecnaviaSecret")+g.machineId)+"_"+r(d[4]).StringUtils.getHexOfAsciiOfLong(t/1e3)}}]),c})();e.default=c},756,[5,7,8,458,462]); __d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=(function(){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,e.default)(this,n);var u=t.split(",");this.type=u[0],this.price=u[1],this.startDate=u[2],this.periodTime=u[3],this.periodValue=u[4],this.recurringPattern=u[5],this.description=u[6],this.productId=u[7]}return(0,t.default)(n,[{key:"getType",value:function(){return this.type}},{key:"getPrice",value:function(){return this.price}},{key:"getPriceNumber",value:function(){return parseFloat(this.price)||-1}},{key:"getStartDate",value:function(){return this.startDate}},{key:"getPeriodTime",value:function(){return this.periodTime}},{key:"isWeekly",value:function(){return"W"===this.periodTime}},{key:"isMonthly",value:function(){return"M"===this.periodTime}},{key:"isYearly",value:function(){return"Y"===this.periodTime}},{key:"getPeriodValue",value:function(){try{return parseInt(this.periodValue,10)||-1}catch(e){return-1}}},{key:"getRecurringPattern",value:function(){return this.recurringPattern}},{key:"getDescription",value:function(){return this.description}},{key:"getProductId",value:function(){return this.productId}},{key:"isNotConsumable",value:function(){return"NC"===this.getType()}},{key:"isConsumable",value:function(){return"A"===this.getType()}},{key:"isNonRenewingSubscription",value:function(){return"P"===this.getType()}},{key:"isRecurringSubscription",value:function(){return"R"===this.getType()}},{key:"isSubscription",value:function(){return this.isNonRenewingSubscription()||this.isRecurringSubscription()}},{key:"checkProductId",value:function(e){return e===this.productId||!(!this.isNotConsumable()||!e.startsWith(this.productId))}}]),n})();_e.default=n},757,[5,7,8]); -__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoginStatus=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),n=(function(){function n(){(0,t.default)(this,n)}return(0,s.default)(n,[{key:"init",value:function(t){var s,n,i;return e.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:this.udb=t,s=Object.values(u.default.SP.keys),n=0;case 3:if(!(n-1}}]),n})();_e.LoginStatus=n},758,[5,80,7,8,759,462]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),u=(function(){function u(){(0,n.default)(this,u)}return(0,l.default)(u,null,[{key:"getItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(u.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(n,l){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:r(d[4]).StorageUtils.setItem(u.SP.name,n,l);case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"removeItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clear(u.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"updateItem",value:function(n,l){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:l?u.setItem(n,l):u.removeItem(n);case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clearAll(u.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),u})();e.default=u,u.SP={name:"login",keys:{TAUID:"TAUID",TOKEN:"TOKEN",universal_link_token:"universalLinkToken",one_time_token:"oneTimeToken",iap_secret:"iapSecret",has_access:"hasAccess",receipt:"receipt",receipt_date:"receipt_date",challenge:"challenge",username:"username",password:"password",extid:"extid",extra_user_info:"extraUserInfo",last_login_time:"last_login_time",ad_free:"adFree",allowed_ip_user:"allowedIPUser"}}},759,[5,80,7,8,462]); +__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoginStatus=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),s=(function(){function s(){(0,t.default)(this,s)}return(0,n.default)(s,[{key:"init",value:function(t){var n,s,i;return e.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:this.udb=t,n=Object.values(u.default.SP.keys),s=0;case 3:if(!(s-1}}]),s})();_e.LoginStatus=s},758,[5,80,7,8,759,462]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),l=(function(){function l(){(0,n.default)(this,l)}return(0,u.default)(l,null,[{key:"getItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(l.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(n,u){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.setItem(l.SP.name,n,u));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"removeItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clear(l.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"updateItem",value:function(n,u){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(!u){t.next=2;break}return t.abrupt("return",l.setItem(n,u));case 2:return t.abrupt("return",l.removeItem(n));case 3:case"end":return t.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clearAll(l.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),l})();e.default=l,l.SP={name:"login",keys:{TAUID:"TAUID",TOKEN:"TOKEN",universal_link_token:"universalLinkToken",one_time_token:"oneTimeToken",iap_secret:"iapSecret",has_access:"hasAccess",receipt:"receipt",receipt_date:"receipt_date",challenge:"challenge",username:"username",password:"password",extid:"extid",extra_user_info:"extraUserInfo",last_login_time:"last_login_time",ad_free:"adFree",allowed_ip_user:"allowedIPUser"}}},759,[5,80,7,8,462]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.OptionspageConfig=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),o=(function(){function o(n){var s=n.mode,u=n.baseURL,l=n.coordinatesString,h=n.modal;(0,t.default)(this,o),this.mode=s,this.baseURL=u,this.modal=r(d[4]).PlatformUtils.isTablet()&&h,this.coordinatesString=l}return(0,n.default)(o,[{key:"isDisabled",value:function(){return 0===this.mode}},{key:"alwaysOpenAtStartup",value:function(){return 1===this.mode}},{key:"getBaseURL",value:function(){return this.baseURL}},{key:"computeCoordinates",value:function(){var t,n,o,u,l,h,f,p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.currentOrientation,c=s.default.getSafeArea();if(c)l=c.width,h=c.height,f=s.default.isPortrait(s.default.currentOrientation);else{var b=s.default.getScreenDimensions(v);l=b.width,h=b.height,f=b.isPortrait}var S=l,y=h,O=s.default.isPortrait(v);O!==f&&(S=h,y=l),this.modal?(u=O?S:y,o=O?S:y,n=O?0:Math.abs(S-y)/2,t=O?Math.abs(S-y)/2:0):(u=y,o=S,n=0,t=0);var k=p.split("&");if(8===k.length){var x=k[0],M=k[1],z=k[2],C=k[3],P=k[4],U=k[5],X=k[6],Y=k[7];O?(u=this.parseSize(M,y),o=this.parseSize(C,S),t=this.parseXY(Y,u,y),n=this.parseXY(U,o,S)):(u=this.parseSize(x,y),o=this.parseSize(z,S),t=this.parseXY(X,u,y),n=this.parseXY(P,o,S))}return o>l?(n=0,o=l):n+o>l&&(n=Math.max(0,(l-o)/2)),u>h?(t=0,u=h):t+u>h&&(t=Math.max(0,(h-u)/2)),{left:n,top:t,width:o,height:u}}},{key:"parseSize",value:function(t,n){var s,o=t.indexOf("%");if(o>0)s=parseInt(t.substring(0,o),10)/100*n;else{var u=t.indexOf("px");u>0&&(t=t.substring(0,u)),s=parseInt(t,10)}return s}},{key:"parseXY",value:function(t,n,s){var o,u=t.indexOf("px");if(u>0)t=t.substring(0,u),o=parseInt(t,10);else{if("-1"===t)return s-n;if("0"===t)return(s-n)/2;if("1"===t)return 0;(o=parseInt(t,10))<0&&(o=s-n+o)}return o}},{key:"getCoordinates",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.currentOrientation;return this.computeCoordinates(this.coordinatesString,t)}},{key:"isModal",value:function(){return this.modal}}]),o})();e.OptionspageConfig=o},760,[5,7,8,458,462]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.FeedbackConfig=void 0;var t=r(d[0])(r(d[1])),s=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),o=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),h=r(d[0])(r(d[8]));function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}var p=(function(p){(0,l.default)(x,p);var _,w,v=(_=x,w=f(),function(){var t,s=(0,c.default)(_);if(w){var n=(0,c.default)(this).constructor;t=Reflect.construct(s,arguments,n)}else t=s.apply(this,arguments);return(0,o.default)(this,t)});function x(){return(0,s.default)(this,x),v.apply(this,arguments)}return(0,n.default)(x,[{key:"getStorageKeys",value:function(){return h.default.SP.keys.feedback}},{key:"init",value:function(){var s,n,l,o,h,f,p,_,w,v,y,k,b,D,V=arguments;return t.default.async(function(I){for(;;)switch(I.prev=I.next){case 0:return s=V.length>0&&void 0!==V[0]?V[0]:{},I.next=3,t.default.awrap((0,u.default)((0,c.default)(x.prototype),"init",this).call(this,s));case 3:return n=this.getStorageKeys(),l=n.show_dont_show_again,o=n.lower_active_date_range,h=n.upper_active_date_range,f=n.active_days_to_show,p=n.total_days_to_show,_=n.request_title,w=n.request_review_title,v=n.ask,y=n.email,k=n.reset_timestamp,b=n.cool_down_days,D=n.cool_down_days_dont_show_again,I.next=6,t.default.awrap(this.getValue(l));case 6:return I.t0=I.sent,this.showDontShowAgain="1"===I.t0,I.t2=parseInt,I.next=11,t.default.awrap(this.getValue(o));case 11:if(I.t3=I.sent,I.t1=(0,I.t2)(I.t3,10),I.t1){I.next=15;break}I.t1="1";case 15:return I.t4=I.t1,I.t5=r(d[9]).DateUtils.DAY_IN_MILLS,this.lowerActiveDateRange=I.t4*I.t5,I.t7=parseInt,I.next=21,t.default.awrap(this.getValue(h));case 21:if(I.t8=I.sent,I.t6=(0,I.t7)(I.t8,10),I.t6){I.next=25;break}I.t6="3";case 25:return I.t9=I.t6,I.t10=r(d[9]).DateUtils.DAY_IN_MILLS,this.upperActiveDateRange=I.t9*I.t10,I.t11=parseInt,I.next=31,t.default.awrap(this.getValue(f));case 31:if(I.t12=I.sent,I.t12){I.next=34;break}I.t12="6";case 34:return I.t13=I.t12,this.activeDaysToShow=(0,I.t11)(I.t13,10),I.t14=parseInt,I.next=39,t.default.awrap(this.getValue(p));case 39:if(I.t15=I.sent,I.t15){I.next=42;break}I.t15="15";case 42:return I.t16=I.t15,this.totalDaysToShow=(0,I.t14)(I.t16,10),I.next=46,t.default.awrap(this.getValue(_));case 46:return this.requestFeedbackTitle=I.sent,I.next=49,t.default.awrap(this.getValue(w));case 49:return this.requestReviewFeedbackTitle=I.sent,I.next=52,t.default.awrap(this.getValue(v));case 52:return this.askForFeedback=I.sent,I.next=55,t.default.awrap(this.getValue(y));case 55:return this.emailForFeedback=I.sent,I.next=58,t.default.awrap(this.getValue(k));case 58:return this.resetTimestamp=I.sent,this.resetTimestamp&&this.resetTimestamp.length<14&&(this.resetTimestamp=this.resetTimestamp.padEnd(14,"0")),I.t17=parseInt,I.next=63,t.default.awrap(this.getValue(b));case 63:if(I.t18=I.sent,I.t18){I.next=66;break}I.t18="60";case 66:return I.t19=I.t18,this.coolDownDays=(0,I.t17)(I.t19,10),I.t20=parseInt,I.next=71,t.default.awrap(this.getValue(D));case 71:if(I.t21=I.sent,I.t21){I.next=74;break}I.t21="90";case 74:return I.t22=I.t21,this.coolDownDaysDontShowAgain=(0,I.t20)(I.t22,10),I.abrupt("return",!0);case 77:case"end":return I.stop()}},null,this,null,Promise)}}]),x})(r(d[10]).PaperSetupBaseConfig);e.FeedbackConfig=p},761,[5,80,7,8,90,12,14,16,755,462,762]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PaperSetupBaseConfig=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),l=(function(){function l(t,u){(0,n.default)(this,l),this.pSetup=t,this.originalMachine=u,this.storageKey=t+"-"+u}return(0,u.default)(l,[{key:"getStorageKeys",value:function(){return{}}},{key:"getJSONKeys",value:function(){var t=r(d[5]).JSUtils.flattenObject(this.getStorageKeys());return Object.values(t)}},{key:"filterJSON",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n&&n.length>0?Object.keys(t).reduce(function(u,s){return n.includes(s)&&(u[s]=t[s]),u},{}):t}},{key:"init",value:function(){var n,u=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n=u.length>0&&void 0!==u[0]?u[0]:{},this.json=this.filterJSON(n,this.getJSONKeys()),t.abrupt("return",!0);case 3:case"end":return t.stop()}},null,this,null,Promise)}},{key:"setValue",value:function(n,u){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return this.json[n]=u,t.abrupt("return",s.default.setItem(this.storageKey,n,u));case 2:case"end":return t.stop()}},null,this,null,Promise)}},{key:"getValue",value:function(n){var u;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:if(!r(d[5]).JSUtils.hasProperty(this.json,n)){l.next=7;break}if(null!==(u=this.json[n])&&void 0!==u){l.next=6;break}return l.next=5,t.default.awrap(s.default.getItem(this.storageKey,n));case 5:u=l.sent;case 6:return l.abrupt("return",u);case 7:return l.abrupt("return","");case 8:case"end":return l.stop()}},null,this,null,Promise)}}]),l})();e.PaperSetupBaseConfig=l},762,[5,80,7,8,755,462]); @@ -824,7 +824,7 @@ __d(function(g,r,_i,a,m,e,d){"use strict";function t(t,o){var i="undefined"!=typ __d(function(g,r,_i2,_a,m,e,d){"use strict";function t(t,n){var s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(s)return(s=s.call(t)).next.bind(s);if(Array.isArray(t)||(s=i(t))||n&&t&&"number"==typeof t.length){s&&(t=s);var l=0;return function(){return l>=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,i){if(t){if("string"==typeof t)return n(t,i);var s=Object.prototype.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?n(t,i):void 0}}function n(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,s=new Array(i);ni[0]},t.map(function(t,i){return{item:t,index:i}}).sort(function(t,n){return i(t.item,n.item)||t.index-n.index}).map(function(t){return t.item})),this._updateSteps()}},{key:Symbol.iterator,value:function(){return this._list[Symbol.iterator]()}},{key:"toString",value:function(){return r(d[1]).serializeUrlencoded(this._list)}}]),i})()},818,[7,816,8]); __d(function(g,r,_i,_a,m,_e,_d){"use strict";function n(n,t){return(t&&t.context?t.context:"Value")+" "+n+"."}function t(n){if(null===n)return"Null";switch(typeof n){case"undefined":return"Undefined";case"boolean":return"Boolean";case"number":return"Number";case"string":return"String";case"symbol":return"Symbol";case"object":case"function":default:return"Object"}}function e(n){return a(n>0&&n%1==.5&&0==(1&n)||n<0&&n%1==-.5&&1==(1&n)?Math.floor(n):Math.round(n))}function o(n){return a(Math.trunc(n))}function i(n){return n<0?-1:1}function u(n,t){var e=n%t;return i(t)!==i(e)?e+t:e}function a(n){return 0===n?0:n}function f(t,i){var f,c,s=!i.unsigned;64===t?(c=Math.pow(2,53)-1,f=s?1-Math.pow(2,53):0):s?(f=-Math.pow(2,t-1),c=Math.pow(2,t-1)-1):(f=0,c=Math.pow(2,t)-1);var l=Math.pow(2,t),y=Math.pow(2,t-1);return function(t,i){void 0===i&&(i={});var w=+t;if(w=a(w),i.enforceRange){if(!Number.isFinite(w))throw new TypeError(n("is not a finite number",i));if((w=o(w))c)throw new TypeError(n("is outside the accepted range of "+f+" to "+c+", inclusive",i));return w}return!Number.isNaN(w)&&i.clamp?w=e(w=Math.min(Math.max(w,f),c)):Number.isFinite(w)&&0!==w?(w=o(w))>=f&&w<=c?w:(w=u(w,l),s&&w>=y?w-l:w):0}}function c(t,e){if("function"!=typeof t)throw new TypeError(n("is not a function",e));return t}_e.any=function(n){return n},_e.void=function(){},_e.boolean=function(n){return!!n},_e.byte=f(8,{unsigned:!1}),_e.octet=f(8,{unsigned:!0}),_e.short=f(16,{unsigned:!1}),_e["unsigned short"]=f(16,{unsigned:!0}),_e.long=f(32,{unsigned:!1}),_e["unsigned long"]=f(32,{unsigned:!0}),_e["long long"]=f(64,{unsigned:!1}),_e["unsigned long long"]=f(64,{unsigned:!0}),_e.double=function(t,e){var o=+t;if(!Number.isFinite(o))throw new TypeError(n("is not a finite floating-point value",e));return o},_e["unrestricted double"]=function(n){return+n},_e.float=function(t,e){var o=+t;if(!Number.isFinite(o))throw new TypeError(n("is not a finite floating-point value",e));if(Object.is(o,-0))return o;var i=Math.fround(o);if(!Number.isFinite(i))throw new TypeError(n("is outside the range of a single-precision floating-point value",e));return i},_e["unrestricted float"]=function(n){var t=+n;return isNaN(t)?t:Object.is(t,-0)?t:Math.fround(t)},_e.DOMString=function(t,e){if(void 0===e&&(e={}),e.treatNullAsEmptyString&&null===t)return"";if("symbol"==typeof t)throw new TypeError(n("is a symbol, which cannot be converted to a string",e));return String(t)},_e.ByteString=function(t,e){for(var o,i=_e.DOMString(t,e),u=0;void 0!==(o=i.codePointAt(u));++u)if(o>255)throw new TypeError(n("is not a valid ByteString",e));return i},_e.USVString=function(n,t){for(var e=_e.DOMString(n,t),o=e.length,i=[],u=0;u57343)i.push(String.fromCodePoint(a));else if(56320<=a&&a<=57343)i.push(String.fromCodePoint(65533));else if(u===o-1)i.push(String.fromCodePoint(65533));else{var f=e.charCodeAt(u+1);if(56320<=f&&f<=57343){var c=1023&a,s=1023&f;i.push(String.fromCodePoint(65536+1024*c+s)),++u}else i.push(String.fromCodePoint(65533))}}return i.join("")},_e.object=function(e,o){if("Object"!==t(e))throw new TypeError(n("is not an object",o));return e};var s=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;function l(n){try{return s.call(n),!0}catch(n){return!1}}_e.ArrayBuffer=function(t,e){if(!l(t))throw new TypeError(n("is not a view on an ArrayBuffer object",e));return t};var y=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;_e.DataView=function(t,e){try{return y.call(t),t}catch(t){throw new TypeError(n("is not a view on an DataView object",e))}},[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach(function(t){var e=t.name,o=/^[AEIOU]/.test(e)?"an":"a";_e[e]=function(t,i){if(!ArrayBuffer.isView(t)||t.constructor.name!==e)throw new TypeError(n("is not "+o+" "+e+" object",i));return t}}),_e.ArrayBufferView=function(t,e){if(!ArrayBuffer.isView(t))throw new TypeError(n("is not a view on an ArrayBuffer object",e));return t},_e.BufferSource=function(t,e){if(!ArrayBuffer.isView(t)&&!l(t))throw new TypeError(n("is not an ArrayBuffer object or a view on one",e));return t},_e.DOMTimeStamp=_e["unsigned long long"],_e.Function=c,_e.VoidFunction=c},819,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"URLSearchParams",{enumerable:!0,get:function(){return r(d[0]).URLSearchParams}})},820,[806]); -__d(function(e,t,i,r,a,l,n){a.exports={_args:[["react-native-url-polyfill@1.3.0","/Users/ipaddev/sdk/dark-mode-appearance"]],_from:"react-native-url-polyfill@1.3.0",_id:"react-native-url-polyfill@1.3.0",_inBundle:!1,_integrity:"sha512-w9JfSkvpqqlix9UjDvJjm1EjSt652zVQ6iwCIj1cVVkwXf4jQhQgTNXY6EVTwuAmUjg6BC6k9RHCBynoLFo3IQ==",_location:"/react-native-url-polyfill",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"react-native-url-polyfill@1.3.0",name:"react-native-url-polyfill",escapedName:"react-native-url-polyfill",rawSpec:"1.3.0",saveSpec:null,fetchSpec:"1.3.0"},_requiredBy:["/rn-options-page"],_resolved:"https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-1.3.0.tgz",_spec:"1.3.0",_where:"/Users/ipaddev/sdk/dark-mode-appearance",author:{name:"Nicolas Charpentier",email:"nicolas.charpentier079@gmail.com"},bugs:{url:"https://github.com/charpeni/react-native-url-polyfill/issues"},dependencies:{"whatwg-url-without-unicode":"8.0.0-3"},description:"A lightweight and trustworthy URL polyfill for React Native",devDependencies:{"@react-native-community/eslint-config":"^2.0.0",chalk:"^4.0.0",eslint:"^7.1.0","eslint-plugin-prettier":"^3.1.3",execa:"^5.0.0",filesize:"^6.1.0",husky:">=1",jest:"^26.0.1","lint-staged":">=8","metro-react-native-babel-preset":"^0.65.0",ora:"^5.3.0","prepend-file":"^1.3.1",prettier:"^2.0.5",react:"16.13.1","react-native":"0.63.4",rmfr:"^2.0.0","source-map-explorer":"^2.4.2",tmp:"^0.2.1",typescript:"^4.1.3",uuid:"^8.1.0"},homepage:"https://github.com/charpeni/react-native-url-polyfill",husky:{hooks:{"pre-commit":"lint-staged"}},jest:{preset:"react-native",testPathIgnorePatterns:["/node_modules/","./detox/"]},keywords:["URL","URLSearchParams","polyfill","react native","whatwg-url"],license:"MIT","lint-staged":{"*.js":["eslint --fix","git add"]},main:"index.js",name:"react-native-url-polyfill",peerDependencies:{"react-native":"*"},repository:{type:"git",url:"git+https://github.com/charpeni/react-native-url-polyfill.git"},scripts:{"bundle-size":"node scripts/bundle-size",lint:"eslint .",test:"jest"},types:"index.d.ts",version:"1.3.0"}},821,[]); +__d(function(e,t,i,r,l,a,n){l.exports={_args:[["react-native-url-polyfill@1.3.0","/Users/ipaddev/sdk/trunk"]],_from:"react-native-url-polyfill@1.3.0",_id:"react-native-url-polyfill@1.3.0",_inBundle:!1,_integrity:"sha512-w9JfSkvpqqlix9UjDvJjm1EjSt652zVQ6iwCIj1cVVkwXf4jQhQgTNXY6EVTwuAmUjg6BC6k9RHCBynoLFo3IQ==",_location:"/react-native-url-polyfill",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"react-native-url-polyfill@1.3.0",name:"react-native-url-polyfill",escapedName:"react-native-url-polyfill",rawSpec:"1.3.0",saveSpec:null,fetchSpec:"1.3.0"},_requiredBy:["/rn-options-page"],_resolved:"https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-1.3.0.tgz",_spec:"1.3.0",_where:"/Users/ipaddev/sdk/trunk",author:{name:"Nicolas Charpentier",email:"nicolas.charpentier079@gmail.com"},bugs:{url:"https://github.com/charpeni/react-native-url-polyfill/issues"},dependencies:{"whatwg-url-without-unicode":"8.0.0-3"},description:"A lightweight and trustworthy URL polyfill for React Native",devDependencies:{"@react-native-community/eslint-config":"^2.0.0",chalk:"^4.0.0",eslint:"^7.1.0","eslint-plugin-prettier":"^3.1.3",execa:"^5.0.0",filesize:"^6.1.0",husky:">=1",jest:"^26.0.1","lint-staged":">=8","metro-react-native-babel-preset":"^0.65.0",ora:"^5.3.0","prepend-file":"^1.3.1",prettier:"^2.0.5",react:"16.13.1","react-native":"0.63.4",rmfr:"^2.0.0","source-map-explorer":"^2.4.2",tmp:"^0.2.1",typescript:"^4.1.3",uuid:"^8.1.0"},homepage:"https://github.com/charpeni/react-native-url-polyfill",husky:{hooks:{"pre-commit":"lint-staged"}},jest:{preset:"react-native",testPathIgnorePatterns:["/node_modules/","./detox/"]},keywords:["URL","URLSearchParams","polyfill","react native","whatwg-url"],license:"MIT","lint-staged":{"*.js":["eslint --fix","git add"]},main:"index.js",name:"react-native-url-polyfill",peerDependencies:{"react-native":"*"},repository:{type:"git",url:"git+https://github.com/charpeni/react-native-url-polyfill.git"},scripts:{"bundle-size":"node scripts/bundle-size",lint:"eslint .",test:"jest"},types:"index.d.ts",version:"1.3.0"}},821,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getVersion=T,e.setFavoriteEdition=function(t){"function"==typeof _&&_(t)};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),o=j(r(d[6])),f=r(d[7]),c=r(d[0])(r(d[8])),p=j(r(d[9])),v=r(d[0])(r(d[10])),E=r(d[0])(r(d[11])),P=r(d[0])(r(d[12])),b=r(d[0])(r(d[13])),w=r(d[0])(r(d[14])),S=r(d[0])(r(d[15])),R=r(d[0])(r(d[16])),h=r(d[0])(r(d[17])),y=r(d[0])(r(d[18])),x=r(d[0])(r(d[19])),k=r(d[0])(r(d[20])),C=r(d[0])(r(d[21])),O=(r(d[0])(r(d[22])),r(d[0])(r(d[23]))),I=["pSetup","server","pSetupOverride","WebViewComponent","initialRoute","getSavedIssues","languagePackOverride","onPSetupError","onLocaleError","onUserSettingsError","onEditionsError","onSpecialsError","issueCallbacks","logCallbacks","urlParams","favoriteEdition"];function L(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(L=function(t){return t?u:n})(t)}function j(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=L(n);if(u&&u.has(t))return u.get(t);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var f=l?Object.getOwnPropertyDescriptor(t,o):null;f&&(f.get||f.set)?Object.defineProperty(s,o,f):s[o]=t[o]}return s.default=t,u&&u.set(t,s),s}var _,D=f.StyleSheet.create({app:{height:"100%",flex:1,justifyContent:"center",alignItems:"center",backgroundColor:r(d[24]).colors.white},errors:{position:"absolute",bottom:0,left:0,right:0}});function T(){return r(d[25]).VERSION}function q(t){var n,u,l,o,f;return s.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,s.default.awrap((0,p.getEditions)({pSetup:h.default.getMainPSetupName()}));case 2:if(n=c.sent,h.default.getSettings().setEditions(n),u=w.default.parseEditions(h.default.getSettings().editions),"function"!=typeof t){c.next=17;break}return c.prev=6,c.next=9,s.default.awrap(t());case 9:l=c.sent,w.default.updateDownloadIssues(u,l),v.default.log(l),c.next=17;break;case 14:c.prev=14,c.t0=c.catch(6),v.default.warn(c.t0.message);case 17:return u=w.default.filterEditions(u,function(t){return E.default.isOnline()||t.isDownloaded()}),o=w.default.getFirstValidIssue(u),c.next=21,s.default.awrap((0,r(d[26]).getIssueAspectRatio)(o));case 21:return f=c.sent,c.abrupt("return",{editions:u,aspectRatio:f});case 23:case"end":return c.stop()}},null,null,[[6,14]],Promise)}function M(c){var L=c.pSetup,j=(c.server,c.pSetupOverride),M=c.WebViewComponent,V=c.initialRoute,W=c.getSavedIssues,U=c.languagePackOverride,N=c.onPSetupError,A=c.onLocaleError,H=c.onUserSettingsError,B=c.onEditionsError,F=c.onSpecialsError,K=c.issueCallbacks,X=c.logCallbacks,z=c.urlParams,G=c.favoriteEdition,J=(0,u.default)(c,I),Q=(0,o.useState)(!0),Y=(0,n.default)(Q,2),Z=Y[0],$=Y[1],ee=(0,o.useState)(),te=(0,n.default)(ee,2),ae=te[0],re=te[1],ne=(0,o.useState)(G),ue=(0,n.default)(ne,2),se=ue[0],ie=ue[1];_=ie;var le=function(){var t,n,u,o;return s.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return t=(new Date).getTime(),h.default.setInitialProps(c),h.default.WebViewComponent=M,p.default.setServer(h.default.getServer()),p.default.setEntryPoint(h.default.getEntryPoint()),p.default.setParams((0,l.default)({},h.default.apiParams(),{pSetup:h.default.getPSetupName(),version:T()})),p.default.init(),E.default.isHTTPS="https:"===h.default.getProtocol(),f.prev=5,n=new y.default(L),f.next=9,s.default.awrap(n.download(j));case 9:return f.next=11,s.default.awrap(n.init());case 11:f.next=16;break;case 13:f.prev=13,f.t0=f.catch(5),N(f.t0);case 16:return f.prev=16,u=new x.default,f.next=20,s.default.awrap(u.init(n,U));case 20:f.next=25;break;case 22:f.prev=22,f.t1=f.catch(16),A(f.t1);case 25:return f.prev=25,o=new k.default,f.next=29,s.default.awrap(o.init(n));case 29:f.next=34;break;case 31:f.prev=31,f.t2=f.catch(25),H(f.t2);case 34:h.default.addProps({mPSetup:n,mLocale:u,mUserSettings:o}),v.default.debug("Load config in: "+((new Date).getTime()-t)/1e3+"s");case 36:case"end":return f.stop()}},null,null,[[5,13],[16,22],[25,31]],Promise)},oe=function(n){var u=h.default.getPSetup().tabs,s=b.default.getRoutes(u),l=s.drawerRoutes,o=s.tabsRoutes,f=b.default.getMainRoute(n,o),c=[f].concat((0,t.default)(l)),p=h.default.getLocale().strings("str_tabs");return p&&c.unshift(new R.default(p),new S.default),{initialRoute:V&&V!==r(d[27]).TABS.HOME?b.default.getInitialRoute(c,V):f,drawerRoutes:c}},de=function(){var t,n,u,o,f;return s.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return t=(new Date).getTime(),c.next=3,s.default.awrap(q(W));case 3:n=c.sent,u=oe(n.editions),o=u.initialRoute,f=u.drawerRoutes,re((0,l.default)({drawerRoutes:f},n,{initialRoute:null!=o?o:""})),v.default.debug("Load data in: "+((new Date).getTime()-t)/1e3+"s");case 7:case"end":return c.stop()}},null,null,null,Promise)};(0,o.useEffect)(function(){var n,u,o=v.default.addListeners(X);return Z?s.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.default.awrap(le());case 2:return t.prev=2,t.next=5,s.default.awrap(de());case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),B(t.t0);case 10:$(!1);case 11:case"end":return t.stop()}},null,null,[[2,7]],Promise):s.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,n=ae.editions,o.t0=w.default,o.next=5,s.default.awrap((0,p.getSpecials)());case 5:o.t1=o.sent,u=o.t0.parseSpecials.call(o.t0,o.t1),re(function(s){return(0,l.default)({},s,{specials:[].concat((0,t.default)(w.default.getShortuctEditions(n)),(0,t.default)(u))})}),o.next=13;break;case 10:o.prev=10,o.t2=o.catch(0),F(o.t2);case 13:case"end":return o.stop()}},null,null,[[0,10]],Promise),E.default.addConnectionChangeEventListener(function(t){v.default.debug(t)}),function(){o&&o.remove(),E.default.removeConnectionChangeEventListener()}},[Z]),(0,o.useEffect)(function(){if(ae){var t=ae.editions;if(t){h.default.setUrlParams(z);var n=oe(t),u=n.initialRoute,s=n.drawerRoutes;re(function(t){return(0,l.default)({},t,{drawerRoutes:s,initialRoute:null!=u?u:""})})}}},[z]),(0,o.useEffect)(function(){h.default.getSettings().setFavoriteEdition(se),de()},[se]);var fe=(0,l.default)({},K,{onIssuePress:function(t){var n=h.default.getPSetup(),u=n.xpaperUniversalLinks,s=n.remapEdition,l=Object.keys(u),o=t.getPSetup();if(l.length>0&&l.includes(o)){var f=u[o];f?(f=(f=(f=f.replace(/##issue##/g,t.getIssue())).replace(/##edition##/g,t.getEdition())).replace(/##pSetup##/g,o),r(d[28]).EventRegister.emit(O.default.ON_EXTERNAL_LINK_CLICK,{url:f})):K.onIssuePress(t)}else Object.keys(s).forEach(function(n){s[n]===t.getEdition()&&t.setEdition(n)}),K.onIssuePress(t)}});return o.default.createElement(f.View,{style:D.app},!Z&&ae?o.default.createElement(r(d[29]).AspectRatioContext.Provider,{value:ae.aspectRatio},o.default.createElement(C.default,(0,l.default)({data:ae,issueCallbacks:fe},J))):o.default.createElement(r(d[30]).CircleSnail,null),o.default.createElement(P.default,{style:D.errors}))}M.propTypes={apiParams:c.default.object,urlParams:c.default.object,pSetup:c.default.string.isRequired,server:c.default.string.isRequired,entryPoint:c.default.string,initialRoute:c.default.string,hideCloseButton:c.default.bool,hideHamburger:c.default.bool,onLocaleError:c.default.func.isRequired,onPSetupError:c.default.func.isRequired,onUserSettingsError:c.default.func.isRequired,onEditionsError:c.default.func.isRequired,onSpecialsError:c.default.func.isRequired,onRouteChange:c.default.func.isRequired,getSavedIssues:c.default.func,WebViewComponent:c.default.any,customUserAgent:c.default.string,issueCallbacks:c.default.shape({onIssuePress:c.default.func}),logCallbacks:c.default.shape({onLog:c.default.func,onDebug:c.default.func,onWarning:c.default.func,onError:c.default.func}),pSetupOverride:c.default.object,languagePackOverride:c.default.object,favoriteEdition:c.default.string},M.defaultProps={apiParams:{},urlParams:{},pSetupOverride:{},languagePackOverride:{},entryPoint:"/default_native_optionspage.php",hideCloseButton:!1,hideHamburger:!1};var V=M;e.default=V},822,[5,21,41,108,80,6,17,28,201,823,827,837,838,1060,1191,1193,1194,1061,1066,1062,1179,1195,826,839,1050,1695,1696,1068,1059,1313,1697]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getEditions=function(){var u,o=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=o.length>0&&void 0!==o[0]?o[0]:{},t.abrupt("return",k(b.addProtocol(b.getEntryPoint()),{params:(0,n.default)({},b.getDeviceParams(),b.getParams(),{action:"editionsList"},u)}));case 2:case"end":return t.stop()}},null,null,null,Promise)},e.getEditionsPics=function(){var u,o=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=o.length>0&&void 0!==o[0]?o[0]:{},t.abrupt("return",k(b.addProtocol(b.getEntryPoint()),{params:(0,n.default)({},b.getDeviceParams(),b.getParams(),{action:"editionsPics"},u)}));case 2:case"end":return t.stop()}},null,null,null,Promise)},e.getGraphUrl=function(t){return w(t,"graph")},e.getLanguagePack=function(){var u,o=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=o.length>0&&void 0!==o[0]?o[0]:{},t.abrupt("return",k(b.addProtocol(b.getEntryPoint()),{params:(0,n.default)({},b.getDeviceParams(),b.getParams(),{action:"locale"},u)}));case 2:case"end":return t.stop()}},null,null,null,Promise)},e.getLowUrl=function(t){return w(t,"bblow")},e.getPSetup=function(){var u,o=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=o.length>0&&void 0!==o[0]?o[0]:{},t.abrupt("return",k(b.addProtocol(b.getEntryPoint()),{params:(0,n.default)({},b.getDeviceParams(),b.getParams(),{action:"message",service:"optionspage",format:"json"},u)}));case 2:case"end":return t.stop()}},null,null,null,Promise)},e.getSpecials=function(){var u,o=arguments;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=o.length>0&&void 0!==o[0]?o[0]:{},t.abrupt("return",k(b.addProtocol(b.getEntryPoint()),{params:(0,n.default)({},b.getDeviceParams(),b.getParams(),{action:"editionsListMenu"},u)}));case 2:case"end":return t.stop()}},null,null,null,Promise)},e.getTabRoutes=function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[11]));case 1:case"end":return t.stop()}},null,null,null,Promise)},e.getTextUrl=function(t){return w(t,"text")};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),c=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=v(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=l?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(o,s,c):o[s]=t[s]}o.default=t,u&&u.set(t,o);return o})(r(d[7])),f=(r(d[0])(r(d[8])),r(d[0])(r(d[9])));function v(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(v=function(t){return t?u:n})(t)}var p=(0,s.default)("_server"),P=(0,s.default)("_entryPoint"),y=(0,s.default)("_params"),h=(0,s.default)("_instance"),b=(function(){function t(){(0,u.default)(this,t)}return(0,o.default)(t,null,[{key:"setServer",value:function(t){(0,l.default)(this,p)[p]=t}},{key:"getServer",value:function(){return(0,l.default)(this,p)[p]}},{key:"setEntryPoint",value:function(t){(0,l.default)(this,P)[P]=t}},{key:"getEntryPoint",value:function(){var n=t.getServer();return n.endsWith("/")||(n+="/"),""+n+(0,l.default)(this,P)[P]}},{key:"getPath",value:function(){return(0,l.default)(this,P)[P]}},{key:"setParams",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(this,y)[y]=t}},{key:"getParams",value:function(){return(0,l.default)(this,y)[y]}},{key:"getDeviceParams",value:function(){return{os:(0,r(d[10]).os)(),isKindle:!1}}},{key:"init",value:function(){(0,l.default)(this,h)[h]=c.default.create()}},{key:"getInstance",value:function(){return(0,l.default)(this,h)[h]}},{key:"addProtocol",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.startsWith("http")?t:"https://"+t}}]),t})();function w(t,u){var o=t.getSiteDomainCDN()||t.getSiteDomain();return(0,r(d[12]).addParamsToURL)(b.addProtocol(o)+"/"+b.getPath(),(0,n.default)({},b.getDeviceParams(),b.getParams(),{action:"issueImage",type:u,pSetup:t.getPSetup(),issue:t.getIssue(),crc:t.getFilename(),edition:encodeURIComponent(t.getEdition()),mtime:t.getLastClosed()}))}function k(n,u,o){var l;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,f.default.debug("GET "+n,u),s.next=4,t.default.awrap(b.getInstance().get(n,u));case 4:return l=s.sent,s.abrupt("return",l.data||o);case 8:s.prev=8,s.t0=s.catch(0),f.default.warn("GET "+n+" fails with error "+s.t0.message);case 11:return s.abrupt("return",o);case 12:case"end":return s.stop()}},null,null,[[0,8]],Promise)}Object.defineProperty(b,p,{writable:!0,value:void 0}),Object.defineProperty(b,P,{writable:!0,value:void 0}),Object.defineProperty(b,y,{writable:!0,value:void 0}),Object.defineProperty(b,h,{writable:!0,value:void 0});var O=b;e.default=O},823,[5,80,6,7,8,824,825,432,826,827,828,829,830]); __d(function(g,r,i,a,m,e,d){m.exports=function(t,o){if(!Object.prototype.hasOwnProperty.call(t,o))throw new TypeError("attempted to use private field on non-instance");return t},m.exports.__esModule=!0,m.exports.default=m.exports},824,[]); @@ -1016,7 +1016,7 @@ __d(function(g,r,i,a,m,e,d){m.exports={parse:function(){return this.createSingle __d(function(g,r,i,a,m,e,d){m.exports=r(d[0])},1010,[1009]); __d(function(g,r,i,a,m,e,d){m.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},1011,[]); __d(function(g,r,i,a,m,e,d){m.exports={node:r(d[0])}},1012,[943]); -__d(function(e,s,t,r,n,a,o){n.exports={_args:[["css-tree@1.1.3","/Users/ipaddev/sdk/dark-mode-appearance"]],_from:"css-tree@1.1.3",_id:"css-tree@1.1.3",_inBundle:!1,_integrity:"sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",_location:"/css-tree",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"css-tree@1.1.3",name:"css-tree",escapedName:"css-tree",rawSpec:"1.1.3",saveSpec:null,fetchSpec:"1.1.3"},_requiredBy:["/react-native-svg"],_resolved:"https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",_spec:"1.1.3",_where:"/Users/ipaddev/sdk/dark-mode-appearance",author:{name:"Roman Dvornov",email:"rdvornov@gmail.com",url:"https://github.com/lahmatiy"},bugs:{url:"https://github.com/csstree/csstree/issues"},dependencies:{"mdn-data":"2.0.14","source-map":"^0.6.1"},description:"A tool set for CSS: fast detailed parser (CSS \u2192 AST), walker (AST traversal), generator (AST \u2192 CSS) and lexer (validation and matching) based on specs and browser implementations",devDependencies:{"@rollup/plugin-commonjs":"^11.0.2","@rollup/plugin-json":"^4.0.2","@rollup/plugin-node-resolve":"^7.1.1",coveralls:"^3.0.9",eslint:"^6.8.0","json-to-ast":"^2.1.0",mocha:"^6.2.3",nyc:"^14.1.1",rollup:"^1.32.1","rollup-plugin-terser":"^5.3.0"},engines:{node:">=8.0.0"},files:["data","dist","lib"],homepage:"https://github.com/csstree/csstree#readme",jsdelivr:"dist/csstree.min.js",keywords:["css","ast","tokenizer","parser","walker","lexer","generator","utils","syntax","validation"],license:"MIT",main:"lib/index.js",name:"css-tree",repository:{type:"git",url:"git+https://github.com/csstree/csstree.git"},scripts:{build:"rollup --config",coverage:"nyc npm test",coveralls:"nyc report --reporter=text-lcov | coveralls",hydrogen:"node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null",lint:"eslint data lib scripts test && node scripts/review-syntax-patch --lint && node scripts/update-docs --lint","lint-and-test":"npm run lint && npm test",prepublishOnly:"npm run build","review:syntax-patch":"node scripts/review-syntax-patch",test:"mocha --reporter progress",travis:"nyc npm run lint-and-test && npm run coveralls","update:docs":"node scripts/update-docs"},unpkg:"dist/csstree.min.js",version:"1.1.3"}},1013,[]); +__d(function(e,s,t,r,n,o,i){n.exports={_args:[["css-tree@1.1.3","/Users/ipaddev/sdk/trunk"]],_from:"css-tree@1.1.3",_id:"css-tree@1.1.3",_inBundle:!1,_integrity:"sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",_location:"/css-tree",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"css-tree@1.1.3",name:"css-tree",escapedName:"css-tree",rawSpec:"1.1.3",saveSpec:null,fetchSpec:"1.1.3"},_requiredBy:["/react-native-svg"],_resolved:"https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",_spec:"1.1.3",_where:"/Users/ipaddev/sdk/trunk",author:{name:"Roman Dvornov",email:"rdvornov@gmail.com",url:"https://github.com/lahmatiy"},bugs:{url:"https://github.com/csstree/csstree/issues"},dependencies:{"mdn-data":"2.0.14","source-map":"^0.6.1"},description:"A tool set for CSS: fast detailed parser (CSS \u2192 AST), walker (AST traversal), generator (AST \u2192 CSS) and lexer (validation and matching) based on specs and browser implementations",devDependencies:{"@rollup/plugin-commonjs":"^11.0.2","@rollup/plugin-json":"^4.0.2","@rollup/plugin-node-resolve":"^7.1.1",coveralls:"^3.0.9",eslint:"^6.8.0","json-to-ast":"^2.1.0",mocha:"^6.2.3",nyc:"^14.1.1",rollup:"^1.32.1","rollup-plugin-terser":"^5.3.0"},engines:{node:">=8.0.0"},files:["data","dist","lib"],homepage:"https://github.com/csstree/csstree#readme",jsdelivr:"dist/csstree.min.js",keywords:["css","ast","tokenizer","parser","walker","lexer","generator","utils","syntax","validation"],license:"MIT",main:"lib/index.js",name:"css-tree",repository:{type:"git",url:"git+https://github.com/csstree/csstree.git"},scripts:{build:"rollup --config",coverage:"nyc npm test",coveralls:"nyc report --reporter=text-lcov | coveralls",hydrogen:"node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null",lint:"eslint data lib scripts test && node scripts/review-syntax-patch --lint && node scripts/update-docs --lint","lint-and-test":"npm run lint && npm test",prepublishOnly:"npm run build","review:syntax-patch":"node scripts/review-syntax-patch",test:"mocha --reporter progress",travis:"nyc npm run lint-and-test && npm run coveralls","update:docs":"node scripts/update-docs"},unpkg:"dist/csstree.min.js",version:"1.1.3"}},1013,[]); __d(function(g,r,_i,a,m,e,d){"use strict";function t(t){return function(n,i,u){return(i=i||{}).adapter=i.adapter||r(d[0]),t(n,i,u)}}m.exports=c;var n=t(r(d[1])),i=t(r(d[1]).compileUnsafe);function u(t){return function(n,u,s){return(s=s||{}).adapter=s.adapter||r(d[0]),"function"!=typeof n&&(n=i(n,s,u)),n.shouldTestNextSiblings&&(u=o(s&&s.context||u,s.adapter)),u=Array.isArray(u)?s.adapter.removeSubsets(u):s.adapter.getChildren(u),t(n,u,s)}}function s(t,n){var i=n.getSiblings(t);if(!Array.isArray(i))return[];for(i=i.slice(0);i.shift()!==t;);return i}function o(t,n){Array.isArray(t)||(t=[t]);for(var i=t.slice(0),u=0,o=t.length;u=12"},files:["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node.sh","scripts/generate-specs-cli.js","scripts/ios-configure-glog.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/react_native_pods.rb","scripts/react-native-xcode.sh","template.config.js","template","third-party-podspecs"],homepage:"https://github.com/facebook/react-native#readme","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},license:"MIT",name:"react-native",peerDependencies:{react:"17.0.2"},repository:{type:"git",url:"git+https://github.com/facebook/react-native.git"},scripts:{"build-ios-e2e":"detox build -c ios.sim.release","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","docker-setup-android":"docker pull reactnativecommunity/react-native-android:4.0",flow:"flow","flow-check-android":"flow check --flowconfig-name .flowconfig.android","flow-check-ios":"flow check",format:"npm run prettier && npm run clang-format","format-check":"prettier --list-different \"./**/*.{js,md,yml}\"",lint:"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js",prettier:"prettier --write \"./**/*.{js,md,yml}\"",shellcheck:"./scripts/circleci/analyze_scripts.sh",start:"react-native start",test:"jest","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-ci":"jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"","test-ios":"./scripts/objc-test.sh test","test-ios-e2e":"detox test -c ios.sim.release packages/rn-tester/e2e","update-lock":"npx yarn-deduplicate"},version:"0.67.5"}},1273,[]); +__d(function(e,t,r,a,i,s,n){i.exports={_args:[["react-native@0.67.5","/Users/ipaddev/sdk/trunk"]],_from:"react-native@0.67.5",_id:"react-native@0.67.5",_inBundle:!1,_integrity:"sha512-/xEksthqImZGDfcqzEmbOw0KRkp9/x+cC8T8uTHhSKLLa8pOFLGdF190UOjnLammGmAmFy0+ZcJf0Ujm53IGeA==",_location:"/react-native",_phantomChildren:{"@react-native-community/cli-debugger-ui":"6.0.0","@react-native-community/cli-hermes":"6.3.1","@react-native-community/cli-plugin-metro":"6.4.0","@react-native-community/cli-server-api":"6.4.3","@react-native-community/cli-tools":"6.2.1","@react-native-community/cli-types":"6.0.0","ansi-styles":"4.3.0",appdirsjs:"1.2.7","command-exists":"1.2.9",commander:"2.20.3",cosmiconfig:"5.2.1",deepmerge:"3.3.0",envinfo:"7.8.1",execa:"1.0.0","find-up":"4.1.0",glob:"7.1.6","graceful-fs":"4.2.6",joi:"17.7.0",jsonfile:"4.0.0",leven:"3.1.0",lodash:"4.17.21",minimist:"1.2.5","node-stream-zip":"1.15.0",ora:"3.4.0","pretty-format":"26.6.2",prompts:"2.4.2",semver:"6.3.0","serve-static":"1.15.0","strip-ansi":"5.2.0","sudo-prompt":"9.2.1","supports-color":"7.2.0",universalify:"0.1.2",wcwidth:"1.0.1"},_requested:{type:"version",registry:!0,raw:"react-native@0.67.5",name:"react-native",escapedName:"react-native",rawSpec:"0.67.5",saveSpec:null,fetchSpec:"0.67.5"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/react-native/-/react-native-0.67.5.tgz",_spec:"0.67.5",_where:"/Users/ipaddev/sdk/trunk",bin:{"react-native":"cli.js"},bugs:{url:"https://github.com/facebook/react-native/issues"},dependencies:{"@jest/create-cache-key-function":"^27.0.1","@react-native-community/cli":"^6.0.0","@react-native-community/cli-platform-android":"^6.0.0","@react-native-community/cli-platform-ios":"^6.0.0","@react-native/assets":"1.0.0","@react-native/normalize-color":"2.0.0","@react-native/polyfills":"2.0.0","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","event-target-shim":"^5.0.1","hermes-engine":"~0.9.0",invariant:"^2.2.4","jsc-android":"^250230.2.1","metro-react-native-babel-transformer":"0.66.2","metro-runtime":"0.66.2","metro-source-map":"0.66.2",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.0.3","prop-types":"^15.7.2","react-devtools-core":"4.19.1","react-native-codegen":"^0.0.8","react-refresh":"^0.4.0","regenerator-runtime":"^0.13.2",scheduler:"^0.20.2","stacktrace-parser":"^0.1.3","use-subscription":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.1.4"},description:"A framework for building native apps using React",detox:{"test-runner":"jest","runner-config":"packages/rn-tester/e2e/config.json",specs:"",configurations:{"android.emu.release":{binaryPath:"packages/rn-tester/android/app/build/outputs/apk/hermes/release/app-hermes-x86-release.apk",testBinaryPath:"packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/release/app-hermes-release-androidTest.apk",build:"./gradlew :packages:rn-tester:android:app:assembleRelease :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=release",type:"android.emulator",device:{avdName:"Nexus_6_API_29"}},"android.emu.debug":{binaryPath:"packages/rn-tester/android/app/build/outputs/apk/hermes/debug/app-hermes-x86-debug.apk",testBinaryPath:"packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/debug/app-hermes-debug-androidTest.apk",build:"./gradlew :packages:rn-tester:android:app:assembleDebug :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=debug",type:"android.emulator",device:{avdName:"Nexus_6_API_29"}},"ios.sim.release":{binaryPath:"packages/rn-tester/build/Build/Products/Release-iphonesimulator/RNTester.app/",build:"xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet",type:"ios.simulator",name:"iPhone 8"},"ios.sim.debug":{binaryPath:"packages/rn-tester/build/Build/Products/Debug-iphonesimulator/RNTester.app/",build:"xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet",type:"ios.simulator",name:"iPhone 8"}}},devDependencies:{"@babel/core":"^7.14.0","@babel/generator":"^7.14.0","@babel/template":"^7.0.0","@babel/types":"^7.0.0","@react-native-community/eslint-plugin":"*","@reactions/component":"^2.0.2",async:"^2.4.0","babel-eslint":"^10.1.0","babel-preset-fbjs":"^3.4.0","clang-format":"^1.2.4",connect:"^3.6.5",coveralls:"^3.0.2",detox:"16.7.2",eslint:"7.12.0","eslint-config-fb-strict":"^24.9.0","eslint-config-fbjs":"2.1.0","eslint-config-prettier":"^6.0.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-eslint-comments":"^3.1.1","eslint-plugin-flowtype":"2.50.3","eslint-plugin-jest":"22.4.1","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-prettier":"2.6.2","eslint-plugin-react":"7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-react-native":"3.10.0","eslint-plugin-relay":"1.8.1","flow-bin":"^0.162.0",inquirer:"^7.1.0",jest:"^26.6.3","jest-junit":"^10.0.0",jscodeshift:"^0.11.0","metro-babel-register":"0.66.2","metro-transform-plugins":"^0.66.2",mkdirp:"^0.5.1",prettier:"1.19.1",react:"17.0.2","react-shallow-renderer":"16.14.1","react-test-renderer":"17.0.2",shelljs:"^0.7.8",signedsource:"^1.0.0",ws:"^6.1.4",yargs:"^15.3.1"},engines:{node:">=12"},files:["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node.sh","scripts/generate-specs-cli.js","scripts/ios-configure-glog.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/react_native_pods.rb","scripts/react-native-xcode.sh","template.config.js","template","third-party-podspecs"],homepage:"https://github.com/facebook/react-native#readme","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},license:"MIT",name:"react-native",peerDependencies:{react:"17.0.2"},repository:{type:"git",url:"git+https://github.com/facebook/react-native.git"},scripts:{"build-ios-e2e":"detox build -c ios.sim.release","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","docker-setup-android":"docker pull reactnativecommunity/react-native-android:4.0",flow:"flow","flow-check-android":"flow check --flowconfig-name .flowconfig.android","flow-check-ios":"flow check",format:"npm run prettier && npm run clang-format","format-check":"prettier --list-different \"./**/*.{js,md,yml}\"",lint:"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js",prettier:"prettier --write \"./**/*.{js,md,yml}\"",shellcheck:"./scripts/circleci/analyze_scripts.sh",start:"react-native start",test:"jest","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-ci":"jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"","test-ios":"./scripts/objc-test.sh test","test-ios-e2e":"detox test -c ios.sim.release packages/rn-tester/e2e","update-lock":"npx yarn-deduplicate"},version:"0.67.5"}},1273,[]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Freeze=function(r){var n=r.freeze,o=r.children,u=r.placeholder,f=void 0===u?null:u;return e.default.createElement(e.Suspense,{fallback:f},e.default.createElement(t,{freeze:n},o))};var e=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var l=u?Object.getOwnPropertyDescriptor(e,f):null;l&&(l.get||l.set)?Object.defineProperty(o,f,l):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function t(r){var t=r.freeze,n=r.children,o=(0,e.useRef)({}).current;if(t&&!o.promise)throw o.promise=new Promise(function(e){o.resolve=e}),o.promise;if(t)throw o.promise;return o.promise&&(o.resolve(),o.promise=void 0),e.default.createElement(e.Fragment,null,n)}},1274,[17]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=void 0;var t=r(d[0]),o=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=o},1275,[28]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var r=e.useContext(t.default);if(void 0===r)throw new Error("Couldn't find a drawer. Is your component inside a drawer navigator?");return r};var e=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[0])),t=_r(d[1])(_r(d[2]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}},1276,[17,5,1257]); @@ -1858,319 +1858,319 @@ __d(function(t,n,e,o,i,c,r){i.exports={main:{enableHighlighting:"true",backgroun __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Footer=void 0;var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),l=r(d[0])(r(d[5]));function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}var h=(function(h){(0,n.default)(B,h);var c,f,y=(c=B,f=s(),function(){var t,o=(0,l.default)(c);if(f){var n=(0,l.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function B(o){var n;return(0,t.default)(this,B),(n=y.call(this,o)).setEnableHighlighting(),n.setBackgroundColor(),n.setTextColor(),n.setButtonHighlightColor(),n.setDefaultButtonHighlightColor(),n.setButtons(),n.setMore(),n}return(0,o.default)(B,[{key:"setEnableHighlighting",value:function(){this.enableHighlighting=this.getValueByKey("enableHighlighting",!1)}},{key:"setBackgroundColor",value:function(){this.backgroundColor=this.getValueByKey("backgroundColor",r(d[6]).colors.black)}},{key:"setTextColor",value:function(){this.textColor=this.getValueByKey("textColor",r(d[6]).colors.white)}},{key:"setButtonHighlightColor",value:function(){this.buttonHighlightColor=this.getValueByKey("buttonHighlightColor",r(d[6]).colors.md_light_blue_300)}},{key:"setDefaultButtonHighlightColor",value:function(){this.defaultButtonHighlightColor=this.getValueByKey("defaultButtonHighlightColor",r(d[6]).colors.white)}},{key:"setButtons",value:function(){this.buttons=this.getArrayByKey("buttons").map(function(t){return new(r(d[7]).FooterIcon)(t)})}},{key:"setMore",value:function(){this.more=this.getArrayByKey("more").map(function(t){return new(r(d[8]).MoreIcon)(t)})}},{key:"getButtonByAction",value:function(t){var o=this.buttons.find(function(o){return o.getAction()===t});return o||(o=this.more.find(function(o){return o.getAction()===t})),o}}]),B})(r(d[9]).BaseModel);e.Footer=h},1852,[5,7,8,12,14,16,462,1853,1854,1850]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.FooterIcon=void 0;var t=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),c=r(d[0])(r(d[4]));function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}var f=(function(f){(0,o.default)(h,f);var l,s,v=(l=h,s=u(),function(){var t,o=(0,c.default)(l);if(s){var u=(0,c.default)(this).constructor;t=Reflect.construct(o,arguments,u)}else t=o.apply(this,arguments);return(0,n.default)(this,t)});function h(o){return(0,t.default)(this,h),v.call(this,o,"footer")}return h})(r(d[5]).Icon);e.FooterIcon=f},1853,[5,7,12,14,16,1811]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.MoreIcon=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])),c=r(d[0])(r(d[4]));function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}var f=(function(f){(0,n.default)(h,f);var l,s,v=(l=h,s=u(),function(){var t,n=(0,c.default)(l);if(s){var u=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,o.default)(this,t)});function h(n){return(0,t.default)(this,h),v.call(this,n,"footer-more")}return h})(r(d[5]).Icon);e.MoreIcon=f},1854,[5,7,12,14,16,1811]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PaperSetupManager=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),p=r(d[0])(r(d[5])),c=(r(d[0])(r(d[6])),r(d[0])(r(d[7]))),o=(function(){function o(){(0,u.default)(this,o),this.pSetups=[],this.activePSetup=o.getMainPSetup()}return(0,s.default)(o,[{key:"init",value:function(n){var u,s,p,c,l,f,S,v,h,P,x,y,k=arguments;return t.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:return u=k.length>1&&void 0!==k[1]?k[1]:o.getMachine(),s=k.length>2&&void 0!==k[2]?k[2]:{},p=!1,c=!0,l=s.preview,f=s.oneTimeToken,S=s.firstInstall,v=s.fromCache,n||(n=o.getMainPSetup(),c=!this.activePSetup),(h=this.pSetups[n])||(h=new(r(d[8]).PaperSetupConfig)(n,u)),C.next=10,t.default.awrap(o.download({pSetup:n,machine:u,preview:l,oneTimeToken:f,firstInstall:S,fromCache:v}));case 10:return P=C.sent,x=P.json,y=P.fromServer,C.next=15,t.default.awrap(h.init(x));case 15:return(p=C.sent)&&(f&&h.loginStatus.setOneTimeToken(f),this.pSetups[n]=h,c&&this.setActivePSetup(n)),C.abrupt("return",{success:p,fromServer:y});case 18:case"end":return C.stop()}},null,this,null,Promise)}},{key:"initConfigOnly",value:function(){var n,u,s,p,c,l,f=arguments;return t.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return n=f.length>0&&void 0!==f[0]?f[0]:o.getMainPSetup(),u=f.length>1&&void 0!==f[1]?f[1]:o.getMachine(),s=new(r(d[8]).PaperSetupConfig)(n,u),S.next=5,t.default.awrap(o.download({pSetup:n,machine:u}));case 5:return p=S.sent,c=p.json,S.next=9,t.default.awrap(s.init(c));case 9:return l=S.sent,S.abrupt("return",{success:l,config:s});case 11:case"end":return S.stop()}},null,null,null,Promise)}},{key:"setCurrentPublication",value:function(t){var n=t.pSetup,u=t.machine,s=t.paperName,p=t.external,c=this.getActivePSetupConfig();g.getPublicationsManager().setCurrentPublication({pSetup:n,machine:u,name:s||c.paperName,paper:c.paper,xpaper:c.xpaper,external:p})}},{key:"load",value:function(n,u){var s,p,c,l,f,S,v,h,P,x,y,k,C,w,A,b,M,U,T=arguments;return t.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(s=T.length>2&&void 0!==T[2]?T[2]:{},p=T.length>3&&void 0!==T[3]&&T[3],c=!0,l=!1,f=n,S=u,v=this.getMainPSetupConfig(),h=v.pSetup,P=v.isGenericApp,x={pSetup:n,machine:u,paperName:s.paperName,external:p&&n!==h},!n||n===this.activePSetup){E.next=19;break}return!S&&P&&(y=this.getActivePSetupConfig(),S=y.machine),p||g.isTaAddon()||P&&!o.isPSetupASpecialOfActivePSetup(n)||(k=n,-1!==n.indexOf("-xp-")&&(C=n.split("-xp-")).length>1&&(k=C[1]),(w=this.activePSetup.split("-xp-")).length>1?w[0]!==k&&(f=w[0]+"-xp-"+k):f=this.activePSetup+"-xp-"+k),E.next=13,t.default.awrap(this.init(f,S,s));case 13:A=E.sent,c=A.success,l=A.fromServer,c&&(this.setCurrentPublication(x),this.getActivePSetupConfig().setExternal(x.external)),E.next=28;break;case 19:if(g.getPublicationsManager().getCurrentPublication()||this.setCurrentPublication(x),b=s.preview,M=s.oneTimeToken,!b&&!M){E.next=28;break}return E.next=25,t.default.awrap(this.init(f,S,s));case 25:U=E.sent,c=U.success,l=U.fromServer;case 28:return E.abrupt("return",{config:c?this.getActivePSetupConfig():null,fromServer:l});case 29:case"end":return E.stop()}},null,this,null,Promise)}},{key:"reload",value:function(n){var u,s,p,c;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return u=this.getActivePSetupConfig(),s=u.pSetup,p=u.machine,o.next=3,t.default.awrap(this.init(s,p,n));case 3:return c=o.sent,o.abrupt("return",c);case 5:case"end":return o.stop()}},null,this,null,Promise)}},{key:"setActivePSetup",value:function(t){this.activePSetup=t}},{key:"resetActivePSetup",value:function(){this.activePSetup=o.getMainPSetup()}},{key:"getActivePSetup",value:function(){return this.activePSetup}},{key:"setPSetupConfig",value:function(t,n){this.pSetups[t]=n}},{key:"getPSetupConfig",value:function(t){return t&&this.pSetups[t]?this.pSetups[t]:{}}},{key:"getMainPSetupConfig",value:function(){return this.getPSetupConfig(o.getMainPSetup())}},{key:"getActivePSetupConfig",value:function(){return this.getPSetupConfig(this.getActivePSetup())}},{key:"getRSSActivePSetupConfig",value:function(){var t=this.getActivePSetupConfig(),n=t.rssIsEnabled,u=t.pSetup;if(n){var s=u.split("-xp-");if(!(s.length>1))return t;var p=this.getPSetupConfig(s[0]);if(!r(d[9]).JSUtils.isEmpty(p))return p}return this.getMainPSetupConfig()}}],[{key:"getMainPSetup",value:function(){return g.getAppPSetup()}},{key:"getMachine",value:function(){return g.getAppServer()}},{key:"isGenericAppConfigured",value:function(){var t=g.getMainPSetup(),n=t.isGenericApp,u=t.publicationsPageURL;return n&&!!u}},{key:"isPSetupASpecialOfActivePSetup",value:function(t){var n=g.getActivePSetup().initpageXpaperNotView;return!(!t||!n)&&n.split(",").includes(t)}},{key:"download",value:function(){var u,s,l,f,S,v,h,P,x,y,k,C,w,A,b=arguments;return t.default.async(function(M){for(;;)switch(M.prev=M.next){case 0:return u=b.length>0&&void 0!==b[0]?b[0]:{pSetup:o.getMainPSetup(),machine:o.getMachine(),fromCache:!1},s=!1,l=u.oneTimeToken,f=u.fromCache,S=(0,n.default)(u,["oneTimeToken","fromCache"]),v=S.pSetup,h=S.machine,P=S.preview,x=P||l,y=v+"-"+p.default.getServer(h),M.next=8,t.default.awrap(r(d[9]).StorageUtils.multiGet(y));case 8:if(k=M.sent,!r(d[9]).JSUtils.isEmpty(k)||!h.startsWith("http")){M.next=13;break}return M.next=12,t.default.awrap(r(d[9]).StorageUtils.multiGet(v+"-"+r(d[9]).StringUtils.removeProtocolFromURL(h)));case 12:k=M.sent;case 13:if(!r(d[9]).NetworkUtils.isOnline()||!r(d[9]).JSUtils.isEmpty(k)&&r(d[9]).JSUtils.hasProperty(k,"layoutStyle")&&f&&!x){M.next=28;break}if(r(d[9]).JSUtils.isEmpty(k)){M.next=23;break}return C=g.getNewsmemoryConfig(),w=k.udb,M.next=19,t.default.awrap(C.getPrefEdi(w));case 19:return S.prefEdi=M.sent,M.next=22,t.default.awrap(C.getFavEdi());case 22:S.favEdi=M.sent;case 23:return g.apiKey&&(S.apiKey=g.apiKey),M.next=26,t.default.awrap(c.default.getJson(S));case 26:A=M.sent,r(d[9]).JSUtils.isEmpty(A)||(k=A,r(d[9]).StorageUtils.clearAll(y).then(function(){return r(d[9]).StorageUtils.multiSet(y,A)}),s=!0);case 28:return M.abrupt("return",{json:k||{},fromServer:s});case 29:case"end":return M.stop()}},null,null,null,Promise)}}]),o})();e.PaperSetupManager=o},1855,[5,80,108,7,8,431,1728,1856,754,462]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PaperSetupManager=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),p=r(d[0])(r(d[5])),o=(r(d[0])(r(d[6])),r(d[0])(r(d[7]))),c=(function(){function c(){(0,u.default)(this,c),this.pSetups=[],this.activePSetup=c.getMainPSetup()}return(0,s.default)(c,[{key:"preloadCustomFonts",value:function(n){var u,s,p;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(u=n.paper,s=n.customFontsString,p=n.customFontsFileTime,!s){o.next=6;break}return o.next=4,t.default.awrap(r(d[8]).FontsManager.preloadFonts(u,s,p));case 4:o.next=6;break;case 6:case"end":return o.stop()}},null,null,null,Promise)}},{key:"init",value:function(n){var u,s,p,o,l,f,S,v,h,P,x,y,k=arguments;return t.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:return u=k.length>1&&void 0!==k[1]?k[1]:c.getMachine(),s=k.length>2&&void 0!==k[2]?k[2]:{},p=!1,o=!0,l=s.preview,f=s.oneTimeToken,S=s.firstInstall,v=s.fromCache,n||(n=c.getMainPSetup(),o=!this.activePSetup),(h=this.pSetups[n])||(h=new(r(d[9]).PaperSetupConfig)(n,u)),C.next=10,t.default.awrap(c.download({pSetup:n,machine:u,preview:l,oneTimeToken:f,firstInstall:S,fromCache:v}));case 10:return P=C.sent,x=P.json,y=P.fromServer,C.next=15,t.default.awrap(h.init(x));case 15:if(!(p=C.sent)){C.next=22;break}return C.next=19,t.default.awrap(this.preloadCustomFonts(h));case 19:f&&h.loginStatus.setOneTimeToken(f),this.pSetups[n]=h,o&&this.setActivePSetup(n);case 22:return C.abrupt("return",{success:p,fromServer:y});case 23:case"end":return C.stop()}},null,this,null,Promise)}},{key:"initConfigOnly",value:function(){var n,u,s,p,o,l,f=arguments;return t.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:return n=f.length>0&&void 0!==f[0]?f[0]:c.getMainPSetup(),u=f.length>1&&void 0!==f[1]?f[1]:c.getMachine(),s=new(r(d[9]).PaperSetupConfig)(n,u),S.next=5,t.default.awrap(c.download({pSetup:n,machine:u}));case 5:return p=S.sent,o=p.json,S.next=9,t.default.awrap(s.init(o));case 9:if(!(l=S.sent)){S.next=13;break}return S.next=13,t.default.awrap(this.preloadCustomFonts(s));case 13:return S.abrupt("return",{success:l,config:s});case 14:case"end":return S.stop()}},null,this,null,Promise)}},{key:"setCurrentPublication",value:function(t){var n=t.pSetup,u=t.machine,s=t.paperName,p=t.external,o=this.getActivePSetupConfig();g.getPublicationsManager().setCurrentPublication({pSetup:n,machine:u,name:s||o.paperName,paper:o.paper,xpaper:o.xpaper,external:p})}},{key:"load",value:function(n,u){var s,p,o,l,f,S,v,h,P,x,y,k,C,w,b,A,M,T,U=arguments;return t.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(s=U.length>2&&void 0!==U[2]?U[2]:{},p=U.length>3&&void 0!==U[3]&&U[3],o=!0,l=!1,f=n,S=u,v=this.getMainPSetupConfig(),h=v.pSetup,P=v.isGenericApp,x={pSetup:n,machine:u,paperName:s.paperName,external:p&&n!==h},!n||n===this.activePSetup){E.next=19;break}return!S&&P&&(y=this.getActivePSetupConfig(),S=y.machine),p||g.isTaAddon()||P&&!c.isPSetupASpecialOfActivePSetup(n)||(k=n,-1!==n.indexOf("-xp-")&&(C=n.split("-xp-")).length>1&&(k=C[1]),(w=this.activePSetup.split("-xp-")).length>1?w[0]!==k&&(f=w[0]+"-xp-"+k):f=this.activePSetup+"-xp-"+k),E.next=13,t.default.awrap(this.init(f,S,s));case 13:b=E.sent,o=b.success,l=b.fromServer,o&&(this.setCurrentPublication(x),this.getActivePSetupConfig().setExternal(x.external)),E.next=28;break;case 19:if(g.getPublicationsManager().getCurrentPublication()||this.setCurrentPublication(x),A=s.preview,M=s.oneTimeToken,!A&&!M){E.next=28;break}return E.next=25,t.default.awrap(this.init(f,S,s));case 25:T=E.sent,o=T.success,l=T.fromServer;case 28:return E.abrupt("return",{config:o?this.getActivePSetupConfig():null,fromServer:l});case 29:case"end":return E.stop()}},null,this,null,Promise)}},{key:"reload",value:function(n){var u,s,p,o;return t.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return u=this.getActivePSetupConfig(),s=u.pSetup,p=u.machine,c.next=3,t.default.awrap(this.init(s,p,n));case 3:return o=c.sent,c.abrupt("return",o);case 5:case"end":return c.stop()}},null,this,null,Promise)}},{key:"setActivePSetup",value:function(t){this.activePSetup=t}},{key:"resetActivePSetup",value:function(){this.activePSetup=c.getMainPSetup()}},{key:"getActivePSetup",value:function(){return this.activePSetup}},{key:"setPSetupConfig",value:function(t,n){this.pSetups[t]=n}},{key:"getPSetupConfig",value:function(t){return t&&this.pSetups[t]?this.pSetups[t]:{}}},{key:"getMainPSetupConfig",value:function(){return this.getPSetupConfig(c.getMainPSetup())}},{key:"getActivePSetupConfig",value:function(){return this.getPSetupConfig(this.getActivePSetup())}},{key:"getRSSActivePSetupConfig",value:function(){var t=this.getActivePSetupConfig(),n=t.rssIsEnabled,u=t.pSetup;if(n){var s=u.split("-xp-");if(!(s.length>1))return t;var p=this.getPSetupConfig(s[0]);if(!r(d[10]).JSUtils.isEmpty(p))return p}return this.getMainPSetupConfig()}}],[{key:"getMainPSetup",value:function(){return g.getAppPSetup()}},{key:"getMachine",value:function(){return g.getAppServer()}},{key:"isGenericAppConfigured",value:function(){var t=g.getMainPSetup(),n=t.isGenericApp,u=t.publicationsPageURL;return n&&!!u}},{key:"isPSetupASpecialOfActivePSetup",value:function(t){var n=g.getActivePSetup().initpageXpaperNotView;return!(!t||!n)&&n.split(",").includes(t)}},{key:"download",value:function(){var u,s,l,f,S,v,h,P,x,y,k,C,w,b,A=arguments;return t.default.async(function(M){for(;;)switch(M.prev=M.next){case 0:return u=A.length>0&&void 0!==A[0]?A[0]:{pSetup:c.getMainPSetup(),machine:c.getMachine(),fromCache:!1},s=!1,l=u.oneTimeToken,f=u.fromCache,S=(0,n.default)(u,["oneTimeToken","fromCache"]),v=S.pSetup,h=S.machine,P=S.preview,x=P||l,y=v+"-"+p.default.getServer(h),M.next=8,t.default.awrap(r(d[10]).StorageUtils.multiGet(y));case 8:if(k=M.sent,!r(d[10]).JSUtils.isEmpty(k)||!h.startsWith("http")){M.next=13;break}return M.next=12,t.default.awrap(r(d[10]).StorageUtils.multiGet(v+"-"+r(d[10]).StringUtils.removeProtocolFromURL(h)));case 12:k=M.sent;case 13:if(!r(d[10]).NetworkUtils.isOnline()||!r(d[10]).JSUtils.isEmpty(k)&&r(d[10]).JSUtils.hasProperty(k,"layoutStyle")&&f&&!x){M.next=28;break}if(r(d[10]).JSUtils.isEmpty(k)){M.next=23;break}return C=g.getNewsmemoryConfig(),w=k.udb,M.next=19,t.default.awrap(C.getPrefEdi(w));case 19:return S.prefEdi=M.sent,M.next=22,t.default.awrap(C.getFavEdi());case 22:S.favEdi=M.sent;case 23:return g.apiKey&&(S.apiKey=g.apiKey),M.next=26,t.default.awrap(o.default.getJson(S));case 26:b=M.sent,r(d[10]).JSUtils.isEmpty(b)||(k=b,r(d[10]).StorageUtils.clearAll(y).then(function(){return r(d[10]).StorageUtils.multiSet(y,b)}),s=!0);case 28:return M.abrupt("return",{json:k||{},fromServer:s});case 29:case"end":return M.stop()}},null,null,null,Promise)}}]),c})();e.PaperSetupManager=c},1855,[5,80,108,7,8,431,1728,1856,1859,754,462]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=o(_r(d[4])),u=o(_r(d[5]));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var f=u?Object.getOwnPropertyDescriptor(e,o):null;f&&(f.get||f.set)?Object.defineProperty(n,o,f):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}var f=(function(){function a(){(0,t.default)(this,a)}return(0,r.default)(a,null,[{key:"getJson",value:function(t){var r;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.default.awrap(n.getDataFromApiResponse(t));case 2:return r=a.sent,a.abrupt("return",u.parse(r));case 4:case"end":return a.stop()}},null,null,null,Promise)}}]),a})();_e.default=f},1856,[5,80,7,8,1857,1858]); __d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.getDataFromApiResponse=function(n){var a;return e.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return a="",u.prev=1,u.next=4,e.default.awrap(r.default.requestWithRetry({request:r.default.pSetup,onRetry:function(e,r){_r(d[4]).EventRegister.emit(t.default.PAPER_SETUP_API_RETRY,{retryText:g.strings("msg_download_retry",{retry:e+1,maxRetries:r})})}},n));case 4:a=u.sent,u.next=11;break;case 7:if(u.prev=7,u.t0=u.catch(1),!u.t0.response||u.t0.response.status!==r.HTTP_CODES.UNAUTHORIZED){u.next=11;break}throw u.t0;case 11:return u.abrupt("return",a);case 12:case"end":return u.stop()}},null,null,[[1,7]],Promise)};var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=u?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a})(_r(d[3]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}},1857,[5,80,460,431,574]); __d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.parse=function(){for(var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("&"),t={},n=0;n0&&this.currentTranslationLanguage!==k.translation_disabled}},{key:"setCurrentTranslationLanguage",value:function(e){this.currentTranslationLanguage=e,this.lastTranslationLanguage=e;var t=g.getAudio();t&&e!==k.translation_disabled&&t.setLanguage(e),u.default.setItem(w.current_translation_language,e),u.default.setItem(w.last_translation_language,e)}},{key:"setTheme",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return this.cssTheme=t,e.abrupt("return",u.default.setItem(w.css_theme,t));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetCurrentTranslationLanguage",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.currentTranslationLanguage="",(t=g.getAudio())&&t.setLocale(s.default.locale),n.next=5,e.default.awrap(u.default.removeItem(w.current_translation_language));case 5:case"end":return n.stop()}},null,this,null,Promise)}},{key:"removeValue",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return this[t]=void 0,e.abrupt("return",u.default.removeItem(t));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetPrefEdi",value:function(){var t,n;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return t=g.getActivePSetup(),n=t.udb,e.abrupt("return",this.removeValue(n+"_"+b.preferredEdition));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetEditionFromCalling",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.removeValue(w.edition_from_calling));case 1:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetSocialLoginPlatform",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.removeValue(w.social_login_platform));case 1:case"end":return e.stop()}},null,this,null,Promise)}},{key:"setFullscreen",value:function(e,t){var n="portrait",s=w.article_fullscreen_portrait;t&&(n="landscape",s=w.article_fullscreen_landscape),this.articleFullscreen[n]=e,u.default.setItem(s,e?"1":"0")}},{key:"dontShowAgainDownloadTip",value:function(){this.showDownloadTip=!1,u.default.setItem(w.show_download_tip,"0")}},{key:"setNetworkTimestamp",value:function(){var e=r(d[13]).DateUtils.getCurrentDateString();this.networkTimestamp=e,u.default.setItem(w.network_timestamp,e)}},{key:"setUseRnDemoTimestamp",value:function(){var e=r(d[13]).DateUtils.getCurrentDateString();this.useRnDemoTimestamp=e,u.default.setItem(w.use_rn_demo_timestamp,e)}},{key:"setLastOperationTimestamp",value:function(){if(f.default.isAppActive()){var e=(new Date).getTime();this.lastOperationTimestamp=e,u.default.setItem(w.last_op_time,""+e)}}},{key:"setGraphSize",value:function(e){this.graphSize=parseInt(e,10),u.default.setItem(w.graph_size,""+e)}},{key:"getGraphSize",value:function(){var e=g.getUserSettings().getAllowFontScaling(),t=r(d[13]).FontUtils.getSystemFontScaleFactor(e,r(d[13]).PlatformUtils.info.fontScale);return parseInt(this.graphSize,10)*t}},{key:"toggleGraphSize",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=[75,85,100,125,150,200,250],u=l.findIndex(function(e){return e===parseInt(t.graphSize,10)});return n||(e=u+1===l.length?l[s?0:u]:l[u+1]),n&&(e=u-1==-1?l[s?l.length-1:u]:l[u-1]),this.setGraphSize(e),r(d[16]).EventRegister.emit(o.default.TOGGLE_NEWSMEMORY_GRAPH_SIZE),r(d[16]).EventRegister.emit(o.default.ARTICLE_GRAPHIC_ZOOM_CHANGE),e}},{key:"getFontSize",value:function(){return g.getUserSettings().fontSize}},{key:"setCDNEnabled",value:function(e){this.cdnEnabled=e}},{key:"setCDNServer",value:function(e){this.cdnServer=e}},{key:"setCDNVersion",value:function(e){this.cdnVersion=parseInt(e,10)}},{key:"setDBDownloadPSetup",value:function(e){this.dbDownloadPSetup=e}},{key:"resetDBDownloadPSetup",value:function(){this.dbDownloadPSetup=void 0}},{key:"setLayout",value:function(e,t){u.default.setItem(w.layout+"_"+e,JSON.stringify(t))}},{key:"setReadMode",value:function(e){this.readModeEnabled=e,u.default.setItem(w.read_mode_enabled,e?"1":"0")}},{key:"setAccessibilityMode",value:function(e){var t=g.getActivePSetup().udb;this.accessibilityModeEnabled=e,u.default.setItem(t+"_"+b.accessibility_mode,e?"1":"0")}},{key:"setArchiveMode",value:function(e){this.archiveModeEnabled=e}},{key:"setShowTypesArticle",value:function(e){this.showTypesArticle=e,u.default.setItem(w.show_types_article,e)}},{key:"disableTwoFingersTapHint",value:function(){this.twoFingersTapHintEnabled=!1,u.default.setItem(w.two_fingers_tap_hint_enabled,"0")}},{key:"shouldShowTwoFingersTapHint",value:function(){var e=g.getActivePSetup(),t=e.twoFingersTapHintEnabled,n=e.twoFingersTapMaxHints;if(t&&this.twoFingersTapHintEnabled){if(this.twoFingersTapHintCount1)return e[1]}}},{key:"getFavEdiPSetup",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.favoriteEdition){t.next=7;break}return t.next=3,e.default.awrap(u.default.getItem(w.favorite_edition));case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0="";case 6:this.favoriteEdition=t.t0;case 7:return t.abrupt("return",this.getFavEdiPSetupSync());case 8:case"end":return t.stop()}},null,this,null,Promise)}},{key:"getPrefEdi",value:function(t){return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(this.prefEdi||!t){n.next=7;break}return n.next=3,e.default.awrap(this.getValue(t+"_"+b.preferredEdition));case 3:if(n.t0=n.sent,n.t0){n.next=6;break}n.t0="";case 6:this.prefEdi=n.t0;case 7:return n.abrupt("return",this.prefEdi||void 0);case 8:case"end":return n.stop()}},null,this,null,Promise)}},{key:"setEnableTabIndexMode",value:function(e){this.setValue(w.enable_tab_index_mode,e?"1":"0")}},{key:"setLastDbNetwork",value:function(e){this.setValue(w.lastDbNetwork,e)}},{key:"getLastDbNetwork",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.default.awrap(this.getValue(w.lastDbNetwork));case 2:return t=n.sent,n.abrupt("return",t?parseInt(t,10):t);case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"setLastDbDownloadSpeed",value:function(e){this.setValue(w.lastDbDownloadSpeed,e)}},{key:"getLastDbDownloadSpeed",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.default.awrap(this.getValue(w.lastDbDownloadSpeed));case 2:return t=n.sent,n.abrupt("return",t?parseFloat(t):t);case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"clearAll",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return t=g.getUserSettings(),this.useRnDemo=void 0,this.useRnDemoTimestamp=void 0,this.network=void 0,this.networkTimestamp=void 0,this.limit=void 0,this.connectivity=void 0,this.singleTapToZoom=void 0,this.twoFingersTapToArticle=void 0,this.readModeEnabled=void 0,this.epaperStartMode=void 0,this.epaperStartModeDontShowAgain=void 0,this.isIphone=void 0,this.prefEdi=void 0,this.favoriteEdition=void 0,this.editionfromcalling=void 0,this.accessibilityModeEnabled=void 0,this.articleFullscreen=void 0,this.translationsAvailable=[],this.lastOperationTimestamp=void 0,this.showDownloadTip=void 0,this.graphSize=void 0,this.fontSize=void 0,t.setFontSize(100),this.cdnEnabled=void 0,this.cdnServer=void 0,this.cdnVersion=void 0,this.dbDownloadPSetup=void 0,this.layout=void 0,n.next=31,e.default.awrap(t.resetLastEpaperLayoutConfig());case 31:return this.twoFingersTapHintEnabled=void 0,this.twoFingersTapHintCount=void 0,this.showTypesArticle=void 0,this.currentTranslationLanguage=void 0,this.lastTranslationLanguage=void 0,this.enableArticleExtras=void 0,this.pagesNavigationButtonsLayout=void 0,this.columnView=void 0,this.backgroundTimerArticleSelected=void 0,this.backgroundDurationArticleSelected=void 0,this.enableTabIndexMode=void 0,this.lastDbNetwork=void 0,this.lastDbDownloadSpeed=void 0,this.soPass=void 0,n.abrupt("return",u.default.clearAll());case 46:case"end":return n.stop()}},null,this,null,Promise)}},{key:"reset",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.default.awrap(this.clearAll());case 2:return t.next=4,e.default.awrap(this.init());case 4:case"end":return t.stop()}},null,this,null,Promise)}}]),p})();_e.default=x},1865,[5,80,7,8,1162,430,1866,460,1867,458,770,1890,605,462,754,1963,574]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),o=(function(){function o(){(0,n.default)(this,o)}return(0,l.default)(o,null,[{key:"getItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(o.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(n,l){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:r(d[4]).StorageUtils.setItem(o.SP.name,n,l);case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"removeItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clear(o.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clearAll(o.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"dump",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.multiGet(o.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),o})();e.default=o,o.SP={name:"newsmemory",keys:{network:"network",network_timestamp:"networkTimestamp",is_phone:"isIphone",connectivity:"connectivity",single_tap_to_zoom:"singleTapToZoom",two_fingers_tap_to_article:"twoFingersTapToArticle",limit:"limit",favorite_edition:"favoriteEdition",edition_from_calling:"editionfromcalling",css_theme:"cssTheme",article_fullscreen_portrait:"articleFullscreenPortrait",article_fullscreen_landscape:"articleFullscreenLandscape",last_op_time:"lastOperationTimestamp",show_download_tip:"showDownloadTip",use_rn_demo:"useRnDemo",use_rn_demo_timestamp:"useRnDemoTimestamp",custom_scale_factor:"customScaleFactor",graph_size:"graphSize",font_size:"fontSize",layout:"layout",read_mode_enabled:"articleBrowseModeEnabled",two_fingers_tap_hint_enabled:"twoFingersTapHintEnabled",two_fingers_tap_hint_count:"twoFingersTapHintCount",show_types_article:"showTypesArticle",translation_available:"translationAvailable",translations_available:"translationsAvailable",current_translation_language:"currentTranslationLanguage",last_translation_language:"lastTranslationLanguage",epaper_start_mode:"epaperStartMode",epaper_start_mode_dont_show_again:"epaperStartModeDontShowAgain",enable_article_extras:"enableArticleExtras",pages_navigation_buttons_layout:"pagesNavigationButtonsLayout",time_limit:"timelimit",column_view:"columnView",background_timer_article_selected:"backgroundTimerArticleSelected",background_duration_article_selected:"backgroundDurationArticleSelected",enable_tab_index_mode:"enableTabIndexMode",lastDbNetwork:"lastDbNetwork",lastDbDownloadSpeed:"lastDbDownloadSpeed",social_login_platform:"soPass",title_box_debug:"titleBoxDebug"},values:{translation_disabled:"disabled",no_translation:"none"},paper:{lastMostRecentIssueOnServer:"lastMostRecentIssueOnServer",lastIssue:"lastIssue",lastEdition:"lastEdition",lastPageNumber:"lastPageNumber",lastArticleId:"lastArticleId",preferredEdition:"prefEdi",accessibility_mode:"accessibilityMode"}}},1866,[5,80,7,8,462]); -__d(function(g,r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.IAP_SECRET=_e.IAP_STATUS=_e.IAP_SYSTEMS=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),a=r(d[0])(r(d[4])),s=r(d[5]),u=(r(d[0])(r(d[6])),r(d[0])(r(d[7]))),i=r(d[0])(r(d[8])),c=r(d[0])(r(d[9])),o=(r(d[0])(r(d[10])),{GOOGLE:"google",APPLE:"apple",AMAZON:"amazon"});_e.IAP_SYSTEMS=o;var l={FAILED:0,SUCCESS:1,RESTORED:2};_e.IAP_STATUS=l;_e.IAP_SECRET="tecnavia";var p="Purchases restored",f="Call to restore transactions API failed",P="No purchases to restore found",b="In-app purchase system in error",I="In-app purchase engine not set",v=i.default.getIapModule(),x=v.IAPErrorCode,k=(v.PurchaseError,v.Product,v.Subscription,(function(){function v(){(0,n.default)(this,v)}return(0,a.default)(v,null,[{key:"getItem",value:function(t,n){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r(d[11]).StorageUtils.getItem(v.SP.name+"_"+t,n));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(t,n,a){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:r(d[11]).StorageUtils.setItem(v.SP.name+"_"+t,n,""+a);case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"removeItem",value:function(t,n){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r(d[11]).StorageUtils.clear(v.SP.name+"_"+t,n));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"updateItem",value:function(t,n,a){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:a?v.setItem(t,n,a):v.removeItem(t,n);case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=2;break}return e.abrupt("return",r(d[11]).StorageUtils.clearAll(v.SP.name+"_"+t));case 2:return e.abrupt("return",r(d[11]).StorageUtils.clearAllByRegExp(v.SP.name+"_.*"));case 3:case"end":return e.stop()}},null,null,null,Promise)}},{key:"storePurchaseModel",value:function(t){var n,a,s,u,i,c,o,l,p,f,P,b,I,x;return e.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return n=t.productId,a=t.invoiceId,s=t.pSetup,u=t.issue,i=t.edition,c=t.editionId,o=t.transactionId,l=t.transactionDate,p=t.originalTransactionId,f=t.originalTransactionDate,P=t.recurringSubscriptionPeriod,b=t.recurringSubscriptionId,I=t.receipt,x=t.purchaseToken,k.next=3,e.default.awrap(v.updateItem(n,v.SP.keys.invoiceId,a));case 3:return k.next=5,e.default.awrap(v.updateItem(n,v.SP.keys.pSetup,s));case 5:return k.next=7,e.default.awrap(v.updateItem(n,v.SP.keys.issue,u));case 7:return k.next=9,e.default.awrap(v.updateItem(n,v.SP.keys.edition,i));case 9:return k.next=11,e.default.awrap(v.updateItem(n,v.SP.keys.editionId,c));case 11:return k.next=13,e.default.awrap(v.updateItem(n,v.SP.keys.transactionId,o));case 13:return k.next=15,e.default.awrap(v.updateItem(n,v.SP.keys.transactionDate,l));case 15:return k.next=17,e.default.awrap(v.updateItem(n,v.SP.keys.originalTransactionId,p));case 17:return k.next=19,e.default.awrap(v.updateItem(n,v.SP.keys.originalTransactionDate,f));case 19:return k.next=21,e.default.awrap(v.updateItem(n,v.SP.keys.receipt,I));case 21:return k.next=23,e.default.awrap(v.updateItem(n,v.SP.keys.recurringSubscriptionPeriod,P));case 23:return k.next=25,e.default.awrap(v.updateItem(n,v.SP.keys.recurringSubscriptionId,b));case 25:return k.next=27,e.default.awrap(v.updateItem(n,v.SP.keys.purchaseToken,x));case 27:case"end":return k.stop()}},null,null,null,Promise)}},{key:"getPurchaseModel",value:function(t){var n;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,(n=new(r(d[12]).IAPTecnaviaModel)).setProductId(t),a.t0=n,a.next=6,e.default.awrap(v.getItem(t,v.SP.keys.invoiceId));case 6:return a.t1=a.sent,a.t0.setInvoiceId.call(a.t0,a.t1),a.t2=n,a.next=11,e.default.awrap(v.getItem(t,v.SP.keys.pSetup));case 11:return a.t3=a.sent,a.t2.setPSetup.call(a.t2,a.t3),a.t4=n,a.next=16,e.default.awrap(v.getItem(t,v.SP.keys.issue));case 16:return a.t5=a.sent,a.t4.setIssue.call(a.t4,a.t5),a.t6=n,a.next=21,e.default.awrap(v.getItem(t,v.SP.keys.edition));case 21:return a.t7=a.sent,a.t6.setEdition.call(a.t6,a.t7),a.t8=n,a.next=26,e.default.awrap(v.getItem(t,v.SP.keys.editionId));case 26:return a.t9=a.sent,a.t8.setEditionId.call(a.t8,a.t9),a.t10=n,a.next=31,e.default.awrap(v.getItem(t,v.SP.keys.transactionId));case 31:return a.t11=a.sent,a.t10.setTransactionId.call(a.t10,a.t11),a.t12=n,a.next=36,e.default.awrap(v.getItem(t,v.SP.keys.transactionDate));case 36:return a.t13=a.sent,a.t12.setTransactionDate.call(a.t12,a.t13),a.t14=n,a.next=41,e.default.awrap(v.getItem(t,v.SP.keys.originalTransactionId));case 41:return a.t15=a.sent,a.t14.setOriginalTransactionId.call(a.t14,a.t15),a.t16=n,a.next=46,e.default.awrap(v.getItem(t,v.SP.keys.originalTransactionDate));case 46:return a.t17=a.sent,a.t16.setOriginalTransactionDate.call(a.t16,a.t17),a.t18=n,a.next=51,e.default.awrap(v.getItem(t,v.SP.keys.receipt));case 51:return a.t19=a.sent,a.t18.setReceipt.call(a.t18,a.t19),a.t20=n,a.next=56,e.default.awrap(v.getItem(t,v.SP.keys.recurringSubscriptionPeriod));case 56:return a.t21=a.sent,a.t20.setRecurringSubscriptionPeriod.call(a.t20,a.t21),a.t22=n,a.next=61,e.default.awrap(v.getItem(t,v.SP.keys.recurringSubscriptionId));case 61:return a.t23=a.sent,a.t22.setRecurringSubscriptionId.call(a.t22,a.t23),a.t24=n,a.next=66,e.default.awrap(v.getItem(t,v.SP.keys.purchaseToken));case 66:return a.t25=a.sent,a.t24.setPurchaseToken.call(a.t24,a.t25),a.abrupt("return",n);case 71:return a.prev=71,a.t26=a.catch(0),a.abrupt("return",null);case 74:case"end":return a.stop()}},null,null,[[0,71]],Promise)}},{key:"initProductsAndSubscriptions",value:function(){var t,n,a,s;return e.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(!v.engineInit){u.next=13;break}if(t=g.getActivePSetup(),n=t.payments,r(d[11]).JSUtils.isEmpty(n)){u.next=13;break}if(a=n.filter(function(e){return!e.isSubscription()}).map(function(e){return e.getProductId()}),r(d[11]).JSUtils.isEmpty(a)){u.next=8;break}return u.next=7,e.default.awrap(v.engine.getProducts(a));case 7:v.products=u.sent;case 8:if(s=n.filter(function(e){return e.isSubscription()}).map(function(e){return e.getProductId()}),r(d[11]).JSUtils.isEmpty(s)){u.next=13;break}return u.next=12,e.default.awrap(v.engine.getSubscriptions(s));case 12:v.subscriptions=u.sent;case 13:case"end":return u.stop()}},null,null,null,Promise)}},{key:"init",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(v.engineInit||!i.default.isIapModuleAvailable()){t.next=26;break}t.t0=v.getSystem(),t.next=t.t0===o.GOOGLE?4:t.t0===o.APPLE?6:t.t0===o.AMAZON?8:10;break;case 4:return v.engine=new(r(d[13]).IAPGoogle)({callbackToServer:v.storeIAPResultToServer,onPurchaseError:v.onPurchaseError}),t.abrupt("break",11);case 6:return v.engine=new(r(d[14]).IAPApple)({callbackToServer:v.storeIAPResultToServer,onPurchaseError:v.onPurchaseError}),t.abrupt("break",11);case 8:return v.engine=new(r(d[15]).IAPAmazon)({callbackToServer:v.storeIAPResultToServer,onPurchaseError:v.onPurchaseError}),t.abrupt("break",11);case 10:v.systemInError=!0;case 11:if(v.engineInit=!1,!v.engine){t.next=16;break}return t.next=15,e.default.awrap(v.engine.init());case 15:v.engineInit=t.sent;case 16:if(!v.engineInit){t.next=23;break}return v.onPurchaseUpdateOperationAdded(function(){0===v.pendingPurchases&&v.onPurchaseUpdateOperationsIdle().then(function(){v.pendingPurchases=0,v.pendingPurchasesCompleted=0,setTimeout(v.hidePurchaseUpdateCompletedMessage,2e3)}),v.pendingPurchases+=1,v.showPurchaseUpdateCompletedMessage()}),v.onPurchaseUpdateOperationCompleted(function(){v.pendingPurchasesCompleted+=1,v.showPurchaseUpdateCompletedMessage()}),t.next=21,e.default.awrap(v.initProductsAndSubscriptions());case 21:t.next=24;break;case 23:v.systemInError=!0;case 24:t.next=26;break;case 26:case"end":return t.stop()}},null,null,null,Promise)}},{key:"onPurchaseError",value:function(t){var n;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:if(!t){a.next=8;break}if(!t.productId){a.next=5;break}return a.next=4,e.default.awrap(v.getPurchaseModel(t.productId));case 4:n=a.sent;case 5:return a.next=7,e.default.awrap(v.callToIpn(l.FAILED,n));case 7:v.serverCallback&&v.serverCallback({status:l.FAILED,model:n,error:t});case 8:case"end":return a.stop()}},null,null,null,Promise)}},{key:"requestIAP",value:function(t){var n,a,s,u;return e.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(!i.default.isIapModuleAvailable()){c.next=35;break}if(v.purchasing=!0,v.systemInError||!v.engine||!t){c.next=31;break}return c.next=5,e.default.awrap(v.storePurchaseModel(t));case 5:if(c.prev=5,!t.type||t.type!==r(d[12]).IAPTecnaviaType.SUBSCRIPTION){c.next=20;break}return c.next=9,e.default.awrap(v.engine.getSubscriptions([t.productId]));case 9:return a=c.sent,s=v.engine.getSubscriptionOffersDetails(a,t.productId),c.next=13,e.default.awrap(v.engine.getActiveSubscriptions(t.productId));case 13:return u=c.sent,c.next=16,e.default.awrap(v.showSubscriptionsAlert(u));case 16:return c.next=18,e.default.awrap(v.engine.requestSubscription(t.productId,[s]));case 18:c.next=24;break;case 20:return c.next=22,e.default.awrap(v.engine.getProducts([t.productId]));case 22:return c.next=24,e.default.awrap(v.engine.requestPurchase(t.productId));case 24:c.next=29;break;case 26:c.prev=26,c.t0=c.catch(5),n={code:c.t0.code,message:c.t0.message,productId:t.productId};case 29:c.next=32;break;case 31:n={code:x.E_IAP_NOT_AVAILABLE,message:"In app purchases not configured",productId:t.productId};case 32:return c.next=34,e.default.awrap(v.onPurchaseError(n));case 34:v.purchasing=!1;case 35:case"end":return c.stop()}},null,null,[[5,26]],Promise)}},{key:"showSubscriptionsAlert",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e,n){var a=g.getActivePSetup();t.length>0&&a.enableMultipleSubscriptionsAlert&&i.default.isIapModuleAvailable()?r(d[16]).CustomAlert.alert(g.strings("iap_multiple_subscriptions"),g.strings("iap_multiple_active_subscriptions_message",{subscriptions:v.getActiveSubscriptionsText(t)}),[{text:g.strings("btn_continue"),onPress:e},{text:g.strings("btn_cancel"),onPress:function(){var e=new Error;e.message="there is already an active subscription",e.name=x.E_ACTIVE_SUBSCRIPTION,n(e)}}],{cancelable:!1}):e()}));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"restoreTransactions",value:function(t){var n,a,s,u,c,o,l,x,k,h,S,y,w,A,T,E,R,_;return e.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:if(a=p,s=f,u=P,c=b,o=I,v.systemInError||!v.engine||!i.default.isIapModuleAvailable()){C.next=40;break}return C.prev=2,C.next=5,e.default.awrap(v.engine.restoreTransactions(t));case 5:if(!((l=C.sent)&&l.length>0)){C.next=32;break}return C.next=9,e.default.awrap(v.callToRestoreTransactions(l));case 9:if(!C.sent){C.next=29;break}if(x=g.getActivePSetup(),k=x.loginStatus,!r(d[11]).PlatformUtils.isIOS()){C.next=27;break}h=0;case 15:if(!(h1&&v.showConcurrentSubscriptions(a),i.abrupt("return",!0);case 30:case"end":return i.stop()}},null,null,[[17,22]],Promise)}},{key:"showConcurrentSubscriptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];g.getActivePSetup().enableMultipleSubscriptionsAlert&&r(d[16]).CustomAlert.alert(g.strings("iap_multiple_subscriptions"),g.strings("iap_multiple_subscriptions_message",{subscriptions:v.getActiveSubscriptionsText(e)}),[{text:g.strings("iap_go_to_subscriptions"),onPress:function(){var e="https://play.google.com/store/account/subscriptions";s.Linking.canOpenURL(e)&&s.Linking.openURL(e)}},{text:g.strings("btn_close")}],{cancelable:!1})}},{key:"getActiveSubscriptionsText",value:function(e){if(e&&e.length){var t="\n\n",n=g.getActivePSetup();return e.forEach(function(e){var a=n.getPaymentByProductId(e.productId);t+=r(d[11]).StringUtils.BULLET+" "+a.getDescription()+"\n"}),t}return""}},{key:"storeIAPResultToServer",value:function(t){var n,a,s,u,c,o,p,f,P,b,I,k;return e.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:if(!i.default.isIapModuleAvailable()){h.next=36;break}if(!t){h.next=34;break}if(n=t.productId,a=t.transactionId,s=t.transactionDate,u=t.originalTransactionId,c=t.originalTransactionDate,o=t.receipt,p=t.purchaseToken,!n){h.next=32;break}return f=l.FAILED,h.next=7,e.default.awrap(v.getPurchaseModel(n));case 7:if(!(P=h.sent)){h.next=30;break}if(P.setTransactionId(a),P.setTransactionDate(s),P.setOriginalTransactionId(u),P.setOriginalTransactionDate(c),p&&P.setPurchaseToken(p),!o){h.next=23;break}if(f=l.SUCCESS,P.setReceipt(o),!P.isRecurring()){h.next=23;break}return b=g.getActivePSetup(),b.loginStatus.setReceipt(o),h.next=22,e.default.awrap(v.callToReceiptManager(P));case 22:P=h.sent;case 23:return h.next=25,e.default.awrap(v.storePurchaseModel(P));case 25:return h.next=27,e.default.awrap(v.callToIpn(f,P));case 27:return I=h.sent,v.serverCallback&&(I?v.serverCallback({status:f,model:P}):((k={}).code=x.E_REMOTE_ERROR,k.message="Call to IPN API failed",v.serverCallback({status:l.FAILED,model:P,error:k}))),h.abrupt("return",I);case 30:h.next=32;break;case 32:h.next=34;break;case 34:h.next=36;break;case 36:return h.abrupt("return",!1);case 37:case"end":return h.stop()}},null,null,null,Promise)}},{key:"callToReceiptManager",value:function(t){var n,a,s,u;return e.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:n=0,a=!1;case 2:return n+=1,i.prev=3,i.next=6,e.default.awrap(c.default.receiptManager(t));case 6:s=i.sent,u=void 0,s&&s.data&&s.data.decoded&&(u=s.data.decoded.originalTransactionId),t.setRecurringSubscriptionId(v.computeRecurringSubscriptionId(t,u)),a=!0,i.next=15;break;case 13:i.prev=13,i.t0=i.catch(3);case 15:if(n<2&&!a){i.next=2;break}case 16:return i.abrupt("return",t);case 17:case"end":return i.stop()}},null,null,[[3,13]],Promise)}},{key:"callToIpn",value:function(t,n){var a,s,u,i,o;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:a=t===l.SUCCESS,s=0,u=!1;case 3:return s+=1,p.prev=4,i=!1,n&&(i=v.isSandboxReceipt(n.receipt)),p.next=9,e.default.awrap(c.default.ipn(a,n,i));case 9:if(!(o=p.sent)||!o.data){p.next=14;break}if(u=!0,-1!==o.data.indexOf("ERROR")){p.next=14;break}return p.abrupt("return",!0);case 14:p.next=18;break;case 16:p.prev=16,p.t0=p.catch(4);case 18:if(s<2&&!u){p.next=3;break}case 19:return p.abrupt("return",!1);case 20:case"end":return p.stop()}},null,null,[[4,16]],Promise)}},{key:"callToRestoreTransactions",value:function(t){var n,a,s,u,i,o,l;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:n=!1,t.length>0&&(n=v.isSandboxReceipt(t[0].receipt)),a=Math.ceil(t.length/50),s=Array.from({length:a},function(e,n){return t.slice(50*n,50*n+50)}),u=0;case 5:if(!(u0)){t.next=9;break}return v.showPurchaseUpdateCompletedMessage(),t.next=6,e.default.awrap(v.onPurchaseUpdateOperationsIdle());case 6:v.pendingPurchases=0,v.pendingPurchasesCompleted=0,v.hidePurchaseUpdateCompletedMessage();case 9:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setServerCallback",value:function(t){return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=6;break}return n.next=3,e.default.awrap(v.completePendingPurchases());case 3:v.onPurchaseUpdateOperationAdded(void 0),v.onPurchaseUpdateOperationCompleted(void 0),v.serverCallback=t;case 6:case"end":return n.stop()}},null,null,null,Promise)}},{key:"resetServerCallback",value:function(){v.serverCallback=void 0}},{key:"computeRecurringSubscriptionId",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.invoiceId,a=e.recurringSubscriptionPeriod,s=e.originalTransactionId;if(s&&!t)t=s;else if(n&&!t){var u=n.split("_");u.length>2&&(t=u[2])}return"P"+t+"_"+a}},{key:"getSystem",value:function(){return r(d[11]).PlatformUtils.isIOS()?o.APPLE:u.default.isKindle()?o.AMAZON:o.GOOGLE}},{key:"validateReceipt",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(v.systemInError||!v.engine||!t){e.next=2;break}return e.abrupt("return",v.engine.validateReceipt(t));case 2:return e.abrupt("return",!1);case 3:case"end":return e.stop()}},null,null,null,Promise)}},{key:"isSandboxReceipt",value:function(e){return!(v.systemInError||!v.engine||!e)&&v.engine.isSandboxReceipt(e)}},{key:"registerReceiver",value:function(){v.engine&&v.engine.registerReceiver()}},{key:"unregisterReceiver",value:function(){v.engine&&v.engine.unregisterReceiver()}},{key:"getProductsAndSubscriptions",value:function(){return[].concat((0,t.default)(v.products),(0,t.default)(v.subscriptions))}}]),v})());_e.default=k,k.engine=void 0,k.engineInit=!1,k.system="",k.systemInError=!1,k.serverCallback=void 0,k.purchasing=!1,k.products=[],k.subscriptions=[],k.pendingPurchases=0,k.pendingPurchasesCompleted=0,k.SP={name:"purchase",keys:{invoiceId:"invoiceId",pSetup:"pSetup",issue:"issue",edition:"edition",editionId:"editionId",transactionId:"transactionId",transactionDate:"transactionDate",originalTransactionId:"originalTransactionId",originalTransactionDate:"originalTransactionDate",recurringSubscriptionPeriod:"recurringSubscriptionPeriod",recurringSubscriptionId:"recurringSubscriptionId",receipt:"receipt",purchaseToken:"purchaseToken"}}},1867,[5,80,21,7,8,28,757,458,770,1868,1869,462,1870,1871,1881,1882,702,1883]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l="receipt_manager.php",p="ipn.php",f="restore_transactions.php",v="Completed",_="Failed",y=(function(){function y(){(0,u.default)(this,y)}return(0,s.default)(y,null,[{key:"baseUrl",value:function(t){var n=g.getActivePSetup().baseInAppPurchaseAPIUrl;return r(d[7]).StringUtils.appendParams(r(d[7]).NetworkUtils.addDefaultProtocol(n).concat("/"+t),o.default.getDefaultParams())}},{key:"receiptManager",value:function(n){var u,s,c,p;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=g.getActivePSetup(),s=u.loginStatus,c=s.TAUID,p=n.receipt,t.abrupt("return",o.default.post(y.baseUrl(l),{},{action:"write",tauid:c,receipt:p}));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getCustomParam",value:function(){var t=g.getActivePSetup(),n=t.pSetup,u=t.xpaper,s="ipad";return r(d[7]).PlatformUtils.isAndroid()&&(s="play",c.default.isKindle()&&(s="amazon")),n+"#"+u+"#"+s+"_payment"}},{key:"ipn",value:function(u,s,c){var l,f,P,I,b,x,S,h,D,U,A,T,k,w,M,Y;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l=g.getActivePSetup(),f=l.loginStatus,P=f.TAUID,I=s.invoiceId,b=s.originalTransactionId,x=s.transactionId,S=s.transactionDate,h=s.recurringSubscriptionId,D=s.edition,U=s.editionId,A=s.receipt,T=s.productId,k=s.purchaseToken,w=u?v:_,r(d[7]).JSUtils.isNull(S)||(M=r(d[7]).DateUtils.unixToString(parseInt(S,10)/1e3,"YYYYMMDDHHmmss")),Y={product_id:T,payment_status:w,invoice:I,custom:y.getCustomParam(),txn_id:x,original_txn_id:b,purchase_token:k,purchase_time:M,edition:D,editionid:U,TAUID:P,doPost:!1,isSandbox:c||void 0},s.isRecurring()&&(Y=(0,n.default)({},Y,{txn_type:"subscr_payment",subscr_id:h,receipt:A})),t.abrupt("return",o.default.post(y.baseUrl(p),{responseType:"text"},Y));case 8:case"end":return t.stop()}},null,null,null,Promise)}},{key:"restoreTransactions",value:function(n,u){var s;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=n.map(function(t){return{productID:t.productId,purchase_date:t.purchaseDate,expires_date:t.expiresDate,cancellation_date:t.cancellationDate,cancel_reason:t.cancelReason,original_transaction_id:t.originalTransactionId,receipt:t.receipt,transaction_id:t.transactionId}}),t.abrupt("return",o.default.post(y.baseUrl(f),{responseType:"text",timeout:6e4},{transactions:JSON.stringify(s),isSandbox:u||void 0}));case 2:case"end":return t.stop()}},null,null,null,Promise)}}]),y})();e.default=y},1868,[5,80,6,7,8,431,458,462]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),c=(function(){function c(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,t.default)(this,c),this.callbackToServer=void 0,this.onPurchaseError=void 0,this.callbackToServer=n.callbackToServer,this.onPurchaseError=n.onPurchaseError}return(0,u.default)(c,[{key:"init",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",!1);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getProducts",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getSubscriptions",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getSubscriptionOffersDetails",value:function(n){return[]}},{key:"requestPurchase",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",void 0);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"requestSubscription",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",void 0);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getAvailablePurchases",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",void 0);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"registerReceiver",value:function(){}},{key:"unregisterReceiver",value:function(){}},{key:"finishTransaction",value:function(n){}},{key:"_callServerToStoreIAP",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if("function"!=typeof this.callbackToServer){n.next=7;break}return n.prev=1,n.abrupt("return",this.callbackToServer(t));case 5:n.prev=5,n.t0=n.catch(1);case 7:return n.abrupt("return",!1);case 8:case"end":return n.stop()}},null,this,[[1,5]],Promise)}},{key:"_concludePurchase",value:function(t){var u;return n.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t){c.next=2;break}return c.abrupt("return",!1);case 2:return u=!1,c.prev=3,c.next=6,n.default.awrap(this._callServerToStoreIAP(t));case 6:u=c.sent,c.next=11;break;case 9:c.prev=9,c.t0=c.catch(3);case 11:return c.abrupt("return",u);case 12:case"end":return c.stop()}},null,this,[[3,9]],Promise)}},{key:"restoreTransactions",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getBoughtSubscriptions",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"isSandboxReceipt",value:function(n){return g.__DEV__}},{key:"getPurchaseUpdateOperationsInQueue",value:function(){return 0}},{key:"onPurchaseUpdateOperationsIdle",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve());case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"onPurchaseUpdateOperationAdded",value:function(n){}},{key:"onPurchaseUpdateOperationCompleted",value:function(n){}}]),c})();e.default=c},1869,[5,80,7,8]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.IAPTecnaviaModel=e.IAPTecnaviaType=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]));e.IAPTecnaviaType={NON_CONSUMABLE:0,CONSUMABLE:1,SUBSCRIPTION:2};var u=(function(){function u(){(0,t.default)(this,u)}return(0,n.default)(u,[{key:"setProductId",value:function(t){this.productId=t}},{key:"setType",value:function(t){this.type=t}},{key:"setTitle",value:function(t){this.title=t}},{key:"setDescription",value:function(t){this.description=t}},{key:"setPSetup",value:function(t){this.pSetup=t}},{key:"setIssue",value:function(t){this.issue=t}},{key:"setEdition",value:function(t){this.edition=t}},{key:"setEditionId",value:function(t){this.editionId=t}},{key:"setInvoiceId",value:function(t){this.invoiceId=t}},{key:"setTransactionId",value:function(t){this.transactionId=t}},{key:"setTransactionDate",value:function(t){this.transactionDate=t}},{key:"setOriginalTransactionId",value:function(t){this.originalTransactionId=t}},{key:"setOriginalTransactionDate",value:function(t){this.originalTransactionDate=t}},{key:"setReceipt",value:function(t){this.receipt=t}},{key:"setRecurringSubscriptionPeriod",value:function(t){this.recurringSubscriptionPeriod=t}},{key:"setRecurringSubscriptionId",value:function(t){this.recurringSubscriptionId=t}},{key:"isRecurring",value:function(){return!!this.recurringSubscriptionPeriod}},{key:"setPurchaseToken",value:function(t){this.purchaseToken=t}}]),u})();e.IAPTecnaviaModel=u},1870,[5,7,8]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.IAPGoogle=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),i=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),p=(r(d[0])(r(d[9])),r(d[0])(r(d[10]))),f=r(d[0])(r(d[11]));function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}var h=p.default.getIapModule(),k=(function(c){(0,i.default)(x,c);var k,b,y=(k=x,b=v(),function(){var t,n=(0,u.default)(k);if(b){var s=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,s)}else t=n.apply(this,arguments);return(0,o.default)(this,t)});function x(){var t;(0,n.default)(this,x);for(var s=arguments.length,i=new Array(s),o=0;o1&&void 0!==i[1])||i[1],!p.default.isIapModuleAvailable()){o.next=11;break}if(s=(new Date).getTime(),this.lastGoogleToken&&!(this.lastGoogleTokenRequest+1e3*this.lastGoogleToken.expires_in1&&void 0!==i[1])||i[1],o.next=3,t.default.awrap(f.default.validateReceipt({service:"google",packageName:g.androidAppId,productId:n.productId,purchaseToken:n.purchaseToken,isSubscription:s}));case 3:return o.abrupt("return",o.sent.data);case 4:case"end":return o.stop()}},null,null,null,Promise)}},{key:"isReceiptActive",value:function(t){if(t){var n=t.expiryTimeMillis,s=parseInt(n,10);return new Date0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!n)throw new Error("Sku must be valid");if(!t.length)throw new Error("Subscriptions can't be empty");for(var i=0;i0)){h.next=24;break}o=0;case 7:if(!(o0&&void 0!==u[0]?u[0]:[],!h.default.isIapModuleAvailable()){s.next=11;break}return s.prev=2,s.next=5,t.default.awrap(b.getProducts({skus:a}));case 5:return n=s.sent,s.abrupt("return",n);case 9:s.prev=9,s.t0=s.catch(2);case 11:return s.abrupt("return",[]);case 12:case"end":return s.stop()}},null,null,[[2,9]],Promise)}},{key:"getSubscriptions",value:function(){var a,n,u=arguments;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a=u.length>0&&void 0!==u[0]?u[0]:[],s.prev=1,s.next=4,t.default.awrap(b.getSubscriptions({skus:a}));case 4:return n=s.sent,s.abrupt("return",n);case 8:s.prev=8,s.t0=s.catch(1);case 10:return s.abrupt("return",[]);case 11:case"end":return s.stop()}},null,null,[[1,8]],Promise)}},{key:"requestPurchase",value:function(a){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(!h.default.isIapModuleAvailable()){t.next=3;break}return this.currentPurchaseId=a,t.abrupt("return",b.requestPurchase({sku:a,skus:[a],andDangerouslyFinishTransactionAutomaticallyIOS:!1}));case 3:return t.abrupt("return",Promise.reject(new Error("Iap module not available")));case 4:case"end":return t.stop()}},null,this,null,Promise)}},{key:"requestSubscription",value:function(a,n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(!h.default.isIapModuleAvailable()){t.next=3;break}return this.currentPurchaseId=a,t.abrupt("return",b.requestSubscription({sku:a,subscriptionOffers:n,andDangerouslyFinishTransactionAutomaticallyIOS:!1}));case 3:return t.abrupt("return",Promise.reject(new Error("Iap module not available")));case 4:case"end":return t.stop()}},null,this,null,Promise)}},{key:"finishTransaction",value:function(t){if(h.default.isIapModuleAvailable()){var a=g.getActivePSetup().getPaymentByProductId(t.productId);a?b.finishTransaction({purchase:t,isConsumable:a.isConsumable()}):b.finishTransaction({purchase:t,isConsumable:!0})}}},{key:"getProductId",value:function(t){return t.productId}},{key:"getReceipt",value:function(t){return t.transactionReceipt}},{key:"getTransactionId",value:function(t){return t.transactionId}},{key:"getTransactionDate",value:function(t){return t.transactionDate}},{key:"getOriginalTransactionId",value:function(t){return t.transactionId}},{key:"getOriginalTransactionDate",value:function(t){return t.transactionDate}},{key:"getPurchaseToken",value:function(t){return t.purchaseToken}},{key:"registerReceiver",value:function(){h.default.isIapModuleAvailable()&&(this.purchaseUpdateSubscription=b.purchaseUpdatedListener(this.onPurchaseUpdateListener),this.purchaseErrorSubscription=b.purchaseErrorListener(this.onPurchaseErrorListener))}},{key:"applyFiltersToSubscriptions",value:function(t){return t}},{key:"getAvailablePurchases",value:function(){var a,n,u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(a=[],!h.default.isIapModuleAvailable()){s.next=7;break}return s.next=4,t.default.awrap(b.getPurchaseHistory());case 4:n=s.sent,u=n.sort(function(t,a){return a.transactionDate-t.transactionDate}),a=u.map(function(t){var a=new(r(d[14]).IAPRestoreModel);return a.setProductId(t.productId),a.setPurchaseDate(t.transactionDate),a.setTransactionId(t.purchaseToken),a.setReceipt(t.transactionReceipt),a.setOriginalTransactionId(t.purchaseToken),a.setOriginalTransactionDate(t.transactionDate),a});case 7:return s.abrupt("return",a);case 8:case"end":return s.stop()}},null,null,null,Promise)}},{key:"unregisterReceiver",value:function(){this.purchaseUpdateSubscription&&(this.purchaseUpdateSubscription.remove(),this.purchaseUpdateSubscription=void 0),this.purchaseErrorSubscription&&(this.purchaseErrorSubscription.remove(),this.purchaseErrorSubscription=void 0)}},{key:"getPurchaseUpdateOperationsInQueue",value:function(){return this.purchaseUpdateQueue.size}},{key:"onPurchaseUpdateOperationsIdle",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.purchaseUpdateQueue.onIdle());case 1:case"end":return t.stop()}},null,this,null,Promise)}},{key:"onPurchaseUpdateOperationAdded",value:function(t){this.purchaseUpdateAddedCallback=t}},{key:"onPurchaseUpdateOperationCompleted",value:function(t){this.purchaseUpdateCompletedCallback=t}}]),I})(f.default);e.default=P},1872,[5,80,6,7,8,15,12,14,16,1873,757,770,1869,462,1879]); -__d(function(g,r,i,a,m,e,d){"use strict";function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(t=function(){return!!n})()}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){},u=new(r(d[2]).TimeoutError),o=(function(o){r(d[3])(v,o);var s,l,c=(s=v,l=t(),function(){var t,n=r(d[0])(s);if(l){var u=r(d[0])(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return r(d[1])(this,t)});function v(t){var u,o,s,l,h;if(r(d[4])(this,v),(u=c.call(this))._intervalCount=0,u._intervalEnd=0,u._pendingCount=0,u._resolveEmpty=n,u._resolveIdle=n,!('number'==typeof(t=r(d[5])({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:r(d[6]).default},t)).intervalCap&&t.intervalCap>=1))throw new TypeError("Expected `intervalCap` to be a number from 1 and up, got `"+(null!==(s=null===(o=t.intervalCap)||void 0===o?void 0:o.toString())&&void 0!==s?s:'')+"` ("+typeof t.intervalCap+")");if(void 0===t.interval||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError("Expected `interval` to be a finite number >= 0, got `"+(null!==(h=null===(l=t.interval)||void 0===l?void 0:l.toString())&&void 0!==h?h:'')+"` ("+typeof t.interval+")");return u._carryoverConcurrencyCount=t.carryoverConcurrencyCount,u._isIntervalIgnored=t.intervalCap===1/0||0===t.interval,u._intervalCap=t.intervalCap,u._interval=t.interval,u._queue=new t.queueClass,u._queueClass=t.queueClass,u.concurrency=t.concurrency,u._timeout=t.timeout,u._throwOnTimeout=!0===t.throwOnTimeout,u._isPaused=!1===t.autoStart,u}return r(d[7])(v,[{key:"_doesIntervalAllowAnother",get:function(){return this._isIntervalIgnored||this._intervalCount=1))throw new TypeError("Expected `concurrency` to be a number from 1 and up, got `"+t+"` ("+typeof t+")");this._concurrency=t,this._processQueue()}},{key:"add",value:function(t){var n,o=this,s=arguments;return r(d[8]).async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},l.abrupt("return",new Promise(function(s,l){o._queue.enqueue(function(){var c;return r(d[8]).async(function(v){for(;;)switch(v.prev=v.next){case 0:return o._pendingCount++,o._intervalCount++,v.prev=2,c=void 0===o._timeout&&void 0===n.timeout?t():r(d[2]).default(Promise.resolve(t()),void 0===n.timeout?o._timeout:n.timeout,function(){(void 0===n.throwOnTimeout?o._throwOnTimeout:n.throwOnTimeout)&&l(u)}),v.t0=s,v.next=7,r(d[8]).awrap(c);case 7:v.t1=v.sent,(0,v.t0)(v.t1),v.next=14;break;case 11:v.prev=11,v.t2=v.catch(2),l(v.t2);case 14:o._next();case 15:case"end":return v.stop()}},null,null,[[2,11]],Promise)},n),o._tryToStartAnother(),o.emit('add')}));case 2:case"end":return l.stop()}},null,null,null,Promise)}},{key:"addAll",value:function(t,n){var u=this;return r(d[8]).async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",Promise.all(t.map(function(t){return r(d[8]).async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",u.add(t,n));case 1:case"end":return o.stop()}},null,null,null,Promise)})));case 1:case"end":return o.stop()}},null,null,null,Promise)}},{key:"start",value:function(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}},{key:"pause",value:function(){this._isPaused=!0}},{key:"clear",value:function(){this._queue=new this._queueClass}},{key:"onEmpty",value:function(){var t=this;return r(d[8]).async(function(n){for(;;)switch(n.prev=n.next){case 0:if(0!==this._queue.size){n.next=2;break}return n.abrupt("return");case 2:return n.abrupt("return",new Promise(function(n){var u=t._resolveEmpty;t._resolveEmpty=function(){u(),n()}}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"onIdle",value:function(){var t=this;return r(d[8]).async(function(n){for(;;)switch(n.prev=n.next){case 0:if(0!==this._pendingCount||0!==this._queue.size){n.next=2;break}return n.abrupt("return");case 2:return n.abrupt("return",new Promise(function(n){var u=t._resolveIdle;t._resolveIdle=function(){u(),n()}}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"size",get:function(){return this._queue.size}},{key:"sizeBy",value:function(t){return this._queue.filter(t).length}},{key:"pending",get:function(){return this._pendingCount}},{key:"isPaused",get:function(){return this._isPaused}},{key:"timeout",get:function(){return this._timeout},set:function(t){this._timeout=t}}]),v})(r(d[9]));e.default=o},1873,[16,14,1874,12,7,6,1876,8,80,1878]); -__d(function(g,r,i,a,m,e,d){'use strict';function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(t=function(){return!!n})()}var n=(function(n){r(d[2])(f,n);var o,c,u=(o=f,c=t(),function(){var t,n=r(d[0])(o);if(c){var u=r(d[0])(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return r(d[1])(this,t)});function f(t){var n;return r(d[3])(this,f),(n=u.call(this,t)).name='TimeoutError',n}return f})(r(d[4])(Error)),o=function(t,o,c){return new Promise(function(u,f){if('number'!=typeof o||o<0)throw new TypeError('Expected `milliseconds` to be a positive number');if(o!==1/0){var s=setTimeout(function(){if('function'!=typeof c){var s=c instanceof Error?c:new n('string'==typeof c?c:"Promise timed out after "+o+" milliseconds");'function'==typeof t.cancel&&t.cancel(),f(s)}else try{u(c())}catch(t){f(t)}},o);r(d[5])(t.then(u,f),function(){clearTimeout(s)})}else u(t)})};m.exports=o,m.exports.default=o,m.exports.TimeoutError=n},1874,[16,14,12,7,63,1875]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,t){return t=t||function(){},n.then(function(n){return new Promise(function(n){n(t())}).then(function(){return n})},function(n){return new Promise(function(n){n(t())}).then(function(){throw n})})}},1875,[]); -__d(function(g,r,i,_a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=(function(){function u(){r(d[0])(this,u),this._queue=[]}return r(d[1])(u,[{key:"enqueue",value:function(u,t){var n={priority:(t=r(d[2])({priority:0},t)).priority,run:u};if(this.size&&this._queue[this.size-1].priority>=t.priority)this._queue.push(n);else{var o=r(d[3]).default(this._queue,n,function(u,t){return t.priority-u.priority});this._queue.splice(o,0,n)}}},{key:"dequeue",value:function(){var u=this._queue.shift();return null===u||void 0===u?void 0:u.run}},{key:"filter",value:function(u){return this._queue.filter(function(t){return t.priority===u.priority}).map(function(u){return u.run})}},{key:"size",get:function(){return this._queue.length}}]),u})();e.default=u},1876,[7,8,6,1877]); -__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n,u){for(var f=0,o=t.length;o>0;){var c=o/2|0,l=f+c;u(t[l],n)<=0?(f=++l,o-=c+1):o=c}return f}},1877,[]); -__d(function(g,r,_i,a,m,e,d){'use strict';var t=Object.prototype.hasOwnProperty,n='~';function o(){}function s(t,n,o){this.fn=t,this.context=n,this.once=o||!1}function i(t,o,i,c,f){if('function'!=typeof i)throw new TypeError('The listener must be a function');var u=new s(i,c||t,f),v=n?n+o:o;return t._events[v]?t._events[v].fn?t._events[v]=[t._events[v],u]:t._events[v].push(u):(t._events[v]=u,t._eventsCount++),t}function c(t,n){0==--t._eventsCount?t._events=new o:delete t._events[n]}function f(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),f.prototype.eventNames=function(){var o,s,i=[];if(0===this._eventsCount)return i;for(s in o=this._events)t.call(o,s)&&i.push(n?s.slice(1):s);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(o)):i},f.prototype.listeners=function(t){var o=n?n+t:t,s=this._events[o];if(!s)return[];if(s.fn)return[s.fn];for(var i=0,c=s.length,f=new Array(c);i=c}),l.abrupt("return",o.length>0);case 10:return l.abrupt("return",!1);case 11:case"end":return l.stop()}},null,this,null,Promise)}},{key:"decodeReceiptLocal",value:function(t){var a,n,s,u,c,o,l;return e.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=-1,s="",!p.default.isIapModuleAvailable()){f.next=18;break}if(!(u=this.getSharedSecret())){f.next=18;break}return c={"receipt-data":t,password:u},f.prev=6,o=this.useDebugServer(),f.next=10,e.default.awrap(b.validateReceiptIos(c,o));case 10:l=f.sent,a=l.status,n=l.receipt,f.next=18;break;case 15:f.prev=15,f.t0=f.catch(6),s=f.t0.message;case 18:return f.abrupt("return",{status:a,decodedReceipt:n,errorMessage:s});case 19:case"end":return f.stop()}},null,this,[[6,15]],Promise)}},{key:"decodeReceipt",value:function(t){var a,n,s,u,c,o;return e.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return a=-1,u="",l.prev=2,l.next=5,e.default.awrap(f.default.validateReceipt({service:"apple",receipt:t}));case 5:c=l.sent,o=c.data,a=o.status,n=o.receipt,s=o.latest_receipt_info,u=o.error,l.next=16;break;case 13:l.prev=13,l.t0=l.catch(2),u=l.t0.message;case 16:return l.abrupt("return",{status:a,decodedReceipt:n,latestReceiptInfo:s,errorMessage:u});case 17:case"end":return l.stop()}},null,null,[[2,13]],Promise)}},{key:"getBoughtSubscriptions",value:function(){var t,a,n,s,u,c,o,l,p;return e.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.default.awrap(this.getAvailablePurchases());case 2:if(t=f.sent,a=[],!(t.length>0)){f.next=20;break}return n=t[t.length-1].receipt,f.next=8,e.default.awrap(this.decodeReceipt(n));case 8:if(s=f.sent,u=s.status,c=s.decodedReceipt,o=s.latestReceiptInfo,l=s.errorMessage,!c){f.next=19;break}p=c.in_app,r(d[13]).JSUtils.isEmpty(o)||(o.forEach(function(e){-1!==p.findIndex(function(t){return t.transaction_id===e.transaction_id})||p.push(e)}),p.sort(function(e,t){return e.purchase_date_ms-t.purchase_date_ms})),a=p.map(function(e){var t=new(r(d[14]).IAPTecnaviaRestoreModel);return t.setProductId(e.product_id),t.setTransactionId(e.transaction_id),t.setOriginalTransactionId(e.original_transaction_id),t.setOriginalPurchaseDate(e.original_purchase_date_ms),t.setReceipt(n),t.setPurchaseDate(e.purchase_date_ms),t.setExpiresDate(e.expires_date_ms),t.setCancellationDate(e.cancellation_date_ms),t}),f.next=20;break;case 19:throw new Error(v+", status: "+u+" "+l);case 20:return f.abrupt("return",a);case 21:case"end":return f.stop()}},null,this,null,Promise)}},{key:"getActiveSubscriptions",value:function(t){var a,n;return e.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,e.default.awrap(this.getBoughtSubscriptions());case 2:if(!(a=s.sent)){s.next=6;break}return n=(new Date).getTime(),s.abrupt("return",a.filter(function(e){return e.productId!==t&&r(d[13]).JSUtils.isNull(e.cancellationDate)&&e.expiresDate&&parseInt(e.expiresDate,10)>=n}));case 6:return s.abrupt("return",[]);case 7:case"end":return s.stop()}},null,this,null,Promise)}},{key:"restoreTransactions",value:function(t){var a;return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isRestoringTransactions=!0,t.next=3,e.default.awrap(this.getBoughtSubscriptions());case 3:return a=t.sent,this.isRestoringTransactions=!1,t.abrupt("return",a);case 6:case"end":return t.stop()}},null,this,null,Promise)}},{key:"isSandboxReceipt",value:function(e){if(e)try{var t=o.default.enc.Base64.parse(e);return o.default.enc.Latin1.stringify(t).indexOf("ProductionSandbox")>-1}catch(e){}return!1}},{key:"getOriginalTransactionId",value:function(e){var t=e.originalTransactionIdentifierIOS,a=e.transactionId;return t||a}}]),I})(l.default);_e.IAPApple=x},1881,[5,80,7,8,90,12,14,16,606,1872,770,430,1879,462,1880]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.IAPAmazon=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),c=r(d[0])(r(d[5])),i=r(d[0])(r(d[6])),o=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),p=r(d[0])(r(d[9]));function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}var v=o.default.getIapModule(),h=(function(l){(0,s.default)(y,l);var h,I,b=(h=y,I=f(),function(){var t,n=(0,i.default)(h);if(I){var u=(0,i.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function y(){return(0,n.default)(this,y),b.apply(this,arguments)}return(0,u.default)(y,[{key:"getAvailablePurchases",value:function(){var n,u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,t.default.awrap(v.getAvailablePurchases());case 3:return n=s.sent,u=n.filter(function(t){var n=t.transactionReceipt;return"SUBSCRIPTION"===JSON.parse(n).itemType}).map(function(t){var n=t.transactionReceipt,u=JSON.parse(n),s=new(r(d[10]).IAPRestoreModel);return s.setProductId(u.sku),s.setReceipt(u.receiptId),s.setPurchaseDate(u.purchaseDate),s.setUserId(t.userIdAmazon),s}),s.abrupt("return",u);case 8:s.prev=8,s.t0=s.catch(0);case 10:return s.abrupt("return",[]);case 11:case"end":return s.stop()}},null,null,[[0,8]],Promise)}},{key:"getReceipt",value:function(t){return t.transactionReceipt}},{key:"getTransactionId",value:function(t){var n=t.userIdAmazon,u=t.transactionReceipt,s=t.transactionDate,c=JSON.parse(u).receiptId;return this.generateTransactionId({userId:n,receiptId:c,purchaseDate:s})}},{key:"getOriginalTransactionId",value:function(t){var n=t.userIdAmazon,u=t.transactionReceipt,s=JSON.parse(u).receiptId;return this.generateTransactionId({userId:n,receiptId:s})}},{key:"generateTransactionId",value:function(t){var n=t.userId,u=t.receiptId,s=t.purchaseDate;return s?r(d[11]).StringUtils.getMd5(n+"_"+u+"_"+s):r(d[11]).StringUtils.getMd5(n+"_"+u)}},{key:"getAmazonReceipt",value:function(n,u){return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t.default.awrap(p.default.validateReceipt({service:"amazon",userId:n,receiptId:u}));case 2:return s.abrupt("return",s.sent.data);case 3:case"end":return s.stop()}},null,null,null,Promise)}},{key:"validateReceipt",value:function(n){var u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(!n){s.next=12;break}return s.prev=1,s.next=4,t.default.awrap(this.getAmazonReceipt(n.userId,n.receiptId));case 4:if(u=s.sent,u.cancelDate){s.next=8;break}return s.abrupt("return",!0);case 8:s.next=12;break;case 10:s.prev=10,s.t0=s.catch(1);case 12:return s.abrupt("return",!1);case 13:case"end":return s.stop()}},null,this,[[1,10]],Promise)}},{key:"restoreTransactions",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getBoughtSubscriptions(n));case 1:case"end":return t.stop()}},null,this,null,Promise)}},{key:"getActiveSubscriptions",value:function(n){var u;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.default.awrap(this.getBoughtSubscriptions());case 2:return u=n.sent,n.abrupt("return",this.applyFiltersToSubscriptions(u));case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"applyFiltersToSubscriptions",value:function(t){return t.filter(function(t){return!t.expiresDate})}},{key:"getBoughtSubscriptions",value:function(n){var u,s,c,i,l,p;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(u=[],!o.default.isAmazonLibraryAvailable()){f.next=23;break}return f.next=4,t.default.awrap(this.getAvailablePurchases());case 4:if(s=f.sent,n&&(s=s.filter(function(t){return t.productId===n})),!(s&&s.length>0)){f.next=23;break}c=0;case 8:if(!(c0&&void 0!==arguments[0]?arguments[0]:{},n=e.id,i=void 0===n?"generic":n,o=e.text,r=e.timeout,a=void 0===r?3e4:r,u=e.callback,l=this.state.texts;l[i]&&this.clearTimeout(),l[i]=o||g.strings("loading"),this.setState({isShow:!0,texts:l,callback:u},function(){-1!==a&&(t.timeoutId=setTimeout(function(){t.hideLoading({id:i})},a))})}},{key:"hideLoading",value:function(){var t=this,e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id,n=void 0===e?"generic":e,i=this.state,o=i.isShow,r=i.texts;(this.isShow||o)&&(n&&r[n]&&(r[n]=void 0),Object.values(r).filter(function(t){return t}).length>0?this.setState({texts:r}):this.setState({isShow:!1,texts:{},callback:void 0},function(){t.clearTimeout()}))}},{key:"_onLayout",value:function(){var t=this.state.callback;"function"==typeof t&&t()}},{key:"_getText",value:function(){var t=this.state.texts;return Object.values(t).filter(function(t){return t}).reduce(function(t,e){return t+"\n"+e},"")}},{key:"render",value:function(){var t=this.state.isShow,e=g.getRssIndex().borderRadius;return t?a.default.createElement(u.View,{style:_r(d[9]).styles.container,pointerEvents:"box-only",onLayout:this.onLayout},a.default.createElement(_r(d[10]).ProgressCircle,{spinnerColor:_r(d[11]).colors.white,text:this.getText(),parentStyle:[_r(d[9]).styles.content,{borderRadius:e||0}],textStyle:_r(d[9]).styles.text,showText:!0})):null}}],[{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.loadingInstance.showLoading(t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.loadingInstance.hideLoading(t)}}]),v})(a.Component);_e.LoadingOverlay=c},1884,[5,7,8,15,12,14,16,17,28,1885,1886,462]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{position:"absolute",start:0,end:0,top:0,bottom:0,flexDirection:"column",justifyContent:"center",alignItems:"center",elevation:1e4,zIndex:10001},content:{backgroundColor:r(d[1]).colors.transparent200,borderRadius:5,padding:25,margin:20,flexDirection:"column",justifyContent:"center",alignItems:"center"},text:{fontSize:18,color:r(d[1]).colors.white}});e.styles=t},1885,[28,462]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.FontsManager=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),o=(function(){function o(){(0,n.default)(this,o),this.configs=[]}return(0,u.default)(o,[{key:"init",value:function(){var n,u,s,f,p,v,S,h,y,x=arguments;return t.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return n=x.length>0&&void 0!==x[0]?x[0]:g.getActivePSetup(),u=n.pSetup,s=n.machine,f=n.cdnServer,p=n.paper,v=n.customFontsFileTime,this.configs[p]||(this.configs[p]=new(r(d[7]).FontsConfig)),c.default.setStorageName(p),w.next=6,t.default.awrap(c.default.getFiletime());case 6:return S=w.sent,h={},w.prev=8,w.next=11,t.default.awrap(c.default.dump());case 11:h=w.sent,w.next=16;break;case 14:w.prev=14,w.t0=w.catch(8);case 16:if(!(r(d[8]).NetworkUtils.isOnline()&&v>-1&&v>S)){w.next=22;break}return w.next=19,t.default.awrap(o.download({pSetup:u,machine:s,cdnServer:f,mtime:v}));case 19:h=w.sent,w.next=26;break;case 22:if(-1!==v){w.next=26;break}return h={},w.next=26,t.default.awrap(c.default.clearAll());case 26:return c.default.setFiletime(v),w.next=29,t.default.awrap(l.default.makeFontsDirectory());case 29:return y=this.getMainFontsJSON(n),r(d[8]).JSUtils.isEmpty(y)||(h=r(d[8]).FontUtils.mergeFontsJSONs(y,h)),w.abrupt("return",this.configs[p].init(h));case 32:case"end":return w.stop()}},null,this,[[8,14]],Promise)}},{key:"getMainFontsJSON",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getActivePSetup()).paper,n=g.getMainPSetup().paper,u=this.getConfig(n);return t!==n&&u?u.getJSON():{}}},{key:"getConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.getActivePSetup().paper;return this.configs[t]||new(r(d[7]).FontsConfig)}}],[{key:"download",value:function(n){var u,l,o;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,t.default.awrap(s.default.customFonts(n));case 2:return u=f.sent,l={},u&&u.data&&u.data.fonts&&(l=u.data,(o=Object.keys(l)).length>0&&(o.forEach(function(t){Array.isArray(l[t])&&(l[t]=JSON.stringify(l[t]))}),r(d[8]).StorageUtils.clearAll(c.default.SP.name).then(function(){return r(d[8]).StorageUtils.multiSet(c.default.SP.name,l)}))),f.abrupt("return",l);case 6:case"end":return f.stop()}},null,null,null,Promise)}},{key:"preloadFonts",value:function(n,u,s){var l,o;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(l={},f.prev=1,l=JSON.parse(u),!((o=Object.keys(l)).length>0)){f.next=13;break}return c.default.setStorageName(n),o.forEach(function(t){Array.isArray(l[t])&&(l[t]=JSON.stringify(l[t]))}),f.next=9,t.default.awrap(r(d[8]).StorageUtils.clearAll(c.default.SP.name));case 9:return f.next=11,t.default.awrap(r(d[8]).StorageUtils.multiSet(c.default.SP.name,l));case 11:return f.next=13,t.default.awrap(c.default.setFiletime(s));case 13:f.next=17;break;case 15:f.prev=15,f.t0=f.catch(1);case 17:case"end":return f.stop()}},null,null,[[1,15]],Promise)}}]),o})();e.FontsManager=o},1859,[5,80,7,8,430,752,1860,1861,462]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),l=(function(){function l(){(0,n.default)(this,l)}return(0,u.default)(l,null,[{key:"setStorageName",value:function(t){var n="fonts";t&&(n=t+"_"+n),l.SP.name=n}},{key:"getItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(l.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(n,u){return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t.default.awrap(r(d[4]).StorageUtils.setItem(l.SP.name,n,u));case 2:case"end":return s.stop()}},null,null,null,Promise)}},{key:"getFiletime",value:function(){var n;return t.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=parseInt,u.next=3,t.default.awrap(l.getItem(l.SP.keys.filetime));case 3:if(u.t1=u.sent,u.t1){u.next=6;break}u.t1=-1;case 6:return u.t2=u.t1,n=(0,u.t0)(u.t2,10),u.abrupt("return",n);case 9:case"end":return u.stop()}},null,null,null,Promise)}},{key:"setFiletime",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",l.setItem(l.SP.keys.filetime,""+n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clearAll(l.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"dump",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.multiGet(l.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),l})();e.default=l,l.SP={name:"fonts",keys:{fonts:"fonts",font_regular:"regular",font_medium:"medium",font_bold:"bold",filetime:"filetime"}}},1860,[5,80,7,8,462]); +__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.FontsConfig=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),u=(function(){function u(){(0,e.default)(this,u)}return(0,n.default)(u,[{key:"init",value:function(){var e,n,u,o,f,l,c,p,h,x,F,b,k=arguments;return t.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return e=k.length>0&&void 0!==k[0]?k[0]:{},this.json=e,n=s.default.SP.keys,w.next=5,t.default.awrap(this.getValue(n.fonts));case 5:return this.fonts=w.sent,w.next=8,t.default.awrap(r(d[6]).FontUtils.getDynamicFonts(this.fonts,i.default.getFontsDirectory()));case 8:this.dynamicFonts=w.sent,this.mappedDynamicFonts=[],u=0;case 11:if(!(u0&&this.currentTranslationLanguage!==k.translation_disabled}},{key:"setCurrentTranslationLanguage",value:function(e){this.currentTranslationLanguage=e,this.lastTranslationLanguage=e;var t=g.getAudio();t&&e!==k.translation_disabled&&t.setLanguage(e),u.default.setItem(w.current_translation_language,e),u.default.setItem(w.last_translation_language,e)}},{key:"setTheme",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return this.cssTheme=t,e.abrupt("return",u.default.setItem(w.css_theme,t));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetCurrentTranslationLanguage",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.currentTranslationLanguage="",(t=g.getAudio())&&t.setLocale(s.default.locale),n.next=5,e.default.awrap(u.default.removeItem(w.current_translation_language));case 5:case"end":return n.stop()}},null,this,null,Promise)}},{key:"removeValue",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return this[t]=void 0,e.abrupt("return",u.default.removeItem(t));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetPrefEdi",value:function(){var t,n;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return t=g.getActivePSetup(),n=t.udb,e.abrupt("return",this.removeValue(n+"_"+b.preferredEdition));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetEditionFromCalling",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.removeValue(w.edition_from_calling));case 1:case"end":return e.stop()}},null,this,null,Promise)}},{key:"resetSocialLoginPlatform",value:function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.removeValue(w.social_login_platform));case 1:case"end":return e.stop()}},null,this,null,Promise)}},{key:"setFullscreen",value:function(e,t){var n="portrait",s=w.article_fullscreen_portrait;t&&(n="landscape",s=w.article_fullscreen_landscape),this.articleFullscreen[n]=e,u.default.setItem(s,e?"1":"0")}},{key:"dontShowAgainDownloadTip",value:function(){this.showDownloadTip=!1,u.default.setItem(w.show_download_tip,"0")}},{key:"setNetworkTimestamp",value:function(){var e=r(d[13]).DateUtils.getCurrentDateString();this.networkTimestamp=e,u.default.setItem(w.network_timestamp,e)}},{key:"setUseRnDemoTimestamp",value:function(){var e=r(d[13]).DateUtils.getCurrentDateString();this.useRnDemoTimestamp=e,u.default.setItem(w.use_rn_demo_timestamp,e)}},{key:"setLastOperationTimestamp",value:function(){if(f.default.isAppActive()){var e=(new Date).getTime();this.lastOperationTimestamp=e,u.default.setItem(w.last_op_time,""+e)}}},{key:"setGraphSize",value:function(e){this.graphSize=parseInt(e,10),u.default.setItem(w.graph_size,""+e)}},{key:"getGraphSize",value:function(){var e=g.getUserSettings().getAllowFontScaling(),t=r(d[13]).FontUtils.getSystemFontScaleFactor(e,r(d[13]).PlatformUtils.info.fontScale);return parseInt(this.graphSize,10)*t}},{key:"toggleGraphSize",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],l=[75,85,100,125,150,200,250],u=l.findIndex(function(e){return e===parseInt(t.graphSize,10)});return n||(e=u+1===l.length?l[s?0:u]:l[u+1]),n&&(e=u-1==-1?l[s?l.length-1:u]:l[u-1]),this.setGraphSize(e),r(d[16]).EventRegister.emit(o.default.TOGGLE_NEWSMEMORY_GRAPH_SIZE),r(d[16]).EventRegister.emit(o.default.ARTICLE_GRAPHIC_ZOOM_CHANGE),e}},{key:"getFontSize",value:function(){return g.getUserSettings().fontSize}},{key:"setCDNEnabled",value:function(e){this.cdnEnabled=e}},{key:"setCDNServer",value:function(e){this.cdnServer=e}},{key:"setCDNVersion",value:function(e){this.cdnVersion=parseInt(e,10)}},{key:"setDBDownloadPSetup",value:function(e){this.dbDownloadPSetup=e}},{key:"resetDBDownloadPSetup",value:function(){this.dbDownloadPSetup=void 0}},{key:"setLayout",value:function(e,t){u.default.setItem(w.layout+"_"+e,JSON.stringify(t))}},{key:"setReadMode",value:function(e){this.readModeEnabled=e,u.default.setItem(w.read_mode_enabled,e?"1":"0")}},{key:"setAccessibilityMode",value:function(e){var t=g.getActivePSetup().udb;this.accessibilityModeEnabled=e,u.default.setItem(t+"_"+b.accessibility_mode,e?"1":"0")}},{key:"setArchiveMode",value:function(e){this.archiveModeEnabled=e}},{key:"setShowTypesArticle",value:function(e){this.showTypesArticle=e,u.default.setItem(w.show_types_article,e)}},{key:"disableTwoFingersTapHint",value:function(){this.twoFingersTapHintEnabled=!1,u.default.setItem(w.two_fingers_tap_hint_enabled,"0")}},{key:"shouldShowTwoFingersTapHint",value:function(){var e=g.getActivePSetup(),t=e.twoFingersTapHintEnabled,n=e.twoFingersTapMaxHints;if(t&&this.twoFingersTapHintEnabled){if(this.twoFingersTapHintCount1)return e[1]}}},{key:"getFavEdiPSetup",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.favoriteEdition){t.next=7;break}return t.next=3,e.default.awrap(u.default.getItem(w.favorite_edition));case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0="";case 6:this.favoriteEdition=t.t0;case 7:return t.abrupt("return",this.getFavEdiPSetupSync());case 8:case"end":return t.stop()}},null,this,null,Promise)}},{key:"getPrefEdi",value:function(t){return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(this.prefEdi||!t){n.next=7;break}return n.next=3,e.default.awrap(this.getValue(t+"_"+b.preferredEdition));case 3:if(n.t0=n.sent,n.t0){n.next=6;break}n.t0="";case 6:this.prefEdi=n.t0;case 7:return n.abrupt("return",this.prefEdi||void 0);case 8:case"end":return n.stop()}},null,this,null,Promise)}},{key:"setEnableTabIndexMode",value:function(e){this.setValue(w.enable_tab_index_mode,e?"1":"0")}},{key:"setLastDbNetwork",value:function(e){this.setValue(w.lastDbNetwork,e)}},{key:"getLastDbNetwork",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.default.awrap(this.getValue(w.lastDbNetwork));case 2:return t=n.sent,n.abrupt("return",t?parseInt(t,10):t);case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"setLastDbDownloadSpeed",value:function(e){this.setValue(w.lastDbDownloadSpeed,e)}},{key:"getLastDbDownloadSpeed",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.default.awrap(this.getValue(w.lastDbDownloadSpeed));case 2:return t=n.sent,n.abrupt("return",t?parseFloat(t):t);case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"clearAll",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return t=g.getUserSettings(),this.useRnDemo=void 0,this.useRnDemoTimestamp=void 0,this.network=void 0,this.networkTimestamp=void 0,this.limit=void 0,this.connectivity=void 0,this.singleTapToZoom=void 0,this.twoFingersTapToArticle=void 0,this.readModeEnabled=void 0,this.epaperStartMode=void 0,this.epaperStartModeDontShowAgain=void 0,this.isIphone=void 0,this.prefEdi=void 0,this.favoriteEdition=void 0,this.editionfromcalling=void 0,this.accessibilityModeEnabled=void 0,this.articleFullscreen=void 0,this.translationsAvailable=[],this.lastOperationTimestamp=void 0,this.showDownloadTip=void 0,this.graphSize=void 0,this.fontSize=void 0,t.setFontSize(100),this.cdnEnabled=void 0,this.cdnServer=void 0,this.cdnVersion=void 0,this.dbDownloadPSetup=void 0,this.layout=void 0,n.next=31,e.default.awrap(t.resetLastEpaperLayoutConfig());case 31:return this.twoFingersTapHintEnabled=void 0,this.twoFingersTapHintCount=void 0,this.showTypesArticle=void 0,this.currentTranslationLanguage=void 0,this.lastTranslationLanguage=void 0,this.enableArticleExtras=void 0,this.pagesNavigationButtonsLayout=void 0,this.columnView=void 0,this.backgroundTimerArticleSelected=void 0,this.backgroundDurationArticleSelected=void 0,this.enableTabIndexMode=void 0,this.lastDbNetwork=void 0,this.lastDbDownloadSpeed=void 0,this.soPass=void 0,n.abrupt("return",u.default.clearAll());case 46:case"end":return n.stop()}},null,this,null,Promise)}},{key:"reset",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.default.awrap(this.clearAll());case 2:return t.next=4,e.default.awrap(this.init());case 4:case"end":return t.stop()}},null,this,null,Promise)}}]),p})();_e.default=x},1868,[5,80,7,8,1162,430,1869,460,1870,458,770,1893,605,462,754,1966,574]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=r(d[0])(r(d[3])),o=(function(){function o(){(0,n.default)(this,o)}return(0,l.default)(o,null,[{key:"getItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.getItem(o.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(n,l){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:r(d[4]).StorageUtils.setItem(o.SP.name,n,l);case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"removeItem",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clear(o.SP.name,n));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.clearAll(o.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"dump",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r(d[4]).StorageUtils.multiGet(o.SP.name));case 1:case"end":return t.stop()}},null,null,null,Promise)}}]),o})();e.default=o,o.SP={name:"newsmemory",keys:{network:"network",network_timestamp:"networkTimestamp",is_phone:"isIphone",connectivity:"connectivity",single_tap_to_zoom:"singleTapToZoom",two_fingers_tap_to_article:"twoFingersTapToArticle",limit:"limit",favorite_edition:"favoriteEdition",edition_from_calling:"editionfromcalling",css_theme:"cssTheme",article_fullscreen_portrait:"articleFullscreenPortrait",article_fullscreen_landscape:"articleFullscreenLandscape",last_op_time:"lastOperationTimestamp",show_download_tip:"showDownloadTip",use_rn_demo:"useRnDemo",use_rn_demo_timestamp:"useRnDemoTimestamp",custom_scale_factor:"customScaleFactor",graph_size:"graphSize",font_size:"fontSize",layout:"layout",read_mode_enabled:"articleBrowseModeEnabled",two_fingers_tap_hint_enabled:"twoFingersTapHintEnabled",two_fingers_tap_hint_count:"twoFingersTapHintCount",show_types_article:"showTypesArticle",translation_available:"translationAvailable",translations_available:"translationsAvailable",current_translation_language:"currentTranslationLanguage",last_translation_language:"lastTranslationLanguage",epaper_start_mode:"epaperStartMode",epaper_start_mode_dont_show_again:"epaperStartModeDontShowAgain",enable_article_extras:"enableArticleExtras",pages_navigation_buttons_layout:"pagesNavigationButtonsLayout",time_limit:"timelimit",column_view:"columnView",background_timer_article_selected:"backgroundTimerArticleSelected",background_duration_article_selected:"backgroundDurationArticleSelected",enable_tab_index_mode:"enableTabIndexMode",lastDbNetwork:"lastDbNetwork",lastDbDownloadSpeed:"lastDbDownloadSpeed",social_login_platform:"soPass",title_box_debug:"titleBoxDebug"},values:{translation_disabled:"disabled",no_translation:"none"},paper:{lastMostRecentIssueOnServer:"lastMostRecentIssueOnServer",lastIssue:"lastIssue",lastEdition:"lastEdition",lastPageNumber:"lastPageNumber",lastArticleId:"lastArticleId",preferredEdition:"prefEdi",accessibility_mode:"accessibilityMode"}}},1869,[5,80,7,8,462]); +__d(function(g,r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.IAP_SECRET=_e.IAP_STATUS=_e.IAP_SYSTEMS=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),a=r(d[0])(r(d[4])),s=r(d[5]),u=(r(d[0])(r(d[6])),r(d[0])(r(d[7]))),i=r(d[0])(r(d[8])),c=r(d[0])(r(d[9])),o=(r(d[0])(r(d[10])),{GOOGLE:"google",APPLE:"apple",AMAZON:"amazon"});_e.IAP_SYSTEMS=o;var l={FAILED:0,SUCCESS:1,RESTORED:2};_e.IAP_STATUS=l;_e.IAP_SECRET="tecnavia";var p="Purchases restored",f="Call to restore transactions API failed",P="No purchases to restore found",b="In-app purchase system in error",I="In-app purchase engine not set",v=i.default.getIapModule(),x=v.IAPErrorCode,k=(v.PurchaseError,v.Product,v.Subscription,(function(){function v(){(0,n.default)(this,v)}return(0,a.default)(v,null,[{key:"getItem",value:function(t,n){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r(d[11]).StorageUtils.getItem(v.SP.name+"_"+t,n));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"setItem",value:function(t,n,a){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:r(d[11]).StorageUtils.setItem(v.SP.name+"_"+t,n,""+a);case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"removeItem",value:function(t,n){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r(d[11]).StorageUtils.clear(v.SP.name+"_"+t,n));case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"updateItem",value:function(t,n,a){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:a?v.setItem(t,n,a):v.removeItem(t,n);case 1:case"end":return e.stop()}},null,null,null,Promise)}},{key:"clearAll",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=2;break}return e.abrupt("return",r(d[11]).StorageUtils.clearAll(v.SP.name+"_"+t));case 2:return e.abrupt("return",r(d[11]).StorageUtils.clearAllByRegExp(v.SP.name+"_.*"));case 3:case"end":return e.stop()}},null,null,null,Promise)}},{key:"storePurchaseModel",value:function(t){var n,a,s,u,i,c,o,l,p,f,P,b,I,x;return e.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return n=t.productId,a=t.invoiceId,s=t.pSetup,u=t.issue,i=t.edition,c=t.editionId,o=t.transactionId,l=t.transactionDate,p=t.originalTransactionId,f=t.originalTransactionDate,P=t.recurringSubscriptionPeriod,b=t.recurringSubscriptionId,I=t.receipt,x=t.purchaseToken,k.next=3,e.default.awrap(v.updateItem(n,v.SP.keys.invoiceId,a));case 3:return k.next=5,e.default.awrap(v.updateItem(n,v.SP.keys.pSetup,s));case 5:return k.next=7,e.default.awrap(v.updateItem(n,v.SP.keys.issue,u));case 7:return k.next=9,e.default.awrap(v.updateItem(n,v.SP.keys.edition,i));case 9:return k.next=11,e.default.awrap(v.updateItem(n,v.SP.keys.editionId,c));case 11:return k.next=13,e.default.awrap(v.updateItem(n,v.SP.keys.transactionId,o));case 13:return k.next=15,e.default.awrap(v.updateItem(n,v.SP.keys.transactionDate,l));case 15:return k.next=17,e.default.awrap(v.updateItem(n,v.SP.keys.originalTransactionId,p));case 17:return k.next=19,e.default.awrap(v.updateItem(n,v.SP.keys.originalTransactionDate,f));case 19:return k.next=21,e.default.awrap(v.updateItem(n,v.SP.keys.receipt,I));case 21:return k.next=23,e.default.awrap(v.updateItem(n,v.SP.keys.recurringSubscriptionPeriod,P));case 23:return k.next=25,e.default.awrap(v.updateItem(n,v.SP.keys.recurringSubscriptionId,b));case 25:return k.next=27,e.default.awrap(v.updateItem(n,v.SP.keys.purchaseToken,x));case 27:case"end":return k.stop()}},null,null,null,Promise)}},{key:"getPurchaseModel",value:function(t){var n;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,(n=new(r(d[12]).IAPTecnaviaModel)).setProductId(t),a.t0=n,a.next=6,e.default.awrap(v.getItem(t,v.SP.keys.invoiceId));case 6:return a.t1=a.sent,a.t0.setInvoiceId.call(a.t0,a.t1),a.t2=n,a.next=11,e.default.awrap(v.getItem(t,v.SP.keys.pSetup));case 11:return a.t3=a.sent,a.t2.setPSetup.call(a.t2,a.t3),a.t4=n,a.next=16,e.default.awrap(v.getItem(t,v.SP.keys.issue));case 16:return a.t5=a.sent,a.t4.setIssue.call(a.t4,a.t5),a.t6=n,a.next=21,e.default.awrap(v.getItem(t,v.SP.keys.edition));case 21:return a.t7=a.sent,a.t6.setEdition.call(a.t6,a.t7),a.t8=n,a.next=26,e.default.awrap(v.getItem(t,v.SP.keys.editionId));case 26:return a.t9=a.sent,a.t8.setEditionId.call(a.t8,a.t9),a.t10=n,a.next=31,e.default.awrap(v.getItem(t,v.SP.keys.transactionId));case 31:return a.t11=a.sent,a.t10.setTransactionId.call(a.t10,a.t11),a.t12=n,a.next=36,e.default.awrap(v.getItem(t,v.SP.keys.transactionDate));case 36:return a.t13=a.sent,a.t12.setTransactionDate.call(a.t12,a.t13),a.t14=n,a.next=41,e.default.awrap(v.getItem(t,v.SP.keys.originalTransactionId));case 41:return a.t15=a.sent,a.t14.setOriginalTransactionId.call(a.t14,a.t15),a.t16=n,a.next=46,e.default.awrap(v.getItem(t,v.SP.keys.originalTransactionDate));case 46:return a.t17=a.sent,a.t16.setOriginalTransactionDate.call(a.t16,a.t17),a.t18=n,a.next=51,e.default.awrap(v.getItem(t,v.SP.keys.receipt));case 51:return a.t19=a.sent,a.t18.setReceipt.call(a.t18,a.t19),a.t20=n,a.next=56,e.default.awrap(v.getItem(t,v.SP.keys.recurringSubscriptionPeriod));case 56:return a.t21=a.sent,a.t20.setRecurringSubscriptionPeriod.call(a.t20,a.t21),a.t22=n,a.next=61,e.default.awrap(v.getItem(t,v.SP.keys.recurringSubscriptionId));case 61:return a.t23=a.sent,a.t22.setRecurringSubscriptionId.call(a.t22,a.t23),a.t24=n,a.next=66,e.default.awrap(v.getItem(t,v.SP.keys.purchaseToken));case 66:return a.t25=a.sent,a.t24.setPurchaseToken.call(a.t24,a.t25),a.abrupt("return",n);case 71:return a.prev=71,a.t26=a.catch(0),a.abrupt("return",null);case 74:case"end":return a.stop()}},null,null,[[0,71]],Promise)}},{key:"initProductsAndSubscriptions",value:function(){var t,n,a,s;return e.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(!v.engineInit){u.next=13;break}if(t=g.getActivePSetup(),n=t.payments,r(d[11]).JSUtils.isEmpty(n)){u.next=13;break}if(a=n.filter(function(e){return!e.isSubscription()}).map(function(e){return e.getProductId()}),r(d[11]).JSUtils.isEmpty(a)){u.next=8;break}return u.next=7,e.default.awrap(v.engine.getProducts(a));case 7:v.products=u.sent;case 8:if(s=n.filter(function(e){return e.isSubscription()}).map(function(e){return e.getProductId()}),r(d[11]).JSUtils.isEmpty(s)){u.next=13;break}return u.next=12,e.default.awrap(v.engine.getSubscriptions(s));case 12:v.subscriptions=u.sent;case 13:case"end":return u.stop()}},null,null,null,Promise)}},{key:"init",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(v.engineInit||!i.default.isIapModuleAvailable()){t.next=28;break}(0,r(d[13]).addDebugOperation)("IAPHelper"," start init"),t.t0=v.getSystem(),t.next=t.t0===o.GOOGLE?5:t.t0===o.APPLE?7:t.t0===o.AMAZON?9:11;break;case 5:return v.engine=new(r(d[14]).IAPGoogle)({callbackToServer:v.storeIAPResultToServer,onPurchaseError:v.onPurchaseError}),t.abrupt("break",12);case 7:return v.engine=new(r(d[15]).IAPApple)({callbackToServer:v.storeIAPResultToServer,onPurchaseError:v.onPurchaseError}),t.abrupt("break",12);case 9:return v.engine=new(r(d[16]).IAPAmazon)({callbackToServer:v.storeIAPResultToServer,onPurchaseError:v.onPurchaseError}),t.abrupt("break",12);case 11:v.systemInError=!0;case 12:if(v.engineInit=!1,!v.engine){t.next=17;break}return t.next=16,e.default.awrap(v.engine.init());case 16:v.engineInit=t.sent;case 17:if(!v.engineInit){t.next=24;break}return v.onPurchaseUpdateOperationAdded(function(){0===v.pendingPurchases&&v.onPurchaseUpdateOperationsIdle().then(function(){v.pendingPurchases=0,v.pendingPurchasesCompleted=0,setTimeout(v.hidePurchaseUpdateCompletedMessage,2e3)}),v.pendingPurchases+=1,v.showPurchaseUpdateCompletedMessage()}),v.onPurchaseUpdateOperationCompleted(function(){v.pendingPurchasesCompleted+=1,v.showPurchaseUpdateCompletedMessage()}),t.next=22,e.default.awrap(v.initProductsAndSubscriptions());case 22:t.next=25;break;case 24:v.systemInError=!0;case 25:(0,r(d[13]).addDebugOperation)("IAPHelper","init completed"),t.next=28;break;case 28:case"end":return t.stop()}},null,null,null,Promise)}},{key:"onPurchaseError",value:function(t){var n;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:if(!t){a.next=8;break}if(!t.productId){a.next=5;break}return a.next=4,e.default.awrap(v.getPurchaseModel(t.productId));case 4:n=a.sent;case 5:return a.next=7,e.default.awrap(v.callToIpn(l.FAILED,n));case 7:v.serverCallback&&v.serverCallback({status:l.FAILED,model:n,error:t});case 8:case"end":return a.stop()}},null,null,null,Promise)}},{key:"requestIAP",value:function(t){var n,a,s,u;return e.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(!i.default.isIapModuleAvailable()){c.next=36;break}if(v.purchasing=!0,v.systemInError||!v.engine||!t){c.next=32;break}return c.next=5,e.default.awrap(v.storePurchaseModel(t));case 5:if(c.prev=5,!t.type||t.type!==r(d[12]).IAPTecnaviaType.SUBSCRIPTION){c.next=21;break}return c.next=9,e.default.awrap(v.engine.getSubscriptions([t.productId]));case 9:return a=c.sent,s=v.engine.getSubscriptionOffersDetails(a,t.productId),c.next=13,e.default.awrap(v.engine.getActiveSubscriptions(t.productId));case 13:return u=c.sent,u=v.getActiveSubscriptionPerActivePSetup(u),c.next=17,e.default.awrap(v.showSubscriptionsAlert(u));case 17:return c.next=19,e.default.awrap(v.engine.requestSubscription(t.productId,[s]));case 19:c.next=25;break;case 21:return c.next=23,e.default.awrap(v.engine.getProducts([t.productId]));case 23:return c.next=25,e.default.awrap(v.engine.requestPurchase(t.productId));case 25:c.next=30;break;case 27:c.prev=27,c.t0=c.catch(5),n={code:c.t0.code,message:c.t0.message,productId:t.productId};case 30:c.next=33;break;case 32:n={code:x.E_IAP_NOT_AVAILABLE,message:"In app purchases not configured",productId:t.productId};case 33:return c.next=35,e.default.awrap(v.onPurchaseError(n));case 35:v.purchasing=!1;case 36:case"end":return c.stop()}},null,null,[[5,27]],Promise)}},{key:"getActiveSubscriptionPerActivePSetup",value:function(e){var t=g.getActivePSetup();return e.filter(function(e){var n=e.productId;return void 0!==t.getPaymentByProductId(n)})}},{key:"showSubscriptionsAlert",value:function(t){var n,a;return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=g.getActivePSetup(),a=n.enableMultipleSubscriptionsAlert,0!==t.length&&a&&i.default.isIapModuleAvailable()){e.next=3;break}return e.abrupt("return",Promise.resolve());case 3:return e.abrupt("return",new Promise(function(e,n){r(d[17]).CustomAlert.alert(g.strings("iap_multiple_subscriptions"),g.strings("iap_multiple_active_subscriptions_message",{subscriptions:v.getActiveSubscriptionsText(t)}),[{text:g.strings("btn_continue"),onPress:e},{text:g.strings("btn_cancel"),onPress:function(){var e=new Error;e.message="there is already an active subscription",e.name=x.E_ACTIVE_SUBSCRIPTION,n(e)}}],{cancelable:!1})}));case 4:case"end":return e.stop()}},null,null,null,Promise)}},{key:"restoreTransactions",value:function(t){var n,a,s,u,c,o,l,x,k,S,h,y,w,A,T,E,R,O;return e.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(a=p,s=f,u=P,c=b,o=I,v.systemInError||!v.engine||!i.default.isIapModuleAvailable()){_.next=40;break}return _.prev=2,_.next=5,e.default.awrap(v.engine.restoreTransactions(t));case 5:if(!((l=_.sent)&&l.length>0)){_.next=32;break}return _.next=9,e.default.awrap(v.callToRestoreTransactions(l));case 9:if(!_.sent){_.next=29;break}if(x=g.getActivePSetup(),k=x.loginStatus,!r(d[11]).PlatformUtils.isIOS()){_.next=27;break}S=0;case 15:if(!(S1&&v.showConcurrentSubscriptions(a),i.abrupt("return",!0);case 31:case"end":return i.stop()}},null,null,[[18,23]],Promise)}},{key:"showConcurrentSubscriptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];g.getActivePSetup().enableMultipleSubscriptionsAlert&&r(d[17]).CustomAlert.alert(g.strings("iap_multiple_subscriptions"),g.strings("iap_multiple_subscriptions_message",{subscriptions:v.getActiveSubscriptionsText(e)}),[{text:g.strings("iap_go_to_subscriptions"),onPress:function(){var e="https://play.google.com/store/account/subscriptions";s.Linking.canOpenURL(e)&&s.Linking.openURL(e)}},{text:g.strings("btn_close")}],{cancelable:!1})}},{key:"getActiveSubscriptionsText",value:function(e){if(e&&e.length){var t="\n\n",n=g.getActivePSetup();return e.forEach(function(e){var a=n.getPaymentByProductId(e.productId);a&&(t+=r(d[11]).StringUtils.BULLET+" "+a.getDescription()+"\n")}),t}return""}},{key:"storeIAPResultToServer",value:function(t){var n,a,s,u,c,o,p,f,P,b,I,k;return e.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(!i.default.isIapModuleAvailable()){S.next=36;break}if(!t){S.next=34;break}if(n=t.productId,a=t.transactionId,s=t.transactionDate,u=t.originalTransactionId,c=t.originalTransactionDate,o=t.receipt,p=t.purchaseToken,!n){S.next=32;break}return f=l.FAILED,S.next=7,e.default.awrap(v.getPurchaseModel(n));case 7:if(!(P=S.sent)){S.next=30;break}if(P.setTransactionId(a),P.setTransactionDate(s),P.setOriginalTransactionId(u),P.setOriginalTransactionDate(c),p&&P.setPurchaseToken(p),!o){S.next=23;break}if(f=l.SUCCESS,P.setReceipt(o),!P.isRecurring()){S.next=23;break}return b=g.getActivePSetup(),b.loginStatus.setReceipt(o),S.next=22,e.default.awrap(v.callToReceiptManager(P));case 22:P=S.sent;case 23:return S.next=25,e.default.awrap(v.storePurchaseModel(P));case 25:return S.next=27,e.default.awrap(v.callToIpn(f,P));case 27:return I=S.sent,v.serverCallback&&(I?v.serverCallback({status:f,model:P}):((k={}).code=x.E_REMOTE_ERROR,k.message="Call to IPN API failed",v.serverCallback({status:l.FAILED,model:P,error:k}))),S.abrupt("return",I);case 30:S.next=32;break;case 32:S.next=34;break;case 34:S.next=36;break;case 36:return S.abrupt("return",!1);case 37:case"end":return S.stop()}},null,null,null,Promise)}},{key:"callToReceiptManager",value:function(t){var n,a,s,u;return e.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:n=0,a=!1;case 2:return n+=1,i.prev=3,i.next=6,e.default.awrap(c.default.receiptManager(t));case 6:s=i.sent,u=void 0,s&&s.data&&s.data.decoded&&(u=s.data.decoded.originalTransactionId),t.setRecurringSubscriptionId(v.computeRecurringSubscriptionId(t,u)),a=!0,i.next=15;break;case 13:i.prev=13,i.t0=i.catch(3);case 15:if(n<2&&!a){i.next=2;break}case 16:return i.abrupt("return",t);case 17:case"end":return i.stop()}},null,null,[[3,13]],Promise)}},{key:"callToIpn",value:function(t,n){var a,s,u,i,o;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:a=t===l.SUCCESS,s=0,u=!1;case 3:return s+=1,p.prev=4,i=!1,n&&(i=v.isSandboxReceipt(n.receipt)),p.next=9,e.default.awrap(c.default.ipn(a,n,i));case 9:if(!(o=p.sent)||!o.data){p.next=14;break}if(u=!0,-1!==o.data.indexOf("ERROR")){p.next=14;break}return p.abrupt("return",!0);case 14:p.next=18;break;case 16:p.prev=16,p.t0=p.catch(4);case 18:if(s<2&&!u){p.next=3;break}case 19:return p.abrupt("return",!1);case 20:case"end":return p.stop()}},null,null,[[4,16]],Promise)}},{key:"callToRestoreTransactions",value:function(t){var n,a,s,u,i,o,l;return e.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:n=!1,t.length>0&&(n=v.isSandboxReceipt(t[0].receipt)),a=Math.ceil(t.length/50),s=Array.from({length:a},function(e,n){return t.slice(50*n,50*n+50)}),u=0;case 5:if(!(u0)){t.next=9;break}return v.showPurchaseUpdateCompletedMessage(),t.next=6,e.default.awrap(v.onPurchaseUpdateOperationsIdle());case 6:v.pendingPurchases=0,v.pendingPurchasesCompleted=0,v.hidePurchaseUpdateCompletedMessage();case 9:case"end":return t.stop()}},null,null,null,Promise)}},{key:"setServerCallback",value:function(t){return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=6;break}return n.next=3,e.default.awrap(v.completePendingPurchases());case 3:v.onPurchaseUpdateOperationAdded(void 0),v.onPurchaseUpdateOperationCompleted(void 0),v.serverCallback=t;case 6:case"end":return n.stop()}},null,null,null,Promise)}},{key:"resetServerCallback",value:function(){v.serverCallback=void 0}},{key:"computeRecurringSubscriptionId",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.invoiceId,a=e.recurringSubscriptionPeriod,s=e.originalTransactionId;if(s&&!t)t=s;else if(n&&!t){var u=n.split("_");u.length>2&&(t=u[2])}return"P"+t+"_"+a}},{key:"getSystem",value:function(){return r(d[11]).PlatformUtils.isIOS()?o.APPLE:u.default.isKindle()?o.AMAZON:o.GOOGLE}},{key:"validateReceipt",value:function(t){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(v.systemInError||!v.engine||!t){e.next=2;break}return e.abrupt("return",v.engine.validateReceipt(t));case 2:return e.abrupt("return",!1);case 3:case"end":return e.stop()}},null,null,null,Promise)}},{key:"isSandboxReceipt",value:function(e){return!(v.systemInError||!v.engine||!e)&&v.engine.isSandboxReceipt(e)}},{key:"registerReceiver",value:function(){v.engine&&v.engine.registerReceiver()}},{key:"unregisterReceiver",value:function(){v.engine&&v.engine.unregisterReceiver()}},{key:"getProductsAndSubscriptions",value:function(){return[].concat((0,t.default)(v.products),(0,t.default)(v.subscriptions))}}]),v})());_e.default=k,k.engine=void 0,k.engineInit=!1,k.system="",k.systemInError=!1,k.serverCallback=void 0,k.purchasing=!1,k.products=[],k.subscriptions=[],k.pendingPurchases=0,k.pendingPurchasesCompleted=0,k.SP={name:"purchase",keys:{invoiceId:"invoiceId",pSetup:"pSetup",issue:"issue",edition:"edition",editionId:"editionId",transactionId:"transactionId",transactionDate:"transactionDate",originalTransactionId:"originalTransactionId",originalTransactionDate:"originalTransactionDate",recurringSubscriptionPeriod:"recurringSubscriptionPeriod",recurringSubscriptionId:"recurringSubscriptionId",receipt:"receipt",purchaseToken:"purchaseToken"}}},1870,[5,80,21,7,8,28,757,458,770,1871,1872,462,1873,705,1874,1884,1885,702,1886]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),l="receipt_manager.php",p="ipn.php",f="restore_transactions.php",v="Completed",_="Failed",y=(function(){function y(){(0,u.default)(this,y)}return(0,s.default)(y,null,[{key:"baseUrl",value:function(t){var n=g.getActivePSetup().baseInAppPurchaseAPIUrl;return r(d[7]).StringUtils.appendParams(r(d[7]).NetworkUtils.addDefaultProtocol(n).concat("/"+t),o.default.getDefaultParams())}},{key:"receiptManager",value:function(n){var u,s,c,p;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=g.getActivePSetup(),s=u.loginStatus,c=s.TAUID,p=n.receipt,t.abrupt("return",o.default.post(y.baseUrl(l),{},{action:"write",tauid:c,receipt:p}));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getCustomParam",value:function(){var t=g.getActivePSetup(),n=t.pSetup,u=t.xpaper,s="ipad";return r(d[7]).PlatformUtils.isAndroid()&&(s="play",c.default.isKindle()&&(s="amazon")),n+"#"+u+"#"+s+"_payment"}},{key:"ipn",value:function(u,s,c){var l,f,P,I,b,x,S,h,D,U,A,T,k,w,M,Y;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l=g.getActivePSetup(),f=l.loginStatus,P=f.TAUID,I=s.invoiceId,b=s.originalTransactionId,x=s.transactionId,S=s.transactionDate,h=s.recurringSubscriptionId,D=s.edition,U=s.editionId,A=s.receipt,T=s.productId,k=s.purchaseToken,w=u?v:_,r(d[7]).JSUtils.isNull(S)||(M=r(d[7]).DateUtils.unixToString(parseInt(S,10)/1e3,"YYYYMMDDHHmmss")),Y={product_id:T,payment_status:w,invoice:I,custom:y.getCustomParam(),txn_id:x,original_txn_id:b,purchase_token:k,purchase_time:M,edition:D,editionid:U,TAUID:P,doPost:!1,isSandbox:c||void 0},s.isRecurring()&&(Y=(0,n.default)({},Y,{txn_type:"subscr_payment",subscr_id:h,receipt:A})),t.abrupt("return",o.default.post(y.baseUrl(p),{responseType:"text"},Y));case 8:case"end":return t.stop()}},null,null,null,Promise)}},{key:"restoreTransactions",value:function(n,u){var s;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=n.map(function(t){return{productID:t.productId,purchase_date:t.purchaseDate,expires_date:t.expiresDate,cancellation_date:t.cancellationDate,cancel_reason:t.cancelReason,original_transaction_id:t.originalTransactionId,receipt:t.receipt,transaction_id:t.transactionId}}),t.abrupt("return",o.default.post(y.baseUrl(f),{responseType:"text",timeout:6e4},{transactions:JSON.stringify(s),isSandbox:u||void 0}));case 2:case"end":return t.stop()}},null,null,null,Promise)}}]),y})();e.default=y},1871,[5,80,6,7,8,431,458,462]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),c=(function(){function c(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,t.default)(this,c),this.callbackToServer=void 0,this.onPurchaseError=void 0,this.callbackToServer=n.callbackToServer,this.onPurchaseError=n.onPurchaseError}return(0,u.default)(c,[{key:"init",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",!1);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getProducts",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getSubscriptions",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getSubscriptionOffersDetails",value:function(n){return[]}},{key:"requestPurchase",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",void 0);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"requestSubscription",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",void 0);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getAvailablePurchases",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",void 0);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"registerReceiver",value:function(){}},{key:"unregisterReceiver",value:function(){}},{key:"finishTransaction",value:function(n){}},{key:"_callServerToStoreIAP",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if("function"!=typeof this.callbackToServer){n.next=7;break}return n.prev=1,n.abrupt("return",this.callbackToServer(t));case 5:n.prev=5,n.t0=n.catch(1);case 7:return n.abrupt("return",!1);case 8:case"end":return n.stop()}},null,this,[[1,5]],Promise)}},{key:"_concludePurchase",value:function(t){var u;return n.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t){c.next=2;break}return c.abrupt("return",!1);case 2:return u=!1,c.prev=3,c.next=6,n.default.awrap(this._callServerToStoreIAP(t));case 6:u=c.sent,c.next=11;break;case 9:c.prev=9,c.t0=c.catch(3);case 11:return c.abrupt("return",u);case 12:case"end":return c.stop()}},null,this,[[3,9]],Promise)}},{key:"restoreTransactions",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"getBoughtSubscriptions",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",[]);case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"isSandboxReceipt",value:function(n){return g.__DEV__}},{key:"getPurchaseUpdateOperationsInQueue",value:function(){return 0}},{key:"onPurchaseUpdateOperationsIdle",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve());case 1:case"end":return n.stop()}},null,null,null,Promise)}},{key:"onPurchaseUpdateOperationAdded",value:function(n){}},{key:"onPurchaseUpdateOperationCompleted",value:function(n){}}]),c})();e.default=c},1872,[5,80,7,8]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.IAPTecnaviaModel=e.IAPTecnaviaType=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2]));e.IAPTecnaviaType={NON_CONSUMABLE:0,CONSUMABLE:1,SUBSCRIPTION:2};var u=(function(){function u(){(0,t.default)(this,u)}return(0,n.default)(u,[{key:"setProductId",value:function(t){this.productId=t}},{key:"setType",value:function(t){this.type=t}},{key:"setTitle",value:function(t){this.title=t}},{key:"setDescription",value:function(t){this.description=t}},{key:"setPSetup",value:function(t){this.pSetup=t}},{key:"setIssue",value:function(t){this.issue=t}},{key:"setEdition",value:function(t){this.edition=t}},{key:"setEditionId",value:function(t){this.editionId=t}},{key:"setInvoiceId",value:function(t){this.invoiceId=t}},{key:"setTransactionId",value:function(t){this.transactionId=t}},{key:"setTransactionDate",value:function(t){this.transactionDate=t}},{key:"setOriginalTransactionId",value:function(t){this.originalTransactionId=t}},{key:"setOriginalTransactionDate",value:function(t){this.originalTransactionDate=t}},{key:"setReceipt",value:function(t){this.receipt=t}},{key:"setRecurringSubscriptionPeriod",value:function(t){this.recurringSubscriptionPeriod=t}},{key:"setRecurringSubscriptionId",value:function(t){this.recurringSubscriptionId=t}},{key:"isRecurring",value:function(){return!!this.recurringSubscriptionPeriod}},{key:"setPurchaseToken",value:function(t){this.purchaseToken=t}}]),u})();e.IAPTecnaviaModel=u},1873,[5,7,8]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.IAPGoogle=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),i=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),p=(r(d[0])(r(d[9])),r(d[0])(r(d[10]))),f=r(d[0])(r(d[11]));function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}var h=p.default.getIapModule(),k=(function(c){(0,i.default)(x,c);var k,b,y=(k=x,b=v(),function(){var t,n=(0,u.default)(k);if(b){var s=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,s)}else t=n.apply(this,arguments);return(0,o.default)(this,t)});function x(){var t;(0,n.default)(this,x);for(var s=arguments.length,i=new Array(s),o=0;o1&&void 0!==i[1])||i[1],!p.default.isIapModuleAvailable()){o.next=11;break}if(s=(new Date).getTime(),this.lastGoogleToken&&!(this.lastGoogleTokenRequest+1e3*this.lastGoogleToken.expires_in1&&void 0!==i[1])||i[1],o.next=3,t.default.awrap(f.default.validateReceipt({service:"google",packageName:g.androidAppId,productId:n.productId,purchaseToken:n.purchaseToken,isSubscription:s}));case 3:return o.abrupt("return",o.sent.data);case 4:case"end":return o.stop()}},null,null,null,Promise)}},{key:"isReceiptActive",value:function(t){if(t){var n=t.expiryTimeMillis,s=parseInt(n,10);return new Date0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!n)throw new Error("Sku must be valid");if(!t.length)throw new Error("Subscriptions can't be empty");for(var i=0;i0)){h.next=24;break}o=0;case 7:if(!(o0&&void 0!==u[0]?u[0]:[],!h.default.isIapModuleAvailable()){s.next=11;break}return s.prev=2,s.next=5,t.default.awrap(b.getProducts({skus:a}));case 5:return n=s.sent,s.abrupt("return",n);case 9:s.prev=9,s.t0=s.catch(2);case 11:return s.abrupt("return",[]);case 12:case"end":return s.stop()}},null,null,[[2,9]],Promise)}},{key:"getSubscriptions",value:function(){var a,n,u=arguments;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a=u.length>0&&void 0!==u[0]?u[0]:[],s.prev=1,s.next=4,t.default.awrap(b.getSubscriptions({skus:a}));case 4:return n=s.sent,s.abrupt("return",n);case 8:s.prev=8,s.t0=s.catch(1);case 10:return s.abrupt("return",[]);case 11:case"end":return s.stop()}},null,null,[[1,8]],Promise)}},{key:"requestPurchase",value:function(a){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(!h.default.isIapModuleAvailable()){t.next=3;break}return this.currentPurchaseId=a,t.abrupt("return",b.requestPurchase({sku:a,skus:[a],andDangerouslyFinishTransactionAutomaticallyIOS:!1}));case 3:return t.abrupt("return",Promise.reject(new Error("Iap module not available")));case 4:case"end":return t.stop()}},null,this,null,Promise)}},{key:"requestSubscription",value:function(a,n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(!h.default.isIapModuleAvailable()){t.next=3;break}return this.currentPurchaseId=a,t.abrupt("return",b.requestSubscription({sku:a,subscriptionOffers:n,andDangerouslyFinishTransactionAutomaticallyIOS:!1}));case 3:return t.abrupt("return",Promise.reject(new Error("Iap module not available")));case 4:case"end":return t.stop()}},null,this,null,Promise)}},{key:"finishTransaction",value:function(t){if(h.default.isIapModuleAvailable()){var a=g.getActivePSetup().getPaymentByProductId(t.productId);a?b.finishTransaction({purchase:t,isConsumable:a.isConsumable()}):b.finishTransaction({purchase:t,isConsumable:!0})}}},{key:"getProductId",value:function(t){return t.productId}},{key:"getReceipt",value:function(t){return t.transactionReceipt}},{key:"getTransactionId",value:function(t){return t.transactionId}},{key:"getTransactionDate",value:function(t){return t.transactionDate}},{key:"getOriginalTransactionId",value:function(t){return t.transactionId}},{key:"getOriginalTransactionDate",value:function(t){return t.transactionDate}},{key:"getPurchaseToken",value:function(t){return t.purchaseToken}},{key:"registerReceiver",value:function(){h.default.isIapModuleAvailable()&&(this.purchaseUpdateSubscription=b.purchaseUpdatedListener(this.onPurchaseUpdateListener),this.purchaseErrorSubscription=b.purchaseErrorListener(this.onPurchaseErrorListener))}},{key:"applyFiltersToSubscriptions",value:function(t){return t}},{key:"getAvailablePurchases",value:function(){var a,n,u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(a=[],!h.default.isIapModuleAvailable()){s.next=7;break}return s.next=4,t.default.awrap(b.getPurchaseHistory());case 4:n=s.sent,u=n.sort(function(t,a){return a.transactionDate-t.transactionDate}),a=u.map(function(t){var a=new(r(d[14]).IAPRestoreModel);return a.setProductId(t.productId),a.setPurchaseDate(t.transactionDate),a.setTransactionId(t.purchaseToken),a.setReceipt(t.transactionReceipt),a.setOriginalTransactionId(t.purchaseToken),a.setOriginalTransactionDate(t.transactionDate),a});case 7:return s.abrupt("return",a);case 8:case"end":return s.stop()}},null,null,null,Promise)}},{key:"unregisterReceiver",value:function(){this.purchaseUpdateSubscription&&(this.purchaseUpdateSubscription.remove(),this.purchaseUpdateSubscription=void 0),this.purchaseErrorSubscription&&(this.purchaseErrorSubscription.remove(),this.purchaseErrorSubscription=void 0)}},{key:"getPurchaseUpdateOperationsInQueue",value:function(){return this.purchaseUpdateQueue.size}},{key:"onPurchaseUpdateOperationsIdle",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.purchaseUpdateQueue.onIdle());case 1:case"end":return t.stop()}},null,this,null,Promise)}},{key:"onPurchaseUpdateOperationAdded",value:function(t){this.purchaseUpdateAddedCallback=t}},{key:"onPurchaseUpdateOperationCompleted",value:function(t){this.purchaseUpdateCompletedCallback=t}}]),I})(f.default);e.default=P},1875,[5,80,6,7,8,15,12,14,16,1876,757,770,1872,462,1882]); +__d(function(g,r,i,a,m,e,d){"use strict";function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(t=function(){return!!n})()}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){},u=new(r(d[2]).TimeoutError),o=(function(o){r(d[3])(v,o);var s,l,c=(s=v,l=t(),function(){var t,n=r(d[0])(s);if(l){var u=r(d[0])(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return r(d[1])(this,t)});function v(t){var u,o,s,l,h;if(r(d[4])(this,v),(u=c.call(this))._intervalCount=0,u._intervalEnd=0,u._pendingCount=0,u._resolveEmpty=n,u._resolveIdle=n,!('number'==typeof(t=r(d[5])({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:r(d[6]).default},t)).intervalCap&&t.intervalCap>=1))throw new TypeError("Expected `intervalCap` to be a number from 1 and up, got `"+(null!==(s=null===(o=t.intervalCap)||void 0===o?void 0:o.toString())&&void 0!==s?s:'')+"` ("+typeof t.intervalCap+")");if(void 0===t.interval||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError("Expected `interval` to be a finite number >= 0, got `"+(null!==(h=null===(l=t.interval)||void 0===l?void 0:l.toString())&&void 0!==h?h:'')+"` ("+typeof t.interval+")");return u._carryoverConcurrencyCount=t.carryoverConcurrencyCount,u._isIntervalIgnored=t.intervalCap===1/0||0===t.interval,u._intervalCap=t.intervalCap,u._interval=t.interval,u._queue=new t.queueClass,u._queueClass=t.queueClass,u.concurrency=t.concurrency,u._timeout=t.timeout,u._throwOnTimeout=!0===t.throwOnTimeout,u._isPaused=!1===t.autoStart,u}return r(d[7])(v,[{key:"_doesIntervalAllowAnother",get:function(){return this._isIntervalIgnored||this._intervalCount=1))throw new TypeError("Expected `concurrency` to be a number from 1 and up, got `"+t+"` ("+typeof t+")");this._concurrency=t,this._processQueue()}},{key:"add",value:function(t){var n,o=this,s=arguments;return r(d[8]).async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},l.abrupt("return",new Promise(function(s,l){o._queue.enqueue(function(){var c;return r(d[8]).async(function(v){for(;;)switch(v.prev=v.next){case 0:return o._pendingCount++,o._intervalCount++,v.prev=2,c=void 0===o._timeout&&void 0===n.timeout?t():r(d[2]).default(Promise.resolve(t()),void 0===n.timeout?o._timeout:n.timeout,function(){(void 0===n.throwOnTimeout?o._throwOnTimeout:n.throwOnTimeout)&&l(u)}),v.t0=s,v.next=7,r(d[8]).awrap(c);case 7:v.t1=v.sent,(0,v.t0)(v.t1),v.next=14;break;case 11:v.prev=11,v.t2=v.catch(2),l(v.t2);case 14:o._next();case 15:case"end":return v.stop()}},null,null,[[2,11]],Promise)},n),o._tryToStartAnother(),o.emit('add')}));case 2:case"end":return l.stop()}},null,null,null,Promise)}},{key:"addAll",value:function(t,n){var u=this;return r(d[8]).async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",Promise.all(t.map(function(t){return r(d[8]).async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",u.add(t,n));case 1:case"end":return o.stop()}},null,null,null,Promise)})));case 1:case"end":return o.stop()}},null,null,null,Promise)}},{key:"start",value:function(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}},{key:"pause",value:function(){this._isPaused=!0}},{key:"clear",value:function(){this._queue=new this._queueClass}},{key:"onEmpty",value:function(){var t=this;return r(d[8]).async(function(n){for(;;)switch(n.prev=n.next){case 0:if(0!==this._queue.size){n.next=2;break}return n.abrupt("return");case 2:return n.abrupt("return",new Promise(function(n){var u=t._resolveEmpty;t._resolveEmpty=function(){u(),n()}}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"onIdle",value:function(){var t=this;return r(d[8]).async(function(n){for(;;)switch(n.prev=n.next){case 0:if(0!==this._pendingCount||0!==this._queue.size){n.next=2;break}return n.abrupt("return");case 2:return n.abrupt("return",new Promise(function(n){var u=t._resolveIdle;t._resolveIdle=function(){u(),n()}}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"size",get:function(){return this._queue.size}},{key:"sizeBy",value:function(t){return this._queue.filter(t).length}},{key:"pending",get:function(){return this._pendingCount}},{key:"isPaused",get:function(){return this._isPaused}},{key:"timeout",get:function(){return this._timeout},set:function(t){this._timeout=t}}]),v})(r(d[9]));e.default=o},1876,[16,14,1877,12,7,6,1879,8,80,1881]); +__d(function(g,r,i,a,m,e,d){'use strict';function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(t=function(){return!!n})()}var n=(function(n){r(d[2])(f,n);var o,c,u=(o=f,c=t(),function(){var t,n=r(d[0])(o);if(c){var u=r(d[0])(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return r(d[1])(this,t)});function f(t){var n;return r(d[3])(this,f),(n=u.call(this,t)).name='TimeoutError',n}return f})(r(d[4])(Error)),o=function(t,o,c){return new Promise(function(u,f){if('number'!=typeof o||o<0)throw new TypeError('Expected `milliseconds` to be a positive number');if(o!==1/0){var s=setTimeout(function(){if('function'!=typeof c){var s=c instanceof Error?c:new n('string'==typeof c?c:"Promise timed out after "+o+" milliseconds");'function'==typeof t.cancel&&t.cancel(),f(s)}else try{u(c())}catch(t){f(t)}},o);r(d[5])(t.then(u,f),function(){clearTimeout(s)})}else u(t)})};m.exports=o,m.exports.default=o,m.exports.TimeoutError=n},1877,[16,14,12,7,63,1878]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,t){return t=t||function(){},n.then(function(n){return new Promise(function(n){n(t())}).then(function(){return n})},function(n){return new Promise(function(n){n(t())}).then(function(){throw n})})}},1878,[]); +__d(function(g,r,i,_a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=(function(){function u(){r(d[0])(this,u),this._queue=[]}return r(d[1])(u,[{key:"enqueue",value:function(u,t){var n={priority:(t=r(d[2])({priority:0},t)).priority,run:u};if(this.size&&this._queue[this.size-1].priority>=t.priority)this._queue.push(n);else{var o=r(d[3]).default(this._queue,n,function(u,t){return t.priority-u.priority});this._queue.splice(o,0,n)}}},{key:"dequeue",value:function(){var u=this._queue.shift();return null===u||void 0===u?void 0:u.run}},{key:"filter",value:function(u){return this._queue.filter(function(t){return t.priority===u.priority}).map(function(u){return u.run})}},{key:"size",get:function(){return this._queue.length}}]),u})();e.default=u},1879,[7,8,6,1880]); +__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n,u){for(var f=0,o=t.length;o>0;){var c=o/2|0,l=f+c;u(t[l],n)<=0?(f=++l,o-=c+1):o=c}return f}},1880,[]); +__d(function(g,r,_i,a,m,e,d){'use strict';var t=Object.prototype.hasOwnProperty,n='~';function o(){}function s(t,n,o){this.fn=t,this.context=n,this.once=o||!1}function i(t,o,i,c,f){if('function'!=typeof i)throw new TypeError('The listener must be a function');var u=new s(i,c||t,f),v=n?n+o:o;return t._events[v]?t._events[v].fn?t._events[v]=[t._events[v],u]:t._events[v].push(u):(t._events[v]=u,t._eventsCount++),t}function c(t,n){0==--t._eventsCount?t._events=new o:delete t._events[n]}function f(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),f.prototype.eventNames=function(){var o,s,i=[];if(0===this._eventsCount)return i;for(s in o=this._events)t.call(o,s)&&i.push(n?s.slice(1):s);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(o)):i},f.prototype.listeners=function(t){var o=n?n+t:t,s=this._events[o];if(!s)return[];if(s.fn)return[s.fn];for(var i=0,c=s.length,f=new Array(c);i=c}),l.abrupt("return",o.length>0);case 10:return l.abrupt("return",!1);case 11:case"end":return l.stop()}},null,this,null,Promise)}},{key:"decodeReceiptLocal",value:function(t){var a,n,s,u,c,o,l;return e.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=-1,s="",!p.default.isIapModuleAvailable()){f.next=18;break}if(!(u=this.getSharedSecret())){f.next=18;break}return c={"receipt-data":t,password:u},f.prev=6,o=this.useDebugServer(),f.next=10,e.default.awrap(b.validateReceiptIos(c,o));case 10:l=f.sent,a=l.status,n=l.receipt,f.next=18;break;case 15:f.prev=15,f.t0=f.catch(6),s=f.t0.message;case 18:return f.abrupt("return",{status:a,decodedReceipt:n,errorMessage:s});case 19:case"end":return f.stop()}},null,this,[[6,15]],Promise)}},{key:"decodeReceipt",value:function(t){var a,n,s,u,c,o;return e.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return a=-1,u="",l.prev=2,l.next=5,e.default.awrap(f.default.validateReceipt({service:"apple",receipt:t}));case 5:c=l.sent,o=c.data,a=o.status,n=o.receipt,s=o.latest_receipt_info,u=o.error,l.next=16;break;case 13:l.prev=13,l.t0=l.catch(2),u=l.t0.message;case 16:return l.abrupt("return",{status:a,decodedReceipt:n,latestReceiptInfo:s,errorMessage:u});case 17:case"end":return l.stop()}},null,null,[[2,13]],Promise)}},{key:"getBoughtSubscriptions",value:function(){var t,a,n,s,u,c,o,l,p;return e.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,e.default.awrap(this.getAvailablePurchases());case 2:if(t=f.sent,a=[],!(t.length>0)){f.next=20;break}return n=t[t.length-1].receipt,f.next=8,e.default.awrap(this.decodeReceipt(n));case 8:if(s=f.sent,u=s.status,c=s.decodedReceipt,o=s.latestReceiptInfo,l=s.errorMessage,!c){f.next=19;break}p=c.in_app,r(d[13]).JSUtils.isEmpty(o)||(o.forEach(function(e){-1!==p.findIndex(function(t){return t.transaction_id===e.transaction_id})||p.push(e)}),p.sort(function(e,t){return e.purchase_date_ms-t.purchase_date_ms})),a=p.map(function(e){var t=new(r(d[14]).IAPTecnaviaRestoreModel);return t.setProductId(e.product_id),t.setTransactionId(e.transaction_id),t.setOriginalTransactionId(e.original_transaction_id),t.setOriginalPurchaseDate(e.original_purchase_date_ms),t.setReceipt(n),t.setPurchaseDate(e.purchase_date_ms),t.setExpiresDate(e.expires_date_ms),t.setCancellationDate(e.cancellation_date_ms),t}),f.next=20;break;case 19:throw new Error(v+", status: "+u+" "+l);case 20:return f.abrupt("return",a);case 21:case"end":return f.stop()}},null,this,null,Promise)}},{key:"getActiveSubscriptions",value:function(t){var a,n;return e.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,e.default.awrap(this.getBoughtSubscriptions());case 2:if(!(a=s.sent)){s.next=6;break}return n=(new Date).getTime(),s.abrupt("return",a.filter(function(e){return e.productId!==t&&r(d[13]).JSUtils.isNull(e.cancellationDate)&&e.expiresDate&&parseInt(e.expiresDate,10)>=n}));case 6:return s.abrupt("return",[]);case 7:case"end":return s.stop()}},null,this,null,Promise)}},{key:"restoreTransactions",value:function(t){var a;return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isRestoringTransactions=!0,t.next=3,e.default.awrap(this.getBoughtSubscriptions());case 3:return a=t.sent,this.isRestoringTransactions=!1,t.abrupt("return",a);case 6:case"end":return t.stop()}},null,this,null,Promise)}},{key:"isSandboxReceipt",value:function(e){if(e)try{var t=o.default.enc.Base64.parse(e);return o.default.enc.Latin1.stringify(t).indexOf("ProductionSandbox")>-1}catch(e){}return!1}},{key:"getOriginalTransactionId",value:function(e){var t=e.originalTransactionIdentifierIOS,a=e.transactionId;return t||a}}]),I})(l.default);_e.IAPApple=x},1884,[5,80,7,8,90,12,14,16,606,1875,770,430,1882,462,1883]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.IAPAmazon=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),s=r(d[0])(r(d[4])),c=r(d[0])(r(d[5])),i=r(d[0])(r(d[6])),o=r(d[0])(r(d[7])),l=r(d[0])(r(d[8])),p=r(d[0])(r(d[9]));function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}var v=o.default.getIapModule(),h=(function(l){(0,s.default)(y,l);var h,I,b=(h=y,I=f(),function(){var t,n=(0,i.default)(h);if(I){var u=(0,i.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function y(){return(0,n.default)(this,y),b.apply(this,arguments)}return(0,u.default)(y,[{key:"getAvailablePurchases",value:function(){var n,u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,t.default.awrap(v.getAvailablePurchases());case 3:return n=s.sent,u=n.filter(function(t){var n=t.transactionReceipt;return"SUBSCRIPTION"===JSON.parse(n).itemType}).map(function(t){var n=t.transactionReceipt,u=JSON.parse(n),s=new(r(d[10]).IAPRestoreModel);return s.setProductId(u.sku),s.setReceipt(u.receiptId),s.setPurchaseDate(u.purchaseDate),s.setUserId(t.userIdAmazon),s}),s.abrupt("return",u);case 8:s.prev=8,s.t0=s.catch(0);case 10:return s.abrupt("return",[]);case 11:case"end":return s.stop()}},null,null,[[0,8]],Promise)}},{key:"getReceipt",value:function(t){return t.transactionReceipt}},{key:"getTransactionId",value:function(t){var n=t.userIdAmazon,u=t.transactionReceipt,s=t.transactionDate,c=JSON.parse(u).receiptId;return this.generateTransactionId({userId:n,receiptId:c,purchaseDate:s})}},{key:"getOriginalTransactionId",value:function(t){var n=t.userIdAmazon,u=t.transactionReceipt,s=JSON.parse(u).receiptId;return this.generateTransactionId({userId:n,receiptId:s})}},{key:"generateTransactionId",value:function(t){var n=t.userId,u=t.receiptId,s=t.purchaseDate;return s?r(d[11]).StringUtils.getMd5(n+"_"+u+"_"+s):r(d[11]).StringUtils.getMd5(n+"_"+u)}},{key:"getAmazonReceipt",value:function(n,u){return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t.default.awrap(p.default.validateReceipt({service:"amazon",userId:n,receiptId:u}));case 2:return s.abrupt("return",s.sent.data);case 3:case"end":return s.stop()}},null,null,null,Promise)}},{key:"validateReceipt",value:function(n){var u;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(!n){s.next=12;break}return s.prev=1,s.next=4,t.default.awrap(this.getAmazonReceipt(n.userId,n.receiptId));case 4:if(u=s.sent,u.cancelDate){s.next=8;break}return s.abrupt("return",!0);case 8:s.next=12;break;case 10:s.prev=10,s.t0=s.catch(1);case 12:return s.abrupt("return",!1);case 13:case"end":return s.stop()}},null,this,[[1,10]],Promise)}},{key:"restoreTransactions",value:function(n){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getBoughtSubscriptions(n));case 1:case"end":return t.stop()}},null,this,null,Promise)}},{key:"getActiveSubscriptions",value:function(n){var u;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.default.awrap(this.getBoughtSubscriptions());case 2:return u=n.sent,n.abrupt("return",this.applyFiltersToSubscriptions(u));case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"applyFiltersToSubscriptions",value:function(t){return t.filter(function(t){return!t.expiresDate})}},{key:"getBoughtSubscriptions",value:function(n){var u,s,c,i,l,p;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(u=[],!o.default.isAmazonLibraryAvailable()){f.next=23;break}return f.next=4,t.default.awrap(this.getAvailablePurchases());case 4:if(s=f.sent,n&&(s=s.filter(function(t){return t.productId===n})),!(s&&s.length>0)){f.next=23;break}c=0;case 8:if(!(cp),progress:S,color:x,size:l,textStyle:n,borderWidth:0,indeterminate:h||0===S})),!h&&p>0&&S===p&&C.push(a.default.createElement(o.View,{key:"progress",style:_r(d[15]).styles.placeholderTextContainer},a.default.createElement(f.default,{style:[_r(d[15]).styles.placeholderText,{color:x},n]},Math.round(100*S)+"%")))),a.default.createElement(o.View,{style:t},C)}return i?a.default.createElement(o.View,{style:t},a.default.createElement(u.Bar,{width:null,indeterminate:!0,borderRadius:0,color:x})):a.default.createElement(c.default,{size:"large",style:t,color:x})}},{key:"render",value:function(){var t=this.props,r=t.parentStyle,s=t.spinnerStyle,l=t.textStyle,n=t.text,i=this.props,u=i.showText,c=i.cssTextClasses,p=this.state,y=p.hidden,h=p.retryText;return y?null:(r=r||{},s=s||{},l=l||{},n=n||g.strings("loading"),u&&n?a.default.createElement(o.View,{style:[_r(d[15]).styles.container].concat((0,e.default)(Array.isArray(r)?r:[r]))},this._getSpinner([s]),a.default.createElement(_r(d[14]).Css,{classes:c},a.default.createElement(f.default,{style:[_r(d[15]).styles.text,{color:this._getSpinnerColor()},l]},n),h?a.default.createElement(f.default,{style:[_r(d[15]).styles.text,{color:this._getSpinnerColor()},l]},h):null)):this._getSpinner([_r(d[15]).styles.spinner,s]))}}]),b})(a.default.PureComponent);_e.ProgressCircle=h,h.propTypes={showText:i.default.bool,showProgressText:i.default.bool,parentStyle:i.default.oneOfType([i.default.object,i.default.array]),spinnerStyle:i.default.oneOfType([i.default.object,i.default.array]),spinnerTextStyle:i.default.oneOfType([i.default.object,i.default.array]),spinnerColor:i.default.string,spinnerSize:i.default.number,textStyle:i.default.object,text:i.default.string,advanced:i.default.bool,bar:i.default.bool,startProgress:i.default.number,hidden:i.default.bool,indeterminate:i.default.bool,cssClasses:i.default.arrayOf(i.default.string),cssTextClasses:i.default.arrayOf(i.default.string)},h.defaultProps={showText:!1,showProgressText:!0,parentStyle:null,spinnerStyle:null,spinnerTextStyle:null,spinnerSize:100,textStyle:null,spinnerColor:null,advanced:!1,bar:!1,startProgress:0,hidden:!1,indeterminate:!1,cssClasses:[],cssTextClasses:[]}},1887,[5,21,7,8,12,14,16,17,28,201,1698,704,1888,462,708,1889]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.IOS_LARGE_ACTIVITY_INDICATOR_SIZE=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),c=r(d[0])(r(d[6])),f=r(d[7]);function I(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(I=function(){return!!t})()}e.IOS_LARGE_ACTIVITY_INDICATOR_SIZE=36;var s=(function(s){(0,u.default)(h,s);var _,v,p=(_=h,v=I(),function(){var t,n=(0,l.default)(_);if(v){var u=(0,l.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,o.default)(this,t)});function h(){return(0,t.default)(this,h),p.apply(this,arguments)}return(0,n.default)(h,[{key:"render",value:function(){return c.default.createElement(f.ActivityIndicator,this.props)}}]),h})(c.default.Component);e.default=s},1888,[5,7,8,12,14,16,17,28]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.styles=void 0;var t=r(d[0]).StyleSheet.create({container:{position:"absolute",zIndex:2,flexDirection:"row",justifyContent:"center",alignItems:"center",alignSelf:"center"},spinner:{flex:1},text:{paddingStart:10,textShadowColor:r(d[1]).colors.grey300,textShadowOffset:{width:-.5,height:.5},textShadowRadius:1},placeholderTextContainer:{position:"absolute",top:0,left:0,bottom:0,right:0,justifyContent:"center",alignItems:"center"},placeholderText:{color:r(d[1]).colors.white}});e.styles=t},1889,[28,462]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,n=r(d[0])(r(d[1])),o=r(d[0])(r(d[2]));function c(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t&&(g.unauthorized&&(n="UnauthorizedScreen"),t.dispatch(r(d[3]).CommonActions.navigate({name:n,params:o})))}function u(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t){g.unauthorized&&(n="UnauthorizedScreen");var c=r(d[3]).CommonActions.reset({index:0,routes:[{name:n,params:o}]});t.dispatch(c)}}function s(n,o){arguments.length>2&&void 0!==arguments[2]&&arguments[2];u(t,n,o)}var l={main:{navigate:function(n,o){arguments.length>2&&void 0!==arguments[2]&&arguments[2],c(t,n,o)},setRef:function(n){t=n},reset:function(n,o){arguments.length>2&&void 0!==arguments[2]&&arguments[2],u(t,n,o)}},default:{navigate:c,reset:u},drawer:{close:function(t){t&&t.dispatch(r(d[3]).DrawerActions.closeDrawer())},open:function(t){t&&t.dispatch(r(d[3]).DrawerActions.openDrawer())}},restart:function(){r(d[4]).MyBottomSheet.hide(),n.default.remove(),s("SplashScreen")},navigator:{createStack:r(d[5]).createNativeStackNavigator,createDrawer:r(d[6]).createDrawerNavigator,createBottomTab:r(d[7]).createBottomTabNavigator,createTopTab:r(d[8]).createMaterialTopTabNavigator},getStackScreenOptions:function(){return{orientation:o.default.orientationIsLocked?o.default.lockedOrientation.toLowerCase():"all",animation:r(d[9]).PlatformUtils.isIOS()?"default":"none"}}};e.default=l},1890,[5,1891,458,1070,1933,1941,1207,1947,1959,462]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),n=_r(d[0])(_r(d[3])),r=_r(d[0])(_r(d[4])),a=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),s=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(r,u,s):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r})(_r(d[7])),o=_r(d[0])(_r(d[8]));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}var l=(function(){function i(){(0,t.default)(this,i)}return(0,n.default)(i,null,[{key:"initConfig",value:function(){var t,n,a=arguments;return e.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:g.getRssIndex().paywallAppId,r.default.setStorageName("paywall_"+t),u.next=4,e.default.awrap(r.default.getConfig());case 4:(n=u.sent)&&(i.config=n);case 6:case"end":return u.stop()}},null,null,null,Promise)}},{key:"setConfig",value:function(e){i.config=e,r.default.setConfig(e)}},{key:"init",value:function(){var t,n,r,a=arguments;return e.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:g.getRssIndex().paywallAppId,n=a.length>1&&void 0!==a[1]&&a[1],!t){u.next=22;break}return i.appId=t,u.next=6,e.default.awrap(i.initConfig());case 6:return u.next=8,e.default.awrap(o.default.initUserStatus());case 8:return s.default.init(t),i.strictMode=n,i.registerToConnectivityChangeEvent(),u.next=13,e.default.awrap(i.isFirstProductsLeftPopupAlreadyShown());case 13:if(i.firstProductsLeftPopupShown=u.sent,!_r(d[9]).NetworkUtils.isOnline()){u.next=20;break}return u.next=17,e.default.awrap(i.downloadConfiguration());case 17:return r=u.sent,i.initialize&&(i.checkOfflineAccessedProducts(),o.default.isUserLoggedIn()?o.default.isLoginInvalid()?i.logout():i.validateUser():(i.updateAccountLabel(!1),i.autoLogin()||1==i.config.show_welcome_popup&&(i.isWelcomePopupAlreadyShown()||i.welcome()))),u.abrupt("return",r);case 20:return i.config&&i.config.sessionString&&(i.initialize=!0,i.updateAccountLabel(o.default.isUserLoggedIn())),u.abrupt("return",!0);case 22:return u.abrupt("return",!1);case 23:case"end":return u.stop()}},null,null,null,Promise)}},{key:"checkOfflineAccessedProducts",value:function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.default.awrap(r.default.getOfflineProductsList());case 2:i.offlineAccessedProductsList=t.sent,i.offlineAccessedProductsList&&i.offlineAccessedProductsList.length>0&&(i.offlineAccessedProductsList.forEach(function(e){i.validate(e,!1)}),i.offlineAccessedProductsList=[],r.default.setOfflineProductsList([]));case 4:case"end":return t.stop()}},null,null,null,Promise)}},{key:"registerToConnectivityChangeEvent",value:function(){_r(d[10]).EventRegister.rm(i.onConnectivityChange),i.onConnectivityChange=_r(d[10]).EventRegister.on(a.default.ON_CONNECTIVITY_CHANGE,function(e){e.online&&i.checkOfflineAccessedProducts()})}},{key:"registerToNewsMemoryEvents",value:function(){i.loginListener&&i.loginListener.remove(),i.logoutListener&&i.logoutListener.remove();var e=u.default.getIOSClassicEPaper();e&&(i.loginListener=e.addListener(e.NEWSMEMORY_LOGIN,function(){o.default.getUserStatus().then(function(e){o.default.userStatus=e,i.autoLogin()})}),i.logoutListener=e.addListener(e.NEWSMEMORY_LOGOUT,i.logout))}},{key:"downloadConfiguration",value:function(){var t,n,r,a;return e.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return i.initialize=!1,i.forceAutoLogin=!0,u.next=4,e.default.awrap(i.getAccessedProductsList());case 4:return i.accessedProductsList=u.sent,u.prev=5,u.next=8,e.default.awrap(s.default.downloadConfiguration());case 8:if(t=u.sent,i.setConfig(t),n=i.config,r=n.sessionString,a=n.disable_paywall,n.user_info,1!=a){u.next=13;break}return u.abrupt("return",!0);case 13:if(!r){u.next=17;break}return s.default.setSessionString(r),i.initialize=!0,u.abrupt("return",!0);case 17:u.next=21;break;case 19:u.prev=19,u.t0=u.catch(5);case 21:return u.abrupt("return",!1);case 22:case"end":return u.stop()}},null,null,[[5,19]],Promise)}},{key:"getProductType",value:function(e){var t=i.config,n=t.default_product_type,r=t.products_rules,a=n;if(r&&r.rules)for(var u=function(t){var n=r.rules[t].split(":"),u=n[0].trim(),s=n[1].trim(),o=[];u.split(" OR ").forEach(function(e){var t=e.split(" AND ");t.length>1?o.push(t):o.push(e)});for(var l=0;l1&&void 0!==v[1])||v[1],!i.initialize){y.next=36;break}if(!(u=i.getProductType(t))||i.isFreeProduct(u)||i.isAlreadyAccessed(t)){y.next=33;break}if(!_r(d[9]).NetworkUtils.isOnline()){y.next=27;break}return y.prev=5,y.next=8,e.default.awrap(s.default.validate(t,u));case 8:return o=y.sent,y.abrupt("return",i.handleValidationSuccess(t,o,n));case 12:if(y.prev=12,y.t0=y.catch(5),!(y.t0 instanceof s.PaywallError&&y.t0.getCode()===_r(d[11]).serverStatusCodes.SESSION_EXPIRED)){y.next=25;break}return y.next=17,e.default.awrap(i.handleSessionExpired());case 17:if(!y.sent){y.next=25;break}if(!i.strictMode){y.next=24;break}return y.next=22,e.default.awrap(i.validate(t,n));case 22:return l=y.sent,y.abrupt("return",l);case 24:i.validate(t,n);case 25:y.next=31;break;case 27:return y.next=29,e.default.awrap(i.getLastProductsLeft());case 29:(c=y.sent)&&(c===_r(d[11]).UNLIMITED_ACCESS||c>=0)?(c!==_r(d[11]).UNLIMITED_ACCESS&&i.setLastProductsLeft(parseInt(c,10)-1),i.offlineAccessedProductsList.push(t),r.default.setOfflineProductsList(i.offlineAccessedProductsList),_r(d[10]).EventRegister.emit(a.default.PAYWALL_VALIDATE,{ACI:t,validated:!0})):(i.showOfflineDialog(),_r(d[10]).EventRegister.emit(a.default.PAYWALL_GO_BACK_HOME));case 31:y.next=34;break;case 33:i.isAlreadyAccessed(t)&&_r(d[10]).EventRegister.emit(a.default.PAYWALL_VALIDATE,{ACI:t,validated:!0});case 34:y.next=38;break;case 36:f=g.getRssIndex(),p=f.attachPaywallToArticle,i.shouldShowHardPaywall()&&!p&&_r(d[10]).EventRegister.emit(a.default.OPEN_OPTIONSPAGE,{tab:_r(d[12]).tabs.account,forceFullscreen:!0});case 38:return y.abrupt("return",!0);case 39:case"end":return y.stop()}},null,null,[[5,12]],Promise)}},{key:"handleValidationSuccess",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!0,u=t.productsLeft,s=t.productType,o=i.config,l=o.show_first_products_left_popup,c=o.show_latest_products_left_popup,f=o.show_period_products_left_popup,p=o.show_custom_products_left_popup,v=o.show_paywall;if(i.setLastProductsLeft(u),u===_r(d[11]).UNLIMITED_ACCESS);else if(u>=0){var y=i.config.min_threshold;s&&i.config[s]&&void 0!==i.config[s].min_threshold&&(y=i.config[s].min_threshold);var P=parseInt(f||0,10),w=!!p&&p.split(",").reduce(function(e,t){return e||parseInt(t,10)===u},!1);n&&(1==l&&!i.firstProductsLeftPopupShown||1==c&&u0&&u%P==0||w)&&(i.firstProductsLeftPopupShown||i.setFirstProductsLeftPopupAlreadyShown(),_r(d[13]).PaywallContainer.show({type:_r(d[11]).popupTypes.productsLeft,productsLeft:u,ACI:e}))}else n&&1==v&&(i.needToAppendPaywallPopup(e)?_r(d[10]).EventRegister.emit(a.default.PAYWALL_OPEN_POPUP,{forceAutoLogin:i.forceAutoLogin}):_r(d[13]).PaywallContainer.show({type:_r(d[11]).popupTypes.blocking,ACI:e,forceAutoLogin:i.forceAutoLogin}),i.forceAutoLogin=!1),r=!1;return r&&(_r(d[10]).EventRegister.emit(a.default.PAYWALL_VALIDATE,{ACI:e,validated:!0}),i.addToAccessedProductsList(e)),r}},{key:"handleSessionExpired",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.default.awrap(i.downloadConfiguration());case 2:return t=n.sent,n.abrupt("return",t);case 5:case"end":return n.stop()}},null,null,null,Promise)}},{key:"validateUser",value:function(){var t;return e.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!i.initialize){n.next=17;break}return n.prev=1,n.next=4,e.default.awrap(s.default.validateUser());case 4:t=n.sent,i.handleUserValidationSuccess(t),n.next=15;break;case 8:if(n.prev=8,n.t0=n.catch(1),!(n.t0 instanceof s.PaywallError&&n.t0.getCode()===_r(d[11]).serverStatusCodes.SESSION_EXPIRED)){n.next=15;break}return n.next=13,e.default.awrap(i.handleSessionExpired());case 13:n.sent&&i.validateUser();case 15:n.next=17;break;case 17:case"end":return n.stop()}},null,null,[[1,8]],Promise)}},{key:"handleUserValidationSuccess",value:function(e){e.isLogged?i.updateAccountLabel(!0):i.autoLogin()||(_r(d[10]).EventRegister.emit(a.default.PAYWALL_LOGOUT),i.handleLogoutSuccess())}},{key:"handleLoginSuccess",value:function(e,t,n){o.default.updateUserStatus(e),i.updateAccountLabel();var r=function(){};n?r=function(e){e&&i.remove()}:i.remove(),t&&i.validate(t).then(r),_r(d[10]).EventRegister.emit(a.default.CHANGE_ADS_VISIBILITY,{hideAds:o.default.isAdFree()})}},{key:"logout",value:function(t,n){var r,u;return e.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(r=!1,!i.initialize){o.next=24;break}return o.prev=2,o.next=5,e.default.awrap(s.default.logout());case 5:u=o.sent,n&&_r(d[10]).EventRegister.emit(a.default.PAYWALL_LOGOUT),r=i.handleLogoutSuccess(u,t,n),o.next=22;break;case 10:if(o.prev=10,o.t0=o.catch(2),!(o.t0 instanceof s.PaywallError&&o.t0.getCode()===_r(d[11]).serverStatusCodes.SESSION_EXPIRED)){o.next=22;break}return o.next=15,e.default.awrap(i.handleSessionExpired());case 15:if(!o.sent){o.next=20;break}return o.next=19,e.default.awrap(i.logout(t,n));case 19:r=o.sent;case 20:o.next=22;break;case 22:o.next=24;break;case 24:return o.abrupt("return",r);case 25:case"end":return o.stop()}},null,null,[[2,10]],Promise)}},{key:"handleLogoutSuccess",value:function(e,t,n){o.default.resetUserStatus(),i.updateAccountLabel(),_r(d[10]).EventRegister.emit(a.default.CHANGE_ADS_VISIBILITY,{hideAds:!1}),e&&(i.remove(),t?i.validate(t):n&&i.account())}},{key:"replaceExtIdInUrl",value:function(e){var t;return e&&"string"==typeof e?e.replace("##extid##",null!=(t=o.default.getExtid())?t:""):e}},{key:"updateAccountLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.default.isUserLoggedIn();if(i.initialize){var t=i.config.messages;if(t){var n=t.userLoggedInText,r=t.userNotLoggedText,u=e?n:r;_r(d[10]).EventRegister.emit(a.default.PAYWALL_USER_STATUS_UPDATE,{loggedIn:e,caption:u})}}}},{key:"autoLogin",value:function(){if(i.initialize){var e=o.default.getCredentials();if(e){var t=e.user,n=e.pwdEncrypt,r=e.token;if(t&&n||r)return _r(d[13]).PaywallContainer.show({type:_r(d[11]).popupTypes.login,isInvisible:!0,forceAutoLogin:!0}),!0}}return!1}},{key:"isAlreadyAccessed",value:function(e){return-1!==i.accessedProductsList.findIndex(function(t){return t.ACI===e})}},{key:"getAccessedProductsList",value:function(){var t,n;return e.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,e.default.awrap(r.default.getAccessedProductsList());case 2:if(!(t=a.sent)){a.next=9;break}if(!((n=t.filter(function(e){return e.addTime+_r(d[11]).accessedProductsDuration>=Date.now()})).length1&&void 0!==y[1]?y[1]:1e4,s="TIMEOUT",o=0;case 3:return U.prev=3,U.next=6,t.default.awrap(v.default.get(n,{timeout:u}));case 6:if(c=U.sent,f=c.status,p=c.data,200!==f){U.next=14;break}if(!p){U.next=12;break}return U.abrupt("return",p);case 12:U.next=15;break;case 14:s="unexpected HTTP status code "+f+" for url "+n;case 15:U.next=20;break;case 17:U.prev=17,U.t0=U.catch(3),s="failed to load "+n+": "+U.t0.message;case 20:o++;case 21:if(o<3){U.next=3;break}case 22:return l.handleError({message:s}),U.abrupt("return",void 0);case 24:case"end":return U.stop()}},null,null,[[3,17]],Promise)}},{key:"handleRequest",value:function(n){var u,s,o,c,f,p,y,U;return t.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:s=0,o="TIMEOUT",c=0;case 3:return k.prev=3,k.next=6,t.default.awrap(v.default.get(n,{timeout:3e4}));case 6:f=k.sent,p=f.status,y=f.data,200===p||301===p||304===p?y&&(U=y.error,s=U.status,o=U.message,(s=parseInt(s,10))===r(d[12]).serverStatusCodes.SUCCESS&&(u=y.outcome)):(s=p,o="unexpected HTTP status code "+p+" for url "+n),k.next=15;break;case 12:k.prev=12,k.t0=k.catch(3),o="failed to load "+n+": "+k.t0.message;case 15:c++;case 16:if(!u&&c<3){k.next=3;break}case 17:if(!u){k.next=19;break}return k.abrupt("return",u);case 19:throw l.handleError({message:o}),new R(s,o);case 21:case"end":return k.stop()}},null,null,[[3,12]],Promise)}},{key:"getBaseURL",value:function(){var t,n=g.getUserSettings().notificationEmail;if(n)t=r(d[13]).StringUtils.parseNotificationEmail(n).server;else if(l.appId){var u=g.isHTTPS();t=(u?l.appId.replace(r(d[14]).HTTP_DOMAIN_SEPARATOR,r(d[14]).HTTPS_DOMAIN_SEPARATOR):l.appId)+(u?r(d[14]).HTTPS_DOMAIN_SEPARATOR:r(d[14]).HTTP_DOMAIN_SEPARATOR)+r(d[12]).serverBaseDomain}else t=g.getAppServer();return r(d[13]).NetworkUtils.addDefaultProtocol(t)}},{key:"getDefaultParams",value:function(){return{app:r(d[13]).PlatformUtils.isIOS()?"A":"G",appPSetup:g.getAppPSetup(),appVersion:y.default.getAppVersion(),baseVer:r(d[12]).baseVer}}},{key:"isServiceProtected",value:function(t){return r(d[12]).protectedServices.includes(t)}},{key:"getBaseMeterURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=r(d[13]).StringUtils.getQuerystring((0,n.default)({},l.getDefaultParams(),t));return l.getBaseURL()+"?meter&"+u}},{key:"getServiceURL",value:function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=g.machineId;s=s.split(",")[0];var o=p.default.getTAUID();if(o&&(s+=","+o),u.ta_MACHINE_ID=s,l.isServiceProtected(t)){var c=r(d[13]).StringUtils.getQuerystring(u);u.mac=l.computeMac(c)}return l.getBaseMeterURL((0,n.default)({service:t},u))}},{key:"getConfigURL",value:function(){return l.getServiceURL(r(d[12]).services.config)}},{key:"getPopupURL",value:function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=(0,n.default)({popup:t},u);if(p.default.isUserLoggedIn()){var o=p.default.getCredentials();o&&o.user&&(s.user=o.user)}return l.getServiceURL(r(d[12]).services.popups,s)}},{key:"getValidationURL",value:function(t,n){var u={ACI:t,productType:n,locallyLoggedIn:p.default.isUserLoggedIn()?"1":"0"};return l.getServiceURL(r(d[12]).services.validate,u)}},{key:"getUserValidationURL",value:function(){var t={},n=p.default.getCredentials();return n&&n.user&&(t.user=n.user),l.getServiceURL(r(d[12]).services.user_validate,t)}},{key:"getLogoutURL",value:function(t){var n={ACI:t},u=p.default.getCredentials();return u&&u.user&&(n.user=u.user),l.getServiceURL(r(d[12]).services.logout,n)}},{key:"computeMac",value:function(t){return r(d[13]).StringUtils.getMd5(r(d[13]).StringUtils.getMd5(t)+l.sessionString)}},{key:"getDecryptionKeyURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l.getBaseMeterURL({getkey:t})}},{key:"downloadConfiguration",value:function(){var n;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.getConfigURL(),t.abrupt("return",l.handleRequest(n));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"validate",value:function(n,u){var s;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.getValidationURL(n,u),t.abrupt("return",l.handleRequest(s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"validateUser",value:function(){var n;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.getUserValidationURL(),t.abrupt("return",l.handleRequest(n));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"logout",value:function(n,u){var s;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s=l.getLogoutURL(),t.abrupt("return",l.handleRequest(s));case 2:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getDecryptionKey",value:function(n){var u;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return u=l.getDecryptionKeyURL(n),t.abrupt("return",l.simpleGet(u));case 2:case"end":return t.stop()}},null,null,null,Promise)}}]),l})();e.default=k},1893,[5,80,6,7,8,12,14,16,63,432,1894,458,1895,462,565]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),u=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),n=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),o=(function(){function o(){(0,s.default)(this,o)}return(0,n.default)(o,null,[{key:"getUserStatus",value:function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",l.default.getUserStatus());case 1:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getDefaultUserStatus",value:function(){return{subscriptions:[r(d[6]).unregisteredSubscriptionType]}}},{key:"setUserStatus",value:function(t){o.userStatus=t,l.default.setUserStatus(t)}},{key:"updateUserStatus",value:function(t){o.setUserStatus((0,u.default)({},o.userStatus,t))}},{key:"resetUserStatus",value:function(){o.setUserStatus(o.getDefaultUserStatus())}},{key:"initUserStatus",value:function(){var u,s,n=arguments;return t.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return u=n.length>0&&void 0!==n[0]?n[0]:g.getRssIndex().paywallAppId,l.default.setStorageName("paywall_"+u),f.next=4,t.default.awrap(o.getUserStatus());case 4:(s=f.sent)?o.userStatus=s:o.resetUserStatus();case 6:case"end":return f.stop()}},null,null,null,Promise)}},{key:"isLoginInvalid",value:function(){var t=g.getRSSActivePSetup().refreshesTAUIDTimestamp,u=o.userStatus,s=u.lastLoginTimestamp,n=u.logged;return!(!t||!n)&&t>=(s||0)}},{key:"remember",value:function(t){o.updateUserStatus({credentials:t})}},{key:"forget",value:function(){o.updateUserStatus({credentials:void 0})}},{key:"isUserLoggedIn",value:function(){if(o.userStatus){var t=o.userStatus.logged;return null!=t&&t}return!1}},{key:"getCredentials",value:function(){if(o.userStatus)return o.userStatus.credentials}},{key:"getSubscriptions",value:function(){var t,u;return o.userStatus&&(u=o.userStatus.subscriptions),null!=(t=u)?t:[r(d[6]).unregisteredSubscriptionType]}},{key:"getTAUID",value:function(){if(o.userStatus)return o.userStatus.TAUID}},{key:"setExtId",value:function(t){o.updateUserStatus({extid:t})}},{key:"getExtid",value:function(){if(o.userStatus)return o.userStatus.extid}},{key:"isAdFree",value:function(){return!!o.userStatus&&"1"===o.userStatus.adFree}}]),o})();e.default=o,o.userStatus={}},1894,[5,80,6,7,8,1892,1895]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.UNLIMITED_ACCESS=e.configKeys=e.serverStatusCodes=e.popupTypes=e.protectedServices=e.services=e.unregisteredSubscriptionType=e.accessedProductsDuration=e.baseVer=e.serverBaseDomain=void 0;e.serverBaseDomain="pw.newsmemory.com";e.baseVer="meterapps.check.23091810";e.accessedProductsDuration=864e5;e.unregisteredSubscriptionType="UNREGISTERED";var o={config:"get_config",validate:"validate",login:"login",logout:"logout",user_validate:"user_validate",popups:"popups"};e.services=o;var s=[o.validate,o.user_validate,o.logout,o.login];e.protectedServices=s;e.popupTypes={account:"userProfile",blocking:"paywall",login:"loginForm",productsLeft:"productsLeft",welcome:"welcome"};e.serverStatusCodes={INTERNAL_ERROR:-5,SESSION_EXPIRED:-4,USER_NOT_LOGGED:-3,WRONG_ACI:-3,WRONG_APP_ID:-2,SUCCESS:0};e.configKeys={showWelcomePopup:"show_welcome_popup",showFirstProductsLeftPopup:"show_first_products_left_popup",showLatestProductsLeftPopup:"show_latest_products_left_popup",showPaywall:"show_paywall"};e.UNLIMITED_ACCESS="unlimited"},1895,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PaywallContainer=void 0;var n=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),p=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),s=r(d[0])(r(d[7])),c=r(d[0])(r(d[8]));function f(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(f=function(){return!!n})()}var h=(function(h){(0,p.default)(w,h);var v,y,P=(v=w,y=f(),function(){var n,o=(0,s.default)(v);if(y){var t=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,t)}else n=o.apply(this,arguments);return(0,l.default)(this,n)});function w(n){var t;return(0,o.default)(this,w),(t=P.call(this,n)).state={modalVisible:!1,popupConfig:void 0},t.removePopup=t._removePopup.bind((0,u.default)(t)),t}return(0,t.default)(w,[{key:"showPopup",value:function(n){this.setState({modalVisible:!0,popupConfig:n})}},{key:"hidePopup",value:function(){this.popup&&this.popup.hide()}},{key:"unhidePopup",value:function(){this.popup&&this.popup.unhide()}},{key:"_removePopup",value:function(){this.popup=void 0,this.setState({modalVisible:!1,popupConfig:void 0})}},{key:"render",value:function(){var o=this,t=this.props,u=t.onOpen,p=t.onClose,l=this.state,s=l.modalVisible,f=l.popupConfig;return s&&f?c.default.createElement(r(d[9]).PaywallPopup,(0,n.default)({ref:function(n){n&&(o.popup=n)}},f,{onOpen:u,onReopen:function(){o.showPopup(f)},onClose:this.removePopup})):("function"==typeof p&&p(),null)}}],[{key:"show",value:function(n){w.paywallInstance&&w.paywallInstance.showPopup(n)}},{key:"remove",value:function(){w.paywallInstance&&w.paywallInstance.removePopup()}},{key:"hide",value:function(){w.paywallInstance&&w.paywallInstance.hidePopup()}},{key:"unhide",value:function(){w.paywallInstance&&w.paywallInstance.unhidePopup()}}]),w})(c.default.Component);e.PaywallContainer=h},1896,[5,6,7,8,15,12,14,16,17,1897]); -__d(function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.PaywallPopup=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),n=_r(d[0])(_r(d[3])),i=_r(d[0])(_r(d[4])),a=_r(d[0])(_r(d[5])),o=_r(d[0])(_r(d[6])),r=_r(d[0])(_r(d[7])),l=_r(d[0])(_r(d[8])),s=_r(d[0])(_r(d[9])),u=_r(d[0])(_r(d[10])),c=_r(d[11]),f=_r(d[0])(_r(d[12])),p=_r(d[0])(_r(d[13])),v=_r(d[0])(_r(d[14])),h=_r(d[0])(_r(d[15])),b=_r(d[0])(_r(d[16])),y=_r(d[0])(_r(d[17])),_=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var r=a?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(i,o,r):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i})(_r(d[18])),k=_r(d[0])(_r(d[19]));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}var P=(function(s){(0,o.default)(C,s);var w,P,L=(w=C,P=A(),function(){var e,t=(0,l.default)(w);if(P){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,r.default)(this,e)});function C(e){var t;return(0,n.default)(this,C),(t=L.call(this,e)).close=t._close.bind((0,a.default)(t)),t.gracefulUnhide=t._gracefulUnhide.bind((0,a.default)(t)),t.handleLocals=t._handleLocals.bind((0,a.default)(t)),t.onLinkClicked=t._onLinkClicked.bind((0,a.default)(t)),t.state={display:e.initialRender,isVisible:!1,fadeAnim:new c.Animated.Value(0),forceAutoLogin:e.forceAutoLogin},t}return(0,i.default)(C,[{key:"componentDidMount",value:function(){var e=this;this.openPopupEvent=_r(d[20]).EventRegister.on(p.default.PAYWALL_OPEN_POPUP,function(n){var i=n.config;e.setState((0,t.default)({display:!0},i))})}},{key:"componentWillUnmount",value:function(){_r(d[20]).EventRegister.rm(this.openPopupEvent)}},{key:"_handleLocals",value:function(t){var n,i,a,o,r,l,s,u,c,f,v,b,w,A,P,L,I,E=this;return e.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(n=t.domain,i=t.getParams,a=this.props.isInvisible,o=this.state.forceAutoLogin,!n.includes("loaded")){S.next=8;break}a||this._gracefulUnhide(),o&&this._sendUserInfo(),S.next=27;break;case 8:if(!n.includes("user_login")){S.next=26;break}if(C.log("user logging in"),r=i.user,l=i.pwdEncrypt,s=i.remember,u=i.token,c=i.user_subscriptions,f=i.challenge,v=i.extid,b=i.adFree,w=i.ACI,!r){S.next=23;break}if("1"===s?(C.log("user wants to be remembered"),u?h.default.remember({user:r,token:u}):l?h.default.remember({user:r,pwdEncrypt:l,challenge:f}):C.log("no credentials provided!")):h.default.remember({user:r}),!v){S.next=18;break}return C.log("store user extid: "+v),h.default.setExtId(v),S.next=18,e.default.awrap(_.sendExternalIdToAnalytics());case 18:A=c?c.split(","):[_r(d[21]).unregisteredSubscriptionType],P={logged:!0,subscriptions:A,adFree:b,lastLoginTimestamp:(new Date).getTime()},k.default.handleLoginSuccess(P,w,!a&&o),S.next=24;break;case 23:C.log("no user returned after login");case 24:S.next=27;break;case 26:n.includes("user_give_up")?(_r(d[20]).EventRegister.emit(p.default.PAYWALL_GO_BACK_HOME),this._gracefulClose()):n.includes("user_logout")?(L=i.ACI,k.default.logout(L,!0)):n.includes("user_getInfo")?this._sendUserInfo():n.includes("session_expired")?k.default.handleSessionExpired(function(){C.log("session refreshed, reload the popup"),E.webview.reload()}):n.includes("login_connection_error")?this._gracefulClose():n.includes("close")?this._gracefulClose():n.includes("openInAppPurchaseLinkClicked")?(y.default.main.reset("NewsmemoryNavigator",{tab:_r(d[22]).tabs.access}),k.default.remove()):n.includes("openLoginPage")?(y.default.main.reset("NewsmemoryNavigator",{tab:_r(d[22]).tabs.account}),k.default.remove()):n.includes("openInAppBrowser")&&(I=i.url,this._openInAppBrowser(I));case 27:case"end":return S.stop()}},null,this,null,Promise)}},{key:"_onLinkClicked",value:function(e){return this._openInAppBrowser(e),!0}},{key:"_openInAppBrowser",value:function(e){var t=this.props.onReopen;this.close(),y.default.main.navigate("WebScreen",{url:e,onClose:t})}},{key:"hide",value:function(){this.setState({isVisible:!1,fadeAnim:new c.Animated.Value(0)})}},{key:"unhide",value:function(){this.setState({isVisible:!0})}},{key:"_gracefulUnhide",value:function(){this.unhide(),c.Animated.timing(this.state.fadeAnim,{toValue:1,duration:500}).start()}},{key:"_gracefulClose",value:function(){var e=this;c.Animated.timing(this.state.fadeAnim,{toValue:0,duration:500}).start(function(){e._close()})}},{key:"_close",value:function(){var e=this.props.onClose;this.setState({display:!1}),e?e():C.log("onClose method not implemented")}},{key:"_execJavaScript",value:function(e){this.webview&&(C.log("execute js in the webview: "+e),this.webview.injectJavaScript(e))}},{key:"_sendUserInfo",value:function(){var e=h.default.getCredentials();if(e){var t=e.user,n=e.pwdEncrypt,i=e.challenge,a=e.token,o=null;t&&n?o="ta_getUserInfoPwdEncrypted('"+t+"','"+n+"','"+(i||"")+"');":a&&(o="ta_checkToken('"+a+"')"),o&&this._execJavaScript(o)}}},{key:"_getDarkModeScript",value:function(){var e=_r(d[23]).Css.getThemeInUse();return e?"document.body.classList.add('"+e+"');":""}},{key:"render",value:function(){var e=this,n=this.state,i=n.display,a=n.isVisible,o=n.fadeAnim,r=this.props,l=r.type,s=r.ACI,p=r.isInvisible,h=r.productsLeft,y=r.onOpen,_=r.isAutoHeight,w=r.autoHeightWebViewProps;if(i){var A=s?{ACI:s,productType:k.default.getProductType(s)}:{};h&&(A=(0,t.default)({},A,{productsLeft:h}));var P=v.default.getPopupURL(l,A),L=!p&&a,I=L?b.default.modal:b.default.invisible;"function"==typeof y&&L&&y();var E=g.getRSSActivePSetup().overrideNewsMemoryUserAgent||_r(d[24]).PlatformUtils.getUserAgent(),S={source:{uri:P},enableKeyboardResize:_r(d[24]).PlatformUtils.isAndroid(),onLocal:this.handleLocals,onLinkClicked:this.onLinkClicked,automaticallyAdjustContentInsets:!0,startInLoadingState:_r(d[25]).LoadingStatePosition.none,style:{backgroundColor:_r(d[24]).colors.transparent},browser:!0,userAgent:E,injectedJavaScript:this._getDarkModeScript()};return _?u.default.createElement(_r(d[26]).AutoHeightWebView,(0,t.default)({webviewRef:function(t){e.webview=t},htmlContentId:C.getHtmlContentIdByType(l)},w,S)):u.default.createElement(c.Animated.View,{style:(0,t.default)({},I,{opacity:o})},u.default.createElement(f.default,null,u.default.createElement(_r(d[27]).BaseWebView,(0,t.default)({innerRef:function(t){e.webview=t},scrollEnabled:!1},S))))}return null}}],[{key:"log",value:function(e){}},{key:"getHtmlContentIdByType",value:function(e){var t;switch(e){case _r(d[21]).popupTypes.login:t="ta_loginFormPopup";break;case _r(d[21]).popupTypes.account:t="ta_userProfilePopup";break;case _r(d[21]).popupTypes.productsLeft:t="ta_productsLeftPopup";break;case _r(d[21]).popupTypes.welcome:t="ta_paymentAlertPopup";break;case _r(d[21]).popupTypes.blocking:default:t="ta_paywall"}return t}}]),C})(u.default.Component);_e.PaywallPopup=P,P.propTypes={type:s.default.string,ACI:s.default.string,onOpen:s.default.func,onReopen:s.default.func,onClose:s.default.func,initialRender:s.default.bool,isInvisible:s.default.bool,productsLeft:s.default.number,forceAutoLogin:s.default.bool,isAutoHeight:s.default.bool,autoHeightWebViewProps:s.default.object},P.defaultProps={initialRender:!0,isInvisible:!1,forceAutoLogin:!1,isAutoHeight:!1,autoHeightWebViewProps:{}}},1897,[5,80,6,7,8,15,12,14,16,201,17,28,744,460,1893,1894,1898,1890,1899,1891,574,1895,769,708,462,1925,1929,1932]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HEADER_HEIGHT_BASE=e.HEADER_HEIGHT_NO_IMAGE=e.HEADER_HEIGHT=void 0;var t=r(d[0]);e.HEADER_HEIGHT=300;e.HEADER_HEIGHT_NO_IMAGE=50;var E=t.StyleSheet.hairlineWidth;e.HEADER_HEIGHT_BASE=E;var o=t.StyleSheet.create({modal:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:r(d[1]).colors.transparent},invisible:{height:0,backgroundColor:r(d[1]).colors.transparent}});e.default=o},1898,[28,462]); -__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.initAnalytics=function(){return t.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.default.init());case 1:case"end":return e.stop()}},null,null,null,Promise)},_e.initMatomo=function(){try{var e;null==(e=c.default.matomoTracker)||e.init()}catch(e){}},_e.initMatomoTracker=function(){try{var e;null==(e=c.default.matomoMasTracker)||e.init()}catch(e){}},_e.initGoogleAnalyticsFirebase=u,_e.updateAnalyticsClientList=l,_e.updateAnalytics=function(){var e;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return l(),n.next=3,t.default.awrap(null==(e=c.default.webTracker)?void 0:e.init());case 3:case"end":return n.stop()}},null,null,null,Promise)},_e.resetAdobeAnalyticsFirstScrolledSent=function(){c.default.resetAdobeAnalyticsFirstScrolledSent()},_e.sendExternalIdToAnalytics=function(){var e;return t.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(e=g.getMainPSetup(),!e.firebaseAnalyticsSendExternalId){n.next=4;break}return n.next=4,t.default.awrap(u(!0));case 4:case"end":return n.stop()}},null,null,null,Promise)},_e.trackScreen=o,_e.trackEvent=s,_e.trackCustomFirebaseEvent=f,_e.sendAdFailedError=function(t){f({customEvent:"advertisement_failed",customParams:(0,e.default)({},(0,r(d[5]).mapParamsToFirebaseCustomDimensions)(t),t)})},_e.sendAdSuccess=function(t){f({customEvent:"advertisement_loaded",customParams:(0,e.default)({},(0,r(d[5]).mapParamsToFirebaseCustomDimensions)(t),t)})},_e.trackATTPermission=function(t){if("unavailable"!==t){var n="apple_att_permission",c=(0,r(d[5]).gaBreakout)();s({category:n,action:t,device:c}),f({customEvent:n,customParams:(0,e.default)({},(0,r(d[5]).mapParamsToFirebaseCustomDimensions)({action:t}),{action:t,device:c})})}},_e.trackWebInterstitial=function(t,n){if(t){var c=t.getScreenType(),u=t.getScreenName(),l=t.getId(),s=(0,r(d[5]).getScreenString)({type:c,name:u,id:l}),k={id:l,name:u,action:n,screen:s,type:"web"};f({customEvent:c,customParams:(0,e.default)({},(0,r(d[5]).mapParamsToFirebaseCustomDimensions)(k),k)}),o(s,(0,e.default)({event:c},k))}},_e.trackADBMobileAction=function(e,n){var u,l,o;return t.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,t.default.awrap(null==(u=c.default.admobileTracker)?void 0:u.getContextData(n));case 3:o=s.sent,null==(l=c.default.admobileTracker)||l.trackAction(e,o),s.next=9;break;case 7:s.prev=7,s.t0=s.catch(0);case 9:case"end":return s.stop()}},null,null,[[0,7]],Promise)},_e.trackADBMobileState=function(e,n){var u,l;return t.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.default.awrap(null==(u=c.default.admobileTracker)?void 0:u.getContextData(n));case 3:e.sent,null==(l=c.default.admobileTracker)||l.trackState(n),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}},null,null,[[0,7]],Promise)},_e.trackRempAccount=function(e){if(!c.default.checkIfRempIsAlreadySent(e)){var t;return c.default.addToRempRecentlyVisited(e),null==(t=c.default.rempTracker)||t.trackScreen(e),!0}return!1},_e.trackCustomFirebaseScreen=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=t;n&&(l+="_"+n);if(!c.default.checkIfFirebaseScreenIsAlreadySent(l)){var o,s;c.default.addToFirebaseScreenRecentlyVisited(l);var f,k=(0,r(d[5]).mapParamsToFirebaseCustomDimensions)(u);null==(o=c.default.firebaseTracker)||o.trackScreen(t,k);var v=g.getActivePSetup(),p=v.machine;return p&&(f=r(d[6]).NetworkUtils.addDefaultProtocol(p)+n),null==(s=c.default.webTracker)||s.trackScreen(t,(0,e.default)({pageLocation:f},k)),!0}return!1},_e.clearRecently=function(){c.default.clearRecently()},_e.trackFeedback=function(e){c.default.trackFeedback(e)},_e.trackStartup=function(){c.default.trackStartup()},_e.trackEnterForeground=function(){var e,t,n;null==(e=c.default.comscoreTracker)||e.onEnterForeground(),null==(t=c.default.admobileTracker)||t.start(),null==(n=c.default.chartbeatTracker)||n.onEnterForeground()},_e.trackEnterBackground=function(){var e,t,n,u;null==(e=c.default.comscoreTracker)||e.onExitForeground(),null==(t=c.default.admobileTracker)||t.pause(),null==(n=c.default.matomoTracker)||n.dispatch(),null==(u=c.default.chartbeatTracker)||u.onExitForeground()};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),c=r(d[0])(r(d[4]));function u(){var e,n,u,l=arguments;return t.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return u=l.length>0&&void 0!==l[0]&&l[0],o.next=3,t.default.awrap(null==(e=c.default.firebaseTracker)?void 0:e.init());case 3:return o.next=5,t.default.awrap(null==(n=c.default.webTracker)?void 0:n.init(u));case 5:case"end":return o.stop()}},null,null,null,Promise)}function l(){var e;null==(e=c.default.gaTracker)||e.updateClientList()}function o(e,t,u){return!(!n.default.isRssSide()&&c.default.checkIfScreenIsAlreadySent(""+e))&&(c.default.addToScreenRecentlyVisited(""+e),c.default.trackScreen(e,t,u),!0)}function s(e){var t=JSON.stringify(e);return!c.default.checkIfEventIsAlreadySent(t)&&(c.default.addToEventRecentlyVisited(t),c.default.trackEvent(e),!0)}function f(e){var t,n,u=e.customEvent,l=e.customParams,o=u+"_"+JSON.stringify(l);return!c.default.checkIfFirebaseEventIsAlreadySent(o)&&(c.default.addToFirebaseEventRecentlyVisited(o),null==(t=c.default.firebaseTracker)||t.trackEvent(u,l),null==(n=c.default.webTracker)||n.trackEvent(u,l),!0)}},1899,[5,6,80,1900,1902,1905,462]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.APP_SIDE=void 0;var t=r(d[0])(r(d[1])),s=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),u=(r(d[0])(r(d[4])),{ePaper:"ePaper",ePaperClassic:"ePaperClassic",ePaperHTML5:"ePaperHTML5",rss:"rss"});e.APP_SIDE=u;var o=(function(){function u(){var s=this;(0,t.default)(this,u),this.rssStartingUp=!0,this.lastRssCategory="",this.startupNavigator="",this.deletedRssDatabase=!1,this.isDrawerOpen=!1,this.appSide=void 0,this.idEventSetValue=void 0,this.idEventGetValue=void 0,this.activeKeys={},this.idEventSetValue=r(d[5]).EventRegister.on(n.default.LIVE_CONFIG_SET_VALUE,function(t){var n=t.key,u=t.value,o=t.resolve,c=t.reject;r(d[6]).JSUtils.hasProperty(s,n)?(s[n]=u,s._resolvePromise(o,s[n])):s._rejectPromise(c,n)}),this.idEventGetValue=r(d[5]).EventRegister.on(n.default.LIVE_CONFIG_GET_VALUE,function(t){var n=t.key,u=t.resolve,o=t.reject;r(d[6]).JSUtils.hasProperty(s,n)?s._resolvePromise(u,s[n]):s._rejectPromise(o,n)})}return(0,s.default)(u,[{key:"set",value:function(t,s){r(d[6]).JSUtils.hasProperty(this,t)&&(this[t]=s)}},{key:"get",value:function(t){return this[t]}},{key:"_resolvePromise",value:function(t,s){"function"==typeof t&&t(s)}},{key:"_rejectPromise",value:function(t,s){"function"==typeof t&&t(new Error(s+" not found"))}}]),u})(),c=(function(){function n(){(0,t.default)(this,n)}return(0,s.default)(n,null,[{key:"init",value:function(){n.instance=new o}},{key:"getInstance",value:function(){return void 0===n.instance&&n.init(),n.instance}},{key:"isDrawerOpen",value:function(){return n.getInstance().get("isDrawerOpen")}},{key:"setDrawerOpen",value:function(t){n.getInstance().set("isDrawerOpen",t)}},{key:"isRssDbDeleted",value:function(){return n.getInstance().get("deletedRssDatabase")}},{key:"setRssDbDeleted",value:function(t){n.getInstance().set("deletedRssDatabase",t)}},{key:"isRssStartingUp",value:function(){return n.getInstance().get("rssStartingUp")}},{key:"setRssStartingUp",value:function(t){n.getInstance().set("rssStartingUp",t)}},{key:"getLastRssCategory",value:function(){return n.getInstance().get("lastRssCategory")||g.lastRssCategory}},{key:"setLastRssCategory",value:function(t){g.lastRssCategory=t,n.getInstance().set("lastRssCategory",t)}},{key:"resetLastRssCategory",value:function(){g.lastRssCategory=void 0,n.getInstance().set("lastRssCategory",void 0)}},{key:"getStartUpNavigator",value:function(){return n.getInstance().get("startupNavigator")}},{key:"setStartUpNavigator",value:function(t){n.getInstance().set("startupNavigator",t)}},{key:"getAppSide",value:function(){return n.getInstance().get("appSide")}},{key:"getActiveKeys",value:function(){return n.getInstance().get("activeKeys")||{}}},{key:"setSide",value:function(t){g.lastAppSide=t,n.getInstance().set("appSide",t)}},{key:"setEpaperSide",value:function(){n.setSide(u.ePaper)}},{key:"setEpaperClassicSide",value:function(){n.setSide(u.ePaperClassic)}},{key:"setEpaperHTML5Side",value:function(){n.setSide(u.ePaperHTML5)}},{key:"setRssSide",value:function(){n.setSide(u.rss)}},{key:"isEpaperSide",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.getAppSide())===u.ePaper}},{key:"isEpaperClassicSide",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.getAppSide())===u.ePaperClassic}},{key:"isEpaperHTML5Side",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.getAppSide())===u.ePaperHTML5}},{key:"isRssSide",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.getAppSide())===u.rss}},{key:"keyDown",value:function(t){var s=n.getActiveKeys();s[t.keyCode]=t,n.getInstance().set("activeKeys",s)}},{key:"keyUp",value:function(t){var s=n.getActiveKeys();delete s[t.keyCode],n.getInstance().set("activeKeys",s)}},{key:"getSortedKeys",value:function(){var t=n.getActiveKeys();if(!t)throw new Error("no keys set");return Object.values(t).sort(function(t,s){return t.downTime-s.downTime})}},{key:"getKeysCombo",value:function(){return n.getSortedKeys().map(function(t){return t.getPressed()}).join("_")}},{key:"getKeysComboNoRL",value:function(){return n.getSortedKeys().map(function(t){return t.getPressed().replace(/_(LEFT|RIGHT)/g,"")}).join("_")}}]),n})();e.default=c},1900,[5,7,8,460,1901,574,462]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.KEY_GROUPS=e.VOICE_GROUPS=e.ANY_KEY=void 0;var _=r(d[0])(r(d[1])),D=r(d[0])(r(d[2])),P=r(d[0])(r(d[3])),E=r(d[4]).Platform.select({ios:{4:"A",5:"B",6:"C",7:"D",8:"E",9:"F",10:"G",11:"H",12:"I",13:"J",14:"K",15:"L",16:"M",17:"N",18:"O",19:"P",20:"Q",21:"R",22:"S",23:"T",24:"U",25:"V",26:"W",27:"X",28:"Y",29:"Z",30:"1",31:"2",32:"3",33:"4",34:"5",35:"6",36:"7",37:"8",38:"9",39:"0",40:"ENTER",41:"ESCAPE",42:"DEL",43:"TAB",44:"SPACE",48:"+",56:"-",74:"MOVE_HOME",75:"PAGE_UP",77:"MOVE_END",78:"PAGE_DOWN",79:"DPAD_RIGHT",80:"DPAD_LEFT",81:"DPAD_DOWN",82:"DPAD_UP",86:"NUMPAD_SUBTRACT",87:"NUMPAD_ADD",88:"NUMPAD_ENTER",89:"NUMPAD_1",90:"NUMPAD_2",91:"NUMPAD_3",92:"NUMPAD_4",93:"NUMPAD_5",94:"NUMPAD_6",95:"NUMPAD_7",96:"NUMPAD_8",97:"NUMPAD_9",98:"NUMPAD_0",99:"NUMPAD_DOT",117:"HELP",224:"CTRL_LEFT",225:"SHIFT_LEFT",226:"ALT_LEFT",228:"CTRL_RIGHT",229:"SHIFT_RIGHT",230:"ALT_RIGHT"},android:{3:"HOME",7:"0",8:"1",9:"2",10:"3",11:"4",12:"5",13:"6",14:"7",15:"8",16:"9",19:"DPAD_UP",20:"DPAD_DOWN",21:"DPAD_LEFT",22:"DPAD_RIGHT",23:"DPAD_CENTER",29:"A",30:"B",31:"C",32:"D",33:"E",34:"F",35:"G",36:"H",37:"I",38:"J",39:"K",40:"L",41:"M",42:"N",43:"O",44:"P",45:"Q",46:"R",47:"S",48:"T",49:"U",50:"V",51:"W",52:"X",53:"Y",54:"Z",57:"ALT_LEFT",58:"ALT_RIGHT",59:"SHIFT_LEFT",60:"SHIFT_RIGHT",62:"SPACE",61:"TAB",66:"ENTER",67:"DEL",69:"-",81:"+",84:"SEARCH",92:"PAGE_UP",93:"PAGE_DOWN",111:"ESCAPE",113:"CTRL_LEFT",114:"CTRL_RIGHT",122:"MOVE_HOME",123:"MOVE_END",144:"NUMPAD_0",145:"NUMPAD_1",146:"NUMPAD_2",147:"NUMPAD_3",148:"NUMPAD_4",149:"NUMPAD_5",150:"NUMPAD_6",151:"NUMPAD_7",152:"NUMPAD_8",153:"NUMPAD_9",156:"NUMPAD_SUBTRACT",157:"NUMPAD_ADD",158:"NUMPAD_DOT",160:"NUMPAD_ENTER",168:"ZOOM_IN",169:"ZOOM_OUT",176:"SETTINGS",259:"HELP"}});e.ANY_KEY="ANY";var A={GO_UP:function(){return[g.strings("voice_back")]},WHAT:function(){return[g.strings("voice_what")]},NEXT:function(){return[g.strings("voice_next")]},NEXT_PAGE:function(){return[g.strings("voice_next_page")]},PREVIOUS:function(){return[g.strings("voice_previous")]},PREVIOUS_PAGE:function(){return[g.strings("voice_previous_page")]},STOP:function(){return[g.strings("voice_stop")]},READ:function(){return[g.strings("voice_read")]},CLOSE_APP:function(){return[g.strings("voice_close")]},ITEM_UP:function(){return[g.strings("voice_up")]},ITEM_DOWN:function(){return[g.strings("voice_down")]},ITEM_SELECT:function(){return[g.strings("voice_select")]}};e.VOICE_GROUPS=A;var N={ANY:["ANY"],CLOSE:["ESCAPE"],SUBMIT:["ENTER","NUMPAD_ENTER"],OPEN:["5","NUMPAD_5","O","NUMPAD_DOT"],SELECT:["5","NUMPAD_5","O","ENTER","NUMPAD_ENTER"],LEFT:["4","NUMPAD_4","J","DPAD_LEFT"],RIGHT:["6","NUMPAD_6","L","DPAD_RIGHT"],UP:["8","NUMPAD_8","I","DPAD_UP"],DOWN:["2","NUMPAD_2","K","DPAD_DOWN"],PAGE_UP:["9","NUMPAD_9","N","PAGE_UP"],PAGE_DOWN:["3","NUMPAD_3","M","PAGE_DOWN"],HOME:["7","NUMPAD_7","MOVE_HOME"],END:["1","NUMPAD_1","MOVE_END"],MORE:["+","NUMPAD_ADD"],LESS:["-","NUMPAD_SUBTRACT"],DELETE:["DEL"]};e.KEY_GROUPS=N;var T=(function(){function A(P){(0,D.default)(this,A),(0,_.default)(this,P)}return(0,P.default)(A,[{key:"getPressed",value:function(){return E[this.keyCode]||""}}]),A})();e.default=T},1901,[5,6,7,8,28]); -__d(function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),i=function(e){return 0===e.split("/").filter(function(e){return"null"===e||"undefined"===e}).length},l=new(function l(){var s=this;(0,n.default)(this,l),this.recentlyScreenVisited=[],this.recentlyEventVisited=[],this.recentlyFirebaseEventVisited=[],this.recentlyFirebaseScreenVisited=[],this.recentlyRempVisited=[],this.initialized=!1,this.init=function(){return e.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.default.awrap((new(r(d[5]).Ga3Tracker)).init());case 2:return s.gaTracker=t.sent,t.next=5,e.default.awrap((new(r(d[6]).FirebaseTracker)).init());case 5:return s.firebaseTracker=t.sent,t.next=8,e.default.awrap((new(r(d[7]).WebTracker)).init());case 8:return s.webTracker=t.sent,t.next=11,e.default.awrap((new(r(d[8]).RempTracker)).init());case 11:return s.rempTracker=t.sent,t.next=14,e.default.awrap((new(r(d[9]).MatherTracker)).init());case 14:return s.matherTracker=t.sent,t.next=17,e.default.awrap((new(r(d[10]).MatomoTracker)).init());case 17:return s.matomoTracker=t.sent,t.next=20,e.default.awrap((new(r(d[11]).MatomoMasTracker)).init());case 20:return s.matomoMasTracker=t.sent,t.next=23,e.default.awrap((new(r(d[12]).AdmobileTracker)).init());case 23:return s.admobileTracker=t.sent,t.next=26,e.default.awrap((new(r(d[13]).FacebookTracker)).init());case 26:return s.facebookTracker=t.sent,t.next=29,e.default.awrap((new(r(d[14]).ComscoreTracker)).init());case 29:return s.comscoreTracker=t.sent,t.next=32,e.default.awrap((new(r(d[15]).ChartbeatTracker)).init());case 32:return s.chartbeatTracker=t.sent,t.next=35,e.default.awrap((new(r(d[16]).BlueconicTracker)).init());case 35:s.blueconicTracker=t.sent,s.initialized=!0;case 37:case"end":return t.stop()}},null,null,null,Promise)},this.checkIfIsInitialized=function(){return e.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(s.initialized){e.next=2;break}return e.abrupt("return",s.init());case 2:return e.abrupt("return",Promise.resolve());case 3:case"end":return e.stop()}},null,null,null,Promise)},this.trackSDKAction=function(e,t){t&&c.default.onTrackAction({trackType:e,data:t})},this.trackStartup=function(){var e;s.initialized&&(null==(e=s.gaTracker)||e.trackStartup())},this.trackFeedback=function(e){var t;s.initialized&&(null==(t=s.gaTracker)||t.trackFeedback(e))},this.trackScreen=function(e,n,c){var l,u,o,k,f,h,T,v;if(s.initialized&&i(e)){s._track(null==(l=s.gaTracker)?void 0:l.trackScreen,e,n,c);var y=(0,t.default)({screen:e},n);s._track(null==(u=s.admobileTracker)?void 0:u.trackScreen,y),s._track(null==(o=s.matherTracker)?void 0:o.trackScreen,y),s._track(null==(k=s.matomoTracker)?void 0:k.trackScreen,y),s._track(null==(f=s.matomoMasTracker)?void 0:f.trackScreen,y),s._track(null==(h=s.facebookTracker)?void 0:h.trackScreen,y),s._track(null==(T=s.chartbeatTracker)?void 0:T.trackScreen,y),s._track(null==(v=s.blueconicTracker)?void 0:v.trackScreen,y),s.trackSDKAction("screen",y)}},this.trackEvent=function(e){var t,n,c,i,l,u,o,k,f;s.initialized&&(s._track(null==(t=s.gaTracker)?void 0:t.trackEvent,e),s._track(null==(n=s.matherTracker)?void 0:n.trackEvent,e),s._track(null==(c=s.matomoTracker)?void 0:c.trackEvent,e),s._track(null==(i=s.matomoMasTracker)?void 0:i.trackEvent,e),s._track(null==(l=s.admobileTracker)?void 0:l.trackEvent,e),s._track(null==(u=s.facebookTracker)?void 0:u.trackEvent,e),s._track(null==(o=s.comscoreTracker)?void 0:o.trackEvent,e),s._track(null==(k=s.chartbeatTracker)?void 0:k.trackEvent,e),s._track(null==(f=s.blueconicTracker)?void 0:f.trackEvent,e),s.trackSDKAction("event",e))},this.addToScreenRecentlyVisited=function(e){s.addToRecentlyVisited(s.recentlyScreenVisited,e)},this.addToEventRecentlyVisited=function(e){s.addToRecentlyVisited(s.recentlyEventVisited,e)},this.addToFirebaseEventRecentlyVisited=function(e){s.addToRecentlyVisited(s.recentlyFirebaseEventVisited,e)},this.addToFirebaseScreenRecentlyVisited=function(e){s.addToRecentlyVisited(s.recentlyFirebaseScreenVisited,e)},this.addToRempRecentlyVisited=function(e){s.addToRecentlyVisited(s.recentlyRempVisited,e)},this.checkIfScreenIsAlreadySent=function(e){return s.checkIfIsAlreadySent(s.recentlyScreenVisited,e)},this.checkIfEventIsAlreadySent=function(e){return s.checkIfIsAlreadySent(s.recentlyEventVisited,e)},this.checkIfFirebaseEventIsAlreadySent=function(e){return s.checkIfIsAlreadySent(s.recentlyFirebaseEventVisited,e)},this.checkIfFirebaseScreenIsAlreadySent=function(e){return s.checkIfIsAlreadySent(s.recentlyFirebaseScreenVisited,e)},this.checkIfRempIsAlreadySent=function(e){return s.checkIfIsAlreadySent(s.recentlyRempVisited,e)},this.clearRecently=function(){s.recentlyEventVisited=[],s.recentlyFirebaseEventVisited=[],s.recentlyFirebaseScreenVisited=[],s.recentlyScreenVisited=[],s.recentlyRempVisited=[]},this.addToRecentlyVisited=function(e,t){e.push(t),e.length>5&&e.shift()},this.checkIfIsAlreadySent=function(e,t){for(var n=0;n1?t-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},a=g.getActivePSetup().firebaseAnalyticsCustomDimensions;if(a){var r=_r(d[4]).StringUtils.parseQuerystring(s(a,e,!0));return Object.keys(r).reduce(function(e,a){var t=r[a];return!_r(d[4]).JSUtils.isNumber(t)&&_r(d[4]).JSUtils.isEmpty(t)||(e[a]=t),e},{})}return{}},_e.mapParamsToCustomDimensions=_e.parseCustomDimensionsString=_e.replaceCustomDimensionsPlaceholders=_e.getScreenString=_e.ARTICLE_READ_ANALYTICS_COOL_DOWN=_e.ANALYTICS_SERVICES=void 0;var e=(function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=t(a);if(r&&r.has(e))return r.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}return i.default=e,r&&r.set(e,i),i})(_r(d[0])),a=_r(d[1])(_r(d[2])),r=_r(d[1])(_r(d[3]));function t(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,r=new WeakMap;return(t=function(e){return e?r:a})(e)}_e.ANALYTICS_SERVICES={GA3:"googleAnalytics3",FIREBASE_GA:"firebaseGoogleAnalytics",FIREBASE_GA_WEB:"firebaseGoogleAnalyticsWeb",MATHER:"mather_analytics",MATOMO:"matomo",MATOMO_MAS:"matomo_mas",COMSCORE:"comscore",ADOBE:"adobeAnalytics",FACEBOOK:"facebook",REMP:"remp",CHARTBEAT:"chartbeat",BLUECONIC:"blueconic"};function i(){return _r(d[4]).PlatformUtils.isIOS()?_r(d[4]).PlatformUtils.isTablet()?"iPad":"iPhone":g.isKindle?_r(d[4]).PlatformUtils.isTablet()?"KindleTablet":"KindlePhone":_r(d[4]).PlatformUtils.isTablet()?"AndroidTablet":"AndroidPhone"}_e.ARTICLE_READ_ANALYTICS_COOL_DOWN=3e3;_e.getScreenString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:String,issue:String,edition:String,page:String,article:String,sharedApp:String,url:String,name:String,index:Number,section:String},a=e.type,r=e.issue,t=e.edition,s=e.page,n=void 0===s?"":s,o=e.article,c=void 0===o?"":o,l=e.title,p=void 0===l?"":l,u=e.sharedApp,m=void 0===u?"":u,y=e.url,S=void 0===y?"":y,T=e.id,b=void 0===T?"":T,f=e.name,A=void 0===f?"":f,v=e.index,h=void 0===v?0:v,E=e.section,k=void 0===E?"":E,P=_r(d[5]).analyticsScreenTypes.SCROLLED,C=_r(d[5]).analyticsScreenTypes.READ,I=_r(d[5]).analyticsScreenTypes.ZOOM,O=_r(d[5]).analyticsScreenTypes.SHARE,_=_r(d[5]).analyticsScreenTypes.PAGE_CLICK,N=_r(d[5]).analyticsScreenTypes.ARTICLE_CLICK,D=_r(d[5]).analyticsScreenTypes.VIDEO,w=_r(d[5]).analyticsScreenTypes.GALLERY,U=_r(d[5]).analyticsScreenTypes.ARTICLE_GALLERY,L=_r(d[5]).analyticsScreenTypes.INDEX,R=_r(d[5]).analyticsScreenTypes.SECTION_INDEX,M=_r(d[5]).analyticsScreenTypes.OPTIONSPAGE,B=_r(d[5]).analyticsScreenTypes.THUMBS,K=_r(d[5]).analyticsScreenTypes.NOTICE_FULLSCREEN,G="",F=p;switch(F&&(F=F.replace(/\//g,"|")),a){case O:G="/"+i()+"/shares/"+m+"/"+r+"/"+t+"/"+n+"/"+c;break;case C:G="/"+i()+"/"+r+"/"+t+"/read/"+n+"/"+c,F&&(G+=":"+F);break;case I:G="/"+i()+"/"+r+"/"+t+"/read/"+n+"/zoom";break;case P:G="/"+i()+"/"+r+"/"+t+"/scrolled/"+n;break;case _:G="/"+i()+"/clickThroughs/"+S+"/"+r+"/"+t+"/"+n+"/fullpage/browse";break;case N:G="/"+i()+"/clickThroughs/"+S+"/"+r+"/"+t+"/"+n+"/"+c,F&&(G+=":"+F),G+="/article";break;case D:G="/"+i()+"/"+r+"/"+t+"/"+n+"/video/"+b;break;case w:G="/"+i()+"/"+r+"/"+t+"/"+n+"/gallery/"+F+"/"+h+"/"+b;break;case U:G="/"+i()+"/"+r+"/"+t+"/"+n+"/"+c,F&&(G+=":"+F),G+="/gallery/"+h;break;case L:G="/"+i()+"/"+r+"/"+t+"/index";break;case R:G="/"+i()+"/"+r+"/"+t+"/index/"+k.replace(/\//g,"|");break;case M:G="/"+i()+"/optionspage/"+n;break;case B:G="/"+i()+"/"+r+"/"+t+"/thumbs";break;case K:G="/notice/"+i()+"/notice_fullscreen/"+A+"/"+b}return G};var s=function(t){for(var s,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=arguments.length>3?arguments[3]:void 0,l=t,p=g.getActivePSetup(),u=p.paperName,m=p.loginStatus,y=p.machine,S=n.action,T=n.issue,b=n.article_id,f=n.type,A=n.gallery_id,v=new RegExp(/\$([a-zA-Z0-9]+)/g);null!==(s=v.exec(t));)if(s.length>1){var h,E=s[0],k=s[1],P=n[k];switch(k){case"device":P=_r(d[4]).PlatformUtils.model();break;case"deviceType":P=i();break;case"deviceCategory":"Handset"===(P=_r(d[4]).PlatformUtils.getDeviceType())&&(P="Phone");break;case"platform":P=_r(d[4]).PlatformUtils.isAndroid()?"Android":"iOS";break;case"os":P=_r(d[4]).PlatformUtils.getSystemName()+" "+_r(d[4]).PlatformUtils.getSystemVersion();break;case"domain":P=_r(d[4]).NetworkUtils.addDefaultProtocol(y);break;case"appVersion":P=a.default.getAppVersion();break;case"appName":P=_r(d[4]).PlatformUtils.appName();break;case"appSide":var C=e.default.getAppSide();P=C===e.APP_SIDE.rss?"LiveNews":C;break;case"paperName":P=u;break;case"issueYear":T&&(P=T.substring(0,4));break;case"issueMonth":T&&(P=T.substring(4,6));break;case"issueDate":T&&T.length>6&&(P=T.substring(6));break;case"daysAgo":if(T&&T.length>6){P="";var I=_r(d[4]).DateUtils.getDaysFromDateToToday(T)-1;I>0&&(P=-I)}break;case"articleId":P=b;break;case"extId":if(m){var O=m.extid;_r(d[4]).JSUtils.isNull(O)||(P=O)}break;case"TAUID":if(m){var _=m.TAUID;_>-1&&(P=_)}break;case"machineId":var N=g.machineId;N&&(P=N.substring(N.length-6));break;case"title":var D=n.title;"read"===S&&f&&"editorial"!==f.toLowerCase()?D=f:"gallery"===S&&A&&(D=A),P=D;break;case"ePaperAccess":if(!e.default.isRssSide()){P="ePaper";var w=g.getNewsmemoryConfig().dbDownloadPSetup;if(w){var U=r.default.parseXpSetup(w).mainpSetup;U&&(U.endsWith("_preview")?P+="-preview":U.endsWith("_issuedemo")&&(P+="-demo"))}}break;default:P=n[k]}"function"==typeof c&&(P=c(k,P,n)),P=null!=(h=P)?h:"",o&&(P=encodeURIComponent(P)),l=l.replace(E,P)}return l};_e.replaceCustomDimensionsPlaceholders=s;var n=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){var r=_r(d[4]).StringUtils.parseQuerystring(s(e,a,!0));return Object.keys(r).reduce(function(e,a){return e[a.replace("dimension","")]=r[a],e},{})}return{}};_e.parseCustomDimensionsString=n;_e.mapParamsToCustomDimensions=function(e){var a=g.getActivePSetup().googleAnalyticsCustomDimensions;return n(a,e)}},1905,[1900,5,458,605,462,1906]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.NewsmemoryArticleModes=e.NewsmemoryShareType=e.analyticsEventTypes=e.firebaseAnalyticsScreenNames=e.analyticsScreenTypes=void 0;e.analyticsScreenTypes={LAUNCH:"launch",SCROLLED:"scrolled",READ:"read",ZOOM:"zoom",SHARE:"share",PAGE_CLICK:"page_clickthrough",ARTICLE_CLICK:"article_clickthrough",VIDEO:"video",GALLERY:"gallery",ARTICLE_GALLERY:"article_gallery",INDEX:"index",SECTION_INDEX:"section_index",OPTIONSPAGE:"optionspage",THUMBS:"thumbnails",NOTICE_FULLSCREEN:"notice_fullscreen",RSS_ARTICLE_READ:"rss_read",RSS_DRAWER:"rss_drawer"};e.firebaseAnalyticsScreenNames={SCROLLED:"ePaper page",READ:"ePaper article",ZOOM:"ePaper page detail",INDEX:"ePaper index",SECTION_INDEX:"ePaper ##section## section index",OPTIONSPAGE:"ePaper ##tab## tab",THUMBS:"ePaper thumbnails",GALLERY:"ePaper gallery",ARTICLE_GALLERY:"ePaper article gallery"};e.analyticsEventTypes={LOGIN:"login",TTS:"text_to_speech",SKIP_TO_END:"skip_to_end",DOUBLE_TAP_TO_ZOOM:"double_tap_to_zoom",PINCH_TO_ZOOM:"pinch_to_zoom",TOGGLE_TO_PRINT:"toggle_to_print",TOGGLE_TO_DIGITAL:"toggle_to_digital",SOCIAL_SHARE:"social_share",SCROLL_ZOOMED:"scroll_zoomed",TRANSLATE:"translate",FONT_SIZE:"font_size_change",GRAPH_SIZE:"graph_size_change",TOGGLE_FULLSCREEN:"toggle_fullscreen",PRINT:"print",DOWNLOAD_PDF:"download_pdf",ROTATE:"rotate",LINK_CLICKED:"link_clicked"};e.NewsmemoryShareType={ALL:"all",FACEBOOK:"facebook",TWITTER:"twitter",REDDIT:"reddit",EMAIL:"email",GMAIL:"gmail",PRINT:"print",PASTEBOARD:"pasteboard",FILE:"file",PDF:"pdf",OTHER:"other"};e.NewsmemoryArticleModes={TEXT:"text",GRAPHIC:"graphic"}},1906,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Tracker=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),s=r(d[0])(r(d[3]));e.Tracker=function u(c){var l=this;(0,n.default)(this,u),this.service=void 0,this.enabled=!1,this.init=function(){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",l);case 1:case"end":return t.stop()}},null,null,null,Promise)},this.trackScreen=function(){},this.trackEvent=function(t){},this._isValid=function(){return!!l.enabled&&!!l._isProduction()},this._isParamsValid=function(t){return!!l._isValid()&&!!t},this._isCmpAllowed=function(){return s.default.isAnalyticsTrackingAllowed(l.service)},this._isCmpAdAllowed=function(){return s.default.isAdTrackingAllowed()},this._isProduction=function(){return!g.__DEV__},this.service=c}},1907,[5,80,7,1908]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),l=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),p=l.default.getIubenda().Iubenda,v=l.default.getOsano().Osano,C=l.default.getDailymotionVideoPlayer(),k=(function(){function k(){(0,t.default)(this,k)}return(0,s.default)(k,null,[{key:"init",value:function(t){var s,u,o,f,v,C,b,P,y,x,A,T,S,w,D,R,I,h,M,N,E,q,G,U,L,O,z,_,V,Y,F,j=arguments;return n.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(s=j.length>1&&void 0!==j[1]&&j[1],u=g.getMainPSetup(),o=u.disableGoogleAnalytics3,f=u.disableFirebaseAnalytics,v=u.googleAnalyticsAnonymizeIP,C=u.matherAnalyticsEnabled,b=u.comScoreId,P=u.adobeAnalyticsEnabled,y=u.facebookAnalyticsEnabled,x=u.matomoTrackerEnabled,A=u.attConfig,T=u.iubendaEnabled,S=u.iubendaConfig,w=A.disableAppTrackingTransparencyMessage,D=A.forceAppTrackingTransparencyMessage,R=A.forcePreAppTrackingTransparencyMessageOnAppUpdate,I=A.showPreAppTrackingTransparencyMessage,h=g.getAdsConfig().hasAdsRequiringIDFAPermissions()||l.default.isDailymotionVideoPlayerAvailable(),M=!1,T&&S&&(h=S.adsRequireConsent,M=S.forceConsentPopup),N=l.default.isMatherAnalyticsAvailable()&&C,E=l.default.isComScoreAvailable()&&b,q=l.default.isAdobeAnalyticsAvailable()&&P,G=l.default.isFacebookSDKAvailable()&&y,U=l.default.isMatomoTrackerAvailable()&&x,L=N||E||q||G||U,B.prev=12,!r(d[9]).PlatformUtils.isIOS()||!l.default.isTrackingTransparencyAvailable()||w||!(D||L||h)){B.next=36;break}return B.next=16,n.default.awrap(k.getTrackingPermission());case 16:return O=B.sent,B.next=19,n.default.awrap(k.isTrackingPermissionNotDetermined(O));case 19:return z=B.sent,B.next=22,n.default.awrap(k.isTrackingPermissionDenied(O));case 22:if(_=B.sent,!(z||R&&s&&_)){B.next=33;break}if(!r(d[9]).NetworkUtils.isOnline()||!I){B.next=29;break}return B.next=27,n.default.awrap(new Promise(function(n){t.navigate("PreAppTrackingTransparencyMessageScreen",{userChoiceDenied:_,onClose:n})}));case 27:B.sent&&_&&c.default.openURL("app-settings:");case 29:if(!z){B.next=33;break}return B.next=32,n.default.awrap(k.askTrackingPermission());case 32:O=B.sent;case 33:return B.next=35,n.default.awrap(k.isTrackingPermissionAuthorized(O));case 35:k.advertisingTrackingConsent=B.sent;case 36:if(k.advertisingTrackingConsent||!r(d[9]).PlatformUtils.isIOS()){B.next=39;break}return k.isGDPRComplianceRequired()&&(k.trackingConsent=!1),B.abrupt("return",O);case 39:if(!p||!T){B.next=65;break}return B.next=42,n.default.awrap(k.setupIubenda());case 42:if(!B.sent){B.next=62;break}if(Y=(V=!o||!f)&&!v,!(M||k.isGDPRComplianceRequired()&&(V||L||h)||(k.isUSComplianceRequired()||k.isLGPDComplianceRequired())&&(Y||L||h))){B.next=58;break}return B.prev=47,B.next=50,n.default.awrap(k.askIubendaConsent());case 50:F=B.sent,k.setConsentsIubenda(F),B.next=56;break;case 54:B.prev=54,B.t0=B.catch(47);case 56:B.next=60;break;case 58:return B.next=60,n.default.awrap(k.clearConsent());case 60:B.next=64;break;case 62:k.advertisingTrackingConsent=!1,k.isGDPRComplianceRequired()&&(k.trackingConsent=!1);case 64:return B.abrupt("return",O);case 65:return B.next=67,n.default.awrap(k.initOsanoCMP());case 67:if(!B.sent){B.next=70;break}return B.abrupt("return",O);case 70:return B.next=72,n.default.awrap(k.clearConsent());case 72:B.next=76;break;case 74:B.prev=74,B.t1=B.catch(12);case 76:return B.abrupt("return",O);case 77:case"end":return B.stop()}},null,null,[[12,74],[47,54]],Promise)}},{key:"getCmpConfig",value:function(){var n=g.getMainPSetup(),t=n.iubendaEnabled,s=n.iubendaConfig,u=n.osanoConfig,o=n.osanoEnabled;return t&&s?s:o&&u?u:void 0}},{key:"isGDPRComplianceRequired",value:function(){var n;return!(null==(n=k.getCmpConfig())||!n.isGDPR())}},{key:"isUSComplianceRequired",value:function(){var n;return!(null==(n=k.getCmpConfig())||!n.isUS())}},{key:"isLGPDComplianceRequired",value:function(){var n;return!(null==(n=k.getCmpConfig())||!n.isLGPD())}},{key:"isAnalyticsServiceIPAnonymized",value:function(n){var t=g.getMainPSetup().googleAnalyticsAnonymizeIP,s=r(d[10]).ANALYTICS_SERVICES.MATOMO,u=r(d[10]).ANALYTICS_SERVICES.GA3,o=r(d[10]).ANALYTICS_SERVICES.FIREBASE_GA;return n===s||n===u&&t||n===o}},{key:"isAnalyticsTrackingAllowed",value:function(n){if(n!==r(d[10]).ANALYTICS_SERVICES.MATOMO&&k.isConsentNeeded()&&(k.isGDPRComplianceRequired()||(k.isUSComplianceRequired()||k.isLGPDComplianceRequired())&&!k.isAnalyticsServiceIPAnonymized(n))){if(void 0!==k.trackingConsent)return k.trackingConsent;if(k.isGDPRComplianceRequired()||k.isLGPDComplianceRequired())return!1}return!0}},{key:"isAdTrackingAllowed",value:function(n){if(r(d[9]).PlatformUtils.isIOS()||k.isConsentNeeded()&&(k.isGDPRComplianceRequired()||k.isUSComplianceRequired()||k.isLGPDComplianceRequired())){if(void 0!==k.advertisingTrackingConsent)return k.advertisingTrackingConsent;if(k.isGDPRComplianceRequired()||k.isLGPDComplianceRequired())return!1}return!0}},{key:"isConsentNeeded",value:function(){var n=g.getMainPSetup(),t=n.iubendaEnabled,s=n.osanoEnabled;return(t&&p||s&&v)&&!k.consentNotNeeded}},{key:"isConsentExpressed",value:function(){return void 0!==k.trackingConsent&&!k.consentNotNeeded}},{key:"askTrackingPermission",value:function(){var t;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(!r(d[9]).PlatformUtils.isIOS()||!l.default.isTrackingTransparencyAvailable()){s.next=5;break}return s.next=3,n.default.awrap(l.default.getTrackingTransparency().requestTrackingPermission());case 3:return t=s.sent,s.abrupt("return",t);case 5:return s.abrupt("return","unavailable");case 6:case"end":return s.stop()}},null,null,null,Promise)}},{key:"getTrackingPermission",value:function(){var t;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(t="unavailable",!r(d[9]).PlatformUtils.isIOS()||!l.default.isTrackingTransparencyAvailable()){s.next=5;break}return s.next=4,n.default.awrap(l.default.getTrackingTransparency().getTrackingStatus());case 4:t=s.sent;case 5:return s.abrupt("return",t);case 6:case"end":return s.stop()}},null,null,null,Promise)}},{key:"isTrackingPermissionNotDetermined",value:function(t){var s;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(u.t0=t,u.t0){u.next=5;break}return u.next=4,n.default.awrap(k.getTrackingPermission());case 4:u.t0=u.sent;case 5:return s=u.t0,u.abrupt("return","not-determined"===s);case 7:case"end":return u.stop()}},null,null,null,Promise)}},{key:"isTrackingPermissionAuthorized",value:function(t){var s;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(u.t0=t,u.t0){u.next=5;break}return u.next=4,n.default.awrap(k.getTrackingPermission());case 4:u.t0=u.sent;case 5:return s=u.t0,u.abrupt("return","authorized"===s);case 7:case"end":return u.stop()}},null,null,null,Promise)}},{key:"isTrackingPermissionDenied",value:function(t){var s;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(u.t0=t,u.t0){u.next=5;break}return u.next=4,n.default.awrap(k.getTrackingPermission());case 4:u.t0=u.sent;case 5:return s=u.t0,u.abrupt("return","denied"===s);case 7:case"end":return u.stop()}},null,null,null,Promise)}},{key:"checkTrackingPermission",value:function(){var t;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,n.default.awrap(k.getTrackingPermission());case 2:if("not-determined"!==(t=s.sent)){s.next=7;break}return s.next=6,n.default.awrap(k.askTrackingPermission());case 6:t=s.sent;case 7:return s.abrupt("return",t);case 8:case"end":return s.stop()}},null,null,null,Promise)}},{key:"initIubendaCMP",value:function(t){var s,u,o,l,c,f,v,C;return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return s=t.baseUrl,u=t.siteId,o=t.cookiePolicyId,t.gdprEnabled,l=t.googleAds,c=t.enableTcf,f=t.resetConsentDate,v=t.laws,C=t.language,n.abrupt("return",p.init({baseUrl:s,siteId:u,cookiePolicyId:o,googleAds:l,enableTcf:c,resetConsentDate:f,laws:v.join(","),lang:C,perPurposeConsent:!0}));case 2:case"end":return n.stop()}},null,null,null,Promise)}},{key:"askIubendaConsent",value:function(){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!p){n.next=2;break}return n.abrupt("return",p.askConsent());case 2:return n.abrupt("return",void 0);case 3:case"end":return n.stop()}},null,null,null,Promise)}},{key:"changePreferences",value:function(){var t,s,u;return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(t=g.getMainPSetup(),s=t.iubendaEnabled,u=t.osanoEnabled,!s||!p){o.next=3;break}return o.abrupt("return",p.editPreferences());case 3:if(!u||!v){o.next=15;break}return o.prev=4,o.next=7,n.default.awrap(v.change());case 7:return o.next=9,n.default.awrap(k.updateLawData());case 9:v.destroy(),o.next=15;break;case 12:throw o.prev=12,o.t0=o.catch(4),o.t0;case 15:return o.abrupt("return",Promise.resolve());case 16:case"end":return o.stop()}},null,null,[[4,12]],Promise)}},{key:"initOsanoCMP",value:function(){var t,s,l,c,f;return n.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:if(t=g.getMainPSetup(),s=t.osanoEnabled,l=t.osanoConfig,v&&s){p.next=3;break}return p.abrupt("return",void 0);case 3:if(""!==l.customerId&&""!==l.configurationId&&""!==l.siteDomain){p.next=5;break}return p.abrupt("return",void 0);case 5:return c={customerId:l.customerId,projectId:l.configurationId,siteDomain:l.siteDomain,resetConsentDate:l.resetConsentDate,appVersion:o.default.getAppVersion(),vendorListUrl:u.default.getCMPVendorListUrl()},p.prev=6,p.next=9,n.default.awrap(v.ask(c));case 9:f=p.sent,k.setConsentsOsano(f),p.next=15;break;case 13:p.prev=13,p.t0=p.catch(6);case 15:if(f){p.next=17;break}return p.abrupt("return",void 0);case 17:return p.prev=17,p.next=20,n.default.awrap(v.resetIfNecessary(c));case 20:p.next=24;break;case 22:p.prev=22,p.t1=p.catch(17);case 24:return p.next=26,n.default.awrap(k.updateLawData());case 26:return p.abrupt("return",f);case 27:case"end":return p.stop()}},null,null,[[6,13],[17,22]],Promise)}},{key:"updateLawData",value:function(){var t,s,u,o,l;return n.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=g.getMainPSetup(),s=t.osanoConfig,u=t.osanoEnabled,v&&u&&s){c.next=3;break}return c.abrupt("return");case 3:return c.prev=3,c.next=6,n.default.awrap(v.askTcData());case 6:o=c.sent,s.setTcData(o),c.next=12;break;case 10:c.prev=10,c.t0=c.catch(3);case 12:return c.prev=12,c.next=15,n.default.awrap(v.askUspData());case 15:l=c.sent,s.setUspData(l),c.next=21;break;case 19:c.prev=19,c.t1=c.catch(12);case 21:case"end":return c.stop()}},null,null,[[3,10],[12,19]],Promise)}},{key:"setConsentsIubenda",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.consentNotNeeded,s=n.consentStrings,u=void 0===s?{}:s,o=n.perPurposeConsents,c=void 0===o?{}:o,f=n.perTCFPurposeConsents,p=void 0===f?{}:f,v=n.usprPurposesConsents,b=void 0===v?{}:v,P=g.getMainPSetup().iubendaConfig.googleAdsPresent,y=k.isGDPRComplianceRequired(),x=k.isUSComplianceRequired();k.isLGPDComplianceRequired();k.consentNotNeeded=null!=t&&t,k.consentStrings=u||{};var A,T=b.s,S=b.sh,w=b.adv;x&&(k.trackingConsent=null!=(A=T&&S)&&A,k.advertisingTrackingConsent=null!=w&&w);if(y){var D,R,I,h,M,N,E,q,G,U,L;if(k.trackingConsent=null!=(D=null!=(R=c[4])?R:T&&S)&&D,k.advertisingTrackingConsent=null!=(I=null!=(h=c[5])?h:w)&&I,P)if(k.googlePersonalizedAdsConsent=k.advertisingTrackingConsent,k.googleNonPersonalizedAdsConsent=k.advertisingTrackingConsent,!k.googlePersonalizedAdsConsent)k.googleNonPersonalizedAdsConsent=null!=(M=p[1])&&M&&null!=(N=p[2])&&N&&null!=(E=p[7])&&E&&null!=(q=p[9])&&q&&null!=(G=p[10])&&G,k.googlePersonalizedAdsConsent=k.googleNonPersonalizedAdsConsent&&null!=(U=p[3])&&U&&null!=(L=p[4])&&L;l.default.isDailymotionVideoPlayerAvailable()&&C.setConsentString(k.getTCConsentString())}}},{key:"setConsentsOsano",value:function(n){var t,s,u=g.getMainPSetup().osanoConfig;k.consentNotNeeded=!1,k.consentStrings={tc:null==(t=u.tcData)?void 0:t.tcString,us:null==(s=u.uspData)?void 0:s.uspString}||{},k.trackingConsent="ACCEPT"===n.ANALYTICS,k.advertisingTrackingConsent="ACCEPT"===n.MARKETING,l.default.isDailymotionVideoPlayerAvailable()&&C.setConsentString(k.getTCConsentString())}},{key:"setupIubenda",value:function(){var t,s,o,l,c,f,p,v,C,b,P,y,x,A;return n.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(t=g.getMainPSetup(),s=t.iubendaEnabled,o=t.iubendaConfig,!s||!o){T.next=17;break}if(l=o.siteId,c=o.cookiePolicyId,f=o.language,p=o.googleAdsPresent,v=o.adsRequireConsent,C=o.referencePrivacyLaws,b=o.resetConsentDate,!l||!c){T.next=17;break}if(P=k.isGDPRComplianceRequired(),y=P&&v,g.isDebug,x=g.getUserSettings(),!((A=x.resetConsentDate)&&A>b)){T.next=14;break}return b=A,T.next=14,n.default.awrap(x.deleteResetConsentDate());case 14:return T.next=16,n.default.awrap(k.initIubendaCMP({baseUrl:u.default.getIubendaCMPBaseURL(),siteId:l,cookiePolicyId:c,googleAds:p,enableTcf:y,resetConsentDate:b,laws:C,language:f}));case 16:return T.abrupt("return",!0);case 17:return T.abrupt("return",!1);case 18:case"end":return T.stop()}},null,null,null,Promise)}},{key:"editPreferences",value:function(){var t,s;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(t=g.getMainPSetup(),!t.iubendaEnabled){u.next=6;break}return u.next=4,n.default.awrap(k.editIubendaPreferences());case 4:s=u.sent,k.setConsents(s);case 6:case"end":return u.stop()}},null,null,null,Promise)}},{key:"clearConsent",value:function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(k.trackingConsent=void 0,k.advertisingTrackingConsent=void 0,k.consentStrings=void 0,k.googlePersonalizedAdsConsent=void 0,k.googleNonPersonalizedAdsConsent=void 0,k.consentNotNeeded=!1,!p){t.next=11;break}return t.next=9,n.default.awrap(p.clearData());case 9:g.getUserSettings().setResetConsentDate(r(d[9]).DateUtils.getTomorrowString("YYYYMMDD"));case 11:if(!v){t.next=14;break}return t.next=14,n.default.awrap(v.clear());case 14:case"end":return t.stop()}},null,null,null,Promise)}},{key:"getTCConsentString",value:function(){var n;return null!=(n=k.consentStrings&&k.consentStrings.tc)?n:""}},{key:"getUSPConsentString",value:function(){var n;return null!=(n=k.consentStrings&&k.consentStrings.usp)?n:""}},{key:"getGDPRScript",value:function(){return"\n try {\n window['gtag_enable_tcf_support'] = true;\n } catch(e) {};"}},{key:"addCMPScript",value:function(n){var t=n;if(t){var s=k.getCMPScript();if(s){var u="