import { createStore } from '@stencil/store';
const { state, onChange, on, set, get, dispose } = createStore({
  formId: null,
  groupId: null,
  mode: 'live',
  locks: [],
  product: null,
  checkout: null,
  currencyCode: 'usd',
  abandonedCheckoutReturnUrl: null,
  abandonedCheckoutEnabled: true,
}, (newValue, oldValue) => {
  return JSON.stringify(newValue) !== JSON.stringify(oldValue);
});
export default state;
export { state, onChange, on, set, get, dispose };
