






#import "FunctionsViewController.h"
#import "EstonianBinButton.h"
#import "MapToast.h"
#import "LawUploadTextField.h"
#import "NSString+EntityNet.h"

@interface FunctionsViewController ()

@property (nonatomic, strong) LawUploadTextField *funkUseMildTextField;
@property (nonatomic, strong) UITextField *clipJouleTextField;
@property (nonatomic, strong) UITextField *tipGenericWetTextField;
@property (nonatomic, strong) EstonianBinButton *selfStakeButton;
@end

@implementation FunctionsViewController

- (EstonianBinButton *)selfStakeButton {
    if (!_selfStakeButton) {
        _selfStakeButton = [[EstonianBinButton alloc] init];
    }
    return _selfStakeButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.funkUseMildTextField = [[LawUploadTextField alloc] initWithController:self];
    [self.view addSubview:self.funkUseMildTextField];
    [self.funkUseMildTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ZipCoulombs.locatorCanon.translateSay);
        make.left.mas_equalTo(ZipCoulombs.locatorCanon.playWireless);
        make.right.mas_equalTo(-ZipCoulombs.locatorCanon.playWireless);
        make.height.mas_equalTo(ZipCoulombs.locatorCanon.illTeluguTag);
    }];
    
    
    self.clipJouleTextField = [ZipCoulombs veryAlcoholPutDanceBandwidthUnwindCode];
    [self.view addSubview:self.clipJouleTextField];
    [self.clipJouleTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.funkUseMildTextField.mas_bottom).offset(ZipCoulombs.locatorCanon.sigmoidDeny);
        make.left.mas_equalTo(ZipCoulombs.locatorCanon.playWireless);
        make.height.mas_equalTo(ZipCoulombs.locatorCanon.illTeluguTag);
    }];
    
    peakHow(self);
    self.selfStakeButton.coalescePhoneAction = ^{
        columnHis(self);
        
        NSString *genderBitCode = self.funkUseMildTextField.writtenReturns;
        NSString *kitThreaded = self.funkUseMildTextField.searchingSlavicDepartureHisSlab;
        if (self.funkUseMildTextField.funkUseMildTextField.text.reuseMoodBig) {
            [self.selfStakeButton setupDictationQueryKeyQuit];
            [BadAlertView resultingClaimRareAtomPashtoReview:ZipCoulombs.airAgeGreekAnd.soccerPin message:ZipCoulombs.airAgeGreekAnd.repliesItsCenterPlatePulsePlace completion:nil];
            return;
        }
        if ([self.foldHerLowEgg respondsToSelector:@selector(rawDryLeaveClampingBlockerNowUnlikelyType:bagResizing:drawCode:completion:)]) {
            [OddPlayingView sameTooWayDayWindow];
            [self.foldHerLowEgg rawDryLeaveClampingBlockerNowUnlikelyType:ZipCoulombs.locatorCanon.bottomRunPubKitRefreshed bagResizing:kitThreaded drawCode:genderBitCode completion:^(id object) {
                [OddPlayingView eyeSoftwareClaimPurposeGarbageWindow];
                if ([object boolValue]) {
                    [MapToast binSharpen:ZipCoulombs.airAgeGreekAnd.airMountedFormatCountConsoleMapCode];
                }else {
                    [self.selfStakeButton setupDictationQueryKeyQuit];
                }
            }];
        }
    };
    [self.view addSubview:self.selfStakeButton];
    [self.selfStakeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.clipJouleTextField);
        make.height.equalTo(self.clipJouleTextField);
        make.right.equalTo(self.funkUseMildTextField);
        
        make.width.mas_equalTo(self.selfStakeButton.titleLabel.intrinsicContentSize.width + ZipCoulombs.locatorCanon.yetPathLocal);
    }];
    
    [self.clipJouleTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.selfStakeButton.mas_left).offset(-ZipCoulombs.locatorCanon.bedEqualLess);
    }];
    
    
    self.tipGenericWetTextField = [ZipCoulombs oxygenOneSettingLocallyCheckoutPassword:YES];
    [self.view addSubview:self.tipGenericWetTextField];
    [self.tipGenericWetTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.clipJouleTextField.mas_bottom).offset(ZipCoulombs.locatorCanon.sigmoidDeny);
        make.left.mas_equalTo(ZipCoulombs.locatorCanon.playWireless);
        make.right.mas_equalTo(-ZipCoulombs.locatorCanon.playWireless);
        make.height.mas_equalTo(ZipCoulombs.locatorCanon.illTeluguTag);
    }];
    UIButton *startAreButton = self.tipGenericWetTextField.rightView.subviews.firstObject;
    [startAreButton addTarget:self action:@selector(lockingHourlyClickedEraBaseWhoHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *genericMustButton = [ZipCoulombs bayerEyeLoopDecideRelevanceColor:ZipCoulombs.airAgeGreekAnd.unloadSleetKey];
    [genericMustButton addTarget:self action:@selector(rotateStrictlyAxesNormalizeGlobalAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:genericMustButton];
    [genericMustButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.tipGenericWetTextField.mas_bottom).offset(ZipCoulombs.locatorCanon.sigmoidDeny);
        make.left.mas_equalTo(ZipCoulombs.locatorCanon.playWireless);
        make.right.mas_equalTo(-ZipCoulombs.locatorCanon.playWireless);
        make.height.mas_equalTo(ZipCoulombs.locatorCanon.orderTagsOff);
    }];
}
- (void)lockingHourlyClickedEraBaseWhoHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.tipGenericWetTextField.secureTextEntry = !self.tipGenericWetTextField.isSecureTextEntry;
}

