<commit_before>import '../layout';
import '../permalink/share.module';
import '../styles/styles.module';
import * as angular from 'angular';
import {HsSearchComponent} from './search.component';
import {HsSearchInputComponent} from './search-input.component';
import {HsSearchModule} from './search.module';
import {HsSearchResultsComponent} from './search-results.component';
import {HsSearchService} from './search.service';
import {downgrade} from '../../common/downgrader';
import {downgradeComponent, downgradeInjectable} from '@angular/upgrade/static';

export const downgradedModule = downgrade(HsSearchModule);

/**
 * @namespace hs.search
 * @memberOf hs
 */
angular
  .module(downgradedModule, ['hs.map', 'hs.styles', 'hs.layout'])
  /**
   * @memberof hs.search
   * @ngdoc directive
   * @name hsSearchInput
   * @description Add search input template to page, with automatic change event and clear button
   */
  .directive(
    'hsSearchInput',
    downgradeComponent({component: HsSearchInputComponent})<commit_msg>Import downgraded permalink and styles modules<commit_after>import '../layout';
import '../permalink/';
import '../styles/';
import * as angular from 'angular';
import {HsSearchComponent} from './search.component';
import {HsSearchInputComponent} from './search-input.component';
import {HsSearchModule} from './search.module';
import {HsSearchResultsComponent} from './search-results.component';
import {HsSearchService} from './search.service';
import {downgrade} from '../../common/downgrader';
import {downgradeComponent, downgradeInjectable} from '@angular/upgrade/static';

export const downgradedModule = downgrade(HsSearchModule);

/**
 * @namespace hs.search
 * @memberOf hs
 */
angular
  .module(downgradedModule, ['hs.map', 'hs.styles', 'hs.layout'])
  /**
   * @memberof hs.search
   * @ngdoc directive
   * @name hsSearchInput
   * @description Add search input template to page, with automatic change event and clear button
   */
  .directive(
    'hsSearchInput',
    downgradeComponent({component: HsSearchInputComponent})
{'fraction_non_alphanumeric': 0.14216634429400388, 'fraction_numerical': 0.0, 'mean_word_length': 4.945402298850575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2853153', 'n_tokens_mistral': 589, 'n_tokens_neox': 568, 'n_words': 158}