






#import "ExponentsViewController.h"
#import "MinimalTeamButton.h"
#import "FormEyeHexSameViewController.h"
#import "DryToast.h"
#import "NearestWaitLabel.h"
#import "GuestDoneTextField.h"
#import "NSString+ExpandNot.h"

@interface ExponentsViewController ()

@property (nonatomic, strong) GuestDoneTextField *thatAdapterTextField;
@property (nonatomic, strong) UITextField *goalArrowTextField;
@property (nonatomic, strong) MinimalTeamButton *carbonEndButton;
@property (nonatomic,strong) NearestWaitLabel *oldMediumFixLabel;

@end

@implementation ExponentsViewController

- (MinimalTeamButton *)carbonEndButton {
    if (!_carbonEndButton) {
        _carbonEndButton = [[MinimalTeamButton alloc] init];
    }
    return _carbonEndButton;
}

- (NearestWaitLabel *)oldMediumFixLabel {
    if (!_oldMediumFixLabel) {
        _oldMediumFixLabel = [NearestWaitLabel maxRearOwnDueLabel:NO];
    }
    return _oldMediumFixLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.thatAdapterTextField = [[GuestDoneTextField alloc] initWithController:self];
    [self.view addSubview:self.thatAdapterTextField];
    [self.thatAdapterTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(AlbumBoxSex.catalanHertz.howBufferHer);
        make.left.mas_equalTo(AlbumBoxSex.catalanHertz.editorForHex);
        make.right.mas_equalTo(-AlbumBoxSex.catalanHertz.editorForHex);
        make.height.mas_equalTo(AlbumBoxSex.catalanHertz.revisionRain);
    }];
    
    
    self.goalArrowTextField = [AlbumBoxSex parserLeastWarpBengaliBondReleaseCode];
    [self.view addSubview:self.goalArrowTextField];
    [self.goalArrowTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.thatAdapterTextField.mas_bottom).offset(AlbumBoxSex.catalanHertz.workVoiceOff);
        make.left.mas_equalTo(AlbumBoxSex.catalanHertz.editorForHex);
        make.height.mas_equalTo(AlbumBoxSex.catalanHertz.revisionRain);
    }];
    
    visited(self);
    self.carbonEndButton.producedEventAction = ^{
        bitsLeast(self);
        NSString *refreshedCode = self.thatAdapterTextField.controlsOutput;
        NSString *sobSpaceKit = self.thatAdapterTextField.coloredFindBlindingSedentaryCert;
        if (self.thatAdapterTextField.thatAdapterTextField.text.pageLiterHow) {
            [self.carbonEndButton hardSubfamilyFactorUniqueEvaluated];
            [MaxAlertView pastLawRevisionsProceedSpectralOcean:AlbumBoxSex.topWaxTreeRole.unlimited message:AlbumBoxSex.topWaxTreeRole.tremorSilencedEarlyAppendingIndigoPressure completion:nil];
            return;
        }
        if ([self.becomeBankers respondsToSelector:@selector(malformedFullLaterKelvinStoneColumnsDescribeType:lawLikeDone:grayCode:completion:)]) {
            [InsulinJobView footersSignerWindow];
            [self.becomeBankers malformedFullLaterKelvinStoneColumnsDescribeType:AlbumBoxSex.catalanHertz.joinRenderSinFaxFull lawLikeDone:sobSpaceKit grayCode:refreshedCode completion:^(id object) {
                [InsulinJobView preventedSmileBedRunMusicWindow];
                if ([object boolValue]) {
                    [DryToast longUptime:AlbumBoxSex.topWaxTreeRole.zeroActionBezelLogicalAffectingAchievedCode];
                }else {
                    [self.carbonEndButton hardSubfamilyFactorUniqueEvaluated];
                }
            }];
        }
    };
    [self.view addSubview:self.carbonEndButton];
    [self.carbonEndButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.goalArrowTextField);
        make.height.equalTo(self.goalArrowTextField);
        make.left.equalTo(self.goalArrowTextField.mas_right).offset(AlbumBoxSex.catalanHertz.subBypassFix);
        make.right.equalTo(self.thatAdapterTextField);
    }];
    
    
    [self.carbonEndButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *sobBeginStateButton = [AlbumBoxSex managerResultsExistingAscendingDefinedColor:AlbumBoxSex.topWaxTreeRole.entryZoneCousinFinalSinhaleseSystem];
    [sobBeginStateButton addTarget:self action:@selector(segueSnapshotTodayDeferredPurposeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sobBeginStateButton];
    [sobBeginStateButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.goalArrowTextField.mas_bottom).offset(AlbumBoxSex.catalanHertz.workVoiceOff);
        make.left.mas_equalTo(AlbumBoxSex.catalanHertz.editorForHex);
        make.right.mas_equalTo(-AlbumBoxSex.catalanHertz.editorForHex);
        make.height.mas_equalTo(AlbumBoxSex.catalanHertz.haveThemeAre);
    }];
    
    [self.view addSubview:self.oldMediumFixLabel];
    [self.oldMediumFixLabel setNowRelationsMixSubsetAchievedSob:^{
        bitsLeast(self);
        [self touchNewtonsResponderHitCleanupBaselineAction];
    }];
    [self.oldMediumFixLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-AlbumBoxSex.catalanHertz.leftBedBatch);
        make.left.mas_equalTo(AlbumBoxSex.catalanHertz.thatFollower);
        make.right.mas_equalTo(-AlbumBoxSex.catalanHertz.thatFollower);
    }];
}

- (void)segueSnapshotTodayDeferredPurposeAction:(UIButton *)sender {
    if (self.thatAdapterTextField.thatAdapterTextField.text.pageLiterHow) {
        [MaxAlertView pastLawRevisionsProceedSpectralOcean:AlbumBoxSex.topWaxTreeRole.unlimited message:AlbumBoxSex.topWaxTreeRole.tremorSilencedEarlyAppendingIndigoPressure completion:nil];
        return;
    }
    if (self.goalArrowTextField.text.pageLiterHow) {
        [MaxAlertView pastLawRevisionsProceedSpectralOcean:AlbumBoxSex.topWaxTreeRole.unlimited message:AlbumBoxSex.topWaxTreeRole.undoReminderNowFrameParental completion:nil];
        return;
    }
    NSString *refreshedCode = self.thatAdapterTextField.controlsOutput;
    NSString *sobSpaceKit = self.thatAdapterTextField.coloredFindBlindingSedentaryCert;
    if ([self.becomeBankers respondsToSelector:@selector(rowCreationToneDimensionLockRadioAdditionsDetection:code:grayCode:completion:)]) {
        [InsulinJobView footersSignerWindow];
        [self.becomeBankers rowCreationToneDimensionLockRadioAdditionsDetection:sobSpaceKit code:self.goalArrowTextField.text grayCode:refreshedCode completion:^(id object) {
            [InsulinJobView preventedSmileBedRunMusicWindow];
        }];
    }
}


- (void)touchNewtonsResponderHitCleanupBaselineAction {
    FormEyeHexSameViewController *wetGatherTop = [FormEyeHexSameViewController new];
    wetGatherTop.eyeLostSink = @(YES);
    wetGatherTop.becomeBankers = self.becomeBankers;
    [wetGatherTop setParserTaggerSupportExistRaw:^(BOOL result) {
        self.oldMediumFixLabel.sixShowBinSlab = result;
    }];
    [self.navigationController pushViewController:wetGatherTop animated:NO];
}

- (void)dealloc {
    [self.carbonEndButton hardSubfamilyFactorUniqueEvaluated];
}
@end
