






#import "TertiaryView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+GetImage.h"
#import "SubBondFour.h"
#import "NSString+NonceBeen.h"
#import "HerAlertView.h"
#import "AskHourKeysKinWindow.h"
#import "FormatNextBurnViewController.h"
#import "UIDevice+WaxDevice.h"
#import "KeysVoiceManager.h"

@interface TertiaryView()  <UIGestureRecognizerDelegate> {
    CGPoint seedOptionRelationsDownloadChamberIcon;
    BOOL fixPriorityPortRetOverage;
    BOOL transientAcceptingHeadphoneUnwrapBigResolving; 
    BOOL featAlongSeeInnerEncrypted; 
}


@property (nonatomic, strong) AskHourKeysKinWindow *mapEarRankWindow;
@property (nonatomic, weak) UIWindow *leaveCatFormWindow;


@property (nonatomic, strong) UIImageView *passwordsView;
@property (nonatomic, strong) UIView *genericModeView;


@property (nonatomic, strong) UIView *centerMidView;
@property (nonatomic, strong) UILabel *getNativeLabel;
@property (nonatomic, assign) BOOL opticalSpaComponentArbiterIteration;


@property (nonatomic, strong) NSTimer *shapeDaysSeedTimer;
@property (nonatomic, assign) UIEdgeInsets menuMidTransferRoleExporter;
@property (nonatomic, assign) CGRect accuracyFunAmperePrinterVolatileDynamic;


@property (nonatomic, strong) UIImage *angleTagSonImage;
@property (nonatomic, copy) NSString *semanticsMidFetchStylisticWhile;
@property (nonatomic, strong) UIImage *canonicalImage;
@property (nonatomic, assign) CGFloat holdNineFiller;
@property (nonatomic, assign) FillSevenMenEdge indexZipViewEdge;
@property (nonatomic, assign) NSTimeInterval cornerDenyFormatLaterWas;
@property (nonatomic, assign) BOOL shrinkHusbandSindhiLittleExtraSparse;
@end

@implementation TertiaryView


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

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

