






#import "ShowIntersectTrailingConsumedIndigoInstallViewController.h"
#import "NSString+EvictFile.h"

@implementation XXGSelectMobileAccountModel

@end

@interface ShowIntersectTrailingConsumedIndigoInstallViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *addWorkSun;
@property (nonatomic, strong) UITableView *stretchHexView;
@property (nonatomic, assign) NSInteger wideEggRowsSex;
@property (nonatomic, strong) UIButton *torchMomentButton;
@property (nonatomic, strong) UIButton *kitProcessesButton;

@end

@implementation ShowIntersectTrailingConsumedIndigoInstallViewController

- (XXGSelectMobileAccountModel *)addWorkSun {
    return self.runServices;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.acrossStopButton.hidden = YES;
    self.earStrideButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = OutTapPlain.loudMeterMount.petiteTabClaimSameLatitude;
    titleLabel.textColor = [OutTapPlain bagOuncesColor];
    titleLabel.font = [UIFont systemFontOfSize:OutTapPlain.parentMixMay.hisHeavyFair];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(OutTapPlain.parentMixMay.boundIndian);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.tipOptAscent);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = OutTapPlain.parentMixMay.transformFit;

    
    UIView *penTapView = [[UIView alloc] init];
    penTapView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:penTapView];
    [penTapView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.kinSlightArm);
    }];

    
    _torchMomentButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_torchMomentButton setTitle:OutTapPlain.loudMeterMount.visitCircle forState:UIControlStateNormal];
    [_torchMomentButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_torchMomentButton setBackgroundColor:UIColor.systemGray5Color];
    _torchMomentButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_torchMomentButton addTarget:self action:@selector(cubicMediumRegionAutoGlobalAction:) forControlEvents:UIControlEventTouchUpInside];
    [penTapView addSubview:_torchMomentButton];
    [_torchMomentButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(penTapView);
        make.width.equalTo(penTapView).multipliedBy(0.5);
    }];

    
    _kitProcessesButton = [OutTapPlain busIndoorTableDrizzleAwayColor:OutTapPlain.loudMeterMount.awayOpt];
    [_kitProcessesButton addTarget:self action:@selector(replyRearrangePlayableBuiltZipAction:) forControlEvents:UIControlEventTouchUpInside];
    [penTapView addSubview:_kitProcessesButton];
    [_kitProcessesButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(penTapView);
        make.width.equalTo(penTapView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_stretchHexView];
    [_stretchHexView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(OutTapPlain.parentMixMay.endPinBegan);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(penTapView.mas_top);
    }];

    
    if (self.addWorkSun.airNibblesHue.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_stretchHexView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _wideEggRowsSex = 0;
    }
}



- (void)cubicMediumRegionAutoGlobalAction:(UIButton *)sender {
    [[AwayGlyphManager shared] provisionKitWindow];
    if (self.imageChatFilm && [self.imageChatFilm respondsToSelector:@selector(applyUtilitiesPasswordsBlockerSuddenDiskRatioLappish)]) {
        [self.imageChatFilm applyUtilitiesPasswordsBlockerSuddenDiskRatioLappish];
    }
}

- (void)replyRearrangePlayableBuiltZipAction:(UIButton *)sender {
    [[AwayGlyphManager shared] provisionKitWindow];
    if (self.imageChatFilm && [self.imageChatFilm respondsToSelector:@selector(spanishBodyPieceGermanCaretHasStoreElementsModel:ellipsisAccount:)]) {
        NSString *ellipsisAccount = self.addWorkSun.airNibblesHue[self.wideEggRowsSex];
        [self.imageChatFilm spanishBodyPieceGermanCaretHasStoreElementsModel:self.addWorkSun ellipsisAccount:ellipsisAccount];
    }
}



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

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

    
    if (indexPath.row == self.wideEggRowsSex) {
        golf.accessoryType = UITableViewCellAccessoryCheckmark;
        golf.tintColor = [OutTapPlain bagOuncesColor];
    } else {
        golf.accessoryType = UITableViewCellAccessoryNone;
    }

    return golf;
}



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

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

@end
