






#import "JobBarGainViewController.h"
#import "NowMapPoolViewController.h"
#import "TaggingTwoConfig.h"
#import "NSObject+DidModel.h"
#import "UIColor+AirColor.h"
#import "AnyToast.h"
#import "OriginPutTheBarsIdiom.h"

@interface JobBarGainViewController ()

@property (nonatomic, strong) UIImageView *reasonImageView;
@property (nonatomic, strong) UIButton *anyButton;
@property (nonatomic, strong) UIButton *penButton;
@property (nonatomic, strong) UIButton *subButton;

@end

@implementation JobBarGainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.growItsQuit];
    
    
    UIView *repeatServerSessionSheetMood = [[UIView alloc] init];
    repeatServerSessionSheetMood.backgroundColor = [UIColor clearColor];
    [self.view addSubview:repeatServerSessionSheetMood];
    
    
    _reasonImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:VitalityTab.noneMidMicro.visualWaySaw weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:VitalityTab.noneMidMicro.providerDoubleBadmintonShiftKeysExclusionWater withConfiguration:config];
    _reasonImageView.image = headerImage;
    _reasonImageView.tintColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.didCancelColor];
    _reasonImageView.contentMode = UIViewContentModeScaleAspectFit;
    [repeatServerSessionSheetMood addSubview:_reasonImageView];
    
    
    UILabel *binPenFileLabel = [[UILabel alloc] init];
    binPenFileLabel.text = VitalityTab.foggyCycleUnit.itsMenstrualMisplacedTallCancelsThumbnail;
    binPenFileLabel.font = [UIFont boldSystemFontOfSize:VitalityTab.noneMidMicro.hebrewFinder];
    binPenFileLabel.textAlignment = NSTextAlignmentLeft;
    binPenFileLabel.textColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.mayBlobPong];
    [repeatServerSessionSheetMood addSubview:binPenFileLabel];
    
    
    [repeatServerSessionSheetMood mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(VitalityTab.noneMidMicro.bayerBoxExec);
        make.centerX.equalTo(self.view).offset(-VitalityTab.noneMidMicro.mixTooUnder);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.findCharging);
    }];
    
    
    [_reasonImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(repeatServerSessionSheetMood);
        make.centerY.equalTo(repeatServerSessionSheetMood);
        make.width.height.mas_equalTo(VitalityTab.noneMidMicro.findCharging);
    }];
    
    [binPenFileLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_reasonImageView.mas_right).offset(VitalityTab.noneMidMicro.lighterSmall);
        make.centerY.equalTo(repeatServerSessionSheetMood);
        make.right.equalTo(repeatServerSessionSheetMood);
    }];
    
    
    _anyButton = [self parallelMicroPencilSiteDigitizedPhonogramIcon:VitalityTab.noneMidMicro.relayMediaRecentlyGatheringInactiveSock
                                                  title:VitalityTab.foggyCycleUnit.capturedCubeFaxRepeatsPromise
                                               subtitle:TaggingTwoConfig.shared.escapingOnlyPaceAskHertz.trySomaliEra.cupStop];
    [self.view addSubview:_anyButton];
    [_anyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(repeatServerSessionSheetMood.mas_bottom).offset(VitalityTab.noneMidMicro.bayerBoxExec);
        make.left.equalTo(self.view).offset(VitalityTab.noneMidMicro.dispatchHand);
        make.right.equalTo(self.view).offset(-VitalityTab.noneMidMicro.dispatchHand);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.findCharging);
    }];
    [_anyButton addTarget:self action:@selector(funkFlagCivilAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _penButton = [self parallelMicroPencilSiteDigitizedPhonogramIcon:VitalityTab.noneMidMicro.wrestlingMuteEmergencyOptOptNeed
                                                   title:VitalityTab.foggyCycleUnit.ordinalsNeverAskReturningRemoves
                                                subtitle:TaggingTwoConfig.shared.escapingOnlyPaceAskHertz.trySomaliEra.doneGolf];
    [self.view addSubview:_penButton];
    [_penButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_anyButton.mas_bottom).offset(VitalityTab.noneMidMicro.layerDidLogo);
        make.left.equalTo(self.view).offset(VitalityTab.noneMidMicro.dispatchHand);
        make.right.equalTo(self.view).offset(-VitalityTab.noneMidMicro.dispatchHand);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.findCharging);
    }];
    [_penButton addTarget:self action:@selector(heightPaceLockAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _subButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _subButton.backgroundColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.didCancelColor];
    _subButton.layer.cornerRadius = VitalityTab.noneMidMicro.hebrewFinder;
    [_subButton setTitle:VitalityTab.foggyCycleUnit.flemishTapArabicNapRetain forState:UIControlStateNormal];
    [_subButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    _subButton.titleLabel.font = [UIFont systemFontOfSize:VitalityTab.noneMidMicro.bayerBoxExec weight:UIFontWeightMedium];
    UIImage *busIcon = [UIImage systemImageNamed:VitalityTab.noneMidMicro.flowSomaliBloodKinYellowLine];
    [_subButton setImage:busIcon forState:UIControlStateNormal];
    _subButton.imageEdgeInsets = UIEdgeInsetsMake(0, -VitalityTab.noneMidMicro.phoneticArt, 0, 0);
    _subButton.titleEdgeInsets = UIEdgeInsetsMake(0, VitalityTab.noneMidMicro.phoneticArt, 0, 0);
    _subButton.tintColor = [UIColor whiteColor];
    [self.view addSubview:_subButton];
    [_subButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_penButton.mas_bottom).offset(VitalityTab.noneMidMicro.layerDidLogo);
        make.left.equalTo(self.view).offset(VitalityTab.noneMidMicro.dispatchHand);
        make.right.equalTo(self.view).offset(-VitalityTab.noneMidMicro.dispatchHand);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.findCharging);
    }];
    [_subButton addTarget:self action:@selector(smallStrictlyPromisedStandTaggingAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *eldestNapLog = [[UILabel alloc] init];
    eldestNapLog.text = [NSString stringWithFormat:VitalityTab.noneMidMicro.forArrangedCapsConflictsScoreObscures, TaggingTwoConfig.shared.ownerUser.eldestNapLog];
    eldestNapLog.font = [UIFont systemFontOfSize:VitalityTab.noneMidMicro.bikeReliable weight:UIFontWeightLight];
    eldestNapLog.textAlignment = NSTextAlignmentLeft;
    eldestNapLog.textColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.asleepMiles];
    [self.view addSubview:eldestNapLog];
    [eldestNapLog mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-VitalityTab.noneMidMicro.mirroredDue);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *drawGrayView = [UIView new];
    drawGrayView.userInteractionEnabled = YES;
    drawGrayView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:drawGrayView];
    [drawGrayView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(VitalityTab.noneMidMicro.borderResume, VitalityTab.noneMidMicro.borderResume));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *rankTaggerPathHexExist = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(deltaTertiaryFreezingPostcardCleanInfo)];
    rankTaggerPathHexExist.numberOfTapsRequired = VitalityTab.noneMidMicro.mixTooUnder;
    [drawGrayView addGestureRecognizer:rankTaggerPathHexExist];
    
    
    UIView *howGramBiotinTildeToo = [UIView new];
    howGramBiotinTildeToo.userInteractionEnabled = YES;
    howGramBiotinTildeToo.backgroundColor = UIColor.clearColor;
    [self.view addSubview:howGramBiotinTildeToo];
    [howGramBiotinTildeToo mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(VitalityTab.noneMidMicro.borderResume, VitalityTab.noneMidMicro.borderResume));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *metricsPedometerPrimeSkinDraft = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(areDaysRainSon)];
    metricsPedometerPrimeSkinDraft.numberOfTapsRequired = VitalityTab.noneMidMicro.mixTooUnder;
    [howGramBiotinTildeToo addGestureRecognizer:metricsPedometerPrimeSkinDraft];
    
    
}


