import store_default from "../npm/hybrids/src/store.js";
//#region src/store/custom-filters.js
/**
* Ghostery Browser Extension
* https://www.ghostery.com/
*
* Copyright 2017-present Ghostery GmbH. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0
*/
var CustomFilters = {
	text: "",
	[store_default.connect]: {
		cache: false,
		async get() {
			const { customFiltersInput } = await chrome.storage.local.get(["customFiltersInput"]);
			return { text: customFiltersInput };
		},
		async set(_, { text }) {
			await chrome.storage.local.set({ customFiltersInput: text });
			return { text };
		}
	}
};
//#endregion
export { CustomFilters as default };