- (void)listHourlyBufferMayCell {
    self.holdNineFiller = 10.0;
    self.cornerDenyFormatLaterWas = 3.0;
    self.shrinkHusbandSindhiLittleExtraSparse = YES;
    
    
    self.passwordsView = [[UIImageView alloc] init];
    self.passwordsView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.passwordsView];
    
    self.centerMidView = [[UIView alloc] init];
    self.centerMidView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.centerMidView.layer.cornerRadius = 20;
    self.centerMidView.layer.masksToBounds = YES;
    self.centerMidView.alpha = 0.0;
    
    self.getNativeLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.getNativeLabel.text = SubBondFour.injectionBlack.icelandicCupStripGlyphFaceKin;
    self.getNativeLabel.numberOfLines = 0;
    self.getNativeLabel.textColor = [UIColor whiteColor];
    self.getNativeLabel.textAlignment = NSTextAlignmentCenter;
    self.getNativeLabel.font = [UIFont systemFontOfSize:14];
    [self.centerMidView addSubview:self.getNativeLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(rowZipWaxHuman:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *pen = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(minIcyTooCurve)];
    [self addGestureRecognizer:pen];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(pieceOutFontOldInternalMid)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setShiftExtraJson:(NSDictionary *)shiftExtraJson {
    _shiftExtraJson = shiftExtraJson;
    if (shiftExtraJson && self.mapEarRankWindow != nil) {
        NSString *action = shiftExtraJson[SubBondFour.nodeFourteen.orderGivenPort];
        if ([action isEqualToString:SubBondFour.nodeFourteen.dogBigMobile]) {
            self.genericModeView.hidden = NO;
        }else if ([action isEqualToString:SubBondFour.nodeFourteen.reportedForm]) {
            self.genericModeView.hidden = YES;
        }else if ([action isEqualToString:SubBondFour.nodeFourteen.derivedElderDetectionCycleUtilities]) {
            self.genericModeView.hidden = NO;
        }
    }
}


+ (void)boyfriend {
    [self.shared downloadsOriginFolderSchedulerSuchDropImage:[UIImage positionOwnMeteringSourcesBookName:SubBondFour.nodeFourteen.barRetThumbnailDirectoryDeleting] ratioBus:SubBondFour.factorStrongestCreationManagerExclusive fourImage:nil];
}

+ (void)flushCarSolidImage:(UIImage *)image {
    [[self shared] downloadsOriginFolderSchedulerSuchDropImage:image fourImage:nil];
}

+ (void)graphicsCapImage:(UIImage *)normalImage fourImage:(nullable UIImage *)fourImage {
    TertiaryView *instance = [self shared];
    instance.angleTagSonImage = normalImage;
    instance.semanticsMidFetchStylisticWhile = nil;
    instance.canonicalImage = fourImage;
    instance.passwordsView.image = normalImage;
}

+ (void)errorFeat {
    [[self shared] startLightAuditWarnMind];
}

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


- (void)downloadsOriginFolderSchedulerSuchDropImage:(UIImage *)image fourImage:(nullable UIImage *)fourImage {
    [self downloadsOriginFolderSchedulerSuchDropImage:image ratioBus:nil fourImage:fourImage];
}

- (void)downloadsOriginFolderSchedulerSuchDropImage:(UIImage *)image ratioBus:(NSString *)ratioBus fourImage:(nullable UIImage *)fourImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.angleTagSonImage = image;
        self.semanticsMidFetchStylisticWhile = ratioBus;
        self.canonicalImage = fourImage;
        
        if (!self.mapEarRankWindow) {
            [self actionsTrialPostDiamondInfiniteWindow];
            [self wideAreaSubHighSnow];
            [self ownWetRequestRecordingBriefCoptic];
            [self askAsteriskBloodCivilAudioReplies]; 
        }
        
        [self.mapEarRankWindow makeKeyAndVisible];
        [self.leaveCatFormWindow makeKeyWindow];
        
        [self clockwiseHeadHostingSingleOperateHeadAnimation:YES];
        [self drizzleHardLikeMasterBannerTimer];
    });
}

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


- (void)actionsTrialPostDiamondInfiniteWindow {
    
    self.leaveCatFormWindow = [self foggyUsesRetOutOneWindow];
    
    
    AskHourKeysKinWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[AskHourKeysKinWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[AskHourKeysKinWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[FormatNextBurnViewController alloc] init];
    window.hidden = NO;
    self.mapEarRankWindow = window;
    
    
    [self.mapEarRankWindow resignKeyWindow];
    [self.leaveCatFormWindow makeKeyWindow];
    
    
    [self addSubview:self.genericModeView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.semanticsMidFetchStylisticWhile) {
        [self.passwordsView sd_setImageWithURL:[NSURL URLWithString:self.semanticsMidFetchStylisticWhile] placeholderImage
                                              :[UIImage positionOwnMeteringSourcesBookName:SubBondFour.nodeFourteen.barRetThumbnailDirectoryDeleting]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.passwordsView.image = self.angleTagSonImage;
    }
    self.passwordsView.frame = self.bounds;
    
    [self.mapEarRankWindow addSubview:self];
    [self.mapEarRankWindow addSubview:self.centerMidView];
}


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

          (niacinAbsent.size.width - stack/2),
          niacinAbsent.size.height - stack/2,
          stack,
          stack
        );
        self.centerMidView.layer.masksToBounds = YES;
        self.centerMidView.layer.cornerRadius = stack/2;
        self.getNativeLabel.center = CGPointMake(stack/3, stack/4);
    }
}


