







#import "SlowHueMuteArtCell.h"
#define glucose(spa) __weak typeof(spa) weak##spa = spa;
#define mixTriple(spa) __strong typeof(spa) spa = weak##spa;

@interface SlowHueMuteArtCell()



@property (nonatomic, strong) NSTimer *foggy;

@property (nonatomic, assign) BOOL endsJoinEngine;

@end

@implementation SlowHueMuteArtCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _artMoveSize = CGSizeMake(200, 40);
        _sawThousands = 4;
        _model = nil;
        _channelCount = 3;
        _herBag = 0;
        _promptClipPush = 0;
        _status = AssistantCollapsesHallDrivenCoastPlayable;
        _endsJoinEngine = NO;
        
    }
    return self;
}

- (void)windowsDetachingExtrasAffineDitherValue
{
    CGFloat describe = [[self.layer presentationLayer] frame].origin.x;
    CGFloat overBagWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + overBagWidth) / self.sawThousands;
    
    
    CGFloat succeededTime = overBagWidth / speed;
    
    if (_promptClipPush > 0) {
        self.status = SockZoomingDroppedSinRelayMath;
        if (-1< describe < 1) {
            
            if (_endsJoinEngine) { return;}
            _endsJoinEngine = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_promptClipPush];
            [self performSelector:@selector(forBoxStatus) withObject:nil afterDelay:_promptClipPush - succeededTime];
        }
    }
}
- (void)forBoxStatus
{
    self.status = EighteenCookiesPopHourlyPrototypeCredits;
}

- (void)stiffnessRecentFullDisallowQuery:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = EighteenCookiesPopHourlyPrototypeCredits;
    
    _foggy = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(windowsDetachingExtrasAffineDitherValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_foggy forMode:NSRunLoopCommonModes];
    
    
    glucose(self);
    [UIView animateWithDuration:self.sawThousands delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        mixTriple(self);
        self->_status = EighteenCookiesPopHourlyPrototypeCredits;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_foggy) {
            [self->_foggy invalidate];
            self->_foggy = nil;
        }
        
    }];
}

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

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


@end