- (void)rotateStrictlyAxesNormalizeGlobalAction:(id)sender {
    if (self.funkUseMildTextField.funkUseMildTextField.text.reuseMoodBig) {
        [BadAlertView resultingClaimRareAtomPashtoReview:ZipCoulombs.airAgeGreekAnd.soccerPin message:ZipCoulombs.airAgeGreekAnd.repliesItsCenterPlatePulsePlace completion:nil];
        return;
    }
    if (self.clipJouleTextField.text.reuseMoodBig) {
        [BadAlertView resultingClaimRareAtomPashtoReview:ZipCoulombs.airAgeGreekAnd.soccerPin message:ZipCoulombs.airAgeGreekAnd.taskLinkCostStartClamp completion:nil];
        return;
    }
    if (self.tipGenericWetTextField.text.length < ZipCoulombs.locatorCanon.recoverySub) {
        [BadAlertView resultingClaimRareAtomPashtoReview:ZipCoulombs.airAgeGreekAnd.soccerPin message:ZipCoulombs.airAgeGreekAnd.topAlignBoundingKilobitsTatarModifiers completion:nil];
        return;
    }
    NSString *genderBitCode = self.funkUseMildTextField.writtenReturns;
    NSString *kitThreaded = self.funkUseMildTextField.searchingSlavicDepartureHisSlab;
    if ([self.foldHerLowEgg respondsToSelector:@selector(droppedLossyFoldConvergedCameraDesignerDisables:code:drawCode:carKey:completion:)]) {
        [OddPlayingView sameTooWayDayWindow];
        [self.foldHerLowEgg droppedLossyFoldConvergedCameraDesignerDisables:kitThreaded code:self.clipJouleTextField.text drawCode:genderBitCode carKey:self.tipGenericWetTextField.text completion:^(id object) {
            [OddPlayingView eyeSoftwareClaimPurposeGarbageWindow];
            [MapToast binSharpen:ZipCoulombs.airAgeGreekAnd.caseRevertingRenewalRankDecay];
            if (object) {
                [self.engineBevelDelegate assumeSquashSliceClangForWithName:object sayStreamedPassword:self.tipGenericWetTextField.text];
                [self declinedDrumCosmicBedUseAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.selfStakeButton setupDictationQueryKeyQuit];
}
@end
