







#import "PongLinearPlugCell.h"
#define failing(obj) __weak typeof(obj) weak##obj = obj;
#define stereoAge(obj) __strong typeof(obj) obj = weak##obj;

@interface PongLinearPlugCell()



@property (nonatomic, strong) NSTimer *welsh;

@property (nonatomic, assign) BOOL outdoorMusical;

@end

@implementation PongLinearPlugCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _persianSize = CGSizeMake(200, 40);
        _quickZeroArt = 4;
        _model = nil;
        _channelCount = 3;
        _lowBit = 0;
        _textHexOffWord = 0;
        _status = VerifyWeightResourcesHairHeadlineWidth;
        _outdoorMusical = NO;
        
    }
    return self;
}

- (void)hostLegacyCapGivenUpdateValue
{
    CGFloat clockLog = [[self.layer presentationLayer] frame].origin.x;
    CGFloat doneMixWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + doneMixWidth) / self.quickZeroArt;
    
    
    CGFloat recoveredTime = doneMixWidth / speed;
    
    if (_textHexOffWord > 0) {
        self.status = InvalidGainPrefixPhotoDogTorque;
        if (-1< clockLog < 1) {
            
            if (_outdoorMusical) { return;}
            _outdoorMusical = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_textHexOffWord];
            [self performSelector:@selector(assignStatus) withObject:nil afterDelay:_textHexOffWord - recoveredTime];
        }
    }
}
- (void)assignStatus
{
    self.status = PrimariesMillionSexualRectangleLinkageEncrypted;
}

- (void)numberDisplayRecentHundredProlog:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = PrimariesMillionSexualRectangleLinkageEncrypted;
    
    _welsh = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(hostLegacyCapGivenUpdateValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_welsh forMode:NSRunLoopCommonModes];
    
    
    failing(self);
    [UIView animateWithDuration:self.quickZeroArt delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        stereoAge(self);
        self->_status = PrimariesMillionSexualRectangleLinkageEncrypted;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_welsh) {
            [self->_welsh invalidate];
            self->_welsh = nil;
        }
        
    }];
}

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

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


@end
