






#import "EncodedSpanButton.h"
#import "LawExported.h"
#import "UIImage+NotImage.h"

@interface EncodedSpanButton ()


@property (nonatomic, strong) NSTimer *eulerEarWonPinTimer;

@property (nonatomic, assign) NSInteger clockArtToolPreservesAccessoryCondition;

@property (nonatomic, copy) NSString *maxFlightFlagSignalPlanar;

@end

@implementation EncodedSpanButton

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

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


- (void)healthGracefulYellowNoiseMobile {
    
    self.refinedGoalUnsafeFunTagVision = 60;
    self.maxFlightFlagSignalPlanar = LawExported.valueOutArtMen.nowNewsstandDiscountLandscapePubLiftCode;
    [self setTitle:self.maxFlightFlagSignalPlanar forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage lowSignArmUsedColor:LawExported.specifierColor] forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage lowSignArmUsedColor:[[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(withImpliedClicked) forControlEvents:UIControlEventTouchUpInside];
}


- (void)withImpliedClicked {
    [self uppercasePartialPublicSyntheticBrowse];
    if (self.taskSnapMouseAction) {
        self.taskSnapMouseAction();
    }
}


- (void)uppercasePartialPublicSyntheticBrowse {
    self.enabled = NO;
    self.clockArtToolPreservesAccessoryCondition = self.refinedGoalUnsafeFunTagVision;
    [self areaTipHisThroughGuideCricket];
    
    
    self.eulerEarWonPinTimer = [NSTimer scheduledTimerWithTimeInterval:1.0
                                                                 target:self
                                                               selector:@selector(stairPanMetadataMarathiPath:)
                                                               userInfo:nil
                                                                repeats:YES];
}


- (void)stairPanMetadataMarathiPath:(NSTimer *)birth {
    self.clockArtToolPreservesAccessoryCondition--;
    if (self.clockArtToolPreservesAccessoryCondition <= 0) {
        [self linearPrefixedBypassEffectAbsolute];
    } else {
        [self areaTipHisThroughGuideCricket];
    }
}


- (void)areaTipHisThroughGuideCricket {
    NSString *title = [NSString stringWithFormat:@"%@(%ld)",LawExported.valueOutArtMen.tabMatchStylisticForceBroadcastHundredCode, (long)self.clockArtToolPreservesAccessoryCondition];
    [self setTitle:title forState:UIControlStateDisabled];
}


- (void)linearPrefixedBypassEffectAbsolute {
    [self.eulerEarWonPinTimer invalidate];
    self.eulerEarWonPinTimer = nil;
    self.enabled = YES;
    [self setTitle:self.maxFlightFlagSignalPlanar forState:UIControlStateNormal];
}

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

@end
