






#import "AmbiguityViewController.h"
#import "LazyItsRuleButton.h"
#import "ReceivesFollowViewController.h"
#import "WasToast.h"
#import "HeavyPopWasLabel.h"
#import "RawBecomeTextField.h"
#import "NSString+ReloadPan.h"

@interface AmbiguityViewController ()

@property (nonatomic, strong) RawBecomeTextField *companyListTextField;
@property (nonatomic, strong) UITextField *forbiddenTextField;
@property (nonatomic, strong) LazyItsRuleButton *formFocalButton;
@property (nonatomic,strong) HeavyPopWasLabel *pencilKinAndLabel;

@end

@implementation AmbiguityViewController

- (LazyItsRuleButton *)formFocalButton {
    if (!_formFocalButton) {
        _formFocalButton = [[LazyItsRuleButton alloc] init];
    }
    return _formFocalButton;
}

- (HeavyPopWasLabel *)pencilKinAndLabel {
    if (!_pencilKinAndLabel) {
        _pencilKinAndLabel = [HeavyPopWasLabel barMenEastMixLabel:NO];
    }
    return _pencilKinAndLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.companyListTextField = [[RawBecomeTextField alloc] initWithController:self];
    [self.view addSubview:self.companyListTextField];
    [self.companyListTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BurstPetite.virtualSheet.millibarsGet);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    
    self.forbiddenTextField = [BurstPetite manganeseRectifiedMenuMildChangingIndicesCode];
    [self.view addSubview:self.forbiddenTextField];
    [self.forbiddenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.companyListTextField.mas_bottom).offset(BurstPetite.virtualSheet.takeMovieBad);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    moveAll(self);
    self.formFocalButton.illOverallRunAction = ^{
        eachDutch(self);
        NSString *linkStairCode = self.companyListTextField.axesUnlockFull;
        NSString *tailMapWeek = self.companyListTextField.usabilityLeftArmBedPeer;
        if (self.companyListTextField.companyListTextField.text.napTapExpect) {
            [self.formFocalButton countingRareThreeBitsRejection];
            [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.zoneSpecifiedModuleFloatingNoiseWrappers completion:nil];
            return;
        }
        if ([self.discountExact respondsToSelector:@selector(addSkinStepsonOrangeTabFrictionDryType:mixResetSin:toolCode:completion:)]) {
            [OnceMidSeeView cupWetYetFontWindow];
            [self.discountExact addSkinStepsonOrangeTabFrictionDryType:BurstPetite.virtualSheet.presetLateApplyNumeralExecution mixResetSin:tailMapWeek toolCode:linkStairCode completion:^(id object) {
                [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
                if ([object boolValue]) {
                    [WasToast marginsTip:BurstPetite.setupScheduled.hectaresSexEditorSlideFlatOpticalCode];
                }else {
                    [self.formFocalButton countingRareThreeBitsRejection];
                }
            }];
        }
    };
    [self.view addSubview:self.formFocalButton];
    [self.formFocalButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.forbiddenTextField);
        make.height.equalTo(self.forbiddenTextField);
        make.right.equalTo(self.companyListTextField);
        
        make.width.mas_equalTo(self.formFocalButton.titleLabel.intrinsicContentSize.width + BurstPetite.virtualSheet.croppingMute);
    }];
    
    [self.forbiddenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.formFocalButton.mas_left).offset(-BurstPetite.virtualSheet.canTerabytes);
    }];
    
    
    UIButton *runOutRareMixButton = [BurstPetite paragraphPicturePositionHisSumColor:BurstPetite.setupScheduled.fixListMetabolicAgeScalingRandom];
    [runOutRareMixButton addTarget:self action:@selector(cityMostlyEndThousandsTheAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:runOutRareMixButton];
    [runOutRareMixButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.forbiddenTextField.mas_bottom).offset(BurstPetite.virtualSheet.takeMovieBad);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.enclosingToo);
    }];
    
    [self.view addSubview:self.pencilKinAndLabel];
    [self.pencilKinAndLabel setFilmBeenPubTopEnhanceSmallest:^{
        eachDutch(self);
        [self shadowTapStandardEighteenLoadSaltAction];
    }];
    [self.pencilKinAndLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BurstPetite.virtualSheet.linkAxialCan);
        make.left.mas_equalTo(BurstPetite.virtualSheet.teluguPencil);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.teluguPencil);
    }];
}

- (void)cityMostlyEndThousandsTheAction:(UIButton *)sender {
    if (self.companyListTextField.companyListTextField.text.napTapExpect) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.zoneSpecifiedModuleFloatingNoiseWrappers completion:nil];
        return;
    }
    if (self.forbiddenTextField.text.napTapExpect) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.withAcrossResizeArtArm completion:nil];
        return;
    }
    NSString *linkStairCode = self.companyListTextField.axesUnlockFull;
    NSString *tailMapWeek = self.companyListTextField.usabilityLeftArmBedPeer;
    if ([self.discountExact respondsToSelector:@selector(butDolbyIntervalsOurEstablishExtensionDrumParser:code:toolCode:completion:)]) {
        [OnceMidSeeView cupWetYetFontWindow];
        [self.discountExact butDolbyIntervalsOurEstablishExtensionDrumParser:tailMapWeek code:self.forbiddenTextField.text toolCode:linkStairCode completion:^(id object) {
            [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
        }];
    }
}


- (void)shadowTapStandardEighteenLoadSaltAction {
    ReceivesFollowViewController *returnReject = [ReceivesFollowViewController new];
    returnReject.forTiedRows = @(YES);
    returnReject.discountExact = self.discountExact;
    [returnReject setRetainNegativePinListenerDomains:^(BOOL result) {
        self.pencilKinAndLabel.certArtistSalt = result;
    }];
    [self.navigationController pushViewController:returnReject animated:NO];
}

- (void)dealloc {
    [self.formFocalButton countingRareThreeBitsRejection];
}
@end
