






#import "TimeTreeView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+EyeImage.h"
#import "NapEscaping.h"
#import "NSString+SeeSource.h"
#import "OutAlertView.h"
#import "CubicEphemeralWindow.h"
#import "DecideDustShotViewController.h"
#import "UIDevice+DayDevice.h"
#import "ShearPeakManager.h"

@interface TimeTreeView()  <UIGestureRecognizerDelegate> {
    CGPoint sumMainButtonBoundingRejectAmbiguity;
    BOOL croatianGallonsStorylineCubeHex;
    BOOL opticalDegreeWatchPedometerRetEach; 
    BOOL buildInitialDeletingCutterLock; 
}


@property (nonatomic, strong) CubicEphemeralWindow *cupArePoloWindow;
@property (nonatomic, weak) UIWindow *putAgeSexualWindow;


@property (nonatomic, strong) UIImageView *tatarLeadView;
@property (nonatomic, strong) UIView *keepLineYouView;


@property (nonatomic, strong) UIView *removeSinView;
@property (nonatomic, strong) UILabel *acceptPubLabel;
@property (nonatomic, assign) BOOL slovenianSignVolumeTransitOut;


@property (nonatomic, strong) NSTimer *waxSupportOurTimer;
@property (nonatomic, assign) UIEdgeInsets tightMegawattsLockYiddishFaeroese;
@property (nonatomic, assign) CGRect discoveryReuseKeySecondsCapturedElder;


@property (nonatomic, strong) UIImage *panelOneRawImage;
@property (nonatomic, copy) NSString *gramWirePanPaceQuiet;
@property (nonatomic, strong) UIImage *auditHardImage;
@property (nonatomic, assign) CGFloat rareYellowSide;
@property (nonatomic, assign) CreationStarEdge cloudLexicalEdge;
@property (nonatomic, assign) NSTimeInterval diagnoseUsedComposerModuleDisallow;
@property (nonatomic, assign) BOOL humidityOnlyResultMalayalamPasteDust;
@end

@implementation TimeTreeView


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

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

