<commit_before>/**
 * @name responsive-state
 * @description Core responsive state provider in ngx-responsive
 *
 * @license MIT
 */
import { Injectable, Optional } from '@angular/core';
import { Observable } from 'rxjs';
import { fromEvent } from 'rxjs/observable/fromEvent';
import { debounceTime } from 'rxjs/operators/debounceTime';
import { defaultIfEmpty } from 'rxjs/operators/defaultIfEmpty';
import { map } from 'rxjs/operators/map';
import { startWith } from 'rxjs/operators/startWith';
import { ResponsiveWindowDirective } from '../../../@directives';
import {
    REG_TABLETS, REG_MOBILES, REG_SMARTS_TV, REG_BROWSERS, REG_SORT_NAMES,
    REG_GAME_DEVICES, REG_BOTS, REG_OS, REG_WINDOWS_OS_VERSION, REG_LINUX_OS,
    USER_AGENT, REG_IE_VERSIONS, TABLET, OS_SYSTEMS, WINDOWS_OS, LINUX_OS, MOBILE,
    IE_VERSIONS
} from '../../constants';
import { IResponsiveConfig, IUserAgent } from '../../interfaces';
import {
    TLinuxOS, TWindowsOS, TTablet, TMobile,
    TosSystems, TSmartTv, TGameDevices, TBrowserNames,
    TIE_VERSIONS
} from '../../types';
import { ResponsiveConfig } from '../responsive-config/responsive-config';

@Injectable()
export class ResponsiveState {

    public _windows: Object = {};
    public _window: any = null;

    public elemento$: Observable<string>;
    public ancho$: Observable<number>;
    public browser$: Observable<string>;
    public pixel$: Observable<string>;
    public device$: Observable<any>;
    public orientation$: Observable<any>;
    public standard$: Observable<any>;<commit_msg>fix build script for rxjs<commit_after>/**
 * @name responsive-state
 * @description Core responsive state provider in ngx-responsive
 *
 * @license MIT
 */
import { Injectable, Optional } from '@angular/core';
import { Observable } from 'rxjs';
import { fromEvent } from 'rxjs';
import { debounceTime } from 'rxjs/operators';
import { defaultIfEmpty } from 'rxjs/operators';
import { map } from 'rxjs/operators';
import { startWith } from 'rxjs/operators';
import { ResponsiveWindowDirective } from '../../../@directives';
import {
    REG_TABLETS, REG_MOBILES, REG_SMARTS_TV, REG_BROWSERS, REG_SORT_NAMES,
    REG_GAME_DEVICES, REG_BOTS, REG_OS, REG_WINDOWS_OS_VERSION, REG_LINUX_OS,
    USER_AGENT, REG_IE_VERSIONS, TABLET, OS_SYSTEMS, WINDOWS_OS, LINUX_OS, MOBILE,
    IE_VERSIONS
} from '../../constants';
import { IResponsiveConfig, IUserAgent } from '../../interfaces';
import {
    TLinuxOS, TWindowsOS, TTablet, TMobile,
    TosSystems, TSmartTv, TGameDevices, TBrowserNames,
    TIE_VERSIONS
} from '../../types';
import { ResponsiveConfig } from '../responsive-config/responsive-config';

@Injectable()
export class ResponsiveState {

    public _windows: Object = {};
    public _window: any = null;

    public elemento$: Observable<string>;
    public ancho$: Observable<number>;
    public browser$: Observable<string>;
    public pixel$: Observable<string>;
    public device$: Observable<any>;
    public orientation$: Observable<any>;
    public standard$: Observable<any>;
{'fraction_non_alphanumeric': 0.12792614573030003, 'fraction_numerical': 0.0, 'mean_word_length': 4.608133086876156, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6436679', 'n_tokens_mistral': 972, 'n_tokens_neox': 950, 'n_words': 241}