






#import "PubLinearViewController.h"
#import "YetBusAuditButton.h"
#import "MileFarDaysOddViewController.h"
#import "HowToast.h"
#import "LowReadTapsLabel.h"
#import "StoodMoveTextField.h"
#import "NSString+LeapLearn.h"

@interface PubLinearViewController ()

@property (nonatomic, strong) StoodMoveTextField *secretStormTextField;
@property (nonatomic, strong) UITextField *grandauntTextField;
@property (nonatomic, strong) YetBusAuditButton *aboutFullButton;
@property (nonatomic,strong) LowReadTapsLabel *forkIntroYetLabel;

@end

@implementation PubLinearViewController

- (YetBusAuditButton *)aboutFullButton {
    if (!_aboutFullButton) {
        _aboutFullButton = [[YetBusAuditButton alloc] init];
    }
    return _aboutFullButton;
}

- (LowReadTapsLabel *)forkIntroYetLabel {
    if (!_forkIntroYetLabel) {
        _forkIntroYetLabel = [LowReadTapsLabel setupDetectedLabel:NO];
    }
    return _forkIntroYetLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.secretStormTextField = [[StoodMoveTextField alloc] initWithController:self];
    [self.view addSubview:self.secretStormTextField];
    [self.secretStormTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ExtentEuler.maleSubtitle.givenJobCrop);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.right.mas_equalTo(-ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.noteFloorTap);
    }];
    
    
    self.grandauntTextField = [ExtentEuler windowAutoCapturesFunDiscoverStickyCode];
    [self.view addSubview:self.grandauntTextField];
    [self.grandauntTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.secretStormTextField.mas_bottom).offset(ExtentEuler.maleSubtitle.printAirline);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.noteFloorTap);
    }];
    
    maleDog(self);
    self.aboutFullButton.badgeMaxSigmaAction = ^{
        stakeQuit(self);
        NSString *standEdgaCode = self.secretStormTextField.solidAnySawSon;
        NSString *soloHeadIts = self.secretStormTextField.globalAsteriskFaeroesePictureDivide;
        if (self.secretStormTextField.secretStormTextField.text.vectorSupply) {
            [self.aboutFullButton interlaceScreenOverFourSpouses];
            [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.italianOtherThirdBookmarksUnderlineCelsius completion:nil];
            return;
        }
        if ([self.bagBookHitSee respondsToSelector:@selector(receiverClockPreventHeaderKeyExpectedIssuerType:leapMinimum:roleCode:completion:)]) {
            [UnsavedCarView belowPowerTenWindow];
            [self.bagBookHitSee receiverClockPreventHeaderKeyExpectedIssuerType:ExtentEuler.maleSubtitle.encodeVerticalFathomsBeaconsInverse leapMinimum:soloHeadIts roleCode:standEdgaCode completion:^(id object) {
                [UnsavedCarView templateTwoFallbackUsageKinWindow];
                if ([object boolValue]) {
                    [HowToast itemMember:ExtentEuler.cutMaxEntryAny.lessComposedSceneEnvelopeCampaignGeneralCode];
                }else {
                    [self.aboutFullButton interlaceScreenOverFourSpouses];
                }
            }];
        }
    };
    [self.view addSubview:self.aboutFullButton];
    [self.aboutFullButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.grandauntTextField);
        make.height.equalTo(self.grandauntTextField);
        make.left.equalTo(self.grandauntTextField.mas_right).offset(ExtentEuler.maleSubtitle.sixColumnRed);
        make.right.equalTo(self.secretStormTextField);
    }];
    
    
    [self.aboutFullButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *wetAlienSpineButton = [ExtentEuler slovakSalientKeyArbiterSixColor:ExtentEuler.cutMaxEntryAny.packAnyDelayCarbonCocoaDog];
    [wetAlienSpineButton addTarget:self action:@selector(summaryWaitTruncatedFactoryArmAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:wetAlienSpineButton];
    [wetAlienSpineButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.grandauntTextField.mas_bottom).offset(ExtentEuler.maleSubtitle.printAirline);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.sharingLater);
        make.right.mas_equalTo(-ExtentEuler.maleSubtitle.sharingLater);
        make.height.mas_equalTo(ExtentEuler.maleSubtitle.waitMagnetic);
    }];
    
    [self.view addSubview:self.forkIntroYetLabel];
    [self.forkIntroYetLabel setPreviousPrimariesCondensedOutputCervicalSequencer:^{
        stakeQuit(self);
        [self doubleScaleSoundCardOneYouAction];
    }];
    [self.forkIntroYetLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-ExtentEuler.maleSubtitle.twistChapter);
        make.left.mas_equalTo(ExtentEuler.maleSubtitle.bracketClean);
        make.right.mas_equalTo(-ExtentEuler.maleSubtitle.bracketClean);
    }];
}

- (void)summaryWaitTruncatedFactoryArmAction:(UIButton *)sender {
    if (self.secretStormTextField.secretStormTextField.text.vectorSupply) {
        [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.italianOtherThirdBookmarksUnderlineCelsius completion:nil];
        return;
    }
    if (self.grandauntTextField.text.vectorSupply) {
        [BoxAlertView blueIrishSemaphoreSuccessEstablishHas:ExtentEuler.cutMaxEntryAny.redCommit message:ExtentEuler.cutMaxEntryAny.componentHelperOtherPluralRelated completion:nil];
        return;
    }
    NSString *standEdgaCode = self.secretStormTextField.solidAnySawSon;
    NSString *soloHeadIts = self.secretStormTextField.globalAsteriskFaeroesePictureDivide;
    if ([self.bagBookHitSee respondsToSelector:@selector(previewsProgramWatchDarwinEstimateCategoryCanGigabytes:code:roleCode:completion:)]) {
        [UnsavedCarView belowPowerTenWindow];
        [self.bagBookHitSee previewsProgramWatchDarwinEstimateCategoryCanGigabytes:soloHeadIts code:self.grandauntTextField.text roleCode:standEdgaCode completion:^(id object) {
            [UnsavedCarView templateTwoFallbackUsageKinWindow];
        }];
    }
}


- (void)doubleScaleSoundCardOneYouAction {
    MileFarDaysOddViewController *portWasDrive = [MileFarDaysOddViewController new];
    portWasDrive.tenBoxError = @(YES);
    portWasDrive.bagBookHitSee = self.bagBookHitSee;
    [portWasDrive setAccountsSpeechRemembersProcessesThin:^(BOOL result) {
        self.forkIntroYetLabel.keyRootMixBest = result;
    }];
    [self.navigationController pushViewController:portWasDrive animated:NO];
}

- (void)dealloc {
    [self.aboutFullButton interlaceScreenOverFourSpouses];
}
@end
