






#import "PutGenderViewController.h"
#import "PoolYetLateButton.h"
#import "PaperSlidePathViewController.h"
#import "FitToast.h"
#import "CleanCatCupLabel.h"
#import "BitHelperTextField.h"
#import "NSString+ReturnHow.h"

@interface PutGenderViewController ()

@property (nonatomic, strong) BitHelperTextField *fullDeclineTextField;
@property (nonatomic, strong) UITextField *rulePlaceTextField;
@property (nonatomic, strong) PoolYetLateButton *flightSixButton;
@property (nonatomic,strong) CleanCatCupLabel *accountFrontLabel;

@end

@implementation PutGenderViewController

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

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

- (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.youCostSolid);
        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.rankSelectionDecigramsExpansionHandover 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];
    
    
    UIButton *chatBlueLegalButton = [HisGeometry momentaryQueryingTryExclusiveSamplingColor:HisGeometry.illLoudEarFlow.groupingReturnsPrepPowerBrotherRenew];
    [chatBlueLegalButton addTarget:self action:@selector(driveMealExerciseLeftEstimateAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:chatBlueLegalButton];
    [chatBlueLegalButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.rulePlaceTextField.mas_bottom).offset(HisGeometry.sinkIcyLeaky.youCostSolid);
        make.left.mas_equalTo(HisGeometry.sinkIcyLeaky.precisionUse);
        make.right.mas_equalTo(-HisGeometry.sinkIcyLeaky.precisionUse);
        make.height.mas_equalTo(HisGeometry.sinkIcyLeaky.adjustsStamp);
    }];
    
    [self.view addSubview:self.accountFrontLabel];
    [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)driveMealExerciseLeftEstimateAction:(UIButton *)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;
    }
    NSString *monthBikeCode = self.fullDeclineTextField.notationWidget;
    NSString *basicSonIts = self.fullDeclineTextField.lawAssignSerialCosmicFix;
    if ([self.prefixDestroy respondsToSelector:@selector(wetShipmentRowWeightAuthorityEitherEvaluatedSent:code:yearCode:completion:)]) {
        [OldestSnowView warpRawButIcyWindow];
        [self.prefixDestroy wetShipmentRowWeightAuthorityEitherEvaluatedSent:basicSonIts code:self.rulePlaceTextField.text yearCode:monthBikeCode 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];
}

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