






#import "HalfTintStaleViewController.h"
#import "PartlyVitalButton.h"
#import "SexToast.h"
#import "MailMicroTextField.h"
#import "NSString+Anonymous.h"
@import WebKit;

@interface HalfTintStaleViewController ()

@property (nonatomic, strong) MailMicroTextField *depthBorderTextField;
@property (nonatomic, strong) UITextField *mindOccurTextField;
@property (nonatomic, strong) PartlyVitalButton *redSourceButton;

@end

@implementation HalfTintStaleViewController


- (PartlyVitalButton *)redSourceButton {
    if (!_redSourceButton) {
        _redSourceButton = [[PartlyVitalButton alloc] init];
    }
    return _redSourceButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.cascadeNotButton.hidden = [self.mostlyPlate[0] boolValue];
    
    UILabel *putLabel = [RuleListCut swimmingWeeklyFontMenstrualFactories:RuleListCut.costSonKnowKit.signatureUnpluggedCupPortraitSmallCrop];
    putLabel.numberOfLines = 0;
    [self.view addSubview:putLabel];
    [putLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(RuleListCut.coloredDraft.capShakeSlow);
        make.left.mas_equalTo(RuleListCut.coloredDraft.capShakeSlow);
        make.right.mas_equalTo(-RuleListCut.coloredDraft.capShakeSlow);
    }];
    
    
    self.depthBorderTextField = [[MailMicroTextField alloc] initWithController:self];
    [self.view addSubview:self.depthBorderTextField];
    [self.depthBorderTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(putLabel.mas_bottom).offset(RuleListCut.coloredDraft.prominentEye);
        make.left.mas_equalTo(RuleListCut.coloredDraft.herLimitSafe);
        make.right.mas_equalTo(-RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.appleLogical);
    }];
    
    
    self.mindOccurTextField = [RuleListCut sharpnessEyePosterCaptionOldestDiastolicCode];
    [self.view addSubview:self.mindOccurTextField];
    [self.mindOccurTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.depthBorderTextField.mas_bottom).offset(RuleListCut.coloredDraft.minderCapAir);
        make.left.mas_equalTo(RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.appleLogical);
    }];
    
    fourJob(self);
    self.redSourceButton.wetAreaRowTipAction = ^{
        maskLocal(self);
        NSString *predictedCode = self.depthBorderTextField.mobilePrevents;
        NSString *catVariance = self.depthBorderTextField.coverageEulerRestBecomeDriven;
        if (self.depthBorderTextField.depthBorderTextField.text.faceBitChina) {
            [self.redSourceButton binSchemePortionAboutPort];
            [LowAlertView artFourBarUnitSeeWill:RuleListCut.costSonKnowKit.blinkWork message:RuleListCut.costSonKnowKit.descenderMegabitsPartiallySerbianAcceptedSlight completion:nil];
            return;
        }
        if ([self.urgentRatings respondsToSelector:@selector(usedTraveledDisorderSeeMobileForceIntroType:sawMoireDry:footCode:completion:)]) {
            [IllegalRedView limitHandoverWindow];
            [self.urgentRatings usedTraveledDisorderSeeMobileForceIntroType:RuleListCut.coloredDraft.cloudZipGetBad sawMoireDry:catVariance footCode:predictedCode completion:^(id object) {
                [IllegalRedView ourSavePartialRestartMatrixWindow];
                if ([object boolValue]) {
                    [SexToast signingNet:RuleListCut.costSonKnowKit.anyLogAppliesLoveCutoffBloodCode];
                }else {
                    [self.redSourceButton binSchemePortionAboutPort];
                }
            }];
        }
    };
    [self.view addSubview:self.redSourceButton];
    [self.redSourceButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.mindOccurTextField);
        make.height.equalTo(self.mindOccurTextField);
        make.right.equalTo(self.depthBorderTextField);
        
        make.width.mas_equalTo(self.redSourceButton.titleLabel.intrinsicContentSize.width + RuleListCut.coloredDraft.capShakeSlow);
    }];
    
    [self.mindOccurTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.redSourceButton.mas_left).offset(-RuleListCut.coloredDraft.redPeriodIll);
    }];
    
    
    UIButton *queryDiskButton = [RuleListCut nominallyObstacleUnchangedBlobHybridColor:RuleListCut.costSonKnowKit.resonantMindMegabytesNotifyMagic];
    [queryDiskButton addTarget:self action:@selector(scopeIntroLogDocumentRelayAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:queryDiskButton];
    [queryDiskButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mindOccurTextField.mas_bottom).offset(RuleListCut.coloredDraft.minderCapAir);
        make.left.mas_equalTo(RuleListCut.coloredDraft.herLimitSafe);
        make.right.mas_equalTo(-RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.rareErrorMan);
    }];
}

- (void)scopeIntroLogDocumentRelayAction:(id)sender {
    if (self.depthBorderTextField.depthBorderTextField.text.faceBitChina) {
        [LowAlertView artFourBarUnitSeeWill:RuleListCut.costSonKnowKit.blinkWork message:RuleListCut.costSonKnowKit.descenderMegabitsPartiallySerbianAcceptedSlight completion:nil];
        return;
    }
    if (self.mindOccurTextField.text.faceBitChina) {
        [LowAlertView artFourBarUnitSeeWill:RuleListCut.costSonKnowKit.blinkWork message:RuleListCut.costSonKnowKit.beenUrgentFocusLongitudeHour completion:nil];
        return;
    }
    NSString *predictedCode = self.depthBorderTextField.mobilePrevents;
    NSString *catVariance = self.depthBorderTextField.coverageEulerRestBecomeDriven;
    if ([self.urgentRatings respondsToSelector:@selector(restHexGradientOutWidgetDrawSwipe:code:footCode:completion:)]) {
        [IllegalRedView limitHandoverWindow];
        [self.urgentRatings restHexGradientOutWidgetDrawSwipe:catVariance code:self.mindOccurTextField.text footCode:predictedCode completion:^(id object) {
            [IllegalRedView ourSavePartialRestartMatrixWindow];
            if ([object boolValue]) {
                [[PopParserManager shared] receivesOriginInferPencilItsHandledViewController:self.navigationController];
                [SexToast signingNet:RuleListCut.costSonKnowKit.rawAskGravityStretchAdvancedNegate];
                if ([self.mostlyPlate[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *wideAborted = (WKWebView *)self.mostlyPlate[1];
                    [wideAborted reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.redSourceButton binSchemePortionAboutPort];
}

@end
