text: (window.webpackJsonp=window.webpackJsonp||[]).push([[706],{1478: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":"request.getter.js","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"sourcesContent":["import { SearchXStoreModule } from \'../types\';\\n\\n/**\\n * Default implementation for the {@link SearchGetters.request} getter.\\n *\\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the search\\n * module.\\n * @returns The search request to fetch data from the API.\\n *\\n * @public\\n */\\nexport const request: SearchXStoreModule[\'getters\'][\'request\'] = ({\\n  page,\\n  params,\\n  query,\\n  relatedTags,\\n  selectedFilters,\\n  sort\\n}) => {\\n  return query.trim()\\n    ? {\\n        query,\\n        relatedTags,\\n        sort,\\n        page,\\n        filters: selectedFilters,\\n        ...params\\n      }\\n    : null;\\n};\\n"],"names":[],"mappings":";;AAEA;;;;;;;;;IASa,OAAO,GAA6C,UAAC,EAOjE;QANC,IAAI,UAAA,EACJ,MAAM,YAAA,EACN,KAAK,WAAA,EACL,WAAW,iBAAA,EACX,eAAe,qBAAA,EACf,IAAI,UAAA;IAEJ,OAAO,KAAK,CAAC,IAAI,EAAE;qBAEb,KAAK,OAAA,EACL,WAAW,aAAA,EACX,IAAI,MAAA,EACJ,IAAI,MAAA,EACJ,OAAO,EAAE,eAAe,IACrB,MAAM,IAEX,IAAI,CAAC;AACX;;;;"}')}}]);