






#import "SnowAlphaViewController.h"
#import "PageZipStayButton.h"
#import "PeakHerCurlPinViewController.h"
#import "MaxToast.h"
#import "FinalTagSubLabel.h"
#import "LateEnterTextField.h"
#import "NSString+PublicDry.h"

@interface SnowAlphaViewController ()

@property (nonatomic, strong) LateEnterTextField *rowBagSliceTextField;
@property (nonatomic, strong) UITextField *mightHomeTextField;
@property (nonatomic, strong) PageZipStayButton *violationButton;
@property (nonatomic,strong) FinalTagSubLabel *midFlatNeverLabel;

@end

@implementation SnowAlphaViewController

- (PageZipStayButton *)violationButton {
    if (!_violationButton) {
        _violationButton = [[PageZipStayButton alloc] init];
    }
    return _violationButton;
}

- (FinalTagSubLabel *)midFlatNeverLabel {
    if (!_midFlatNeverLabel) {
        _midFlatNeverLabel = [FinalTagSubLabel sunTodaySolidLabel:NO];
    }
    return _midFlatNeverLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.rowBagSliceTextField = [[LateEnterTextField alloc] initWithController:self];
    [self.view addSubview:self.rowBagSliceTextField];
    [self.rowBagSliceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(CupDenyLeap.rarePutOther.initialChunk);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    
    
    self.mightHomeTextField = [CupDenyLeap yetSixteenLifetimeSymbolBurnLighterCode];
    [self.view addSubview:self.mightHomeTextField];
    [self.mightHomeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.rowBagSliceTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.senseDescent);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    
    justWay(self);
    self.violationButton.dependingFeedAction = ^{
        uploadCan(self);
        NSString *anyBasqueCode = self.rowBagSliceTextField.growBlobEndOff;
        NSString *fitDecayToo = self.rowBagSliceTextField.flemishLeftOverwriteWeightsPrime;
        if (self.rowBagSliceTextField.rowBagSliceTextField.text.mediaOurLong) {
            [self.violationButton sheetShiftGroupingClosestRead];
            [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.jobCheckCupBleedLikeChoose completion:nil];
            return;
        }
        if ([self.mixCatVisible respondsToSelector:@selector(cubicSecondaryAlbumTeacherMapSolveHowType:takeFullWon:axesCode:completion:)]) {
            [RedScriptsView draftMaleToolWindow];
            [self.mixCatVisible cubicSecondaryAlbumTeacherMapSolveHowType:CupDenyLeap.rarePutOther.mobileFilteredSubmittedDirectlyReclaim takeFullWon:fitDecayToo axesCode:anyBasqueCode completion:^(id object) {
                [RedScriptsView restTexturedHelpStorylineLanguagesWindow];
                if ([object boolValue]) {
                    [MaxToast devicesPan:CupDenyLeap.cutReuseIcyOur.hitBlueFrequencyArtHeadBufferingCode];
                }else {
                    [self.violationButton sheetShiftGroupingClosestRead];
                }
            }];
        }
    };
    [self.view addSubview:self.violationButton];
    [self.violationButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.mightHomeTextField);
        make.height.equalTo(self.mightHomeTextField);
        make.right.equalTo(self.rowBagSliceTextField);
        
        make.width.mas_equalTo(self.violationButton.titleLabel.intrinsicContentSize.width + CupDenyLeap.rarePutOther.producesGasp);
    }];
    
    [self.mightHomeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.violationButton.mas_left).offset(-CupDenyLeap.rarePutOther.builderLiner);
    }];
    
    
    UIButton *wordMacintoshButton = [CupDenyLeap endSourceApplierAchievedLigatureColor:CupDenyLeap.cutReuseIcyOur.beaconsRopeAffinityRawInitialThrough];
    [wordMacintoshButton addTarget:self action:@selector(armSubgroupExecuteIterationAdapterAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:wordMacintoshButton];
    [wordMacintoshButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mightHomeTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.senseDescent);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.canSideRaise);
    }];
    
    [self.view addSubview:self.midFlatNeverLabel];
    [self.midFlatNeverLabel setGetFunActivateAskSignerProduce:^{
        uploadCan(self);
        [self kilohertzButEqualityUnlikelyTabMapAction];
    }];
    [self.midFlatNeverLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-CupDenyLeap.rarePutOther.trashAirFood);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.runCondensed);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.runCondensed);
    }];
}

- (void)armSubgroupExecuteIterationAdapterAction:(UIButton *)sender {
    if (self.rowBagSliceTextField.rowBagSliceTextField.text.mediaOurLong) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.jobCheckCupBleedLikeChoose completion:nil];
        return;
    }
    if (self.mightHomeTextField.text.mediaOurLong) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.bitRedirectSomaliFitnessPower completion:nil];
        return;
    }
    NSString *anyBasqueCode = self.rowBagSliceTextField.growBlobEndOff;
    NSString *fitDecayToo = self.rowBagSliceTextField.flemishLeftOverwriteWeightsPrime;
    if ([self.mixCatVisible respondsToSelector:@selector(bitMixCapsTokenCutAuthorityItsChrome:code:axesCode:completion:)]) {
        [RedScriptsView draftMaleToolWindow];
        [self.mixCatVisible bitMixCapsTokenCutAuthorityItsChrome:fitDecayToo code:self.mightHomeTextField.text axesCode:anyBasqueCode completion:^(id object) {
            [RedScriptsView restTexturedHelpStorylineLanguagesWindow];
        }];
    }
}


- (void)kilohertzButEqualityUnlikelyTabMapAction {
    PeakHerCurlPinViewController *anyDirectory = [PeakHerCurlPinViewController new];
    anyDirectory.yetLearnTab = @(YES);
    anyDirectory.mixCatVisible = self.mixCatVisible;
    [anyDirectory setLabeledComplexStoneCutSiblings:^(BOOL result) {
        self.midFlatNeverLabel.principalMouse = result;
    }];
    [self.navigationController pushViewController:anyDirectory animated:NO];
}

- (void)dealloc {
    [self.violationButton sheetShiftGroupingClosestRead];
}
@end
