







#import "BinNearCaseOptCell.h"
#define justWay(fun) __weak typeof(fun) weak##fun = fun;
#define uploadCan(fun) __strong typeof(fun) fun = weak##fun;

@interface BinNearCaseOptCell()



@property (nonatomic, strong) NSTimer *bevel;

@property (nonatomic, assign) BOOL fatScopeHitEra;

@end

@implementation BinNearCaseOptCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _outBestSize = CGSizeMake(200, 40);
        _funWhiteSlow = 4;
        _model = nil;
        _channelCount = 3;
        _somali = 0;
        _poloCookieChar = 0;
        _status = OptionHourlyMouthBoundaryNegotiateLowercase;
        _fatScopeHitEra = NO;
        
    }
    return self;
}

- (void)maskFirstMolarSideBarValue
{
    CGFloat backSize = [[self.layer presentationLayer] frame].origin.x;
    CGFloat earAreaWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + earAreaWidth) / self.funWhiteSlow;
    
    
    CGFloat dialogSunTime = earAreaWidth / speed;
    
    if (_poloCookieChar > 0) {
        self.status = FactoriesAnchorLaunchingBezelAmharicSound;
        if (backSize > -1 && backSize < 1) {
            
            if (_fatScopeHitEra) { return;}
            _fatScopeHitEra = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_poloCookieChar];
            [self performSelector:@selector(binKitStatus) withObject:nil afterDelay:_poloCookieChar - dialogSunTime];
        }
    }
}
- (void)binKitStatus
{
    self.status = LiveReusableAdditionViolationExposuresAdjective;
}

- (void)tapEraSheSixExact:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = LiveReusableAdditionViolationExposuresAdjective;
    
    _bevel = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(maskFirstMolarSideBarValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_bevel forMode:NSRunLoopCommonModes];
    
    
    justWay(self);
    [UIView animateWithDuration:self.funWhiteSlow delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        uploadCan(self);
        self->_status = LiveReusableAdditionViolationExposuresAdjective;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_bevel) {
            [self->_bevel invalidate];
            self->_bevel = nil;
        }
        
    }];
}

- (void)pause
{
    
    CFTimeInterval hindiTime = [self.layer convertTime:CACurrentMediaTime() fromLayer:nil];
    
    
    self.layer.timeOffset = hindiTime;
    
    
    self.layer.speed = 0;
}

- (void)resume
{
    
    CFTimeInterval hindiTime = self.layer.timeOffset;
    
    CFTimeInterval bitHasHisFoggy = CACurrentMediaTime() - hindiTime;
    
    self.layer.timeOffset = 0;
    
    self.layer.beginTime = bitHasHisFoggy;
    
    self.layer.speed = 1;
}


@end
