Skip to content

Instantly share code, notes, and snippets.

View sanex3339's full-sized avatar
💭
Something happening!

Timofey Kachalov sanex3339

💭
Something happening!
View GitHub Profile
var a0i = [
'ugq8ESoA',
'tCkyWO9IW4q=',
'oHxdNmouWQe=',
'WO3cIffHvG==',
'nmoSFmkvWQ0=',
'EMCUwCo1',
'W693WRKWW5S=',
'WQddQJlcSKO=',
'W4hcNva=',
This file has been truncated, but you can view the full file.
var a0a = [
'originalInstance',
'bootstrapModuleFactory',
'$controller',
'wks',
'PairsObservable',
'RegExp',
'advance',
'serializeBody',
'ouml',
import { inject, injectable, } from 'inversify';
import { ServiceIdentifiers } from '../../container/ServiceIdentifiers';
import * as eslintScope from 'eslint-scope';
import * as ESTree from 'estree';
import * as estraverse from 'estraverse';
import { IOptions } from '../../interfaces/options/IOptions';
import { IRandomGenerator } from '../../interfaces/utils/IRandomGenerator';
import { IVisitor } from '../../interfaces/node-transformers/IVisitor';
type PrependToArray <Element, TArray extends _Iterator<any, any[]> = []> =
((head: Element, ...args: TArray) => any) extends ((...args: infer TResult) => any)
? TResult
: TArray;
type ArrayLength <TArray extends _Iterator<any, any[]>> = TArray['length'];
type NextIteratorValue <TArray extends _Iterator<any, any[]>> = PrependToArray<any, TArray>;
type _Iterator<
type PrependToArray <Element, TArray extends _Iterator<any, any[]> = []> =
((head: Element, ...args: TArray) => any) extends ((...args: infer TResult) => any)
? TResult
: TArray;
type ArrayLength <TArray extends _Iterator<any, any[]>> = TArray['length'];
type NextIteratorValue <TArray extends _Iterator<any, any[]>> = PrependToArray<any, TArray>;
type _Iterator<Index extends number = 0, Current extends any[] = []> = {
type UnionKeys<T> = T extends any ? keyof T : never;
type StrictUnionHelper<T, TAllKeys extends PropertyKey> = T extends any
? T & Partial<Record<Exclude<TAllKeys, keyof T>, never>>
: never;
/**
* Тип для правильной работы Discriminated Union типов
* https://stackoverflow.com/questions/52677576/typescript-discriminated-union-allows-invalid-state/52678379#52678379
*/
export type StrictUnion<T> = StrictUnionHelper<T, UnionKeys<T>>;
*{
box-shadow:0 0 0 2in#b5e0ba, 0 0 0 5in#5d3a3a;
}
type Condition<T> = {shouldApply: boolean, conditionFunc: ((item: T) => boolean)};
/**
* Фильтрует данные на основе массива ф-ий условий
* В случае отсутствия фильтров или когда не применен ни один фильтр - возвращается оригинальный массив данных
*/
export class ConditionFilter <T> {
/**
* Константа, для того, чтобы всегда применять фильтр
*/
var str = 'class ಠ_ಠ extends Array {constructor(j = "a", ...c) {const q = (({u: e}) => {return { [`s${c}`]: Symbol(j) };})({});super(j, q, ...c);}}' +
'new Promise((f) => {const a = function* (){return "\u{20BB7}".match(/./u)[0].length === 2 || true;};for (let vre of a()) {' +
'const [uw, as, he, re] = [new Set(), new WeakSet(), new Map(), new WeakMap()];break;}f(new Proxy({}, {get: (han, h) => h in han ? han[h] ' +
': "42".repeat(0o10)}));}).then(bi => new ಠ_ಠ(bi.rd));';
try {
eval(str);
} catch(e) {
alert('Your browser does not support ES6!')
}
This file has been truncated, but you can view the full file.
var _0x304d = [
'd2luZG93Q3JlYXRpb25JbnRlcnZhbA\x3d\x3d',
'dU5I',
'bkJt',
'bUts',
'b1lt',
'QUND',
'SEZV',
'Y2xvc2VXaW5kb3c\x3d',
'NHw1fDN8MXwwfDZ8N3wy',