- (UIButton *)parallelMicroPencilSiteDigitizedPhonogramIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor whiteColor];
    button.layer.cornerRadius = VitalityTab.noneMidMicro.hebrewFinder;
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:VitalityTab.noneMidMicro.hebrewFinder weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.didCancelColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(VitalityTab.noneMidMicro.lighterSmall);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(VitalityTab.noneMidMicro.youMixPascal);
    }];
    
    
    UILabel *binPenFileLabel = [[UILabel alloc] init];
    binPenFileLabel.text = title;
    binPenFileLabel.font = [UIFont systemFontOfSize:VitalityTab.noneMidMicro.sobObtainWay weight:UIFontWeightMedium];
    binPenFileLabel.textColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.mayBlobPong];
    [button addSubview:binPenFileLabel];
    [binPenFileLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(VitalityTab.noneMidMicro.lighterSmall);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:VitalityTab.noneMidMicro.sobObtainWay];
    subtitleLabel.textColor = [UIColor shotInsidePushSpacingRenewingMetal:VitalityTab.noneMidMicro.asleepMiles];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-VitalityTab.noneMidMicro.bayerBoxExec);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)funkFlagCivilAction:(id)sender {
    NSString *turnLose = TaggingTwoConfig.shared.escapingOnlyPaceAskHertz.trySomaliEra.cupStop;
    if (turnLose.length > 0) {
        [self.outMouthQuiet scrolledPolicyAlarmBigRuleIconJustified:[NSString stringWithFormat:VitalityTab.noneMidMicro.tapsMandatoryAssetRenameCathedralTerminate, turnLose]];
    } else {
        [AnyToast forkAir:VitalityTab.foggyCycleUnit.uighurBoldfacePacketsOriginsRebuildForwards];
    }
}

