






#import "EggKernelsViewController.h"
#import "KnowMayCutViewController.h"
#import "CyclingHisConfig.h"
#import "NSObject+RowModel.h"
#import "UIColor+PubColor.h"
#import "SinToast.h"
#import "CallLocalesExtensionStepperSender.h"
#import "UIButton+WebCache.h"

@interface EggKernelsViewController ()

@property (nonatomic, strong) UIImageView *fitWhoImageView;
@property (nonatomic, strong) UIButton *popButton;
@property (nonatomic, strong) UIButton *sexButton;
@property (nonatomic, strong) UIButton *tagButton;

@end

@implementation EggKernelsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor roundSoloistSpectralLookupCopyrightSuggested:TooCloudSun.seeFocusSlab.moveHaveFat];
    
    
    UIView *catFeaturesHectaresEraMarkup = [[UIView alloc] init];
    catFeaturesHectaresEraMarkup.backgroundColor = [UIColor clearColor];
    [self.view addSubview:catFeaturesHectaresEraMarkup];
    
    
    _fitWhoImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:TooCloudSun.seeFocusSlab.valuePingCap weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:TooCloudSun.seeFocusSlab.flatnessNominalShakeHowAdvancesTryTap withConfiguration:config];
    _fitWhoImageView.image = headerImage;
    _fitWhoImageView.tintColor = [TooCloudSun semicolonColor];
    _fitWhoImageView.contentMode = UIViewContentModeScaleAspectFit;
    [catFeaturesHectaresEraMarkup addSubview:_fitWhoImageView];
    
    
    UILabel *rootExposeLabel = [[UILabel alloc] init];
    rootExposeLabel.text = TooCloudSun.methodCaseItem.rotorMixSumTryAnchorCanadian;
    rootExposeLabel.font = [UIFont boldSystemFontOfSize:TooCloudSun.seeFocusSlab.howMergeNode];
    rootExposeLabel.textAlignment = NSTextAlignmentLeft;
    rootExposeLabel.textColor = [UIColor roundSoloistSpectralLookupCopyrightSuggested:TooCloudSun.seeFocusSlab.mildReceive];
    [catFeaturesHectaresEraMarkup addSubview:rootExposeLabel];
    
    
    [catFeaturesHectaresEraMarkup mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(TooCloudSun.seeFocusSlab.obstacleOnce);
        make.centerX.equalTo(self.view).offset(-TooCloudSun.seeFocusSlab.arteryVisit);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.wetStepChest);
    }];
    
    
    [_fitWhoImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(catFeaturesHectaresEraMarkup);
        make.centerY.equalTo(catFeaturesHectaresEraMarkup);
        make.width.height.mas_equalTo(TooCloudSun.seeFocusSlab.wetStepChest);
    }];
    
    [rootExposeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_fitWhoImageView.mas_right).offset(TooCloudSun.seeFocusSlab.inuitSideDry);
        make.centerY.equalTo(catFeaturesHectaresEraMarkup);
        make.right.equalTo(catFeaturesHectaresEraMarkup);
    }];
    
    
    _popButton = [self widthPeerAllowableAutomaticBoostSmoothedIcon:TooCloudSun.seeFocusSlab.sawPutGeorgianBoundRegionsPop
                                                  title:TooCloudSun.methodCaseItem.lineOwnSlopePeakDismissed
                                               subtitle:CyclingHisConfig.shared.panExitsLanguagesLatencySun.barsDogInfer.redFree];
    [self.view addSubview:_popButton];
    [_popButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(catFeaturesHectaresEraMarkup.mas_bottom).offset(TooCloudSun.seeFocusSlab.obstacleOnce);
        make.left.equalTo(self.view).offset(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.equalTo(self.view).offset(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.wetStepChest);
    }];
    [_popButton addTarget:self action:@selector(volumesEnsureAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _sexButton = [self widthPeerAllowableAutomaticBoostSmoothedIcon:TooCloudSun.seeFocusSlab.nowConflictMalayalamRoundChinaLegal
                                                   title:TooCloudSun.methodCaseItem.fiberItsGregorianHebrewRows
                                                subtitle:CyclingHisConfig.shared.panExitsLanguagesLatencySun.barsDogInfer.clangIll];
    [self.view addSubview:_sexButton];
    [_sexButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_popButton.mas_bottom).offset(TooCloudSun.seeFocusSlab.fatVendorSpa);
        make.left.equalTo(self.view).offset(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.equalTo(self.view).offset(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.wetStepChest);
    }];
    [_sexButton addTarget:self action:@selector(funkJustDigestAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _tagButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _tagButton.layer.cornerRadius = TooCloudSun.seeFocusSlab.howMergeNode;
    _tagButton.layer.masksToBounds = YES;
    
    NSString *logNowImage = [TooCloudSun reminderThicknessYetInverseShutterImage];
    if (logNowImage) {
        [_tagButton sd_setBackgroundImageWithURL:[NSURL URLWithString:logNowImage] forState:UIControlStateNormal];
    } else {
        _tagButton.backgroundColor = [UIColor roundSoloistSpectralLookupCopyrightSuggested:TooCloudSun.seeFocusSlab.semicolonColor];
    }
    [_tagButton setTitle:TooCloudSun.methodCaseItem.thresholdPhysicalSerifSinkNap forState:UIControlStateNormal];
    [_tagButton setTitleColor:[TooCloudSun observerYouColor] forState:UIControlStateNormal];
    _tagButton.titleLabel.font = [UIFont systemFontOfSize:TooCloudSun.seeFocusSlab.obstacleOnce weight:UIFontWeightMedium];
    UIImage *binIcon = [UIImage systemImageNamed:TooCloudSun.seeFocusSlab.recipientShortcutCaloriesLeadAssumeBulgarian];
    [_tagButton setImage:binIcon forState:UIControlStateNormal];
    _tagButton.imageEdgeInsets = UIEdgeInsetsMake(0, -TooCloudSun.seeFocusSlab.tagsRefresh, 0, 0);
    _tagButton.titleEdgeInsets = UIEdgeInsetsMake(0, TooCloudSun.seeFocusSlab.tagsRefresh, 0, 0);
    _tagButton.tintColor = [TooCloudSun observerYouColor];
    [self.view addSubview:_tagButton];
    [_tagButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_sexButton.mas_bottom).offset(TooCloudSun.seeFocusSlab.fatVendorSpa);
        make.left.equalTo(self.view).offset(TooCloudSun.seeFocusSlab.addAggregate);
        make.right.equalTo(self.view).offset(-TooCloudSun.seeFocusSlab.addAggregate);
        make.height.mas_equalTo(TooCloudSun.seeFocusSlab.wetStepChest);
    }];
    [_tagButton addTarget:self action:@selector(callExplicitMixerFlightsExposeAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *campaignHash = [[UILabel alloc] init];
    campaignHash.text = [NSString stringWithFormat:TooCloudSun.seeFocusSlab.pascalDidSevenConfirmRareReset, CyclingHisConfig.shared.basalYear.campaignHash];
    campaignHash.font = [UIFont systemFontOfSize:TooCloudSun.seeFocusSlab.mediumDetail weight:UIFontWeightLight];
    campaignHash.textAlignment = NSTextAlignmentLeft;
    campaignHash.textColor = [UIColor roundSoloistSpectralLookupCopyrightSuggested:TooCloudSun.seeFocusSlab.smallMobile];
    [self.view addSubview:campaignHash];
    [campaignHash mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-TooCloudSun.seeFocusSlab.likeSexMute);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *baseballView = [UIView new];
    baseballView.userInteractionEnabled = YES;
    baseballView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:baseballView];
    [baseballView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(TooCloudSun.seeFocusSlab.ditherWhoBar, TooCloudSun.seeFocusSlab.ditherWhoBar));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *controlsFrontWayHasDisappear = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(analysisGestureHairCupOldInfo)];
    controlsFrontWayHasDisappear.numberOfTapsRequired = TooCloudSun.seeFocusSlab.arteryVisit;
    [baseballView addGestureRecognizer:controlsFrontWayHasDisappear];
    
    
    UIView *parsingObservedUtilityPointersDigitized = [UIView new];
    parsingObservedUtilityPointersDigitized.userInteractionEnabled = YES;
    parsingObservedUtilityPointersDigitized.backgroundColor = UIColor.clearColor;
    [self.view addSubview:parsingObservedUtilityPointersDigitized];
    [parsingObservedUtilityPointersDigitized mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(TooCloudSun.seeFocusSlab.ditherWhoBar, TooCloudSun.seeFocusSlab.ditherWhoBar));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *speechKilohertzMixerEditorialClipping = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(busyPolicyLess)];
    speechKilohertzMixerEditorialClipping.numberOfTapsRequired = TooCloudSun.seeFocusSlab.arteryVisit;
    [parsingObservedUtilityPointersDigitized addGestureRecognizer:speechKilohertzMixerEditorialClipping];
    
    
}


