






#import "Rebus.h"
#import "ProtocolTorqueRequestedGeneralPrivilege.h"

@interface Rebus() {
    NSMutableSet *_detailsPlaceTouchRadixSix;
}

@end

@implementation Rebus



+ (instancetype)takeColorInstance {
    static id takeColorInstance = nil;

    static dispatch_once_t highToken;
    dispatch_once(&highToken, ^{
        takeColorInstance = [[self alloc] init];
    });

    return takeColorInstance;
}


- (NSMutableSet *)detailsPlaceTouchRadixSix {
    if (!_detailsPlaceTouchRadixSix) {
        _detailsPlaceTouchRadixSix = [[NSMutableSet alloc] init];
    }
    return _detailsPlaceTouchRadixSix;
}




+ (BOOL)dryOrdinalsHeightReversingContains:(ProtocolTorqueRequestedGeneralPrivilege *)zb_destination {
    return [self.takeColorInstance dryOrdinalsHeightReversingContains:zb_destination];
}

- (BOOL)dryOrdinalsHeightReversingContains:(ProtocolTorqueRequestedGeneralPrivilege *)zb_destination {
    if ([self.detailsPlaceTouchRadixSix containsObject:zb_destination]) {
        return NO;
    }
    [self.detailsPlaceTouchRadixSix addObject:zb_destination];
    return YES;
}


+ (BOOL)angleRowDetailsGesturesPathLimited:(ProtocolTorqueRequestedGeneralPrivilege *)zb_destination {
    return [self.takeColorInstance angleRowDetailsGesturesPathLimited:zb_destination];
}

- (BOOL)angleRowDetailsGesturesPathLimited:(ProtocolTorqueRequestedGeneralPrivilege *)zb_destination {
    if (![self.detailsPlaceTouchRadixSix containsObject:zb_destination]) {
        return NO;
    }
    [self.detailsPlaceTouchRadixSix removeObject:zb_destination];
    return YES;
}


+ (void)chromaVisualSpanEchoPassSampling {
    [self.takeColorInstance chromaVisualSpanEchoPassSampling];
}

- (void)chromaVisualSpanEchoPassSampling {
    [self.detailsPlaceTouchRadixSix removeAllObjects];
}


+ (NSInteger)recentFixHormoneGreaterDryFit {
    return [self.takeColorInstance recentFixHormoneGreaterDryFit];
}

- (NSUInteger)recentFixHormoneGreaterDryFit {
    return self.detailsPlaceTouchRadixSix.count;
}


+ (NSString *)hexSocialName {
    if (NSThread.isMainThread) {
        return @"";
    }else {
        NSString *label = [NSString stringWithCString:dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL) encoding:NSUTF8StringEncoding];
        return label ?: NSThread.currentThread.name;
    }
}


+ (void)reviewDue:(DepthLevel)zb_level
          ellipse:(const char *)ellipse
      jobHighPart:(const char *)jobHighPart
          wideArm:(NSUInteger)wideArm
       featSubIts:(id)featSubIts
        toolEvent:(NSString *)toolEvent, ... {
    va_list args;
    
    if (toolEvent) {
        va_start(args, toolEvent);
        
        NSString *renameWork = [[NSString alloc] initWithFormat:toolEvent arguments:args];
        
        va_end(args);
        
        va_start(args, toolEvent);
        
        [self.takeColorInstance kinReplySinkSecretEar:zb_level
                                   renameWork:renameWork
                                    collapses:[self hexSocialName]
                                      ellipse:[NSString stringWithFormat:@"%s", ellipse]
                                  jobHighPart:[NSString stringWithFormat:@"%s", jobHighPart]
                                      wideArm:wideArm
                                   featSubIts:featSubIts];
        
        va_end(args);
    }
}


- (void)kinReplySinkSecretEar:(DepthLevel)zb_level
              renameWork:(NSString *)renameWork
               collapses:(NSString *)collapses
                 ellipse:(NSString *)ellipse
             jobHighPart:(NSString *)jobHighPart
                 wideArm:(NSUInteger)wideArm
              featSubIts:(id)featSubIts {
    
    for (ProtocolTorqueRequestedGeneralPrivilege *appears in self.detailsPlaceTouchRadixSix) {
        
        NSString *defaultPullMessage;
        
        if (!appears.rankOver) continue;
        
        defaultPullMessage = defaultPullMessage == nil ? renameWork : defaultPullMessage;
        
        if ([appears unifiedRangeStoneCopticPutSigmoid:zb_level warpSix:ellipse jobHighPart:jobHighPart renameWork:renameWork]) {
            
            NSString *gainDaily = defaultPullMessage == nil ? renameWork :defaultPullMessage;
            
            NSString *face = [self bankBedFoodOwn:jobHighPart];
            
            if (appears.listClimbingAskTagCamera) {
                dispatch_async(appears.rankOver, ^{
                    [appears wonLazy:zb_level tooBag:gainDaily collapses:collapses ellipse:ellipse jobHighPart:face wideArm:wideArm
                          featSubIts:featSubIts];
                });
            }else {
                dispatch_sync(appears.rankOver, ^{
                    [appears wonLazy:zb_level tooBag:gainDaily collapses:collapses ellipse:ellipse jobHighPart:face wideArm:wideArm
                          featSubIts:featSubIts];
                });
            }
        }
    }
}

- (NSString *)bankBedFoodOwn:(NSString *)jobHighPart {
    NSString *face = jobHighPart;
    NSRange filtered = [face rangeOfString:@"("];
    
    if (filtered.location != NSNotFound) {
        face = [face substringToIndex:filtered.location];
    }
    face = [face stringByAppendingString:@"()"];
    return face;
}

@end
