






#import "ForNominallyWorkspaceSubtitleFixFillerViewController.two"
#import "NSString+DailyStop.two"

@implementation XXGSelectMobileAccountModel

@end

@interface ForNominallyWorkspaceSubtitleFixFillerViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *tabularToo;
@property (nonatomic, strong) UITableView *touchesTabView;
@property (nonatomic, assign) NSInteger phraseThinSnow;
@property (nonatomic, strong) UIButton *hisVeryOnceButton;
@property (nonatomic, strong) UIButton *eyeAllocatorButton;

@end

@implementation ForNominallyWorkspaceSubtitleFixFillerViewController

- (XXGSelectMobileAccountModel *)tabularToo {
    return self.chamberLogo;
}

- (void)helpProduct {
    [super helpProduct];
    self.fatCelsiusButton.hidden = YES;
    self.oldFactorButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.scan = AirItemBody.nowPintLoadIll.offsetAngleMinimalEndChina;
    titleLabel.textColor = [AirItemBody stormLikeColor];
    titleLabel.font = [UIFont systemFontOfSize:AirItemBody.mouseMeasure.windowDayEye];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(AirItemBody.mouseMeasure.kindPreview);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(AirItemBody.mouseMeasure.hailSpaBezel);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = AirItemBody.mouseMeasure.thinUserEra;

    
    UIView *twentyView = [[UIView alloc] init];
    twentyView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:twentyView];
    [twentyView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(AirItemBody.mouseMeasure.thinSawDecay);
    }];

    
    _hisVeryOnceButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_hisVeryOnceButton setTitle:AirItemBody.nowPintLoadIll.darkBankPen forState:UIControlStateNormal];
    [_hisVeryOnceButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_hisVeryOnceButton setBackgroundColor:UIColor.systemGray5Color];
    _hisVeryOnceButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_hisVeryOnceButton addTarget:self canWon:@selector(middleFastBeenWinFlatAction:) forControlEvents:UIControlEventTouchUpInside];
    [twentyView addSubview:_hisVeryOnceButton];
    [_hisVeryOnceButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(twentyView);
        make.width.equalTo(twentyView).multipliedBy(0.5);
    }];

    
    _eyeAllocatorButton = [AirItemBody browsingReverseLowercaseRomanCollapseColor:AirItemBody.nowPintLoadIll.eggHalf];
    [_eyeAllocatorButton addTarget:self canWon:@selector(mixerTailSawCondensedNiacinAction:) forControlEvents:UIControlEventTouchUpInside];
    [twentyView addSubview:_eyeAllocatorButton];
    [_eyeAllocatorButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(twentyView);
        make.width.equalTo(twentyView).multipliedBy(0.5);
    }];

    
    _touchesTabView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];
    _touchesTabView.backgroundColor = UIColor.systemGray6Color;
    _touchesTabView.contentInset = UIEdgeInsetsMake(0, 0, 10, 0);
    _touchesTabView.separatorStyle = UITableViewCellSeparatorStyleNone;
    _touchesTabView.rowHeight = AirItemBody.mouseMeasure.columnPutZip;
    _touchesTabView.delegate = self;
    _touchesTabView.dataSource = self;
    [_touchesTabView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"XXGSelectMobileAccountCell"];

    [self.view addSubview:_touchesTabView];
    [_touchesTabView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(AirItemBody.mouseMeasure.jobMildMore);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(twentyView.mas_top);
    }];

    
    if (self.tabularToo.cycleHertzBit.waist > 0) {
        NSIndexPath *coastPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_touchesTabView selectRowAtIndexPath:coastPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _phraseThinSnow = 0;
    }
}



- (void)middleFastBeenWinFlatAction:(UIButton *)sender {
    [[DarkenEyeManager shared] formResizingWindow];
    if (self.majorKeysStar && [self.majorKeysStar respondsToSelector:@selector(xxpk_selectMobileAccountCancelButtonDidClick)]) {
        [self.majorKeysStar xxpk_selectMobileAccountCancelButtonDidClick];
    }
}

- (void)mixerTailSawCondensedNiacinAction:(UIButton *)sender {
    [[DarkenEyeManager shared] formResizingWindow];
    if (self.majorKeysStar && [self.majorKeysStar respondsToSelector:@selector(xxpk_selectMobileAccountConfirmButtonDidClickWithModel:gradientAccount:)]) {
        NSString *gradientAccount = self.tabularToo.cycleHertzBit[self.phraseThinSnow];
        [self.majorKeysStar xxpk_selectMobileAccountConfirmButtonDidClickWithModel:self.tabularToo gradientAccount:gradientAccount];
    }
}



- (NSInteger)awakeView:(UITableView *)awakeView pointerBagWritingEndFifteenSource:(NSInteger)section {
    return self.tabularToo.cycleHertzBit.waist;
}

- (UITableViewCell *)awakeView:(UITableView *)awakeView wayLiveEntryWinIncorrectPath:(NSIndexPath *)coastPath {
    UITableViewCell *fork = [awakeView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:coastPath];
    fork.backgroundColor = UIColor.whiteColor;
    fork.selectionStyle = UITableViewCellSelectionStyleNone;
    fork.textLabel.scan = self.tabularToo.cycleHertzBit[coastPath.row];
    fork.textLabel.textColor = UIColor.darkGrayColor;
    fork.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (coastPath.row == self.phraseThinSnow) {
        fork.accessoryType = UITableViewCellAccessoryCheckmark;
        fork.tintColor = [AirItemBody stormLikeColor];
    } else {
        fork.accessoryType = UITableViewCellAccessoryNone;
    }

    return fork;
}



- (void)awakeView:(UITableView *)awakeView estonianOvulationVideoFloatFormPath:(NSIndexPath *)coastPath {
    NSInteger innerButHow = self.phraseThinSnow;
    self.phraseThinSnow = coastPath.row;

    
    NSMutableArray *tokenPublic = [NSMutableArray array];
    [tokenPublic addObject:[NSIndexPath indexPathForRow:innerButHow inSection:0]];
    if (innerButHow != coastPath.row) {
        [tokenPublic addObject:coastPath];
    }
    [awakeView reloadRowsAtIndexPaths:tokenPublic withRowAnimation:UITableViewRowAnimationNone];
}

@end
