






#import "GetRenderViewController.h"
#import "PoolYetLateButton.h"
#import "FitToast.h"
#import "BitHelperTextField.h"
#import "NSString+ReturnHow.h"

@interface GetRenderViewController ()

@property (nonatomic, strong) BitHelperTextField *fullDeclineTextField;
@property (nonatomic, strong) UITextField *rulePlaceTextField;
@property (nonatomic, strong) UITextField *stableIterateTextField;
@property (nonatomic, strong) PoolYetLateButton *flightSixButton;
@end

@implementation GetRenderViewController

- (PoolYetLateButton *)flightSixButton {
    if (!_flightSixButton) {
        _flightSixButton = [[PoolYetLateButton alloc] init];
    }
    return _flightSixButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.fullDeclineTextField = [[BitHelperTextField alloc] initWithController:self];
    [self.view addSubview:self.fullDeclineTextField];
    [self.fullDeclineTextField 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.rulePlaceTextField = [HisGeometry nordicExpiresEnteredHumanStrokedDebuggingCode];
    [self.view addSubview:self.rulePlaceTextField];
    [self.rulePlaceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.fullDeclineTextField.mas_bottom).offset(HisGeometry.sinkIcyLeaky.cityAdvised);
        make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.precisionUse);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.artsPaperFat);
    }];
    
    waxReal(self);
    self.flightSixButton.bedPauseEjectAction = ^{
        caseStrip(self);
        
        NSString *monthBikeCode = self.fullDeclineTextField.notationWidget;
        NSString *basicSonIts = self.fullDeclineTextField.lawAssignSerialCosmicFix;
        if (self.fullDeclineTextField.fullDeclineTextField.text.pubFlushNear) {
            [self.flightSixButton autoOvulationYouThatPaper];
            [CatAlertView encodedSilenceUptimeWasScanningGray:HisGeometry.illLoudEarFlow.stableAdd message:HisGeometry.illLoudEarFlow.screenDownRemainingWonOldAnd completion:nil];
            return;
        }
        if ([self.prefixDestroy respondsToSelector:@selector(milesSayEraserCanadianClosureRhythmFillType:waistFigure:yearCode:completion:)]) {
            [OldestSnowView warpRawButIcyWindow];
            [self.prefixDestroy milesSayEraserCanadianClosureRhythmFillType:HisGeometry.sinkIcyLeaky.queryingResetPulseUsabilityVersion waistFigure:basicSonIts yearCode:monthBikeCode completion:^(id object) {
                [OldestSnowView grantingOrangeStepperFitnessLatvianWindow];
                if ([object boolValue]) {
                    [FitToast menDecibel:HisGeometry.illLoudEarFlow.musicalGigahertzScalingTerminalRevertingOuncesCode];
                }else {
                    [self.flightSixButton autoOvulationYouThatPaper];
                }
            }];
        }
    };
    [self.view addSubview:self.flightSixButton];
    [self.flightSixButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.rulePlaceTextField);
        make.height.equalTo(self.rulePlaceTextField);
        make.left.equalTo(self.rulePlaceTextField.mas_right).offset(HisGeometry.sinkIcyLeaky.askDemandWas);
        make.right.equalTo(self.fullDeclineTextField);
    }];
    
    
    [self.flightSixButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.stableIterateTextField = [HisGeometry centeringSpectralVeryBeenForPassword:YES];
    [self.view addSubview:self.stableIterateTextField];
    [self.stableIterateTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.rulePlaceTextField.mas_bottom).offset(HisGeometry.sinkIcyLeaky.cityAdvised);
        make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.precisionUse);
        make.right.mas_equalTo(-HisGeometry.sinkIcyLeaky.precisionUse);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.artsPaperFat);
    }];
    UIButton *issueYetButton = self.stableIterateTextField.rightView.subviews.firstObject;
    [issueYetButton addTarget:self action:@selector(lacrosseCorruptTraitAscentTabularExactHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *internetFaxButton = [HisGeometry momentaryQueryingTryExclusiveSamplingColor:HisGeometry.illLoudEarFlow.unlearnFaceKey];
    [internetFaxButton addTarget:self action:@selector(cycleEligibleViolationTwentyTreeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:internetFaxButton];
    [internetFaxButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stableIterateTextField.mas_bottom).offset(HisGeometry.sinkIcyLeaky.cityAdvised);
        make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.precisionUse);
        make.right.mas_equalTo(-HisGeometry.sinkIcyLeaky.precisionUse);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.adjustsStamp);
    }];
}
- (void)lacrosseCorruptTraitAscentTabularExactHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.stableIterateTextField.secureTextEntry = !self.stableIterateTextField.isSecureTextEntry;
}

- (void)cycleEligibleViolationTwentyTreeAction:(id)sender {
    if (self.fullDeclineTextField.fullDeclineTextField.text.pubFlushNear) {
        [CatAlertView encodedSilenceUptimeWasScanningGray:HisGeometry.illLoudEarFlow.stableAdd message:HisGeometry.illLoudEarFlow.screenDownRemainingWonOldAnd completion:nil];
        return;
    }
    if (self.rulePlaceTextField.text.pubFlushNear) {
        [CatAlertView encodedSilenceUptimeWasScanningGray:HisGeometry.illLoudEarFlow.stableAdd message:HisGeometry.illLoudEarFlow.pointerDueUpdatesFeedbackPicture completion:nil];
        return;
    }
    if (self.stableIterateTextField.text.length < HisGeometry.sinkIcyLeaky.passMixFill) {
        [CatAlertView encodedSilenceUptimeWasScanningGray:HisGeometry.illLoudEarFlow.stableAdd message:HisGeometry.illLoudEarFlow.oddMalformedUnpluggedAdvisedAreChunk completion:nil];
        return;
    }
    NSString *monthBikeCode = self.fullDeclineTextField.notationWidget;
    NSString *basicSonIts = self.fullDeclineTextField.lawAssignSerialCosmicFix;
    if ([self.prefixDestroy respondsToSelector:@selector(chapterSessionsBracketIncorrectDefaultsOptHash:code:yearCode:airKey:completion:)]) {
        [OldestSnowView warpRawButIcyWindow];
        [self.prefixDestroy chapterSessionsBracketIncorrectDefaultsOptHash:basicSonIts code:self.rulePlaceTextField.text yearCode:monthBikeCode airKey:self.stableIterateTextField.text completion:^(id object) {
            [OldestSnowView grantingOrangeStepperFitnessLatvianWindow];
            [FitToast menDecibel:HisGeometry.illLoudEarFlow.sinkTeacherWetDescribesEstonian];
            if (object) {
                [self.hasCanMoireDelegate pubInsertionHardCollapsesMagnitudeWithName:object armPlanWrapPassword:self.stableIterateTextField.text];
                [self factoredQuotationInsetChangingCarAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.flightSixButton autoOvulationYouThatPaper];
}
@end
