






#import "JabberLeapVisitPacketFreezingEqualityViewController.h"
#import "NSString+EntityNet.h"

@implementation XXGSelectMobileAccountModel

@end

@interface JabberLeapVisitPacketFreezingEqualityViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *createRain;
@property (nonatomic, strong) UITableView *locatorYetView;
@property (nonatomic, assign) NSInteger curveBurstPage;
@property (nonatomic, strong) UIButton *getTooSenseButton;
@property (nonatomic, strong) UIButton *barSedentaryButton;

@end

@implementation JabberLeapVisitPacketFreezingEqualityViewController

- (XXGSelectMobileAccountModel *)createRain {
    return self.sinFrontIll;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.feetHowAndButton.hidden = YES;
    self.notIndianButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = ZipCoulombs.airAgeGreekAnd.securityDecreaseProcessesComplexUpdating;
    titleLabel.textColor = [ZipCoulombs zipSuddenColor];
    titleLabel.font = [UIFont systemFontOfSize:ZipCoulombs.locatorCanon.catRecognize];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ZipCoulombs.locatorCanon.sigmoidDeny);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(ZipCoulombs.locatorCanon.literPostTwo);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = ZipCoulombs.locatorCanon.producesUsed;

    
    UIView *eyeOffView = [[UIView alloc] init];
    eyeOffView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:eyeOffView];
    [eyeOffView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(ZipCoulombs.locatorCanon.askDueWidget);
    }];

    
    _getTooSenseButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_getTooSenseButton setTitle:ZipCoulombs.airAgeGreekAnd.managerDust forState:UIControlStateNormal];
    [_getTooSenseButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_getTooSenseButton setBackgroundColor:UIColor.systemGray5Color];
    _getTooSenseButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_getTooSenseButton addTarget:self action:@selector(successMayRelationsDiscreteOperandAction:) forControlEvents:UIControlEventTouchUpInside];
    [eyeOffView addSubview:_getTooSenseButton];
    [_getTooSenseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(eyeOffView);
        make.width.equalTo(eyeOffView).multipliedBy(0.5);
    }];

    
    _barSedentaryButton = [ZipCoulombs bayerEyeLoopDecideRelevanceColor:ZipCoulombs.airAgeGreekAnd.overage];
    [_barSedentaryButton addTarget:self action:@selector(feetIntentsSpaContextsSwimmingAction:) forControlEvents:UIControlEventTouchUpInside];
    [eyeOffView addSubview:_barSedentaryButton];
    [_barSedentaryButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(eyeOffView);
        make.width.equalTo(eyeOffView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_locatorYetView];
    [_locatorYetView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(ZipCoulombs.locatorCanon.retCanonPen);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(eyeOffView.mas_top);
    }];

    
    if (self.createRain.topItsMaySeed.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_locatorYetView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _curveBurstPage = 0;
    }
}



- (void)successMayRelationsDiscreteOperandAction:(UIButton *)sender {
    [[UndefinedManager shared] advisedStripWindow];
    if (self.foldHerLowEgg && [self.foldHerLowEgg respondsToSelector:@selector(tatarSerializeKeysCutterVerifyLeftTokenAvailable)]) {
        [self.foldHerLowEgg tatarSerializeKeysCutterVerifyLeftTokenAvailable];
    }
}

- (void)feetIntentsSpaContextsSwimmingAction:(UIButton *)sender {
    [[UndefinedManager shared] advisedStripWindow];
    if (self.foldHerLowEgg && [self.foldHerLowEgg respondsToSelector:@selector(unfocusedReclaimMillibarsFloorLightenCyclingLeaveHueModel:inputCanAccount:)]) {
        NSString *inputCanAccount = self.createRain.topItsMaySeed[self.curveBurstPage];
        [self.foldHerLowEgg unfocusedReclaimMillibarsFloorLightenCyclingLeaveHueModel:self.createRain inputCanAccount:inputCanAccount];
    }
}



- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return self.createRain.topItsMaySeed.count;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *part = [tableView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:indexPath];
    part.backgroundColor = UIColor.whiteColor;
    part.selectionStyle = UITableViewCellSelectionStyleNone;
    part.textLabel.text = self.createRain.topItsMaySeed[indexPath.row];
    part.textLabel.textColor = UIColor.darkGrayColor;
    part.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (indexPath.row == self.curveBurstPage) {
        part.accessoryType = UITableViewCellAccessoryCheckmark;
        part.tintColor = [ZipCoulombs zipSuddenColor];
    } else {
        part.accessoryType = UITableViewCellAccessoryNone;
    }

    return part;
}



- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    NSInteger bitPolicies = self.curveBurstPage;
    self.curveBurstPage = indexPath.row;

    
    NSMutableArray *parseReturn = [NSMutableArray array];
    [parseReturn addObject:[NSIndexPath indexPathForRow:bitPolicies inSection:0]];
    if (bitPolicies != indexPath.row) {
        [parseReturn addObject:indexPath];
    }
    [tableView reloadRowsAtIndexPaths:parseReturn withRowAnimation:UITableViewRowAnimationNone];
}

@end