- (void)affinityPredicateEditNapProcedure {
    self.rareYellowSide = 10.0;
    self.diagnoseUsedComposerModuleDisallow = 3.0;
    self.humidityOnlyResultMalayalamPasteDust = YES;
    
    
    self.tatarLeadView = [[UIImageView alloc] init];
    self.tatarLeadView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.tatarLeadView];
    
    self.removeSinView = [[UIView alloc] init];
    self.removeSinView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.removeSinView.layer.cornerRadius = 20;
    self.removeSinView.layer.masksToBounds = YES;
    self.removeSinView.alpha = 0.0;
    
    self.acceptPubLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.acceptPubLabel.text = NapEscaping.sigmaTabBedKit.balanceIntroPedometerSuffixWithinVisible;
    self.acceptPubLabel.numberOfLines = 0;
    self.acceptPubLabel.textColor = [UIColor whiteColor];
    self.acceptPubLabel.textAlignment = NSTextAlignmentCenter;
    self.acceptPubLabel.font = [UIFont systemFontOfSize:14];
    [self.removeSinView addSubview:self.acceptPubLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(sayKeySoloWill:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *two = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(teamWrongNorth)];
    [self addGestureRecognizer:two];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(centeredEmailFilteredJustifiedEnteredAnimating)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setWayManySobJson:(NSDictionary *)wayManySobJson {
    _wayManySobJson = wayManySobJson;
    if (wayManySobJson && self.cupArePoloWindow != nil) {
        NSString *action = wayManySobJson[NapEscaping.restoringWay.exactGivenBody];
        if ([action isEqualToString:NapEscaping.restoringWay.andDayAffine]) {
            self.keepLineYouView.hidden = NO;
        }else if ([action isEqualToString:NapEscaping.restoringWay.rightSlowFor]) {
            self.keepLineYouView.hidden = YES;
        }else if ([action isEqualToString:NapEscaping.restoringWay.sonCallbacksFloatingSundaneseTerminate]) {
            self.keepLineYouView.hidden = NO;
        }
    }
}


+ (void)sugarShow {
    [self.shared swapBeaconsNarrativeAutoRedirectsQuietImage:[UIImage logSliceFaxBeginBodyName:NapEscaping.restoringWay.mayInnerPassiveWrapRevision] looseUse:NapEscaping.kilobytesGigabitsUseLocalizedRotation moveImage:nil];
}

+ (void)effectAccountImage:(UIImage *)image {
    [[self shared] swapBeaconsNarrativeAutoRedirectsQuietImage:image moveImage:nil];
}

+ (void)wrapLenientImage:(UIImage *)normalImage moveImage:(nullable UIImage *)moveImage {
    TimeTreeView *instance = [self shared];
    instance.panelOneRawImage = normalImage;
    instance.gramWirePanPaceQuiet = nil;
    instance.auditHardImage = moveImage;
    instance.tatarLeadView.image = normalImage;
}

+ (void)diskEmpty {
    [[self shared] dateMethodBinSettingsSignal];
}

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


- (void)swapBeaconsNarrativeAutoRedirectsQuietImage:(UIImage *)image moveImage:(nullable UIImage *)moveImage {
    [self swapBeaconsNarrativeAutoRedirectsQuietImage:image looseUse:nil moveImage:moveImage];
}

- (void)swapBeaconsNarrativeAutoRedirectsQuietImage:(UIImage *)image looseUse:(NSString *)looseUse moveImage:(nullable UIImage *)moveImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.panelOneRawImage = image;
        self.gramWirePanPaceQuiet = looseUse;
        self.auditHardImage = moveImage;
        
        if (!self.cupArePoloWindow) {
            [self offSpanDogSpatialSeasonWindow];
            [self eraserMinLengthsThePhase];
            [self smallestScalarSharpnessJouleDrumGasp];
            [self newtonsCollectorFarPopArmpitZip]; 
        }
        
        [self.cupArePoloWindow makeKeyAndVisible];
        [self.putAgeSexualWindow makeKeyWindow];
        
        [self retryMutationSubmittedHelloVoiceRunAnimation:YES];
        [self viabilityFixingTapDogZeroTimer];
    });
}

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


- (void)offSpanDogSpatialSeasonWindow {
    
    self.putAgeSexualWindow = [self literalReadableSafariPrimaryArrowWindow];
    
    
    CubicEphemeralWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[CubicEphemeralWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[CubicEphemeralWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[DecideDustShotViewController alloc] init];
    window.hidden = NO;
    self.cupArePoloWindow = window;
    
    
    [self.cupArePoloWindow resignKeyWindow];
    [self.putAgeSexualWindow makeKeyWindow];
    
    
    [self addSubview:self.keepLineYouView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.gramWirePanPaceQuiet) {
        [self.tatarLeadView sd_setImageWithURL:[NSURL URLWithString:self.gramWirePanPaceQuiet] placeholderImage
                                              :[UIImage logSliceFaxBeginBodyName:NapEscaping.restoringWay.mayInnerPassiveWrapRevision]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.tatarLeadView.image = self.panelOneRawImage;
    }
    self.tatarLeadView.frame = self.bounds;
    
    [self.cupArePoloWindow addSubview:self];
    [self.cupArePoloWindow addSubview:self.removeSinView];
}


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

          (endRetAppend.size.width - rebus/2),
          endRetAppend.size.height - rebus/2,
          rebus,
          rebus
        );
        self.removeSinView.layer.masksToBounds = YES;
        self.removeSinView.layer.cornerRadius = rebus/2;
        self.acceptPubLabel.center = CGPointMake(rebus/3, rebus/4);
    }
}


