






#import "LinerTopView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+NotImage.h"
#import "LawExported.h"
#import "NSString+OddOldest.h"
#import "HexAlertView.h"
#import "FlowAbortDolbyWindow.h"
#import "LevelDisappearViewController.h"
#import "UIDevice+ItsDevice.h"
#import "BeaconAskManager.h"

@interface LinerTopView()  <UIGestureRecognizerDelegate> {
    CGPoint failureClaimNowGlyphBloodSignaling;
    BOOL protectedSlidingTagOccurredHellman;
    BOOL curlCertArabicBypassedExtentTitle; 
    BOOL eventualSuccessDeclineCheckedBoldface; 
}


@property (nonatomic, strong) FlowAbortDolbyWindow *yetFriendsWindow;
@property (nonatomic, weak) UIWindow *longitudeTwoWindow;


@property (nonatomic, strong) UIImageView *designEraView;
@property (nonatomic, strong) UIView *dryGeometryView;


@property (nonatomic, strong) UIView *unableAreView;
@property (nonatomic, strong) UILabel *fatalHailLabel;
@property (nonatomic, assign) BOOL producerSerialDebuggerGregorianComposed;


@property (nonatomic, strong) NSTimer *civilFastFileTimer;
@property (nonatomic, assign) UIEdgeInsets decodeBetweenRawPotentialCube;
@property (nonatomic, assign) CGRect flatnessOddRussianMoodFatAge;


@property (nonatomic, strong) UIImage *delaySheKeyImage;
@property (nonatomic, copy) NSString *tintZoomThreadsSentinelDate;
@property (nonatomic, strong) UIImage *focusRainImage;
@property (nonatomic, assign) CGFloat redSunHourSoft;
@property (nonatomic, assign) ArmenianRootEdge ownWillStakeEdge;
@property (nonatomic, assign) NSTimeInterval immutableCreditQueueWhoAcross;
@property (nonatomic, assign) BOOL diskSkinGenericsCharUnorderedPut;
@end

@implementation LinerTopView


+ (instancetype)shared {
    static LinerTopView *instance = nil;
    static dispatch_once_t toneToken;
    dispatch_once(&toneToken, ^{
        instance = [[super alloc] initWithFrame:CGRectZero];
        [instance obsoleteKitRestoringCapacityArgument];
    });
    return instance;
}

- (UIView *)dryGeometryView {
    if (!_dryGeometryView) {
        _dryGeometryView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 8, 8)];
        _dryGeometryView.backgroundColor = UIColor.redColor;
        _dryGeometryView.layer.cornerRadius = 4;
        _dryGeometryView.hidden = YES;
    }
    return _dryGeometryView;
}

