






#import "WasBeaconsTallCountCauseExtrinsicViewController.h"
#import "NSString+SeeSource.h"

@implementation XXGSelectMobileAccountModel

@end

@interface WasBeaconsTallCountCauseExtrinsicViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *maxFunYard;
@property (nonatomic, strong) UITableView *decimalKitView;
@property (nonatomic, assign) NSInteger chinaTenBigDue;
@property (nonatomic, strong) UIButton *vowelDecideButton;
@property (nonatomic, strong) UIButton *wonPutPolishButton;

@end

@implementation WasBeaconsTallCountCauseExtrinsicViewController

- (XXGSelectMobileAccountModel *)maxFunYard {
    return self.offSubExits;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.unloadSkinButton.hidden = YES;
    self.semicolonButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = NapEscaping.sigmaTabBedKit.lockReactorInvertedTagAgent;
    titleLabel.textColor = [NapEscaping feedBayerColor];
    titleLabel.font = [UIFont systemFontOfSize:NapEscaping.restoringWay.seventeenFax];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(NapEscaping.restoringWay.dayCallTall);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(NapEscaping.restoringWay.recursiveOne);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = NapEscaping.restoringWay.interlaceNap;

    
    UIView *ourOutView = [[UIView alloc] init];
    ourOutView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:ourOutView];
    [ourOutView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(NapEscaping.restoringWay.setupOnlyDue);
    }];

    
    _vowelDecideButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_vowelDecideButton setTitle:NapEscaping.sigmaTabBedKit.netSpaCoast forState:UIControlStateNormal];
    [_vowelDecideButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_vowelDecideButton setBackgroundColor:UIColor.systemGray5Color];
    _vowelDecideButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_vowelDecideButton addTarget:self action:@selector(esperantoElementsDecisionSymptomExecAction:) forControlEvents:UIControlEventTouchUpInside];
    [ourOutView addSubview:_vowelDecideButton];
    [_vowelDecideButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(ourOutView);
        make.width.equalTo(ourOutView).multipliedBy(0.5);
    }];

    
    _wonPutPolishButton = [NapEscaping abnormalNearestTelephoneSpeakMapColor:NapEscaping.sigmaTabBedKit.tagsMay];
    [_wonPutPolishButton addTarget:self action:@selector(overhangOptOrderQuitCapturingAction:) forControlEvents:UIControlEventTouchUpInside];
    [ourOutView addSubview:_wonPutPolishButton];
    [_wonPutPolishButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(ourOutView);
        make.width.equalTo(ourOutView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_decimalKitView];
    [_decimalKitView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(NapEscaping.restoringWay.drawPeerAnd);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(ourOutView.mas_top);
    }];

    
    if (self.maxFunYard.lowOperateToo.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_decimalKitView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _chinaTenBigDue = 0;
    }
}



- (void)esperantoElementsDecisionSymptomExecAction:(UIButton *)sender {
    [[ShearPeakManager shared] factSheetLawWindow];
    if (self.pongEsperanto && [self.pongEsperanto respondsToSelector:@selector(smileDetailedRelationSumTransportReportedAssertRecovered)]) {
        [self.pongEsperanto smileDetailedRelationSumTransportReportedAssertRecovered];
    }
}

- (void)overhangOptOrderQuitCapturingAction:(UIButton *)sender {
    [[ShearPeakManager shared] factSheetLawWindow];
    if (self.pongEsperanto && [self.pongEsperanto respondsToSelector:@selector(waterStreetUtilityAutomaticBypassedFeaturesRuleSheModel:insetUseAccount:)]) {
        NSString *insetUseAccount = self.maxFunYard.lowOperateToo[self.chinaTenBigDue];
        [self.pongEsperanto waterStreetUtilityAutomaticBypassedFeaturesRuleSheModel:self.maxFunYard insetUseAccount:insetUseAccount];
    }
}



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

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

    
    if (indexPath.row == self.chinaTenBigDue) {
        pace.accessoryType = UITableViewCellAccessoryCheckmark;
        pace.tintColor = [NapEscaping feedBayerColor];
    } else {
        pace.accessoryType = UITableViewCellAccessoryNone;
    }

    return pace;
}



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

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

@end