- (void)teamWrongNorth {
    if (self.wayManySobJson) {
        !self.taskSkipHandler ?: self.taskSkipHandler(self.wayManySobJson[NapEscaping.restoringWay.tryRollFeat]);
        if ([self.wayManySobJson[NapEscaping.restoringWay.exactGivenBody] isEqualToString:NapEscaping.restoringWay.sonCallbacksFloatingSundaneseTerminate]) {
            self.keepLineYouView.hidden = YES;
            _wayManySobJson = nil;
        }
    }else {
        !self.taskSkipHandler ?: self.taskSkipHandler(nil);
    }
}

- (void)sayKeySoloWill:(UIPanGestureRecognizer *)gesture {
    if (croatianGallonsStorylineCubeHex) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            sumMainButtonBoundingRejectAmbiguity = self.center;
            _tatarLeadView.alpha = 1;
            [self converterNeverOptIrishSlight];
            opticalDegreeWatchPedometerRetEach = NO; 
            buildInitialDeletingCutterLock = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.removeSinView.layer removeAllAnimations];
            
            
            self.removeSinView.alpha = 0.0;
            self.removeSinView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self herYetGainInstancesToolHindiHighestCenter:
                           CGPointMake(sumMainButtonBoundingRejectAmbiguity.x + translation.x,
                                       sumMainButtonBoundingRejectAmbiguity.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL LemmaNotHis = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect bandFrame = self.removeSinView.frame;
            CGRect howDecide = CGRectInset(bandFrame, -280, LemmaNotHis?-100:-280); 
            BOOL waxCupLittle = CGRectContainsPoint(howDecide, self.center);
            
            
            
            
            if (waxCupLittle != buildInitialDeletingCutterLock) {
                buildInitialDeletingCutterLock = waxCupLittle;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.removeSinView.alpha = waxCupLittle ? 1.0 : 0.0;
                    self.removeSinView.transform = waxCupLittle ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            waxCupLittle = CGRectContainsPoint(CGRectInset(bandFrame, 0, 0), self.center);
            if (waxCupLittle && !opticalDegreeWatchPedometerRetEach) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                opticalDegreeWatchPedometerRetEach = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.removeSinView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!waxCupLittle) {
                if (opticalDegreeWatchPedometerRetEach) {
                    self.removeSinView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                opticalDegreeWatchPedometerRetEach = NO;
            }
            
            
            howDecide = CGRectInset(bandFrame, 0, 0);
            _slovenianSignVolumeTransitOut = CGRectContainsPoint(howDecide, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.removeSinView.alpha = 0.0;
                self.removeSinView.transform = CGAffineTransformIdentity;
            }];
            
            if (_slovenianSignVolumeTransitOut) {
                [OutAlertView remembersFarsiAbsentDetectionFormInstant:nil message:NapEscaping.sigmaTabBedKit.landscapeLayoutExtendsWarnEquallyCelsius sumTooRectum:@[NapEscaping.sigmaTabBedKit.netSpaCoast, NapEscaping.sigmaTabBedKit.tagsMay] completion:^(NSInteger partlyIndex) {
                    if (partlyIndex ==1) {
                        [self dateMethodBinSettingsSignal];
                    }else {
                        [self retryMutationSubmittedHelloVoiceRunAnimation:YES];
                        [self viabilityFixingTapDogZeroTimer];
                    }
                }];
            } else {
                [self retryMutationSubmittedHelloVoiceRunAnimation:YES];
                [self viabilityFixingTapDogZeroTimer];
            }
            opticalDegreeWatchPedometerRetEach = NO;
            buildInitialDeletingCutterLock = NO;
            break;
        }

        default: break;
    }
}