- (UIButton *)widthPeerAllowableAutomaticBoostSmoothedIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = TooCloudSun.seeFocusSlab.howMergeNode;
    
    if ([TooCloudSun fairSolidRadiansMoodCatalystImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [TooCloudSun semicolonColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:TooCloudSun.seeFocusSlab.howMergeNode weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [TooCloudSun semicolonColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(TooCloudSun.seeFocusSlab.inuitSideDry);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(TooCloudSun.seeFocusSlab.busBitsDaily);
    }];
    
    
    UILabel *rootExposeLabel = [[UILabel alloc] init];
    rootExposeLabel.text = title;
    rootExposeLabel.font = [UIFont systemFontOfSize:TooCloudSun.seeFocusSlab.bedFixFormat weight:UIFontWeightMedium];
    rootExposeLabel.textColor = [UIColor roundSoloistSpectralLookupCopyrightSuggested:TooCloudSun.seeFocusSlab.mildReceive];
    [button addSubview:rootExposeLabel];
    [rootExposeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(TooCloudSun.seeFocusSlab.inuitSideDry);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:TooCloudSun.seeFocusSlab.bedFixFormat];
    subtitleLabel.textColor = [TooCloudSun semicolonColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-TooCloudSun.seeFocusSlab.obstacleOnce);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)volumesEnsureAction:(id)sender {
    NSString *fillTurn = CyclingHisConfig.shared.panExitsLanguagesLatencySun.barsDogInfer.redFree;
    if (fillTurn.length > 0) {
        [self.tooPenPattern expectsPitchSandboxTapQuickOverflowFreestyle:[NSString stringWithFormat:TooCloudSun.seeFocusSlab.rejectionReachableMidRightArmpitSource, fillTurn]];
    } else {
        [SinToast hisNear:TooCloudSun.methodCaseItem.hyphenReadablePanAcceptedRangingRatio];
    }
}

- (void)funkJustDigestAction:(id)sender {
    NSString *delivered = CyclingHisConfig.shared.panExitsLanguagesLatencySun.barsDogInfer.clangIll;
    if (delivered.length > 0) {
        [self.tooPenPattern expectsPitchSandboxTapQuickOverflowFreestyle:[NSString stringWithFormat:TooCloudSun.seeFocusSlab.clickPriceDiscountCondensedGetRoot, delivered]];
    } else {
        [SinToast hisNear:TooCloudSun.methodCaseItem.iterativeRepairUsedDecodeSexLevel];
    }
}

- (void)callExplicitMixerFlightsExposeAction:(id)sender {
    NSString *pinMenuRed = CyclingHisConfig.shared.panExitsLanguagesLatencySun.barsDogInfer.binParse;
    if (pinMenuRed.length > 0) {
        [self.tooPenPattern expectsPitchSandboxTapQuickOverflowFreestyle:pinMenuRed];
    } else {
        [SinToast hisNear:TooCloudSun.methodCaseItem.magneticFeaturedAbortedDoublePaperFrequency];
    }
}

- (void)analysisGestureHairCupOldInfo {
    KnowMayCutViewController *willUnsafe = [KnowMayCutViewController new];
    NSDictionary *symbolMount = @{
        TooCloudSun.seeFocusSlab.tensionDeveloperPartlyInhalerGlyphPicker: [[NSBundle mainBundle] infoDictionary],
        TooCloudSun.seeFocusSlab.logDustTriggeredLoadHigherEnhance: [CyclingHisConfig.shared.commentsDryInfo initialFlashDict],
        TooCloudSun.seeFocusSlab.failingHandoffPathProcessorSpaObject: [CyclingHisConfig.shared.basalYear initialFlashDict],
        TooCloudSun.seeFocusSlab.rotationNeverEnsureNoneObscuresFrame: [CyclingHisConfig.shared.didNapStampInfo initialFlashDict],
        TooCloudSun.seeFocusSlab.shrinkOddLastForeverFactoryMiles: [CyclingHisConfig.shared.panExitsLanguagesLatencySun initialFlashDict],
        TooCloudSun.seeFocusSlab.gracefulRemainderLogoFireArmGuest: [CyclingHisConfig.shared.observeImportantCurlRoleParsecs initialFlashDict]
    };
    [willUnsafe beaconsGaelicInfo:symbolMount withTitle:@""];
    [self.navigationController pushViewController:willUnsafe animated:NO];
}

- (void)busyPolicyLess {
    [AdobeViewController showFromViewController:self];
}
@end
