






#import "ThinSleepViewController.h"
#import "ServerUnifyButton.h"
#import "PubToast.h"
#import "DetermineTextField.h"
#import "NSString+ExternYet.h"

@interface ThinSleepViewController ()

@property (nonatomic, strong) DetermineTextField *hailPingBadTextField;
@property (nonatomic, strong) UITextField *glyphSlowTextField;
@property (nonatomic, strong) UITextField *farJustTagLowTextField;
@property (nonatomic, strong) ServerUnifyButton *mixTwentyButton;
@end

@implementation ThinSleepViewController

- (ServerUnifyButton *)mixTwentyButton {
    if (!_mixTwentyButton) {
        _mixTwentyButton = [[ServerUnifyButton alloc] init];
    }
    return _mixTwentyButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.hailPingBadTextField = [[DetermineTextField alloc] initWithController:self];
    [self.view addSubview:self.hailPingBadTextField];
    [self.hailPingBadTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MapSheFocus.ownerQuality.packReverses);
        make.left.mas_equalTo(MapSheFocus.ownerQuality.sinkHasAdopt);
        make.right.mas_equalTo(-MapSheFocus.ownerQuality.sinkHasAdopt);
        make.height.mas_equalTo(MapSheFocus.ownerQuality.headerPrefix);
    }];
    
    
    self.glyphSlowTextField = [MapSheFocus cardioidButMoreEvaluateExpansionImperialCode];
    [self.view addSubview:self.glyphSlowTextField];
    [self.glyphSlowTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hailPingBadTextField.mas_bottom).offset(MapSheFocus.ownerQuality.prepFlipWon);
        make.left.mas_equalTo(MapSheFocus.ownerQuality.sinkHasAdopt);
        make.height.mas_equalTo(MapSheFocus.ownerQuality.headerPrefix);
    }];
    
    allFeat(self);
    self.mixTwentyButton.bankersCookieAction = ^{
        expandAir(self);
        
        NSString *assertBedCode = self.hailPingBadTextField.leakySayWonOwn;
        NSString *quickStable = self.hailPingBadTextField.golfFuturePreserveUtteranceExtra;
        if (self.hailPingBadTextField.hailPingBadTextField.text.exportedMean) {
            [self.mixTwentyButton theDocumentReverseFamilySymbolic];
            [NowAlertView spousesPackRuleCountryImmutableSubtitles:MapSheFocus.catBlackPopMay.netFilter message:MapSheFocus.catBlackPopMay.herExpectBetweenBinaryFixWet completion:nil];
            return;
        }
        if ([self.chainInternal respondsToSelector:@selector(illHashBitGoalFailingVerifyInfinityType:logClusters:eachCode:completion:)]) {
            [SobConvertView deepExclusionWindow];
            [self.chainInternal illHashBitGoalFailingVerifyInfinityType:MapSheFocus.ownerQuality.semanticsTipRestoreOldExpert logClusters:quickStable eachCode:assertBedCode completion:^(id object) {
                [SobConvertView learnedTimeCenteredReceiptSpaWindow];
                if ([object boolValue]) {
                    [PubToast operandTip:MapSheFocus.catBlackPopMay.invitedBadgeInstancesCloseSquaresRowsCode];
                }else {
                    [self.mixTwentyButton theDocumentReverseFamilySymbolic];
                }
            }];
        }
    };
    [self.view addSubview:self.mixTwentyButton];
    [self.mixTwentyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.glyphSlowTextField);
        make.height.equalTo(self.glyphSlowTextField);
        make.left.equalTo(self.glyphSlowTextField.mas_right).offset(MapSheFocus.ownerQuality.binContained);
        make.right.equalTo(self.hailPingBadTextField);
    }];
    
    
    [self.mixTwentyButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.farJustTagLowTextField = [MapSheFocus buddhistAppearDepartureAlwaysHelloPassword:YES];
    [self.view addSubview:self.farJustTagLowTextField];
    [self.farJustTagLowTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.glyphSlowTextField.mas_bottom).offset(MapSheFocus.ownerQuality.prepFlipWon);
        make.left.mas_equalTo(MapSheFocus.ownerQuality.sinkHasAdopt);
        make.right.mas_equalTo(-MapSheFocus.ownerQuality.sinkHasAdopt);
        make.height.mas_equalTo(MapSheFocus.ownerQuality.headerPrefix);
    }];
    UIButton *attitudeButton = self.farJustTagLowTextField.rightView.subviews.firstObject;
    [attitudeButton addTarget:self action:@selector(armScrollsAdverbRecordingPashtoHostHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *waitingSkipButton = [MapSheFocus zipPinchGlobalCalorieInferColor:MapSheFocus.catBlackPopMay.ownPrepBodyKey];
    [waitingSkipButton addTarget:self action:@selector(workoutsTipHandballFullFunAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:waitingSkipButton];
    [waitingSkipButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.farJustTagLowTextField.mas_bottom).offset(MapSheFocus.ownerQuality.prepFlipWon);
        make.left.mas_equalTo(MapSheFocus.ownerQuality.sinkHasAdopt);
        make.right.mas_equalTo(-MapSheFocus.ownerQuality.sinkHasAdopt);
        make.height.mas_equalTo(MapSheFocus.ownerQuality.penWindowIts);
    }];
}
- (void)armScrollsAdverbRecordingPashtoHostHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.farJustTagLowTextField.secureTextEntry = !self.farJustTagLowTextField.isSecureTextEntry;
}

- (void)workoutsTipHandballFullFunAction:(id)sender {
    if (self.hailPingBadTextField.hailPingBadTextField.text.exportedMean) {
        [NowAlertView spousesPackRuleCountryImmutableSubtitles:MapSheFocus.catBlackPopMay.netFilter message:MapSheFocus.catBlackPopMay.herExpectBetweenBinaryFixWet completion:nil];
        return;
    }
    if (self.glyphSlowTextField.text.exportedMean) {
        [NowAlertView spousesPackRuleCountryImmutableSubtitles:MapSheFocus.catBlackPopMay.netFilter message:MapSheFocus.catBlackPopMay.deepModifiersMemoryLittleWho completion:nil];
        return;
    }
    if (self.farJustTagLowTextField.text.length < MapSheFocus.ownerQuality.busyTopMode) {
        [NowAlertView spousesPackRuleCountryImmutableSubtitles:MapSheFocus.catBlackPopMay.netFilter message:MapSheFocus.catBlackPopMay.linkEyePresenceFreestyleAuthorsRecycle completion:nil];
        return;
    }
    NSString *assertBedCode = self.hailPingBadTextField.leakySayWonOwn;
    NSString *quickStable = self.hailPingBadTextField.golfFuturePreserveUtteranceExtra;
    if ([self.chainInternal respondsToSelector:@selector(armpitColoredAnonymousBridgeArtsBreakBar:code:eachCode:bagKey:completion:)]) {
        [SobConvertView deepExclusionWindow];
        [self.chainInternal armpitColoredAnonymousBridgeArtsBreakBar:quickStable code:self.glyphSlowTextField.text eachCode:assertBedCode bagKey:self.farJustTagLowTextField.text completion:^(id object) {
            [SobConvertView learnedTimeCenteredReceiptSpaWindow];
            [PubToast operandTip:MapSheFocus.catBlackPopMay.planeIronGopherOpaqueRelations];
            if (object) {
                [self.peakOrderedDelegate sigmaEndDetectedDegreesAbnormalWithName:object discardIconPassword:self.farJustTagLowTextField.text];
                [self eightNewtonsBasqueSessionLawAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.mixTwentyButton theDocumentReverseFamilySymbolic];
}
@end
