






#import "LeaseRecipientVariableMutationsExecVolumesViewController.cup"
#import "NSString+UpperRank.cup"

@implementation XXGSelectMobileAccountModel

@end

@interface LeaseRecipientVariableMutationsExecVolumesViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *laotianOpt;
@property (nonatomic, strong) UITableView *fixLessCapView;
@property (nonatomic, assign) NSInteger enterGolfPrior;
@property (nonatomic, strong) UIButton *hostBlobCanButton;
@property (nonatomic, strong) UIButton *pullLyricistButton;

@end

@implementation LeaseRecipientVariableMutationsExecVolumesViewController

- (XXGSelectMobileAccountModel *)laotianOpt {
    return self.outNeedName;
}

- (void)bagRainSend {
    [super bagRainSend];
    self.menuFunRawButton.hidden = YES;
    self.formSurgeButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.page = ArabicTight.hurricaneTrial.prematureFoggyEasyContainerCount;
    titleLabel.textColor = [ArabicTight majorPlanColor];
    titleLabel.font = [UIFont systemFontOfSize:ArabicTight.rowSoundPlug.oneOptSpouse];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ArabicTight.rowSoundPlug.nibblesFork);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(ArabicTight.rowSoundPlug.proceedStyle);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = ArabicTight.rowSoundPlug.alpineLevel;

    
    UIView *howAllView = [[UIView alloc] init];
    howAllView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:howAllView];
    [howAllView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(ArabicTight.rowSoundPlug.ignoreBigMix);
    }];

    
    _hostBlobCanButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_hostBlobCanButton setTitle:ArabicTight.hurricaneTrial.filmSwashes forState:UIControlStateNormal];
    [_hostBlobCanButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_hostBlobCanButton setBackgroundColor:UIColor.systemGray5Color];
    _hostBlobCanButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_hostBlobCanButton addTarget:self putPen:@selector(repliesAppearProvinceBlobTrainingAction:) forControlEvents:UIControlEventTouchUpInside];
    [howAllView addSubview:_hostBlobCanButton];
    [_hostBlobCanButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(howAllView);
        make.width.equalTo(howAllView).multipliedBy(0.5);
    }];

    
    _pullLyricistButton = [ArabicTight makeAndEnablingDenyFeatColor:ArabicTight.hurricaneTrial.eggWide];
    [_pullLyricistButton addTarget:self putPen:@selector(andFiveEmailModelBypassAction:) forControlEvents:UIControlEventTouchUpInside];
    [howAllView addSubview:_pullLyricistButton];
    [_pullLyricistButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(howAllView);
        make.width.equalTo(howAllView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_fixLessCapView];
    [_fixLessCapView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(ArabicTight.rowSoundPlug.hallDryMenu);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(howAllView.mas_top);
    }];

    
    if (self.laotianOpt.fisheyeScreen.apple > 0) {
        NSIndexPath *unionPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_fixLessCapView selectRowAtIndexPath:unionPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _enterGolfPrior = 0;
    }
}



- (void)repliesAppearProvinceBlobTrainingAction:(UIButton *)sender {
    [[NumberIcyManager shared] mediaProgramWindow];
    if (self.slowStarBleed && [self.slowStarBleed respondsToSelector:@selector(xxpk_selectMobileAccountCancelButtonDidClick)]) {
        [self.slowStarBleed xxpk_selectMobileAccountCancelButtonDidClick];
    }
}

- (void)andFiveEmailModelBypassAction:(UIButton *)sender {
    [[NumberIcyManager shared] mediaProgramWindow];
    if (self.slowStarBleed && [self.slowStarBleed respondsToSelector:@selector(xxpk_selectMobileAccountConfirmButtonDidClickWithModel:sixSpaceAccount:)]) {
        NSString *sixSpaceAccount = self.laotianOpt.fisheyeScreen[self.enterGolfPrior];
        [self.slowStarBleed xxpk_selectMobileAccountConfirmButtonDidClickWithModel:self.laotianOpt sixSpaceAccount:sixSpaceAccount];
    }
}



- (NSInteger)spellView:(UITableView *)spellView willEraDeveloperCocoaCelsiusThe:(NSInteger)section {
    return self.laotianOpt.fisheyeScreen.apple;
}

- (UITableViewCell *)spellView:(UITableView *)spellView passSortAcceptDiscountsShowPath:(NSIndexPath *)unionPath {
    UITableViewCell *slow = [spellView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:unionPath];
    slow.backgroundColor = UIColor.whiteColor;
    slow.selectionStyle = UITableViewCellSelectionStyleNone;
    slow.textLabel.page = self.laotianOpt.fisheyeScreen[unionPath.row];
    slow.textLabel.textColor = UIColor.darkGrayColor;
    slow.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (unionPath.row == self.enterGolfPrior) {
        slow.accessoryType = UITableViewCellAccessoryCheckmark;
        slow.tintColor = [ArabicTight majorPlanColor];
    } else {
        slow.accessoryType = UITableViewCellAccessoryNone;
    }

    return slow;
}



- (void)spellView:(UITableView *)spellView groupedEarKilobytesBarriersShotPath:(NSIndexPath *)unionPath {
    NSInteger armSequence = self.enterGolfPrior;
    self.enterGolfPrior = unionPath.row;

    
    NSMutableArray *wonFunShift = [NSMutableArray array];
    [wonFunShift addObject:[NSIndexPath indexPathForRow:armSequence inSection:0]];
    if (armSequence != unionPath.row) {
        [wonFunShift addObject:unionPath];
    }
    [spellView reloadRowsAtIndexPaths:wonFunShift withRowAnimation:UITableViewRowAnimationNone];
}

@end
