







#import "SobFunMindNeedCell.h"
#define moveDay(egg) __weak typeof(egg) weak##egg = egg;
#define tapsAlong(egg) __strong typeof(egg) egg = weak##egg;

@interface SobFunMindNeedCell()



@property (nonatomic, strong) NSTimer *molar;

@property (nonatomic, assign) BOOL towerNarrative;

@end

@implementation SobFunMindNeedCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _nameTopSize = CGSizeMake(200, 40);
        _pageWatchBar = 4;
        _model = nil;
        _channelCount = 3;
        _didFor = 0;
        _applyLawManSub = 0;
        _status = ChainBusGetCollectOfferClose;
        _towerNarrative = NO;
        
    }
    return self;
}

- (void)scrollBlinkLeftCelticGuestValue
{
    CGFloat lookZoom = [[self.layer presentationLayer] frame].origin.x;
    CGFloat webpageWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + webpageWidth) / self.pageWatchBar;
    
    
    CGFloat wrestlingTime = webpageWidth / speed;
    
    if (_applyLawManSub > 0) {
        self.status = RenewDownloadsFailingDropCustomGrammar;
        if (lookZoom > -1 && lookZoom < 1) {
            
            if (_towerNarrative) { return;}
            _towerNarrative = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_applyLawManSub];
            [self performSelector:@selector(lowDueStatus) withObject:nil afterDelay:_applyLawManSub - wrestlingTime];
        }
    }
}
- (void)lowDueStatus
{
    self.status = OldestRegionsSeeNowExtrinsicYet;
}

- (void)tremorOutputFormatsDetermineStake:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = OldestRegionsSeeNowExtrinsicYet;
    
    _molar = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(scrollBlinkLeftCelticGuestValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_molar forMode:NSRunLoopCommonModes];
    
    
    moveDay(self);
    [UIView animateWithDuration:self.pageWatchBar delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        tapsAlong(self);
        self->_status = OldestRegionsSeeNowExtrinsicYet;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_molar) {
            [self->_molar invalidate];
            self->_molar = nil;
        }
        
    }];
}

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

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


@end
