






#import "CrossEastViewController.h"
#import "AskSubStormButton.h"
#import "SinToast.h"
#import "MeanWidthTextField.h"
#import "NSString+DrumVowel.h"

@interface CrossEastViewController ()

@property (nonatomic, strong) MeanWidthTextField *topDiscountTextField;
@property (nonatomic, strong) UITextField *frenchSunTextField;
@property (nonatomic, strong) UITextField *tempHomePieceTextField;
@property (nonatomic, strong) AskSubStormButton *quitTrashButton;
@end

@implementation CrossEastViewController

- (AskSubStormButton *)quitTrashButton {
    if (!_quitTrashButton) {
        _quitTrashButton = [[AskSubStormButton alloc] init];
    }
    return _quitTrashButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.topDiscountTextField = [[MeanWidthTextField alloc] initWithController:self];
    [self.view addSubview:self.topDiscountTextField];
    [self.topDiscountTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(TooCloudSun.seeFocusSlab.napWhoCutter);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.mas_equalTo(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.plugTraitTwo);
    }];
    
    
    self.frenchSunTextField = [TooCloudSun cloudPanEarOperatingAnySourcesCode];
    [self.view addSubview:self.frenchSunTextField];
    [self.frenchSunTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.topDiscountTextField.mas_bottom).offset(TooCloudSun.seeFocusSlab.tagsRefresh);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.plugTraitTwo);
    }];
    
    redoLow(self);
    self.quitTrashButton.indexOddNeverAction = ^{
        methodSum(self);
        
        NSString *maxVectorCode = self.topDiscountTextField.phoneAssertion;
        NSString *retryJobMin = self.topDiscountTextField.brushAccordingLuminanceExportWritten;
        if (self.topDiscountTextField.topDiscountTextField.text.voiceFooters) {
            [self.quitTrashButton librariesGrandauntRomanianTemplateBreak];
            [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.artistReliableSentencesForwardsWristNearest completion:nil];
            return;
        }
        if ([self.tooPenPattern respondsToSelector:@selector(relationsFillInvertedToneSignatureWalkSolidType:scannedFour:jumpCode:completion:)]) {
            [DogButtonsView torchFinishedWindow];
            [self.tooPenPattern relationsFillInvertedToneSignatureWalkSolidType:TooCloudSun.seeFocusSlab.collapsesOurDigitizedSelectUsability scannedFour:retryJobMin jumpCode:maxVectorCode completion:^(id object) {
                [DogButtonsView linearlySlowPermanentRetryStepperWindow];
                if ([object boolValue]) {
                    [SinToast insetSolve:TooCloudSun.methodCaseItem.daughterNeverSharpenSenseHerWasCode];
                }else {
                    [self.quitTrashButton librariesGrandauntRomanianTemplateBreak];
                }
            }];
        }
    };
    [self.view addSubview:self.quitTrashButton];
    [self.quitTrashButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.frenchSunTextField);
        make.height.equalTo(self.frenchSunTextField);
        make.right.equalTo(self.topDiscountTextField);
        
        make.width.mas_equalTo(self.quitTrashButton.titleLabel.intrinsicContentSize.width + TooCloudSun.seeFocusSlab.valuePingCap);
    }];
    
    [self.frenchSunTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.quitTrashButton.mas_left).offset(-TooCloudSun.seeFocusSlab.inuitSideDry);
    }];
    
    
    self.tempHomePieceTextField = [TooCloudSun sumContrastPublicPanCollapsesPassword:YES];
    [self.view addSubview:self.tempHomePieceTextField];
    [self.tempHomePieceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.frenchSunTextField.mas_bottom).offset(TooCloudSun.seeFocusSlab.tagsRefresh);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.mas_equalTo(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.plugTraitTwo);
    }];
    UIButton *hexBayerButton = self.tempHomePieceTextField.rightView.subviews.firstObject;
    [hexBayerButton addTarget:self action:@selector(momentHeadphoneReceiptFixAdaptorRecursiveHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *siteDrawIllButton = [TooCloudSun mouthExtentsLettishSquaresMonotonicColor:TooCloudSun.methodCaseItem.emptyOutEarKey];
    [siteDrawIllButton addTarget:self action:@selector(assignSumConverterAcceptSugarAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:siteDrawIllButton];
    [siteDrawIllButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.tempHomePieceTextField.mas_bottom).offset(TooCloudSun.seeFocusSlab.tagsRefresh);
        make.left.mas_equalTo(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.mas_equalTo(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.ditherWhoBar);
    }];
}
- (void)momentHeadphoneReceiptFixAdaptorRecursiveHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.tempHomePieceTextField.secureTextEntry = !self.tempHomePieceTextField.isSecureTextEntry;
}

- (void)assignSumConverterAcceptSugarAction:(id)sender {
    if (self.topDiscountTextField.topDiscountTextField.text.voiceFooters) {
        [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.artistReliableSentencesForwardsWristNearest completion:nil];
        return;
    }
    if (self.frenchSunTextField.text.voiceFooters) {
        [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.promiseDenyNowPenVideo completion:nil];
        return;
    }
    if (self.tempHomePieceTextField.text.length < TooCloudSun.seeFocusSlab.likeSexMute) {
        [HowAlertView cupTheBagPeriodIntersectUnified:TooCloudSun.methodCaseItem.kelvinEnd message:TooCloudSun.methodCaseItem.chargingFeaturedAppearingSetupCapsOne completion:nil];
        return;
    }
    NSString *maxVectorCode = self.topDiscountTextField.phoneAssertion;
    NSString *retryJobMin = self.topDiscountTextField.brushAccordingLuminanceExportWritten;
    if ([self.tooPenPattern respondsToSelector:@selector(divideAlarmRenameOffsetAgreementSobPrivilege:code:jumpCode:cupKey:completion:)]) {
        [DogButtonsView torchFinishedWindow];
        [self.tooPenPattern divideAlarmRenameOffsetAgreementSobPrivilege:retryJobMin code:self.frenchSunTextField.text jumpCode:maxVectorCode cupKey:self.tempHomePieceTextField.text completion:^(id object) {
            [DogButtonsView linearlySlowPermanentRetryStepperWindow];
            [SinToast insetSolve:TooCloudSun.methodCaseItem.scrollDegreesAdvancesSummaryProvince];
            if (object) {
                [self.hourLoudRetDelegate reversingWarnBasicStylusInteriorWithName:object dragYouMakePassword:self.tempHomePieceTextField.text];
                [self pipeUpperSortingLifetimeTransposeAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.quitTrashButton librariesGrandauntRomanianTemplateBreak];
}
@end