- (void)obsoleteKitRestoringCapacityArgument {
    self.redSunHourSoft = 10.0;
    self.immutableCreditQueueWhoAcross = 3.0;
    self.diskSkinGenericsCharUnorderedPut = YES;
    
    
    self.designEraView = [[UIImageView alloc] init];
    self.designEraView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.designEraView];
    
    self.unableAreView = [[UIView alloc] init];
    self.unableAreView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.unableAreView.layer.cornerRadius = 20;
    self.unableAreView.layer.masksToBounds = YES;
    self.unableAreView.alpha = 0.0;
    
    self.fatalHailLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.fatalHailLabel.text = LawExported.valueOutArtMen.stylusExistentProposalVowelYouEffort;
    self.fatalHailLabel.numberOfLines = 0;
    self.fatalHailLabel.textColor = [UIColor whiteColor];
    self.fatalHailLabel.textAlignment = NSTextAlignmentCenter;
    self.fatalHailLabel.font = [UIFont systemFontOfSize:14];
    [self.unableAreView addSubview:self.fatalHailLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(cutAnyBrushLow:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *cup = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(retYetPushPipe)];
    [self addGestureRecognizer:cup];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(factoriesVendorDelayValidityLossRoll)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setBarFaceSeeJson:(NSDictionary *)barFaceSeeJson {
    _barFaceSeeJson = barFaceSeeJson;
    if (barFaceSeeJson && self.yetFriendsWindow != nil) {
        NSString *action = barFaceSeeJson[LawExported.playVersions.kinDiskMostWin];
        if ([action isEqualToString:LawExported.playVersions.fileHerLease]) {
            self.dryGeometryView.hidden = NO;
        }else if ([action isEqualToString:LawExported.playVersions.armCopticFat]) {
            self.dryGeometryView.hidden = YES;
        }else if ([action isEqualToString:LawExported.playVersions.postalJobProcessorClampMeal]) {
            self.dryGeometryView.hidden = NO;
        }
    }
}


+ (void)disabling {
    [self.shared discardsFaceLambdaTrialReceivedArmourImage:[UIImage watchedTopExceedsFileInvisibleName:LawExported.playVersions.mileSlashAcutePostTap] faceFour:LawExported.listenSlopeDiagnoseEarMild tapsImage:nil];
}

+ (void)behaviorClockImage:(UIImage *)image {
    [[self shared] discardsFaceLambdaTrialReceivedArmourImage:image tapsImage:nil];
}

+ (void)dryOtherWhoImage:(UIImage *)normalImage tapsImage:(nullable UIImage *)tapsImage {
    LinerTopView *instance = [self shared];
    instance.delaySheKeyImage = normalImage;
    instance.tintZoomThreadsSentinelDate = nil;
    instance.focusRainImage = tapsImage;
    instance.designEraView.image = normalImage;
}

+ (void)publicRet {
    [[self shared] actionsCoverageTallArtworkMid];
}

+ (BOOL)slovakRecorder {
    return [self shared].yetFriendsWindow != nil;
}


- (void)discardsFaceLambdaTrialReceivedArmourImage:(UIImage *)image tapsImage:(nullable UIImage *)tapsImage {
    [self discardsFaceLambdaTrialReceivedArmourImage:image faceFour:nil tapsImage:tapsImage];
}

- (void)discardsFaceLambdaTrialReceivedArmourImage:(UIImage *)image faceFour:(NSString *)faceFour tapsImage:(nullable UIImage *)tapsImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.delaySheKeyImage = image;
        self.tintZoomThreadsSentinelDate = faceFour;
        self.focusRainImage = tapsImage;
        
        if (!self.yetFriendsWindow) {
            [self esperantoBottomUniqueMillibarsBrotherWindow];
            [self lowercaseSevenFunAspectHard];
            [self askPullEnumerateOwnTreeHint];
            [self alcoholRebusTransportBayerLacrosseAspect]; 
        }
        
        [self.yetFriendsWindow makeKeyAndVisible];
        [self.longitudeTwoWindow makeKeyWindow];
        
        [self dimensionWidthCelticEndsRoundHaveAnimation:YES];
        [self guestOptLayeringObservedRouterTimer];
    });
}

- (void)actionsCoverageTallArtworkMid {
    dispatch_async(dispatch_get_main_queue(), ^{
        [self.yetFriendsWindow resignKeyWindow];
        self.yetFriendsWindow.hidden = YES;
        self.yetFriendsWindow = nil;
    });
}


