






#import "IconYearViewController.h"
#import "AboutLikeManager.h"

@interface IconYearViewController ()

@end

@implementation IconYearViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.splatSexCat.opaque = NO;
    if ([self removablePrematureEndsScrollingSelection:self.hisEllipsis]) {
        NSMutableDictionary *hit = [NSMutableDictionary new];
        hit[PaceDownHue.absoluteAuto.coercionRedContentsAlongPosition] = @{
            PaceDownHue.absoluteAuto.friendsHoursEraAudienceAdd:@(MAXFLOAT),
            PaceDownHue.absoluteAuto.ownerLengthSlashSumMatch:@(MAXFLOAT)
        };
        hit[PaceDownHue.absoluteAuto.worldParseRank] = self.hisEllipsis;
        hit[PaceDownHue.absoluteAuto.waitMayLinkageHybridLocationNegotiate] = @(NO);
        hit[PaceDownHue.absoluteAuto.butVisitorServicesClockwiseSuggestedConstant] = @(NO);
        self.hisEllipsis = hit;
    }
    
    if (![self.hisEllipsis[PaceDownHue.absoluteAuto.jumpRopeEqualWasThin] boolValue]) {
        self.view.backgroundColor = UIColor.blackColor;
    }else {
        self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    }
    self.traverseBad = self.hisEllipsis[PaceDownHue.absoluteAuto.worldParseRank];
    
}

- (BOOL)removablePrematureEndsScrollingSelection:(NSString *)url
{
    if (![url isKindOfClass:[NSString class]]) {
        return NO;
    }
    NSString *cloud =@"[a-zA-z]+://[^\\s]*";
    NSPredicate *volumes = [NSPredicate predicateWithFormat:@"SELF MATCHES %@",cloud];
    return [volumes evaluateWithObject:url];
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    if ([self.hisEllipsis[PaceDownHue.absoluteAuto.waitMayLinkageHybridLocationNegotiate] boolValue]) {
        self.catAtomTryButton.hidden = NO;
        [self.view bringSubviewToFront:self.catAtomTryButton];
    }
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    CGFloat width = [self.hisEllipsis[PaceDownHue.absoluteAuto.coercionRedContentsAlongPosition][PaceDownHue.absoluteAuto.friendsHoursEraAudienceAdd] floatValue];
    CGFloat height = [self.hisEllipsis[PaceDownHue.absoluteAuto.coercionRedContentsAlongPosition][PaceDownHue.absoluteAuto.ownerLengthSlashSumMatch] floatValue];
    CGFloat HailZip = [UIScreen mainScreen].bounds.size.width;
    CGFloat PubGain = [UIScreen mainScreen].bounds.size.height;
    CGFloat bundleArm = width == 0 ? HailZip : MIN(width, HailZip);
    CGFloat fadeOptTry = height == 0 ? PubGain : MIN(height, PubGain);
    [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_equalTo(0);
        make.size.mas_equalTo(CGSizeMake(bundleArm, fadeOptTry));
    }];
    if (HailZip == bundleArm && PubGain == fadeOptTry) {
        UIWindow *filtersWindow = [[AboutLikeManager shared] scriptRhythmWindow];
        UIEdgeInsets safe = filtersWindow.safeAreaInsets;
        [self.splatSexCat mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(safe);
        }];
    }else {
        [self.splatSexCat mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 0, 0, 0));
        }];
    }
}


- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation {
    [super webView:webView didFailProvisionalNavigation:navigation];
    self.catAtomTryButton.hidden = NO;
}

- (void)receivesIntrinsicSentencesSpaMergeLockClick:(NSURL *)URL {
    [super receivesIntrinsicSentencesSpaMergeLockClick:URL];
    
    
    
    
    void (^completionBlock)(BOOL) = self.hisEllipsis[PaceDownHue.absoluteAuto.criteriaEachCenteringParentDiphthongManual];
    if (completionBlock) {
        [[AboutLikeManager shared] rawAnchorCarWindow];
        completionBlock([URL.host isEqualToString:PaceDownHue.absoluteAuto.popRetLazyParagraphSectionSeason]);
    }
}

- (void)spaWrapRespectsCompressReplies:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [super spaWrapRespectsCompressReplies:touches withEvent:event];
    if ([self.hisEllipsis[PaceDownHue.absoluteAuto.butVisitorServicesClockwiseSuggestedConstant] boolValue]) {
        [self summarySpeechItsAutomaticHexAction:nil];
    }
}
@end
