"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.viewModes = exports.getViewMode = exports.VIEW_MODE_KEY = void 0;
const VIEW_MODE_KEY = exports.VIEW_MODE_KEY = 'Creevey_view_mode';
const viewModes = exports.viewModes = ['side-by-side', 'swap', 'slide', 'blend'];
const getViewMode = () => {
  const item = localStorage.getItem(VIEW_MODE_KEY);
  return item && viewModes.includes(item) ? item : 'side-by-side';
};
exports.getViewMode = getViewMode;