






#import "CardInvertViewController.h"
#import "ZipPlanYetViewController.h"
#import "CertPenSheConfig.h"
#import "NSObject+CanModel.h"
#import "UIColor+RowColor.h"
#import "HerToast.h"
#import "OrderFractionStackSeparateArray.h"
#import "UIButton+WebCache.h"

@interface CardInvertViewController ()

@property (nonatomic, strong) UIImageView *bigZipImageView;
@property (nonatomic, strong) UIButton *tenButton;
@property (nonatomic, strong) UIButton *wetButton;
@property (nonatomic, strong) UIButton *maxButton;

@end

@implementation CardInvertViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor hailHandStylusKelvinPitchReminder:MenTintSave.ironRouteMix.sinAbortKin];
    
    
    UIView *starRearCelticStringFade = [[UIView alloc] init];
    starRearCelticStringFade.backgroundColor = [UIColor clearColor];
    [self.view addSubview:starRearCelticStringFade];
    
    
    _bigZipImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:MenTintSave.ironRouteMix.mindSpectral weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:MenTintSave.ironRouteMix.relatedBetweenDigitCalendarAccountsClipUploaded withConfiguration:config];
    _bigZipImageView.image = headerImage;
    _bigZipImageView.tintColor = [MenTintSave sedentaryColor];
    _bigZipImageView.contentMode = UIViewContentModeScaleAspectFit;
    [starRearCelticStringFade addSubview:_bigZipImageView];
    
    
    UILabel *pasteExistLabel = [[UILabel alloc] init];
    pasteExistLabel.text = MenTintSave.mixerRetDogPub.wonHeartIndexingMarkupSwashesDetail;
    pasteExistLabel.font = [UIFont boldSystemFontOfSize:MenTintSave.ironRouteMix.scopeApplier];
    pasteExistLabel.textAlignment = NSTextAlignmentLeft;
    pasteExistLabel.textColor = [UIColor hailHandStylusKelvinPitchReminder:MenTintSave.ironRouteMix.postZipFair];
    [starRearCelticStringFade addSubview:pasteExistLabel];
    
    
    [starRearCelticStringFade mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(MenTintSave.ironRouteMix.scoreWaitRow);
        make.centerX.equalTo(self.view).offset(-MenTintSave.ironRouteMix.sinkCreated);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.weeklyKinLow);
    }];
    
    
    [_bigZipImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(starRearCelticStringFade);
        make.centerY.equalTo(starRearCelticStringFade);
        make.width.height.mas_equalTo(MenTintSave.ironRouteMix.weeklyKinLow);
    }];
    
    [pasteExistLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_bigZipImageView.mas_right).offset(MenTintSave.ironRouteMix.hitConstruct);
        make.centerY.equalTo(starRearCelticStringFade);
        make.right.equalTo(starRearCelticStringFade);
    }];
    
    
    _tenButton = [self resetMonotonicQualityBusSpousesFatalIcon:MenTintSave.ironRouteMix.midPriorRareActionsIntegrateHas
                                                  title:MenTintSave.mixerRetDogPub.startedIndexedCommonOneAffected
                                               subtitle:CertPenSheConfig.shared.infinityRangingInputSunNumerator.airFarItalic.station];
    [self.view addSubview:_tenButton];
    [_tenButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(starRearCelticStringFade.mas_bottom).offset(MenTintSave.ironRouteMix.scoreWaitRow);
        make.left.equalTo(self.view).offset(MenTintSave.ironRouteMix.outletAdverb);
        make.right.equalTo(self.view).offset(-MenTintSave.ironRouteMix.outletAdverb);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.weeklyKinLow);
    }];
    [_tenButton addTarget:self action:@selector(modifierBrandAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _wetButton = [self resetMonotonicQualityBusSpousesFatalIcon:MenTintSave.ironRouteMix.ensureMainStalledLeftOrdinalsDraft
                                                   title:MenTintSave.mixerRetDogPub.includingScoreCameraUrgentDecompose
                                                subtitle:CertPenSheConfig.shared.infinityRangingInputSunNumerator.airFarItalic.alongKit];
    [self.view addSubview:_wetButton];
    [_wetButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_tenButton.mas_bottom).offset(MenTintSave.ironRouteMix.swappedStart);
        make.left.equalTo(self.view).offset(MenTintSave.ironRouteMix.outletAdverb);
        make.right.equalTo(self.view).offset(-MenTintSave.ironRouteMix.outletAdverb);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.weeklyKinLow);
    }];
    [_wetButton addTarget:self action:@selector(soccerDitheredAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _maxButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _maxButton.layer.cornerRadius = MenTintSave.ironRouteMix.scopeApplier;
    _maxButton.layer.masksToBounds = YES;
    
    NSString *expectImage = [MenTintSave parentHormoneUpdateMenuFireImage];
    if (expectImage) {
        [_maxButton sd_setBackgroundImageWithURL:[NSURL URLWithString:expectImage] forState:UIControlStateNormal];
    } else {
        _maxButton.backgroundColor = [UIColor hailHandStylusKelvinPitchReminder:MenTintSave.ironRouteMix.sedentaryColor];
    }
    [_maxButton setTitle:MenTintSave.mixerRetDogPub.teamThresholdChannelMileEntry forState:UIControlStateNormal];
    [_maxButton setTitleColor:[MenTintSave passCitySheColor] forState:UIControlStateNormal];
    _maxButton.titleLabel.font = [UIFont systemFontOfSize:MenTintSave.ironRouteMix.scoreWaitRow weight:UIFontWeightMedium];
    UIImage *hueIcon = [UIImage systemImageNamed:MenTintSave.ironRouteMix.armourIntegrateClearedGenreHundredsStreamed];
    [_maxButton setImage:hueIcon forState:UIControlStateNormal];
    _maxButton.imageEdgeInsets = UIEdgeInsetsMake(0, -MenTintSave.ironRouteMix.eyeSilenced, 0, 0);
    _maxButton.titleEdgeInsets = UIEdgeInsetsMake(0, MenTintSave.ironRouteMix.eyeSilenced, 0, 0);
    _maxButton.tintColor = [MenTintSave passCitySheColor];
    [self.view addSubview:_maxButton];
    [_maxButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_wetButton.mas_bottom).offset(MenTintSave.ironRouteMix.swappedStart);
        make.left.equalTo(self.view).offset(MenTintSave.ironRouteMix.outletAdverb);
        make.right.equalTo(self.view).offset(-MenTintSave.ironRouteMix.outletAdverb);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.weeklyKinLow);
    }];
    [_maxButton addTarget:self action:@selector(alarmSpineStableKinSummariesAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *datumBadSlow = [[UILabel alloc] init];
    datumBadSlow.text = [NSString stringWithFormat:MenTintSave.ironRouteMix.adoptLeapProgramBoundaryObscuredRecursive, CertPenSheConfig.shared.inventory.datumBadSlow];
    datumBadSlow.font = [UIFont systemFontOfSize:MenTintSave.ironRouteMix.childLogUnit weight:UIFontWeightLight];
    datumBadSlow.textAlignment = NSTextAlignmentLeft;
    datumBadSlow.textColor = [UIColor hailHandStylusKelvinPitchReminder:MenTintSave.ironRouteMix.fixKinPivot];
    [self.view addSubview:datumBadSlow];
    [datumBadSlow mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-MenTintSave.ironRouteMix.countryFork);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *speedTipView = [UIView new];
    speedTipView.userInteractionEnabled = YES;
    speedTipView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:speedTipView];
    [speedTipView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(MenTintSave.ironRouteMix.treeShiftLow, MenTintSave.ironRouteMix.treeShiftLow));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *guideAbnormalCursorBarsOrnaments = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(arbiterDeliverRadixUserElevatedInfo)];
    guideAbnormalCursorBarsOrnaments.numberOfTapsRequired = MenTintSave.ironRouteMix.sinkCreated;
    [speedTipView addGestureRecognizer:guideAbnormalCursorBarsOrnaments];
    
    
    UIView *cupGarbageChildrenRearEntries = [UIView new];
    cupGarbageChildrenRearEntries.userInteractionEnabled = YES;
    cupGarbageChildrenRearEntries.backgroundColor = UIColor.clearColor;
    [self.view addSubview:cupGarbageChildrenRearEntries];
    [cupGarbageChildrenRearEntries mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(MenTintSave.ironRouteMix.treeShiftLow, MenTintSave.ironRouteMix.treeShiftLow));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *fiveEscapingLessWatchedMin = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(drySobListHelp)];
    fiveEscapingLessWatchedMin.numberOfTapsRequired = MenTintSave.ironRouteMix.sinkCreated;
    [cupGarbageChildrenRearEntries addGestureRecognizer:fiveEscapingLessWatchedMin];
    
    
}


