






#import "StrideKinViewController.h"
#import "CleanCatCupLabel.h"
#import "PaperSlidePathViewController.h"

@interface StrideKinViewController ()

@property (nonatomic, strong) UITextField *hexTranslateTextField;
@property (nonatomic, strong) UITextField *stableIterateTextField;
@property (nonatomic,strong) CleanCatCupLabel *accountFrontLabel;
@end



@implementation StrideKinViewController

- (CleanCatCupLabel *)accountFrontLabel {
    if (!_accountFrontLabel) {
        _accountFrontLabel = [CleanCatCupLabel discoverWriteLabel:NO];
    }
    return _accountFrontLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.hexTranslateTextField = [HisGeometry subtitlesBeforeNoteSubIcyAccount];
    [self.view addSubview:self.hexTranslateTextField];
    [self.hexTranslateTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(HisGeometry.sinkIcyLeaky.wordTagMiter);
        make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.precisionUse);
        make.right.mas_equalTo(-HisGeometry.sinkIcyLeaky.precisionUse);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.artsPaperFat);
    }];
    
    
    self.stableIterateTextField = [HisGeometry centeringSpectralVeryBeenForPassword:NO];
    [self.view addSubview:self.stableIterateTextField];
    [self.stableIterateTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hexTranslateTextField.mas_bottom).offset(HisGeometry.sinkIcyLeaky.youCostSolid);
        make.left.right.equalTo(self.hexTranslateTextField);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.artsPaperFat);
    }];
    UIButton *rightButton = self.stableIterateTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(lacrosseCorruptTraitAscentTabularExactHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *chatBlueLegalButton = [HisGeometry momentaryQueryingTryExclusiveSamplingColor:HisGeometry.illLoudEarFlow.liftDisparity];
    [chatBlueLegalButton addTarget:self action:@selector(specialSeekCellChunkyRecordingSaveAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:chatBlueLegalButton];
    [chatBlueLegalButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stableIterateTextField.mas_bottom).offset(HisGeometry.sinkIcyLeaky.youCostSolid);
        make.left.right.equalTo(self.stableIterateTextField);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.adjustsStamp);
    }];
    
    [self.view addSubview:self.accountFrontLabel];
    waxReal(self);
    [self.accountFrontLabel setIconEditorialUnwrapHyphensDrumWidget:^{
        caseStrip(self);
        [self enhancedWrappersBeforeFlowResizeStopAction];
    }];
    [self.accountFrontLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-HisGeometry.sinkIcyLeaky.tipJumpPhone);
        make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.gopherSexEnd);
        make.right.mas_equalTo(-HisGeometry.sinkIcyLeaky.gopherSexEnd);
    }];
}

- (void)lacrosseCorruptTraitAscentTabularExactHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.stableIterateTextField.secureTextEntry = !self.stableIterateTextField.isSecureTextEntry;
}

- (void)specialSeekCellChunkyRecordingSaveAction:(UIButton *)sender {
    if (self.hexTranslateTextField.text.length < HisGeometry.sinkIcyLeaky.passMixFill) {
        [CatAlertView encodedSilenceUptimeWasScanningGray:HisGeometry.illLoudEarFlow.stableAdd message:HisGeometry.illLoudEarFlow.advanceClinicalAltimeterLikeArtsChamber completion:nil];
        return;
    }
    if (self.stableIterateTextField.text.length < HisGeometry.sinkIcyLeaky.passMixFill) {
        [CatAlertView encodedSilenceUptimeWasScanningGray:HisGeometry.illLoudEarFlow.stableAdd message:HisGeometry.illLoudEarFlow.oddMalformedUnpluggedAdvisedAreChunk completion:nil];
        return;
    }
    if ([self.prefixDestroy respondsToSelector:@selector(whoLoopReadyResultsInjectionEraserEndName:useKey:completion:)]) {
        [OldestSnowView warpRawButIcyWindow];
        [self.prefixDestroy whoLoopReadyResultsInjectionEraserEndName:self.hexTranslateTextField.text useKey:self.stableIterateTextField.text completion:^(id object) {
            [OldestSnowView grantingOrangeStepperFitnessLatvianWindow];
        }];
    }
}


- (void)enhancedWrappersBeforeFlowResizeStopAction {
    PaperSlidePathViewController *parallelWrap = [PaperSlidePathViewController new];
    parallelWrap.crossActive = @(YES);
    parallelWrap.prefixDestroy = self.prefixDestroy;
    [parallelWrap setTemplateAssetInterlacePreservedStar:^(BOOL result) {
        self.accountFrontLabel.carBarSplitHow = result;
    }];
    [self.navigationController pushViewController:parallelWrap animated:NO];
}

@end
