






#import "DismissalViewController.h"
#import "FollowEntryButton.h"
#import "UniformDesktopViewController.h"
#import "KinToast.h"
#import "FactKeyNameLabel.h"
#import "ObservingTextField.h"
#import "NSString+EasyStorm.h"

@interface DismissalViewController ()

@property (nonatomic, strong) ObservingTextField *stayRootYouTextField;
@property (nonatomic, strong) UITextField *preservedTextField;
@property (nonatomic, strong) FollowEntryButton *weekGreenButton;
@property (nonatomic,strong) FactKeyNameLabel *sonOrnamentsLabel;

@end

@implementation DismissalViewController

- (FollowEntryButton *)weekGreenButton {
    if (!_weekGreenButton) {
        _weekGreenButton = [[FollowEntryButton alloc] init];
    }
    return _weekGreenButton;
}

- (FactKeyNameLabel *)sonOrnamentsLabel {
    if (!_sonOrnamentsLabel) {
        _sonOrnamentsLabel = [FactKeyNameLabel airCleanTitleLabel:NO];
    }
    return _sonOrnamentsLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.stayRootYouTextField = [[ObservingTextField alloc] initWithController:self];
    [self.view addSubview:self.stayRootYouTextField];
    [self.stayRootYouTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(FixMaterial.capsLoopsAge.oddSpokenYou);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.niacinDegree);
        make.right.mas_equalTo(-FixMaterial.capsLoopsAge.niacinDegree);
        make.height.mas_equalTo(FixMaterial.capsLoopsAge.rearrangeSin);
    }];
    
    
    self.preservedTextField = [FixMaterial eventualShowCursorDanishCorruptDistanceCode];
    [self.view addSubview:self.preservedTextField];
    [self.preservedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stayRootYouTextField.mas_bottom).offset(FixMaterial.capsLoopsAge.builtChinese);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.niacinDegree);
        make.height.mas_equalTo(FixMaterial.capsLoopsAge.rearrangeSin);
    }];
    
    sheLess(self);
    self.weekGreenButton.sawPoloAreArtAction = ^{
        condensed(self);
        NSString *signalingCode = self.stayRootYouTextField.sockKeysHisEra;
        NSString *hormoneSent = self.stayRootYouTextField.slantUnitRecordTildeSetting;
        if (self.stayRootYouTextField.stayRootYouTextField.text.thumbPending) {
            [self.weekGreenButton coloredMouseAchievedClickedButterfly];
            [BinAlertView bigUnboundedMaintainUnpluggedTargetGrouped:FixMaterial.dryMicroCapTag.pairCross message:FixMaterial.dryMicroCapTag.receivesSheCameraExtendingInteractMixer completion:nil];
            return;
        }
        if ([self.falloffBorder respondsToSelector:@selector(trimmingOptTeaspoonsDynamicArmBundlesImmutableType:relayCatAdd:drumCode:completion:)]) {
            [FlattenPopView tapTheOldFadeWindow];
            [self.falloffBorder trimmingOptTeaspoonsDynamicArmBundlesImmutableType:FixMaterial.capsLoopsAge.armenianDiphthongOddTowerVisual relayCatAdd:hormoneSent drumCode:signalingCode completion:^(id object) {
                [FlattenPopView extendGlucoseCatMinorZoomWindow];
                if ([object boolValue]) {
                    [KinToast ageRootIll:FixMaterial.dryMicroCapTag.englishIdenticalBufferFathomsMovieSmoothedCode];
                }else {
                    [self.weekGreenButton coloredMouseAchievedClickedButterfly];
                }
            }];
        }
    };
    [self.view addSubview:self.weekGreenButton];
    [self.weekGreenButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.preservedTextField);
        make.height.equalTo(self.preservedTextField);
        make.left.equalTo(self.preservedTextField.mas_right).offset(FixMaterial.capsLoopsAge.expiredBuilt);
        make.right.equalTo(self.stayRootYouTextField);
    }];
    
    
    [self.weekGreenButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *hertzWriteOldButton = [FixMaterial rangeSeeHectaresImproperLowercaseColor:FixMaterial.dryMicroCapTag.switchNowSymbolicKeyboardFormatBuddhist];
    [hertzWriteOldButton addTarget:self action:@selector(partnerFlatnessFragmentStreamedRepublicAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:hertzWriteOldButton];
    [hertzWriteOldButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.preservedTextField.mas_bottom).offset(FixMaterial.capsLoopsAge.builtChinese);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.niacinDegree);
        make.right.mas_equalTo(-FixMaterial.capsLoopsAge.niacinDegree);
        make.height.mas_equalTo(FixMaterial.capsLoopsAge.maxCurlGuest);
    }];
    
    [self.view addSubview:self.sonOrnamentsLabel];
    [self.sonOrnamentsLabel setExtendsLoveAgeAdvancesBoldfaceApply:^{
        condensed(self);
        [self albumBatteryIgnoringRestoresRowsPermanentAction];
    }];
    [self.sonOrnamentsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-FixMaterial.capsLoopsAge.faceRowApple);
        make.left.mas_equalTo(FixMaterial.capsLoopsAge.dropCanDance);
        make.right.mas_equalTo(-FixMaterial.capsLoopsAge.dropCanDance);
    }];
}

- (void)partnerFlatnessFragmentStreamedRepublicAction:(UIButton *)sender {
    if (self.stayRootYouTextField.stayRootYouTextField.text.thumbPending) {
        [BinAlertView bigUnboundedMaintainUnpluggedTargetGrouped:FixMaterial.dryMicroCapTag.pairCross message:FixMaterial.dryMicroCapTag.receivesSheCameraExtendingInteractMixer completion:nil];
        return;
    }
    if (self.preservedTextField.text.thumbPending) {
        [BinAlertView bigUnboundedMaintainUnpluggedTargetGrouped:FixMaterial.dryMicroCapTag.pairCross message:FixMaterial.dryMicroCapTag.hasKnowDestroyVeryStarted completion:nil];
        return;
    }
    NSString *signalingCode = self.stayRootYouTextField.sockKeysHisEra;
    NSString *hormoneSent = self.stayRootYouTextField.slantUnitRecordTildeSetting;
    if ([self.falloffBorder respondsToSelector:@selector(imperialMapPreservedNotLaunchedTabReloadSimple:code:drumCode:completion:)]) {
        [FlattenPopView tapTheOldFadeWindow];
        [self.falloffBorder imperialMapPreservedNotLaunchedTabReloadSimple:hormoneSent code:self.preservedTextField.text drumCode:signalingCode completion:^(id object) {
            [FlattenPopView extendGlucoseCatMinorZoomWindow];
        }];
    }
}


- (void)albumBatteryIgnoringRestoresRowsPermanentAction {
    UniformDesktopViewController *foggyUsesIcy = [UniformDesktopViewController new];
    foggyUsesIcy.sexDeclined = @(YES);
    foggyUsesIcy.falloffBorder = self.falloffBorder;
    [foggyUsesIcy setSmoothedArmShowingEmergencyLaunch:^(BOOL result) {
        self.sonOrnamentsLabel.helloFlowClose = result;
    }];
    [self.navigationController pushViewController:foggyUsesIcy animated:NO];
}

- (void)dealloc {
    [self.weekGreenButton coloredMouseAchievedClickedButterfly];
}
@end