- (void)retryMutationSubmittedHelloVoiceRunAnimation:(BOOL)animate {
    if (!_humidityOnlyResultMalayalamPasteDust) return;
    
    
    if (croatianGallonsStorylineCubeHex && animate) return;
    
    CGRect sameFrame = [self criticalVendorTitleSubsetDecryptFrame];
    CGPoint center = self.center;
    
    CGFloat blur = sameFrame.origin.x;
    CGFloat bike = sameFrame.origin.x + sameFrame.size.width;
    CGFloat only = sameFrame.origin.y;
    CGFloat male = sameFrame.origin.y + sameFrame.size.height;
    
    
    CreationStarEdge hexCapEdge = AnotherToneKilogramsCharGeorgianLevel;
    CGFloat rowWorldSob = CGFLOAT_MAX;
    
    
    CGFloat gopher = center.x - blur;
    CGFloat initial = bike - center.x;
    CGFloat trait = center.y - only;
    CGFloat cubeLoss = male - center.y;
    
    NSArray *bloodUsed = @[@(gopher), @(initial), @(trait), @(cubeLoss)];
    NSArray *edges = @[@(EditorsInsteadCathedralExtentShotTag), @(HumidityBadHoldStakeOxygenAway),
                       @(ExhaustedStandardDoubleCubeRefined), @(NicknameWaxMusicalAllocateSonHeader)];
    
    for (NSInteger i = 0; i < bloodUsed.count; i++) {
        CGFloat distance = [bloodUsed[i] floatValue];
        if (distance < rowWorldSob) {
            rowWorldSob = distance;
            hexCapEdge = [edges[i] integerValue];
        }
    }
    
    
    if (hexCapEdge == self.cloudLexicalEdge) {
        CGPoint sheCropCenter = self.center;
        CGPoint logMixCenter = [self baselinesLittleLevelTelephonyNotifyingHitEdge:hexCapEdge];
        CGFloat distance = hypot(sheCropCenter.x - logMixCenter.x, sheCropCenter.y - logMixCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.cloudLexicalEdge = hexCapEdge;
    
    
    CGPoint logMixCenter = [self baselinesLittleLevelTelephonyNotifyingHitEdge:hexCapEdge];
    CGPoint wristCenter = [self bedMathMountedEqualityCursorsSocialLowEdge:hexCapEdge];
    
    
    croatianGallonsStorylineCubeHex = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->croatianGallonsStorylineCubeHex = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = logMixCenter;
        self.keepLineYouView.center = wristCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)baselinesLittleLevelTelephonyNotifyingHitEdge:(CreationStarEdge)edge {
    CGRect sameFrame = [self criticalVendorTitleSubsetDecryptFrame];
    CGPoint center = self.center;
    
    CGFloat blur = sameFrame.origin.x;
    CGFloat bike = sameFrame.origin.x + sameFrame.size.width;
    CGFloat only = sameFrame.origin.y;
    CGFloat male = sameFrame.origin.y + sameFrame.size.height;
    
    CGPoint logMixCenter = center;
    
    switch (edge) {
        case EditorsInsteadCathedralExtentShotTag:
            logMixCenter.x = blur + self.bounds.size.width/2 + _rareYellowSide;
            break;
        case HumidityBadHoldStakeOxygenAway:
            logMixCenter.x = bike - self.bounds.size.width/2 - _rareYellowSide;
            break;
        case ExhaustedStandardDoubleCubeRefined:
            logMixCenter.y = only + self.bounds.size.height/2 + _rareYellowSide;
            break;
        case NicknameWaxMusicalAllocateSonHeader:
            logMixCenter.y = male - self.bounds.size.height/2 - _rareYellowSide;
            break;
        default:
            break;
    }
    
    
    return [self herYetGainInstancesToolHindiHighestCenter:logMixCenter];
}


- (CGPoint)bedMathMountedEqualityCursorsSocialLowEdge:(CreationStarEdge)edge {
    CGPoint wristCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case EditorsInsteadCathedralExtentShotTag:
            wristCenter.x = self.bounds.size.width;
            break;
        case HumidityBadHoldStakeOxygenAway:
            
            break;
        case ExhaustedStandardDoubleCubeRefined:
            wristCenter.x = self.bounds.size.width;
            wristCenter.y = self.bounds.size.height;
            break;
        case NicknameWaxMusicalAllocateSonHeader:
            wristCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return wristCenter;
}


- (void)viabilityFixingTapDogZeroTimer {
    if (_diagnoseUsedComposerModuleDisallow <= 0) return;
    
    [self converterNeverOptIrishSlight];
    _waxSupportOurTimer = [NSTimer scheduledTimerWithTimeInterval:_diagnoseUsedComposerModuleDisallow
                                                     target:self
                                                   selector:@selector(niacinEndSharpnessTrapCreate)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)converterNeverOptIrishSlight {
    [_waxSupportOurTimer invalidate];
    _waxSupportOurTimer = nil;
}

- (void)niacinEndSharpnessTrapCreate {
    [UIView animateWithDuration:0.3 animations:^{
        self.tatarLeadView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.cloudLexicalEdge) {
            case EditorsInsteadCathedralExtentShotTag:
                frame.origin.x -= self.rareYellowSide;
                break;
            case HumidityBadHoldStakeOxygenAway:
                frame.origin.x += self.rareYellowSide;
                break;
            case ExhaustedStandardDoubleCubeRefined:
                frame.origin.y -= self.rareYellowSide;
                break;
            case NicknameWaxMusicalAllocateSonHeader:
                frame.origin.y += self.rareYellowSide;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)centeredEmailFilteredJustifiedEnteredAnimating {
    [self eraserMinLengthsThePhase];
    [self newtonsCollectorFarPopArmpitZip]; 
    [self retryMutationSubmittedHelloVoiceRunAnimation:YES];
}


- (void)eraserMinLengthsThePhase {
    UIWindow *keyWindow = ShearPeakManager.shared.netTripleLawWindow; //self.putAgeSexualWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice realmCut]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice choose]) {
        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.tightMegawattsLockYiddishFaeroese = safeArea;
    self.discoveryReuseKeySecondsCapturedElder = keyWindow.bounds;
}

- (CGRect)criticalVendorTitleSubsetDecryptFrame {
    
    return CGRectMake(
        self.discoveryReuseKeySecondsCapturedElder.origin.x + self.tightMegawattsLockYiddishFaeroese.left,
        self.discoveryReuseKeySecondsCapturedElder.origin.y + self.tightMegawattsLockYiddishFaeroese.top,
        self.discoveryReuseKeySecondsCapturedElder.size.width - (self.tightMegawattsLockYiddishFaeroese.left + self.tightMegawattsLockYiddishFaeroese.right),
        self.discoveryReuseKeySecondsCapturedElder.size.height - (self.tightMegawattsLockYiddishFaeroese.top + self.tightMegawattsLockYiddishFaeroese.bottom)
    );
}


- (void)smallestScalarSharpnessJouleDrumGasp {
    NSString *whoCapDouble = [[NSUserDefaults standardUserDefaults] valueForKey:NapEscaping.restoringWay.authorityCertIdleWorkflowArcadeHas];
    if (whoCapDouble) {
        self.center = CGPointFromString(whoCapDouble);
    }else {
        
        CGRect sameFrame = [self criticalVendorTitleSubsetDecryptFrame];
        self.center = CGPointMake(sameFrame.origin.x + sameFrame.size.width - self.bounds.size.width/2 - _rareYellowSide,
                                  sameFrame.origin.y + sameFrame.size.height/2);
    }
}


- (UIWindow *)literalReadableSafariPrimaryArrowWindow {
    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)herYetGainInstancesToolHindiHighestCenter:(CGPoint)proposedCenter {
    CGRect sameFrame = [self criticalVendorTitleSubsetDecryptFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat blur = sameFrame.origin.x + buttonSize.width/2;
    CGFloat bike = sameFrame.origin.x + sameFrame.size.width - buttonSize.width/2;
    CGFloat only = sameFrame.origin.y + buttonSize.height/2;
    CGFloat male = sameFrame.origin.y + sameFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(blur, MIN(proposedCenter.x, bike)),
        MAX(only, MIN(proposedCenter.y, male))
    );
}

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

@end
