






#import "ProtocolsViewController.h"
#import "AllSolveFatButton.h"
#import "ButToast.h"
#import "GradeKeepTextField.h"
#import "NSString+MidBypass.h"

@interface ProtocolsViewController ()

@property (nonatomic, strong) GradeKeepTextField *theCanPivotTextField;
@property (nonatomic, strong) UITextField *portAdoptTextField;
@property (nonatomic, strong) UITextField *fixingContactTextField;
@property (nonatomic, strong) AllSolveFatButton *allowCaseButton;
@end

@implementation ProtocolsViewController

- (AllSolveFatButton *)allowCaseButton {
    if (!_allowCaseButton) {
        _allowCaseButton = [[AllSolveFatButton alloc] init];
    }
    return _allowCaseButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.theCanPivotTextField = [[GradeKeepTextField alloc] initWithController:self];
    [self.view addSubview:self.theCanPivotTextField];
    [self.theCanPivotTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MakerOldest.redoneFinder.kilogramsDay);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.right.mas_equalTo(-MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.kitPredicted);
    }];
    
    
    self.portAdoptTextField = [MakerOldest bigFileLocalityNaturalSigmaFitCode];
    [self.view addSubview:self.portAdoptTextField];
    [self.portAdoptTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.theCanPivotTextField.mas_bottom).offset(MakerOldest.redoneFinder.featRawPipe);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.kitPredicted);
    }];
    
    hellman(self);
    self.allowCaseButton.megabitsStaleAction = ^{
        serverBin(self);
        
        NSString *bundleDueCode = self.theCanPivotTextField.slovakHomeWith;
        NSString *exactLowSee = self.theCanPivotTextField.mongolianTagTopConverterReadable;
        if (self.theCanPivotTextField.theCanPivotTextField.text.diskClusters) {
            [self.allowCaseButton iconPerformsFingerTeaspoonsScheme];
            [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.styleHumanRouterAlignedUnderagePack completion:nil];
            return;
        }
        if ([self.sameSitePanel respondsToSelector:@selector(makerAcrossAnnotatedLongOverageConflictsWalkType:andGigabits:bondCode:completion:)]) {
            [FetchSenseView furlongsApplyWindow];
            [self.sameSitePanel makerAcrossAnnotatedLongOverageConflictsWalkType:MakerOldest.redoneFinder.tryResignMixQuechuaElevation andGigabits:exactLowSee bondCode:bundleDueCode completion:^(id object) {
                [FetchSenseView hashDeciliterChargingArchiveWalkingWindow];
                if ([object boolValue]) {
                    [ButToast packetsFit:MakerOldest.patternsTwenty.thatPairWorkflowSaveOccurredForkCode];
                }else {
                    [self.allowCaseButton iconPerformsFingerTeaspoonsScheme];
                }
            }];
        }
    };
    [self.view addSubview:self.allowCaseButton];
    [self.allowCaseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.portAdoptTextField);
        make.height.equalTo(self.portAdoptTextField);
        make.left.equalTo(self.portAdoptTextField.mas_right).offset(MakerOldest.redoneFinder.menDolbyHead);
        make.right.equalTo(self.theCanPivotTextField);
    }];
    
    
    [self.allowCaseButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.fixingContactTextField = [MakerOldest bezelDetermineContainedAffiliateSigningPassword:YES];
    [self.view addSubview:self.fixingContactTextField];
    [self.fixingContactTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.portAdoptTextField.mas_bottom).offset(MakerOldest.redoneFinder.featRawPipe);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.right.mas_equalTo(-MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.kitPredicted);
    }];
    UIButton *fatAlertButton = self.fixingContactTextField.rightView.subviews.firstObject;
    [fatAlertButton addTarget:self action:@selector(danishSignerExtensionSunUnderlinePluralHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *atomFilmTipButton = [MakerOldest sixPipeGrantingNoneBendColor:MakerOldest.patternsTwenty.lineBusyCarKey];
    [atomFilmTipButton addTarget:self action:@selector(stateRebusScalarWeightsCertAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:atomFilmTipButton];
    [atomFilmTipButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.fixingContactTextField.mas_bottom).offset(MakerOldest.redoneFinder.featRawPipe);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.right.mas_equalTo(-MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.tripleDialog);
    }];
}
- (void)danishSignerExtensionSunUnderlinePluralHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.fixingContactTextField.secureTextEntry = !self.fixingContactTextField.isSecureTextEntry;
}

- (void)stateRebusScalarWeightsCertAction:(id)sender {
    if (self.theCanPivotTextField.theCanPivotTextField.text.diskClusters) {
        [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.styleHumanRouterAlignedUnderagePack completion:nil];
        return;
    }
    if (self.portAdoptTextField.text.diskClusters) {
        [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.downGetGolfChatNothing completion:nil];
        return;
    }
    if (self.fixingContactTextField.text.length < MakerOldest.redoneFinder.routerDrive) {
        [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.millionPanSpecifiedIgnoreLocationOverride completion:nil];
        return;
    }
    NSString *bundleDueCode = self.theCanPivotTextField.slovakHomeWith;
    NSString *exactLowSee = self.theCanPivotTextField.mongolianTagTopConverterReadable;
    if ([self.sameSitePanel respondsToSelector:@selector(exclusivePopCatalystQuotationSumIntrinsicOlympus:code:bondCode:sumKey:completion:)]) {
        [FetchSenseView furlongsApplyWindow];
        [self.sameSitePanel exclusivePopCatalystQuotationSumIntrinsicOlympus:exactLowSee code:self.portAdoptTextField.text bondCode:bundleDueCode sumKey:self.fixingContactTextField.text completion:^(id object) {
            [FetchSenseView hashDeciliterChargingArchiveWalkingWindow];
            [ButToast packetsFit:MakerOldest.patternsTwenty.stoppedCustomHintMisplacedActivated];
            if (object) {
                [self.extraDeviceDelegate barOperatorTimeExpireSigmaWithName:object themeFamilyPassword:self.fixingContactTextField.text];
                [self tibetanPrimePolicyStateTerabytesAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.allowCaseButton iconPerformsFingerTeaspoonsScheme];
}
@end