- (UIButton *)resetMonotonicQualityBusSpousesFatalIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = MenTintSave.ironRouteMix.scopeApplier;
    
    if ([MenTintSave moodFlagRevertPanelAgreementImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [MenTintSave sedentaryColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:MenTintSave.ironRouteMix.scopeApplier weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [MenTintSave sedentaryColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(MenTintSave.ironRouteMix.hitConstruct);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(MenTintSave.ironRouteMix.indexSchemes);
    }];
    
    
    UILabel *pasteExistLabel = [[UILabel alloc] init];
    pasteExistLabel.text = title;
    pasteExistLabel.font = [UIFont systemFontOfSize:MenTintSave.ironRouteMix.guideStreams weight:UIFontWeightMedium];
    pasteExistLabel.textColor = [UIColor hailHandStylusKelvinPitchReminder:MenTintSave.ironRouteMix.postZipFair];
    [button addSubview:pasteExistLabel];
    [pasteExistLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(MenTintSave.ironRouteMix.hitConstruct);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:MenTintSave.ironRouteMix.guideStreams];
    subtitleLabel.textColor = [MenTintSave sedentaryColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-MenTintSave.ironRouteMix.scoreWaitRow);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)modifierBrandAction:(id)sender {
    NSString *bikeWork = CertPenSheConfig.shared.infinityRangingInputSunNumerator.airFarItalic.station;
    if (bikeWork.length > 0) {
        [self.suchSeeCutWet claimPathThresholdFlashEmbeddingFavoriteFilter:[NSString stringWithFormat:MenTintSave.ironRouteMix.impliedPersonOddOrdinalsCupTagger, bikeWork]];
    } else {
        [HerToast fatSlab:MenTintSave.mixerRetDogPub.scanKilogramsHeadsetFastAssameseHighlight];
    }
}

- (void)soccerDitheredAction:(id)sender {
    NSString *middleDry = CertPenSheConfig.shared.infinityRangingInputSunNumerator.airFarItalic.alongKit;
    if (middleDry.length > 0) {
        [self.suchSeeCutWet claimPathThresholdFlashEmbeddingFavoriteFilter:[NSString stringWithFormat:MenTintSave.ironRouteMix.weekendHeightAmountReversedRebusInfer, middleDry]];
    } else {
        [HerToast fatSlab:MenTintSave.mixerRetDogPub.recoveryEraSwapConverterOverrideShowing];
    }
}

- (void)alarmSpineStableKinSummariesAction:(id)sender {
    NSString *twoCapHash = CertPenSheConfig.shared.infinityRangingInputSunNumerator.airFarItalic.needHigh;
    if (twoCapHash.length > 0) {
        [self.suchSeeCutWet claimPathThresholdFlashEmbeddingFavoriteFilter:twoCapHash];
    } else {
        [HerToast fatSlab:MenTintSave.mixerRetDogPub.expectedOptimizeSecureSessionsFunnelGolf];
    }
}

- (void)arbiterDeliverRadixUserElevatedInfo {
    ZipPlanYetViewController *messageSaw = [ZipPlanYetViewController new];
    NSDictionary *sizeChanged = @{
        MenTintSave.ironRouteMix.faceMetabolicWalkAsleepYearEnabling: [[NSBundle mainBundle] infoDictionary],
        MenTintSave.ironRouteMix.fiberUbiquityRelativeCheckerElapsedHebrew: [CertPenSheConfig.shared.logicalStepInfo observerFindDict],
        MenTintSave.ironRouteMix.maximumTapAllToggleBiometryDelivered: [CertPenSheConfig.shared.inventory observerFindDict],
        MenTintSave.ironRouteMix.scalingWrappingSinUpperScannedSpa: [CertPenSheConfig.shared.backMapFastInfo observerFindDict],
        MenTintSave.ironRouteMix.panBaselineAdvanceSubjectStyleTickets: [CertPenSheConfig.shared.infinityRangingInputSunNumerator observerFindDict],
        MenTintSave.ironRouteMix.refreshWarpMissingIllNewsstandStatement: [CertPenSheConfig.shared.kernelHundredSignatureAddDetects observerFindDict]
    };
    [messageSaw bitWetBoxMakeInfo:sizeChanged withTitle:@""];
    [self.navigationController pushViewController:messageSaw animated:NO];
}

- (void)drySobListHelp {
    [FrameViewController showFromViewController:self];
}
@end
