text: (window.webpackJsonp=window.webpackJsonp||[]).push([[611],{1391:function(e,A){throw new Error('Module parse failed: Unexpected token (1:10)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n> {"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/popular-searches/wiring.ts"],"sourcesContent":["import {\\n  namespacedWireCommit,\\n  namespacedWireDispatch\\n} from \'../../wiring/namespaced-wires.factory\';\\nimport { NamespacedWireCommit } from \'../../wiring/namespaced-wiring.types\';\\nimport { createWiring } from \'../../wiring/wiring.utils\';\\n\\n/**\\n * `popularSearches` {@link XModuleName | XModule name}.\\n *\\n * @internal\\n */\\nconst moduleName = \'popularSearches\';\\n/**\\n * WireDispatchfor {@link PopularSearchesXModule}.\\n *\\n * @internal\\n */\\nconst wireDispatch = namespacedWireDispatch(moduleName);\\n\\n/**\\n * WireCommit for {@link PopularSearchesXModule}.\\n *\\n * @internal\\n */\\nconst wireCommit: NamespacedWireCommit<typeof moduleName> = namespacedWireCommit(moduleName);\\n\\n/**\\n * Requests and stores the popular searches.\\n *\\n * @public\\n */\\nconst retrievePopularSuggestions = wireDispatch(\'fetchAndSaveSuggestions\');\\n\\n/**\\n * Sets the popular searches state `searchedQueries` with the list of history queries.\\n *\\n * @public\\n */\\nexport const setSearchedQueriesInPopularSearches = wireCommit(\'setSearchedQueries\');\\n\\n/**\\n * Sets the popular searches state `params`.\\n *\\n * @public\\n */\\nexport const setPopularSearchesExtraParams = wireCommit(\'setParams\');\\n\\n/**\\n * Wiring configuration for the popular searches modules.\\n *\\n * @internal\\n */\\nexport const popularSearchesWiring = createWiring({\\n  PopularSearchesRequestChanged: {\\n    retrievePopularSuggestions\\n  },\\n  SessionHistoryQueriesChanged: {\\n    setSearchedQueriesInPopularSearches\\n  },\\n  ExtraParamsChanged: {\\n    setPopularSearchesExtraParams\\n  }\\n});\\n"],"names":[],"mappings":";;;AAOA;;;;;AAKA,IAAM,UAAU,GAAG,iBAAiB,CAAC;AACrC;;;;;AAKA,IAAM,YAAY,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC;AAExD;;;;;AAKA,IAAM,UAAU,GAA4C,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAE7F;;;;;AAKA,IAAM,0BAA0B,GAAG,YAAY,CAAC,yBAAyB,CAAC,CAAC;AAE3E;;;;;IAKa,mCAAmC,GAAG,UAAU,CAAC,oBAAoB,EAAE;AAEpF;;;;;IAKa,6BAA6B,GAAG,UAAU,CAAC,WAAW,EAAE;AAErE;;;;;IAKa,qBAAqB,GAAG,YAAY,CAAC;IAChD,6BAA6B,EAAE;QAC7B,0BAA0B,4BAAA;KAC3B;IACD,4BAA4B,EAAE;QAC5B,mCAAmC,qCAAA;KACpC;IACD,kBAAkB,EAAE;QAClB,6BAA6B,+BAAA;KAC9B;CACF;;;;"}')}}]);