- (void)minIcyTooCurve {
    if (self.shiftExtraJson) {
        !self.visitEyeHandler ?: self.visitEyeHandler(self.shiftExtraJson[SubBondFour.nodeFourteen.baseHintMan]);
        if ([self.shiftExtraJson[SubBondFour.nodeFourteen.orderGivenPort] isEqualToString:SubBondFour.nodeFourteen.derivedElderDetectionCycleUtilities]) {
            self.genericModeView.hidden = YES;
            _shiftExtraJson = nil;
        }
    }else {
        !self.visitEyeHandler ?: self.visitEyeHandler(nil);
    }
}

- (void)rowZipWaxHuman:(UIPanGestureRecognizer *)gesture {
    if (fixPriorityPortRetOverage) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            seedOptionRelationsDownloadChamberIcon = self.center;
            _passwordsView.alpha = 1;
            [self arbitraryDescribesWayRunMan];
            transientAcceptingHeadphoneUnwrapBigResolving = NO; 
            featAlongSeeInnerEncrypted = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.centerMidView.layer removeAllAnimations];
            
            
            self.centerMidView.alpha = 0.0;
            self.centerMidView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self figureReceivedStoodScrolledSwapLocalePrefixCenter:
                           CGPointMake(seedOptionRelationsDownloadChamberIcon.x + translation.x,
                                       seedOptionRelationsDownloadChamberIcon.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL DecayJobAir = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect makeFrame = self.centerMidView.frame;
            CGRect foodEnter = CGRectInset(makeFrame, -280, DecayJobAir?-100:-280); 
            BOOL saveGeorgian = CGRectContainsPoint(foodEnter, self.center);
            
            
            
            
            if (saveGeorgian != featAlongSeeInnerEncrypted) {
                featAlongSeeInnerEncrypted = saveGeorgian;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.centerMidView.alpha = saveGeorgian ? 1.0 : 0.0;
                    self.centerMidView.transform = saveGeorgian ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            saveGeorgian = CGRectContainsPoint(CGRectInset(makeFrame, 0, 0), self.center);
            if (saveGeorgian && !transientAcceptingHeadphoneUnwrapBigResolving) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                transientAcceptingHeadphoneUnwrapBigResolving = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.centerMidView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!saveGeorgian) {
                if (transientAcceptingHeadphoneUnwrapBigResolving) {
                    self.centerMidView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                transientAcceptingHeadphoneUnwrapBigResolving = NO;
            }
            
            
            foodEnter = CGRectInset(makeFrame, 0, 0);
            _opticalSpaComponentArbiterIteration = CGRectContainsPoint(foodEnter, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.centerMidView.alpha = 0.0;
                self.centerMidView.transform = CGAffineTransformIdentity;
            }];
            
            if (_opticalSpaComponentArbiterIteration) {
                [HerAlertView peakKilohertzRepeatsModerateCaretIntent:nil message:SubBondFour.injectionBlack.pubZoomHardDirectionClosestTraveled softItsBuddy:@[SubBondFour.injectionBlack.minderNonce, SubBondFour.injectionBlack.rearRet] completion:^(NSInteger topSubIndex) {
                    if (topSubIndex ==1) {
                        [self startLightAuditWarnMind];
                    }else {
                        [self clockwiseHeadHostingSingleOperateHeadAnimation:YES];
                        [self drizzleHardLikeMasterBannerTimer];
                    }
                }];
            } else {
                [self clockwiseHeadHostingSingleOperateHeadAnimation:YES];
                [self drizzleHardLikeMasterBannerTimer];
            }
            transientAcceptingHeadphoneUnwrapBigResolving = NO;
            featAlongSeeInnerEncrypted = NO;
            break;
        }

        default: break;
    }
}


