






#import "EyeButTrustButton.h"
#import "BigAddition.h"
#import "UIImage+MidImage.h"

@interface EyeButTrustButton ()


@property (nonatomic, strong) NSTimer *brandWrongSeedTimer;

@property (nonatomic, assign) NSInteger carSmoothGloballyNotifyLengthMajor;

@property (nonatomic, copy) NSString *subShotSinAlcoholWire;

@end

@implementation EyeButTrustButton

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self dispatchAudioEarlyCreationLettish];
    }
    return self;
}

- (instancetype)initWithCoder:(NSCoder *)coder {
    self = [super initWithCoder:coder];
    if (self) {
        [self dispatchAudioEarlyCreationLettish];
    }
    return self;
}


- (void)dispatchAudioEarlyCreationLettish {
    
    self.watchedQueryingManagerUighurDrivenAir = 60;
    self.subShotSinAlcoholWire = BigAddition.lateTapLineAll.kernelsAudiencesWateryGracefulBestNetCode;
    [self setTitle:self.subShotSinAlcoholWire forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage everyLearnFootColor:BigAddition.portHumanColor] forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage everyLearnFootColor:[[UIColor lightGrayColor] colorWithAlphaComponent:0.5f]] forState:UIControlStateHighlighted];
    self.titleLabel.font = [UIFont systemFontOfSize:16];
    self.layer.cornerRadius = 2.f;
    self.layer.masksToBounds = YES;
    
    self.contentEdgeInsets = UIEdgeInsetsMake(0, 5, 0, 5);
    
    [self sizeToFit];
    
    
    [self addTarget:self action:@selector(menBeganMayClicked) forControlEvents:UIControlEventTouchUpInside];
}


- (void)menBeganMayClicked {
    [self rowMobileWelshAltitudeFeed];
    if (self.mousePaceBarsAction) {
        self.mousePaceBarsAction();
    }
}


- (void)rowMobileWelshAltitudeFeed {
    self.enabled = NO;
    self.carSmoothGloballyNotifyLengthMajor = self.watchedQueryingManagerUighurDrivenAir;
    [self matrixOceanEnergyPeakDetectedOutside];
    
    
    self.brandWrongSeedTimer = [NSTimer scheduledTimerWithTimeInterval:1.0
                                                                 target:self
                                                               selector:@selector(drivenLandmarkSignalingUpdatesReview:)
                                                               userInfo:nil
                                                                repeats:YES];
}


- (void)drivenLandmarkSignalingUpdatesReview:(NSTimer *)relay {
    self.carSmoothGloballyNotifyLengthMajor--;
    if (self.carSmoothGloballyNotifyLengthMajor <= 0) {
        [self regularOriginOffRenewingModal];
    } else {
        [self matrixOceanEnergyPeakDetectedOutside];
    }
}


- (void)matrixOceanEnergyPeakDetectedOutside {
    NSString *title = [NSString stringWithFormat:@"%@(%ld)",BigAddition.lateTapLineAll.sequencesCompactDueAmbienceFigureUnifyCode, (long)self.carSmoothGloballyNotifyLengthMajor];
    [self setTitle:title forState:UIControlStateDisabled];
}


- (void)regularOriginOffRenewingModal {
    [self.brandWrongSeedTimer invalidate];
    self.brandWrongSeedTimer = nil;
    self.enabled = YES;
    [self setTitle:self.subShotSinAlcoholWire forState:UIControlStateNormal];
}

- (void)dealloc {
    
    [self.brandWrongSeedTimer invalidate];
    self.brandWrongSeedTimer = nil;
}

@end
