






#import "TreeOwnerViewController.h"
#import "PathBaseMayButton.h"
#import "HourAudioThirdViewController.h"
#import "AnyToast.h"
#import "AreRelativeLabel.h"
#import "RectangleTextField.h"
#import "NSString+Receiving.h"

@interface TreeOwnerViewController ()

@property (nonatomic, strong) RectangleTextField *fourUserTenTextField;
@property (nonatomic, strong) UITextField *logJabberTextField;
@property (nonatomic, strong) PathBaseMayButton *siteTwistButton;
@property (nonatomic,strong) AreRelativeLabel *hitMeanAxialLabel;

@end

@implementation TreeOwnerViewController

- (PathBaseMayButton *)siteTwistButton {
    if (!_siteTwistButton) {
        _siteTwistButton = [[PathBaseMayButton alloc] init];
    }
    return _siteTwistButton;
}

- (AreRelativeLabel *)hitMeanAxialLabel {
    if (!_hitMeanAxialLabel) {
        _hitMeanAxialLabel = [AreRelativeLabel busApplyCloudLabel:NO];
    }
    return _hitMeanAxialLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.fourUserTenTextField = [[RectangleTextField alloc] initWithController:self];
    [self.view addSubview:self.fourUserTenTextField];
    [self.fourUserTenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SafeWaxSort.sinLaunchCut.halftoneJoin);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.right.mas_equalTo(-SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.policyStrict);
    }];
    
    
    self.logJabberTextField = [SafeWaxSort bondWrapInvokeSolutionsUndoneFlatnessCode];
    [self.view addSubview:self.logJabberTextField];
    [self.logJabberTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.fourUserTenTextField.mas_bottom).offset(SafeWaxSort.sinLaunchCut.allSkinClamp);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.policyStrict);
    }];
    
    addPing(self);
    self.siteTwistButton.segmentUnsafeAction = ^{
        manDecode(self);
        NSString *cloudRuleCode = self.fourUserTenTextField.twentyGeometry;
        NSString *denseMargin = self.fourUserTenTextField.pubExerciseBagStrengthLandmark;
        if (self.fourUserTenTextField.fourUserTenTextField.text.shareParsing) {
            [self.siteTwistButton disparityAgeRealSwahiliBadminton];
            [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.verboseRestoresTrackingArrayArePartly completion:nil];
            return;
        }
        if ([self.eightFoundPop respondsToSelector:@selector(quitBuddhistMakeInterruptKeysConductorDirectType:imageSumTwo:sendCode:completion:)]) {
            [RankSobHowView printHerModalWindow];
            [self.eightFoundPop quitBuddhistMakeInterruptKeysConductorDirectType:SafeWaxSort.sinLaunchCut.schoolSheClockInstantPotassium imageSumTwo:denseMargin sendCode:cloudRuleCode completion:^(id object) {
                [RankSobHowView incorrectVisualMemoryLowPowerWindow];
                if ([object boolValue]) {
                    [AnyToast capDelayed:SafeWaxSort.oldBothLogStop.interiorRetainIterationCarbonUnionDecoderCode];
                }else {
                    [self.siteTwistButton disparityAgeRealSwahiliBadminton];
                }
            }];
        }
    };
    [self.view addSubview:self.siteTwistButton];
    [self.siteTwistButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.logJabberTextField);
        make.height.equalTo(self.logJabberTextField);
        make.right.equalTo(self.fourUserTenTextField);
        
        make.width.mas_equalTo(self.siteTwistButton.titleLabel.intrinsicContentSize.width + SafeWaxSort.sinLaunchCut.directHasEar);
    }];
    
    [self.logJabberTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.siteTwistButton.mas_left).offset(-SafeWaxSort.sinLaunchCut.alienMoodJob);
    }];
    
    
    UIButton *sonTopOutsideButton = [SafeWaxSort uniformBarrierWillGainSignalColor:SafeWaxSort.oldBothLogStop.identicalTaggingPoolOptimizedProvidePreparing];
    [sonTopOutsideButton addTarget:self action:@selector(fontPubBrokenBondAddAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sonTopOutsideButton];
    [sonTopOutsideButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.logJabberTextField.mas_bottom).offset(SafeWaxSort.sinLaunchCut.allSkinClamp);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.right.mas_equalTo(-SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.installsArea);
    }];
    
    [self.view addSubview:self.hitMeanAxialLabel];
    [self.hitMeanAxialLabel setStepsonFastFootersFarsiCricketOperating:^{
        manDecode(self);
        [self submittedUnsignedConstructFeedPullCentralAction];
    }];
    [self.hitMeanAxialLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-SafeWaxSort.sinLaunchCut.localInhaler);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.mergeBarrier);
        make.right.mas_equalTo(-SafeWaxSort.sinLaunchCut.mergeBarrier);
    }];
}

- (void)fontPubBrokenBondAddAction:(UIButton *)sender {
    if (self.fourUserTenTextField.fourUserTenTextField.text.shareParsing) {
        [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.verboseRestoresTrackingArrayArePartly completion:nil];
        return;
    }
    if (self.logJabberTextField.text.shareParsing) {
        [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.animationDisablingPreviewBeatKin completion:nil];
        return;
    }
    NSString *cloudRuleCode = self.fourUserTenTextField.twentyGeometry;
    NSString *denseMargin = self.fourUserTenTextField.pubExerciseBagStrengthLandmark;
    if ([self.eightFoundPop respondsToSelector:@selector(mobileFigureUseDisposeSphericalDistanceRevertLove:code:sendCode:completion:)]) {
        [RankSobHowView printHerModalWindow];
        [self.eightFoundPop mobileFigureUseDisposeSphericalDistanceRevertLove:denseMargin code:self.logJabberTextField.text sendCode:cloudRuleCode completion:^(id object) {
            [RankSobHowView incorrectVisualMemoryLowPowerWindow];
        }];
    }
}


- (void)submittedUnsignedConstructFeedPullCentralAction {
    HourAudioThirdViewController *anyPhotosDog = [HourAudioThirdViewController new];
    anyPhotosDog.tooStairTap = @(YES);
    anyPhotosDog.eightFoundPop = self.eightFoundPop;
    [anyPhotosDog setCampaignKitReadyHostDistance:^(BOOL result) {
        self.hitMeanAxialLabel.allCutPinSurge = result;
    }];
    [self.navigationController pushViewController:anyPhotosDog animated:NO];
}

- (void)dealloc {
    [self.siteTwistButton disparityAgeRealSwahiliBadminton];
}
@end