- (void)clockwiseHeadHostingSingleOperateHeadAnimation:(BOOL)animate {
    if (!_shrinkHusbandSindhiLittleExtraSparse) return;
    
    
    if (fixPriorityPortRetOverage && animate) return;
    
    CGRect mathFrame = [self tintPulsePutLiftSymmetricFrame];
    CGPoint center = self.center;
    
    CGFloat trap = mathFrame.origin.x;
    CGFloat arts = mathFrame.origin.x + mathFrame.size.width;
    CGFloat lost = mathFrame.origin.y;
    CGFloat edge = mathFrame.origin.y + mathFrame.size.height;
    
    
    FillSevenMenEdge redHerEdge = BarsOfferIslamicAirYoungestStride;
    CGFloat funEnvelope = CGFLOAT_MAX;
    
    
    CGFloat online = center.x - trap;
    CGFloat deepMax = arts - center.x;
    CGFloat drive = center.y - lost;
    CGFloat fatalSun = edge - center.y;
    
    NSArray *midNotify = @[@(online), @(deepMax), @(drive), @(fatalSun)];
    NSArray *edges = @[@(WetBayerFitFitnessExporterTwist), @(ReadyWonExactDueImplicitExtern),
                       @(MeanSubmittedAllergyOriginalTrait), @(SumSelectorThreadAnimateRatioSimple)];
    
    for (NSInteger i = 0; i < midNotify.count; i++) {
        CGFloat distance = [midNotify[i] floatValue];
        if (distance < funEnvelope) {
            funEnvelope = distance;
            redHerEdge = [edges[i] integerValue];
        }
    }
    
    
    if (redHerEdge == self.indexZipViewEdge) {
        CGPoint askMealCenter = self.center;
        CGPoint maxNapCenter = [self truncatesBrowsePageEventUnderlineLayoutEdge:redHerEdge];
        CGFloat distance = hypot(askMealCenter.x - maxNapCenter.x, askMealCenter.y - maxNapCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.indexZipViewEdge = redHerEdge;
    
    
    CGPoint maxNapCenter = [self truncatesBrowsePageEventUnderlineLayoutEdge:redHerEdge];
    CGPoint floorCenter = [self uighurReplyOxygenDisallowStoreStartedProgressEdge:redHerEdge];
    
    
    fixPriorityPortRetOverage = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->fixPriorityPortRetOverage = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = maxNapCenter;
        self.genericModeView.center = floorCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)truncatesBrowsePageEventUnderlineLayoutEdge:(FillSevenMenEdge)edge {
    CGRect mathFrame = [self tintPulsePutLiftSymmetricFrame];
    CGPoint center = self.center;
    
    CGFloat trap = mathFrame.origin.x;
    CGFloat arts = mathFrame.origin.x + mathFrame.size.width;
    CGFloat lost = mathFrame.origin.y;
    CGFloat edge = mathFrame.origin.y + mathFrame.size.height;
    
    CGPoint maxNapCenter = center;
    
    switch (edge) {
        case WetBayerFitFitnessExporterTwist:
            maxNapCenter.x = trap + self.bounds.size.width/2 + _holdNineFiller;
            break;
        case ReadyWonExactDueImplicitExtern:
            maxNapCenter.x = arts - self.bounds.size.width/2 - _holdNineFiller;
            break;
        case MeanSubmittedAllergyOriginalTrait:
            maxNapCenter.y = lost + self.bounds.size.height/2 + _holdNineFiller;
            break;
        case SumSelectorThreadAnimateRatioSimple:
            maxNapCenter.y = edge - self.bounds.size.height/2 - _holdNineFiller;
            break;
        default:
            break;
    }
    
    
    return [self figureReceivedStoodScrolledSwapLocalePrefixCenter:maxNapCenter];
}


- (CGPoint)uighurReplyOxygenDisallowStoreStartedProgressEdge:(FillSevenMenEdge)edge {
    CGPoint floorCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case WetBayerFitFitnessExporterTwist:
            floorCenter.x = self.bounds.size.width;
            break;
        case ReadyWonExactDueImplicitExtern:
            
            break;
        case MeanSubmittedAllergyOriginalTrait:
            floorCenter.x = self.bounds.size.width;
            floorCenter.y = self.bounds.size.height;
            break;
        case SumSelectorThreadAnimateRatioSimple:
            floorCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return floorCenter;
}


- (void)drizzleHardLikeMasterBannerTimer {
    if (_cornerDenyFormatLaterWas <= 0) return;
    
    [self arbitraryDescribesWayRunMan];
    _shapeDaysSeedTimer = [NSTimer scheduledTimerWithTimeInterval:_cornerDenyFormatLaterWas
                                                     target:self
                                                   selector:@selector(fullCaffeineConflictInvisiblePitch)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)arbitraryDescribesWayRunMan {
    [_shapeDaysSeedTimer invalidate];
    _shapeDaysSeedTimer = nil;
}

- (void)fullCaffeineConflictInvisiblePitch {
    [UIView animateWithDuration:0.3 animations:^{
        self.passwordsView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.indexZipViewEdge) {
            case WetBayerFitFitnessExporterTwist:
                frame.origin.x -= self.holdNineFiller;
                break;
            case ReadyWonExactDueImplicitExtern:
                frame.origin.x += self.holdNineFiller;
                break;
            case MeanSubmittedAllergyOriginalTrait:
                frame.origin.y -= self.holdNineFiller;
                break;
            case SumSelectorThreadAnimateRatioSimple:
                frame.origin.y += self.holdNineFiller;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)pieceOutFontOldInternalMid {
    [self wideAreaSubHighSnow];
    [self askAsteriskBloodCivilAudioReplies]; 
    [self clockwiseHeadHostingSingleOperateHeadAnimation:YES];
}


- (void)wideAreaSubHighSnow {
    UIWindow *keyWindow = KeysVoiceManager.shared.kilobitsClipWindow; //self.leaveCatFormWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice mayStill]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice undone]) {
        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.menuMidTransferRoleExporter = safeArea;
    self.accuracyFunAmperePrinterVolatileDynamic = keyWindow.bounds;
}

- (CGRect)tintPulsePutLiftSymmetricFrame {
    
    return CGRectMake(
        self.accuracyFunAmperePrinterVolatileDynamic.origin.x + self.menuMidTransferRoleExporter.left,
        self.accuracyFunAmperePrinterVolatileDynamic.origin.y + self.menuMidTransferRoleExporter.top,
        self.accuracyFunAmperePrinterVolatileDynamic.size.width - (self.menuMidTransferRoleExporter.left + self.menuMidTransferRoleExporter.right),
        self.accuracyFunAmperePrinterVolatileDynamic.size.height - (self.menuMidTransferRoleExporter.top + self.menuMidTransferRoleExporter.bottom)
    );
}


- (void)ownWetRequestRecordingBriefCoptic {
    NSString *pipeOutSpeed = [[NSUserDefaults standardUserDefaults] valueForKey:SubBondFour.nodeFourteen.expiresManagerForMostCardQuechua];
    if (pipeOutSpeed) {
        self.center = CGPointFromString(pipeOutSpeed);
    }else {
        
        CGRect mathFrame = [self tintPulsePutLiftSymmetricFrame];
        self.center = CGPointMake(mathFrame.origin.x + mathFrame.size.width - self.bounds.size.width/2 - _holdNineFiller,
                                  mathFrame.origin.y + mathFrame.size.height/2);
    }
}


- (UIWindow *)foggyUsesRetOutOneWindow {
    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)figureReceivedStoodScrolledSwapLocalePrefixCenter:(CGPoint)proposedCenter {
    CGRect mathFrame = [self tintPulsePutLiftSymmetricFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat trap = mathFrame.origin.x + buttonSize.width/2;
    CGFloat arts = mathFrame.origin.x + mathFrame.size.width - buttonSize.width/2;
    CGFloat lost = mathFrame.origin.y + buttonSize.height/2;
    CGFloat edge = mathFrame.origin.y + mathFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(trap, MIN(proposedCenter.x, arts)),
        MAX(lost, MIN(proposedCenter.y, edge))
    );
}

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

@end
