'use strict';

var index = require('./index-W-zoNiyM.js');

const filterParamsInitialState = {};
const propsParamsInitialState = {};
const filterParamsStore = index.createStore(() => filterParamsInitialState);
const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
const propsParamsStore = index.createStore(() => propsParamsInitialState);
const { state: propsParams } = propsParamsStore;
const getRequestParams = () => {
    return Object.assign(Object.assign({}, filterParams), propsParams);
};
const clearParams = () => {
    filterParamsStore.reset();
};

exports.clearParams = clearParams;
exports.filterParams = filterParams;
exports.getRequestParams = getRequestParams;
exports.onQueryParamsChange = onQueryParamsChange;
exports.propsParams = propsParams;
