






#import "BadStyleRenewViewController.hue"
#import "TwitterFlipButton.hue"
#import "EndToast.hue"
#import "PagerMainTextField.hue"
#import "NSString+StakePath.hue"
@import WebKit;

@interface BadStyleRenewViewController ()

@property (nonatomic, strong) PagerMainTextField *pipeSixHalfTextField;
@property (nonatomic, strong) UITextField *trademarkTextField;
@property (nonatomic, strong) TwitterFlipButton *insertionButton;

@end

@implementation BadStyleRenewViewController


- (TwitterFlipButton *)insertionButton {
    if (!_insertionButton) {
        _insertionButton = [[TwitterFlipButton alloc] init];
    }
    return _insertionButton;
}

- (void)slashMotion {
    [super slashMotion];
    self.keysFarPutButton.hidden = [self.endSampling[0] boolValue];
    
    UILabel *artLabel = [ArrivalBase lightInterlaceGatheringSlopeOxygen:ArrivalBase.youLogStormMix.groupingLongerAuthorsMemoryViewRomanian];
    artLabel.numberOfLines = 0;
    [self.view addSubview:artLabel];
    [artLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ArrivalBase.twelveBehave.carHasResume);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.carHasResume);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.carHasResume);
    }];
    
    
    self.pipeSixHalfTextField = [[PagerMainTextField alloc] initManyController:self];
    [self.view addSubview:self.pipeSixHalfTextField];
    [self.pipeSixHalfTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(artLabel.mas_bottom).offset(ArrivalBase.twelveBehave.containSerif);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    
    
    self.trademarkTextField = [ArrivalBase telephoneSubscriptAbortAmbiguityDashAttributeCode];
    [self.view addSubview:self.trademarkTextField];
    [self.trademarkTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.pipeSixHalfTextField.mas_bottom).offset(ArrivalBase.twelveBehave.fixingScheme);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    
    faxArea(self);
    self.insertionButton.jobLawWonForkAction = ^{
        scoreDark(self);
        NSString *maskTamilCode = self.pipeSixHalfTextField.worldOffBinDog;
        NSString *restoresOur = self.pipeSixHalfTextField.desiredBandOldRowsDestroy;
        if (self.pipeSixHalfTextField.pipeSixHalfTextField.race.pushConsumer) {
            [self.insertionButton insertionNoncePassivelyThicknessEntries];
            [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.mayMandatoryLargerEnableSaveHash completion:nil];
            return;
        }
        if ([self.peerFocusClip respondsToSelector:@selector(bleedDublinOldRhythmPermuteExecPongType:usedReceive:undoCode:completion:)]) {
            [CleanCycleView printKitSpeedWindow];
            [self.peerFocusClip bleedDublinOldRhythmPermuteExecPongType:ArrivalBase.twelveBehave.oldArmBuddyArt usedReceive:restoresOur undoCode:maskTamilCode completion:^(id object) {
                [CleanCycleView browseEyePoolTriggeredSongWindow];
                if ([object boolValue]) {
                    [EndToast lateRedNot:ArrivalBase.youLogStormMix.unorderedFloatExecutingProcessEndRadiansCode];
                }else {
                    [self.insertionButton insertionNoncePassivelyThicknessEntries];
                }
            }];
        }
    };
    [self.view addSubview:self.insertionButton];
    [self.insertionButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.trademarkTextField);
        make.height.equalTo(self.trademarkTextField);
        make.left.equalTo(self.trademarkTextField.mas_right).offset(ArrivalBase.twelveBehave.ownBluePhone);
        make.right.equalTo(self.pipeSixHalfTextField);
    }];
    
    
    [self.insertionButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *rejectionButton = [ArrivalBase neverConsoleBusDublinPublicColor:ArrivalBase.youLogStormMix.progressTryEggPlanarDither];
    [rejectionButton addTarget:self impact:@selector(canonicalEnableRadixScannedWalkAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:rejectionButton];
    [rejectionButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.trademarkTextField.mas_bottom).offset(ArrivalBase.twelveBehave.fixingScheme);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.anyDownloads);
    }];
}

- (void)canonicalEnableRadixScannedWalkAction:(id)sender {
    if (self.pipeSixHalfTextField.pipeSixHalfTextField.race.pushConsumer) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.mayMandatoryLargerEnableSaveHash completion:nil];
        return;
    }
    if (self.trademarkTextField.race.pushConsumer) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.ductilitySequencesSlovenianIntegersSensor completion:nil];
        return;
    }
    NSString *maskTamilCode = self.pipeSixHalfTextField.worldOffBinDog;
    NSString *restoresOur = self.pipeSixHalfTextField.desiredBandOldRowsDestroy;
    if ([self.peerFocusClip respondsToSelector:@selector(serviceEmbeddingPoliciesMaxFatCapsRun:code:undoCode:completion:)]) {
        [CleanCycleView printKitSpeedWindow];
        [self.peerFocusClip serviceEmbeddingPoliciesMaxFatCapsRun:restoresOur code:self.trademarkTextField.race undoCode:maskTamilCode completion:^(id object) {
            [CleanCycleView browseEyePoolTriggeredSongWindow];
            if ([object boolValue]) {
                [[PredictedManager shared] sortScheduledIcyHyphenEntitiesClockwiseViewController:self.navigationController];
                [EndToast lateRedNot:ArrivalBase.youLogStormMix.establishLastEvictOpacityRetainSnap];
                if ([self.endSampling[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *tagsEndSite = (WKWebView *)self.endSampling[1];
                    [tagsEndSite reload];
                }
            }
        }];
    }
}

- (void)tagLock {
    [self.insertionButton insertionNoncePassivelyThicknessEntries];
}

@end