- (void)heightPaceLockAction:(id)sender {
    NSString *hisPolicy = TaggingTwoConfig.shared.escapingOnlyPaceAskHertz.trySomaliEra.doneGolf;
    if (hisPolicy.length > 0) {
        [self.outMouthQuiet scrolledPolicyAlarmBigRuleIconJustified:[NSString stringWithFormat:VitalityTab.noneMidMicro.shearOperationSeekAnimationTenLoose, hisPolicy]];
    } else {
        [AnyToast forkAir:VitalityTab.foggyCycleUnit.spacingSubgroupsKernelsYouMapStop];
    }
}

- (void)smallStrictlyPromisedStandTaggingAction:(id)sender {
    NSString *opticalMix = TaggingTwoConfig.shared.escapingOnlyPaceAskHertz.trySomaliEra.finalSin;
    if (opticalMix.length > 0) {
        [self.outMouthQuiet scrolledPolicyAlarmBigRuleIconJustified:opticalMix];
    } else {
        [AnyToast forkAir:VitalityTab.foggyCycleUnit.kazakhWaxButNameCircularOverdue];
    }
}

- (void)deltaTertiaryFreezingPostcardCleanInfo {
    NowMapPoolViewController *lastExpire = [NowMapPoolViewController new];
    NSDictionary *indexDetach = @{
        VitalityTab.noneMidMicro.spanishDueResponderSinkDevicesSudden: [[NSBundle mainBundle] infoDictionary],
        VitalityTab.noneMidMicro.datumConcludeInsertedRetBuddyPage: [TaggingTwoConfig.shared.cardPoolMidInfo afterSunSortDict],
        VitalityTab.noneMidMicro.sonDetachDepartureSupportedDeepKey: [TaggingTwoConfig.shared.ownerUser afterSunSortDict],
        VitalityTab.noneMidMicro.selectorDiscoveryRestoresSonPlanTaps: [TaggingTwoConfig.shared.snowPoolSeeInfo afterSunSortDict],
        VitalityTab.noneMidMicro.adjectiveLimitedOwnBundlesWaterCreamy: [TaggingTwoConfig.shared.escapingOnlyPaceAskHertz afterSunSortDict],
        VitalityTab.noneMidMicro.programFitTradConsumerSomaliReuse: [TaggingTwoConfig.shared.koreanSwedishThinTrainingDraw afterSunSortDict]
    };
    [lastExpire eyeFunHisMoreInfo:indexDetach withTitle:@""];
    [self.navigationController pushViewController:lastExpire animated:NO];
}

- (void)areDaysRainSon {
    [QuickViewController waistAddViewController:self];
}
@end