- (void)esperantoBottomUniqueMillibarsBrotherWindow {
    
    self.longitudeTwoWindow = [self collectKazakhProvinceRedirectSupportedWindow];
    
    
    FlowAbortDolbyWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[FlowAbortDolbyWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[FlowAbortDolbyWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[LevelDisappearViewController alloc] init];
    window.hidden = NO;
    self.yetFriendsWindow = window;
    
    
    [self.yetFriendsWindow resignKeyWindow];
    [self.longitudeTwoWindow makeKeyWindow];
    
    
    [self addSubview:self.dryGeometryView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.tintZoomThreadsSentinelDate) {
        [self.designEraView sd_setImageWithURL:[NSURL URLWithString:self.tintZoomThreadsSentinelDate] placeholderImage
                                              :[UIImage watchedTopExceedsFileInvisibleName:LawExported.playVersions.mileSlashAcutePostTap]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.designEraView.image = self.delaySheKeyImage;
    }
    self.designEraView.frame = self.bounds;
    
    [self.yetFriendsWindow addSubview:self];
    [self.yetFriendsWindow addSubview:self.unableAreView];
}


- (void)alcoholRebusTransportBayerLacrosseAspect {
    CGRect betterSonAre = self.flatnessOddRussianMoodFatAge;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
#pragma clang diagnostic pop
    
    if (UIInterfaceOrientationIsLandscape(orientation)) {
        CGFloat about = 180;
        self.unableAreView.frame = CGRectMake(
         (betterSonAre.size.width - about)/2,
          betterSonAre.size.height - about/2,
          about,
          about
        );
        self.unableAreView.layer.masksToBounds = YES;
        self.unableAreView.layer.cornerRadius = about/2;
        self.fatalHailLabel.center = CGPointMake(about/2, about/4);
    }
    
    else {
        CGFloat about = 240;
        self.unableAreView.frame = CGRectMake(

          (betterSonAre.size.width - about/2),
          betterSonAre.size.height - about/2,
          about,
          about
        );
        self.unableAreView.layer.masksToBounds = YES;
        self.unableAreView.layer.cornerRadius = about/2;
        self.fatalHailLabel.center = CGPointMake(about/3, about/4);
    }
}


- (void)retYetPushPipe {
    if (self.barFaceSeeJson) {
        !self.costDoneHandler ?: self.costDoneHandler(self.barFaceSeeJson[LawExported.playVersions.itemKernels]);
        if ([self.barFaceSeeJson[LawExported.playVersions.kinDiskMostWin] isEqualToString:LawExported.playVersions.postalJobProcessorClampMeal]) {
            self.dryGeometryView.hidden = YES;
            _barFaceSeeJson = nil;
        }
    }else {
        !self.costDoneHandler ?: self.costDoneHandler(nil);
    }
}

- (void)cutAnyBrushLow:(UIPanGestureRecognizer *)gesture {
    if (protectedSlidingTagOccurredHellman) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            failureClaimNowGlyphBloodSignaling = self.center;
            _designEraView.alpha = 1;
            [self changePanTradAlignChat];
            curlCertArabicBypassedExtentTitle = NO; 
            eventualSuccessDeclineCheckedBoldface = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.unableAreView.layer removeAllAnimations];
            
            
            self.unableAreView.alpha = 0.0;
            self.unableAreView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self unknownSexReversesAnimationNapPriorThousandCenter:
                           CGPointMake(failureClaimNowGlyphBloodSignaling.x + translation.x,
                                       failureClaimNowGlyphBloodSignaling.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL TrialOrange = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect partFrame = self.unableAreView.frame;
            CGRect callState = CGRectInset(partFrame, -280, TrialOrange?-100:-280); 
            BOOL cacheOurRedo = CGRectContainsPoint(callState, self.center);
            
            
            
            
            if (cacheOurRedo != eventualSuccessDeclineCheckedBoldface) {
                eventualSuccessDeclineCheckedBoldface = cacheOurRedo;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.unableAreView.alpha = cacheOurRedo ? 1.0 : 0.0;
                    self.unableAreView.transform = cacheOurRedo ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            cacheOurRedo = CGRectContainsPoint(CGRectInset(partFrame, 0, 0), self.center);
            if (cacheOurRedo && !curlCertArabicBypassedExtentTitle) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                curlCertArabicBypassedExtentTitle = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.unableAreView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!cacheOurRedo) {
                if (curlCertArabicBypassedExtentTitle) {
                    self.unableAreView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                curlCertArabicBypassedExtentTitle = NO;
            }
            
            
            callState = CGRectInset(partFrame, 0, 0);
            _producerSerialDebuggerGregorianComposed = CGRectContainsPoint(callState, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.unableAreView.alpha = 0.0;
                self.unableAreView.transform = CGAffineTransformIdentity;
            }];
            
            if (_producerSerialDebuggerGregorianComposed) {
                [HexAlertView playThemeHindiHandledFormOptional:nil message:LawExported.valueOutArtMen.vitaminPenLoadLawHelperIntegral pubContinued:@[LawExported.valueOutArtMen.slashHockey, LawExported.valueOutArtMen.lawSkin] completion:^(NSInteger indentIndex) {
                    if (indentIndex ==1) {
                        [self actionsCoverageTallArtworkMid];
                    }else {
                        [self dimensionWidthCelticEndsRoundHaveAnimation:YES];
                        [self guestOptLayeringObservedRouterTimer];
                    }
                }];
            } else {
                [self dimensionWidthCelticEndsRoundHaveAnimation:YES];
                [self guestOptLayeringObservedRouterTimer];
            }
            curlCertArabicBypassedExtentTitle = NO;
            eventualSuccessDeclineCheckedBoldface = NO;
            break;
        }

        default: break;
    }
}


