






#import "SpeakTextViewController.h"
#import "EncodeIndexButton.h"
#import "MostMildTremorViewController.h"
#import "WinToast.h"
#import "PageDesiredLabel.h"
#import "MapUnwindTextField.h"
#import "NSString+RepairBar.h"

@interface SpeakTextViewController ()

@property (nonatomic, strong) MapUnwindTextField *brownPanSumTextField;
@property (nonatomic, strong) UITextField *streetWetTextField;
@property (nonatomic, strong) EncodeIndexButton *appearAirButton;
@property (nonatomic,strong) PageDesiredLabel *boldExporterLabel;

@end

@implementation SpeakTextViewController

- (EncodeIndexButton *)appearAirButton {
    if (!_appearAirButton) {
        _appearAirButton = [[EncodeIndexButton alloc] init];
    }
    return _appearAirButton;
}

- (PageDesiredLabel *)boldExporterLabel {
    if (!_boldExporterLabel) {
        _boldExporterLabel = [PageDesiredLabel skipHangClockLabel:NO];
    }
    return _boldExporterLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.brownPanSumTextField = [[MapUnwindTextField alloc] initWithController:self];
    [self.view addSubview:self.brownPanSumTextField];
    [self.brownPanSumTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SheTintAuto.linerIndexed.beganMayAway);
        make.left.mas_equalTo(SheTintAuto.linerIndexed.waxAnimation);
        make.right.mas_equalTo(-SheTintAuto.linerIndexed.waxAnimation);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.canPolarSpan);
    }];
    
    
    self.streetWetTextField = [SheTintAuto todayPreparedSumTransmitLoopsRefusedCode];
    [self.view addSubview:self.streetWetTextField];
    [self.streetWetTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.brownPanSumTextField.mas_bottom).offset(SheTintAuto.linerIndexed.tapHelperAre);
        make.left.mas_equalTo(SheTintAuto.linerIndexed.waxAnimation);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.canPolarSpan);
    }];
    
    spouses(self);
    self.appearAirButton.farMajorResetAction = ^{
        polishMax(self);
        NSString *scriptPanCode = self.brownPanSumTextField.semicolonSetup;
        NSString *boostQuotes = self.brownPanSumTextField.samplerDryAnotherHighUpload;
        if (self.brownPanSumTextField.brownPanSumTextField.text.twelveOptHis) {
            [self.appearAirButton chestMillibarsMattingLinearQuery];
            [DryAlertView layoutRotationKitBottomStepsonSharing:SheTintAuto.floatFootThird.shapeTurn message:SheTintAuto.floatFootThird.pictureSomaliDaysAudiencesLossyPress completion:nil];
            return;
        }
        if ([self.hertzSeeWrite respondsToSelector:@selector(suggestedMovieProvideDecryptSuperiorsNotifyingMultiplyType:scanSortSon:tapsCode:completion:)]) {
            [SampleFireView belowSoftnessWindow];
            [self.hertzSeeWrite suggestedMovieProvideDecryptSuperiorsNotifyingMultiplyType:SheTintAuto.linerIndexed.fitIdiomAppliesClickConstruct scanSortSon:boostQuotes tapsCode:scriptPanCode completion:^(id object) {
                [SampleFireView carTamilExtentsPullStandardWindow];
                if ([object boolValue]) {
                    [WinToast receivePan:SheTintAuto.floatFootThird.hostFixStereoSpaRuleClusterCode];
                }else {
                    [self.appearAirButton chestMillibarsMattingLinearQuery];
                }
            }];
        }
    };
    [self.view addSubview:self.appearAirButton];
    [self.appearAirButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.streetWetTextField);
        make.height.equalTo(self.streetWetTextField);
        make.right.equalTo(self.brownPanSumTextField);
        
        make.width.mas_equalTo(self.appearAirButton.titleLabel.intrinsicContentSize.width + SheTintAuto.linerIndexed.rearSawShift);
    }];
    
    [self.streetWetTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.appearAirButton.mas_left).offset(-SheTintAuto.linerIndexed.drawBehavior);
    }];
    
    
    UIButton *zoneRealSigmaButton = [SheTintAuto numericWetDirectionLoveRedoColor:SheTintAuto.floatFootThird.bevelHalfUnableProposedOutputUnbounded];
    [zoneRealSigmaButton addTarget:self action:@selector(reversedPostcardBridgeReclaimHyphensAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:zoneRealSigmaButton];
    [zoneRealSigmaButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.streetWetTextField.mas_bottom).offset(SheTintAuto.linerIndexed.tapHelperAre);
        make.left.mas_equalTo(SheTintAuto.linerIndexed.waxAnimation);
        make.right.mas_equalTo(-SheTintAuto.linerIndexed.waxAnimation);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.revisionGolf);
    }];
    
    [self.view addSubview:self.boldExporterLabel];
    [self.boldExporterLabel setHandledTipAscendedLibrariesNarrativeMaker:^{
        polishMax(self);
        [self newsstandVolatileEndNicknameBottomExpectAction];
    }];
    [self.boldExporterLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-SheTintAuto.linerIndexed.undoAudience);
        make.left.mas_equalTo(SheTintAuto.linerIndexed.stepPlateJob);
        make.right.mas_equalTo(-SheTintAuto.linerIndexed.stepPlateJob);
    }];
}

- (void)reversedPostcardBridgeReclaimHyphensAction:(UIButton *)sender {
    if (self.brownPanSumTextField.brownPanSumTextField.text.twelveOptHis) {
        [DryAlertView layoutRotationKitBottomStepsonSharing:SheTintAuto.floatFootThird.shapeTurn message:SheTintAuto.floatFootThird.pictureSomaliDaysAudiencesLossyPress completion:nil];
        return;
    }
    if (self.streetWetTextField.text.twelveOptHis) {
        [DryAlertView layoutRotationKitBottomStepsonSharing:SheTintAuto.floatFootThird.shapeTurn message:SheTintAuto.floatFootThird.pathDisplaysFusionCropRevoked completion:nil];
        return;
    }
    NSString *scriptPanCode = self.brownPanSumTextField.semicolonSetup;
    NSString *boostQuotes = self.brownPanSumTextField.samplerDryAnotherHighUpload;
    if ([self.hertzSeeWrite respondsToSelector:@selector(veryFaxDependingPashtoDrawBoldfaceEarSheet:code:tapsCode:completion:)]) {
        [SampleFireView belowSoftnessWindow];
        [self.hertzSeeWrite veryFaxDependingPashtoDrawBoldfaceEarSheet:boostQuotes code:self.streetWetTextField.text tapsCode:scriptPanCode completion:^(id object) {
            [SampleFireView carTamilExtentsPullStandardWindow];
        }];
    }
}


- (void)newsstandVolatileEndNicknameBottomExpectAction {
    MostMildTremorViewController *eyePrintable = [MostMildTremorViewController new];
    eyePrintable.membersPool = @(YES);
    eyePrintable.hertzSeeWrite = self.hertzSeeWrite;
    [eyePrintable setSinkCreatorEntropyLogArt:^(BOOL result) {
        self.boldExporterLabel.singleAccurate = result;
    }];
    [self.navigationController pushViewController:eyePrintable animated:NO];
}

- (void)dealloc {
    [self.appearAirButton chestMillibarsMattingLinearQuery];
}
@end
