






#import "OuterPintViewController.h"
#import "GraySeedTapButton.h"
#import "CatToast.h"
#import "FoggyDenyTextField.h"
#import "NSString+Redirects.h"

@interface OuterPintViewController ()

@property (nonatomic, strong) FoggyDenyTextField *gravityMoleTextField;
@property (nonatomic, strong) UITextField *realmAwayTextField;
@property (nonatomic, strong) UITextField *fatSayWetArtsTextField;
@property (nonatomic, strong) GraySeedTapButton *rareAcuteButton;
@end

@implementation OuterPintViewController

- (GraySeedTapButton *)rareAcuteButton {
    if (!_rareAcuteButton) {
        _rareAcuteButton = [[GraySeedTapButton alloc] init];
    }
    return _rareAcuteButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.gravityMoleTextField = [[FoggyDenyTextField alloc] initWithController:self];
    [self.view addSubview:self.gravityMoleTextField];
    [self.gravityMoleTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(DistantEach.whoFrenchMin.collectorMax);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.right.mas_equalTo(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.peopleHealth);
    }];
    
    
    self.realmAwayTextField = [DistantEach powerCellphoneSuspendedStartStandardDraftCode];
    [self.view addSubview:self.realmAwayTextField];
    [self.realmAwayTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.gravityMoleTextField.mas_bottom).offset(DistantEach.whoFrenchMin.scoreTriple);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.peopleHealth);
    }];
    
    ourCost(self);
    self.rareAcuteButton.kitAnyBlueTryAction = ^{
        deviceBed(self);
        
        NSString *draftMainCode = self.gravityMoleTextField.offCycleHitAir;
        NSString *archivedWho = self.gravityMoleTextField.filterRightDecigramsPublishRight;
        if (self.gravityMoleTextField.gravityMoleTextField.text.penBiotinIts) {
            [self.rareAcuteButton romanianCursorLivePoolLuminance];
            [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.insertionBookBinHostSunAudiences completion:nil];
            return;
        }
        if ([self.passiveAuthor respondsToSelector:@selector(modifiersForbiddenEarlyDecreaseLetterBitsExpandedType:unifyNapTap:tagsCode:completion:)]) {
            [MapLicenseView gallonTeacherWindow];
            [self.passiveAuthor modifiersForbiddenEarlyDecreaseLetterBitsExpandedType:DistantEach.whoFrenchMin.scriptUpsideYouPhoneOdd unifyNapTap:archivedWho tagsCode:draftMainCode completion:^(id object) {
                [MapLicenseView dismissRetTypeUnlimitedBodyWindow];
                if ([object boolValue]) {
                    [CatToast tryRetCall:DistantEach.earMayTopModel.embeddedOrganizeNodeButterflyColleagueSlantCode];
                }else {
                    [self.rareAcuteButton romanianCursorLivePoolLuminance];
                }
            }];
        }
    };
    [self.view addSubview:self.rareAcuteButton];
    [self.rareAcuteButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.realmAwayTextField);
        make.height.equalTo(self.realmAwayTextField);
        make.right.equalTo(self.gravityMoleTextField);
        
        make.width.mas_equalTo(self.rareAcuteButton.titleLabel.intrinsicContentSize.width + DistantEach.whoFrenchMin.pipeFlexible);
    }];
    
    [self.realmAwayTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.rareAcuteButton.mas_left).offset(-DistantEach.whoFrenchMin.loopsTypeRet);
    }];
    
    
    self.fatSayWetArtsTextField = [DistantEach projectsConsumesYetDifferentUighurPassword:YES];
    [self.view addSubview:self.fatSayWetArtsTextField];
    [self.fatSayWetArtsTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.realmAwayTextField.mas_bottom).offset(DistantEach.whoFrenchMin.scoreTriple);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.right.mas_equalTo(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.peopleHealth);
    }];
    UIButton *reuseArtButton = self.fatSayWetArtsTextField.rightView.subviews.firstObject;
    [reuseArtButton addTarget:self action:@selector(supportsPlusConsumerDrumArrivalPeakHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *wrongYetUseButton = [DistantEach pongLocalExpiresEndBitColor:DistantEach.earMayTopModel.pathExtentsKey];
    [wrongYetUseButton addTarget:self action:@selector(retForeverArgumentsIntrinsicShutterAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:wrongYetUseButton];
    [wrongYetUseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.fatSayWetArtsTextField.mas_bottom).offset(DistantEach.whoFrenchMin.scoreTriple);
        make.left.mas_equalTo(DistantEach.whoFrenchMin.topFatChrome);
        make.right.mas_equalTo(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.torchTheSolo);
    }];
}
- (void)supportsPlusConsumerDrumArrivalPeakHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.fatSayWetArtsTextField.secureTextEntry = !self.fatSayWetArtsTextField.isSecureTextEntry;
}

- (void)retForeverArgumentsIntrinsicShutterAction:(id)sender {
    if (self.gravityMoleTextField.gravityMoleTextField.text.penBiotinIts) {
        [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.insertionBookBinHostSunAudiences completion:nil];
        return;
    }
    if (self.realmAwayTextField.text.penBiotinIts) {
        [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.planeFootersScalarShotSeparator completion:nil];
        return;
    }
    if (self.fatSayWetArtsTextField.text.length < DistantEach.whoFrenchMin.bitRealmSaw) {
        [IcyAlertView quotationCollectedPubPopSupportsMouse:DistantEach.earMayTopModel.focusHail message:DistantEach.earMayTopModel.focalCaptureCopperThirdPrepareBlink completion:nil];
        return;
    }
    NSString *draftMainCode = self.gravityMoleTextField.offCycleHitAir;
    NSString *archivedWho = self.gravityMoleTextField.filterRightDecigramsPublishRight;
    if ([self.passiveAuthor respondsToSelector:@selector(pushGoldenTeamSongLossLocalityRequiring:code:tagsCode:armKey:completion:)]) {
        [MapLicenseView gallonTeacherWindow];
        [self.passiveAuthor pushGoldenTeamSongLossLocalityRequiring:archivedWho code:self.realmAwayTextField.text tagsCode:draftMainCode armKey:self.fatSayWetArtsTextField.text completion:^(id object) {
            [MapLicenseView dismissRetTypeUnlimitedBodyWindow];
            [CatToast tryRetCall:DistantEach.earMayTopModel.sortEndsDashInspiredCan];
            if (object) {
                [self.appendSenseDelegate cancelledLightAppearForWordWithName:object notRingSeekPassword:self.fatSayWetArtsTextField.text];
                [self splitMajorGloballyPositionsHandlingAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.rareAcuteButton romanianCursorLivePoolLuminance];
}
@end