- (void)dimensionWidthCelticEndsRoundHaveAnimation:(BOOL)animate {
    if (!_diskSkinGenericsCharUnorderedPut) return;
    
    
    if (protectedSlidingTagOccurredHellman && animate) return;
    
    CGRect liveFrame = [self initialLeadWidthMemberSpaceFrame];
    CGPoint center = self.center;
    
    CGFloat lazy = liveFrame.origin.x;
    CGFloat film = liveFrame.origin.x + liveFrame.size.width;
    CGFloat bend = liveFrame.origin.y;
    CGFloat know = liveFrame.origin.y + liveFrame.size.height;
    
    
    ArmenianRootEdge mixTagEdge = RepairMaintainBriefDayTrainingPrefer;
    CGFloat oldPriority = CGFLOAT_MAX;
    
    
    CGFloat hyphen = center.x - lazy;
    CGFloat yetPipe = film - center.x;
    CGFloat datum = center.y - bend;
    CGFloat segueWay = know - center.y;
    
    NSArray *preparing = @[@(hyphen), @(yetPipe), @(datum), @(segueWay)];
    NSArray *edges = @[@(PubBaselineAudiogramInspiredRotorFooter), @(ParseDirectionRetriedWrappedMergeToo),
                       @(GallonGenerateBlockerSumOverride), @(ListenerBelowSectionsCaptureGroupingLogo)];
    
    for (NSInteger i = 0; i < preparing.count; i++) {
        CGFloat distance = [preparing[i] floatValue];
        if (distance < oldPriority) {
            oldPriority = distance;
            mixTagEdge = [edges[i] integerValue];
        }
    }
    
    
    if (mixTagEdge == self.ownWillStakeEdge) {
        CGPoint fixFlowCenter = self.center;
        CGPoint largerCenter = [self opticalKeyMindIdleRestoringHexEdge:mixTagEdge];
        CGFloat distance = hypot(fixFlowCenter.x - largerCenter.x, fixFlowCenter.y - largerCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.ownWillStakeEdge = mixTagEdge;
    
    
    CGPoint largerCenter = [self opticalKeyMindIdleRestoringHexEdge:mixTagEdge];
    CGPoint minorCenter = [self glucoseMilesReportedDeletionMidCrossCreatorEdge:mixTagEdge];
    
    
    protectedSlidingTagOccurredHellman = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->protectedSlidingTagOccurredHellman = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = largerCenter;
        self.dryGeometryView.center = minorCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)opticalKeyMindIdleRestoringHexEdge:(ArmenianRootEdge)edge {
    CGRect liveFrame = [self initialLeadWidthMemberSpaceFrame];
    CGPoint center = self.center;
    
    CGFloat lazy = liveFrame.origin.x;
    CGFloat film = liveFrame.origin.x + liveFrame.size.width;
    CGFloat bend = liveFrame.origin.y;
    CGFloat know = liveFrame.origin.y + liveFrame.size.height;
    
    CGPoint largerCenter = center;
    
    switch (edge) {
        case PubBaselineAudiogramInspiredRotorFooter:
            largerCenter.x = lazy + self.bounds.size.width/2 + _redSunHourSoft;
            break;
        case ParseDirectionRetriedWrappedMergeToo:
            largerCenter.x = film - self.bounds.size.width/2 - _redSunHourSoft;
            break;
        case GallonGenerateBlockerSumOverride:
            largerCenter.y = bend + self.bounds.size.height/2 + _redSunHourSoft;
            break;
        case ListenerBelowSectionsCaptureGroupingLogo:
            largerCenter.y = know - self.bounds.size.height/2 - _redSunHourSoft;
            break;
        default:
            break;
    }
    
    
    return [self unknownSexReversesAnimationNapPriorThousandCenter:largerCenter];
}


- (CGPoint)glucoseMilesReportedDeletionMidCrossCreatorEdge:(ArmenianRootEdge)edge {
    CGPoint minorCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case PubBaselineAudiogramInspiredRotorFooter:
            minorCenter.x = self.bounds.size.width;
            break;
        case ParseDirectionRetriedWrappedMergeToo:
            
            break;
        case GallonGenerateBlockerSumOverride:
            minorCenter.x = self.bounds.size.width;
            minorCenter.y = self.bounds.size.height;
            break;
        case ListenerBelowSectionsCaptureGroupingLogo:
            minorCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return minorCenter;
}


- (void)guestOptLayeringObservedRouterTimer {
    if (_immutableCreditQueueWhoAcross <= 0) return;
    
    [self changePanTradAlignChat];
    _civilFastFileTimer = [NSTimer scheduledTimerWithTimeInterval:_immutableCreditQueueWhoAcross
                                                     target:self
                                                   selector:@selector(imageIndentPatternSexConnected)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)changePanTradAlignChat {
    [_civilFastFileTimer invalidate];
    _civilFastFileTimer = nil;
}

- (void)imageIndentPatternSexConnected {
    [UIView animateWithDuration:0.3 animations:^{
        self.designEraView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.ownWillStakeEdge) {
            case PubBaselineAudiogramInspiredRotorFooter:
                frame.origin.x -= self.redSunHourSoft;
                break;
            case ParseDirectionRetriedWrappedMergeToo:
                frame.origin.x += self.redSunHourSoft;
                break;
            case GallonGenerateBlockerSumOverride:
                frame.origin.y -= self.redSunHourSoft;
                break;
            case ListenerBelowSectionsCaptureGroupingLogo:
                frame.origin.y += self.redSunHourSoft;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)factoriesVendorDelayValidityLossRoll {
    [self lowercaseSevenFunAspectHard];
    [self alcoholRebusTransportBayerLacrosseAspect]; 
    [self dimensionWidthCelticEndsRoundHaveAnimation:YES];
}


- (void)lowercaseSevenFunAspectHard {
    UIWindow *keyWindow = BeaconAskManager.shared.detachCreditWindow; //self.longitudeTwoWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice andMedia]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice eyeMan]) {
        safeArea = UIEdgeInsetsMake(0, 0, 20, 0);
    }else {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
        UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
#pragma clang diagnostic pop
        safeArea = keyWindow.safeAreaInsets;
        switch (orientation) {
            case UIInterfaceOrientationPortrait:
                safeArea = UIEdgeInsetsMake(safeArea.top-10, 5, 15, 5);
                break;
            case UIInterfaceOrientationPortraitUpsideDown:
                safeArea = UIEdgeInsetsMake(15, 5, safeArea.bottom-10, 5);
                break;
            case UIInterfaceOrientationLandscapeRight:
                safeArea = UIEdgeInsetsMake(5, safeArea.right-10, 15, 5);
                break;
            case UIInterfaceOrientationLandscapeLeft:
                safeArea = UIEdgeInsetsMake(5, 5, 15, safeArea.left-10);
                break;
            case UIInterfaceOrientationUnknown:
            default:
                safeArea = safeArea;
        }
    }
    
    self.decodeBetweenRawPotentialCube = safeArea;
    self.flatnessOddRussianMoodFatAge = keyWindow.bounds;
}

- (CGRect)initialLeadWidthMemberSpaceFrame {
    
    return CGRectMake(
        self.flatnessOddRussianMoodFatAge.origin.x + self.decodeBetweenRawPotentialCube.left,
        self.flatnessOddRussianMoodFatAge.origin.y + self.decodeBetweenRawPotentialCube.top,
        self.flatnessOddRussianMoodFatAge.size.width - (self.decodeBetweenRawPotentialCube.left + self.decodeBetweenRawPotentialCube.right),
        self.flatnessOddRussianMoodFatAge.size.height - (self.decodeBetweenRawPotentialCube.top + self.decodeBetweenRawPotentialCube.bottom)
    );
}


- (void)askPullEnumerateOwnTreeHint {
    NSString *oldestStreet = [[NSUserDefaults standardUserDefaults] valueForKey:LawExported.playVersions.truncateNetworkNearSpanAlgorithmPresented];
    if (oldestStreet) {
        self.center = CGPointFromString(oldestStreet);
    }else {
        
        CGRect liveFrame = [self initialLeadWidthMemberSpaceFrame];
        self.center = CGPointMake(liveFrame.origin.x + liveFrame.size.width - self.bounds.size.width/2 - _redSunHourSoft,
                                  liveFrame.origin.y + liveFrame.size.height/2);
    }
}


- (UIWindow *)collectKazakhProvinceRedirectSupportedWindow {
    if (@available(iOS 13.0, *)) {
        NSSet<UIScene *> *scenes = [UIApplication sharedApplication].connectedScenes;
        for (UIScene *scene in scenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                UIWindowScene *windowScene = (UIWindowScene *)scene;
                return windowScene.windows.firstObject;
            }
        }
    }
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    return [UIApplication sharedApplication].keyWindow;
#pragma clang diagnostic pop
}

- (CGPoint)unknownSexReversesAnimationNapPriorThousandCenter:(CGPoint)proposedCenter {
    CGRect liveFrame = [self initialLeadWidthMemberSpaceFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat lazy = liveFrame.origin.x + buttonSize.width/2;
    CGFloat film = liveFrame.origin.x + liveFrame.size.width - buttonSize.width/2;
    CGFloat bend = liveFrame.origin.y + buttonSize.height/2;
    CGFloat know = liveFrame.origin.y + liveFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(lazy, MIN(proposedCenter.x, film)),
        MAX(bend, MIN(proposedCenter.y, know))
    );
}

- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}

@end
