{"version":3,"file":"selectors.cjs","names":[],"sources":["../../src/store/selectors.ts"],"sourcesContent":["import type { State } from './types';\n\n/**\n * Returns true if pattern is in the editing state.\n *\n * @param {Object} state    Global application state.\n * @param {string} clientId the clientID of the block.\n * @return {boolean} Whether the pattern is in the editing state.\n */\nexport function isEditingPattern(\n\tstate: State,\n\tclientId: string\n): boolean | undefined {\n\treturn state.isEditingPattern[ clientId ];\n}\n"],"mappings":";;;;;;;;;;;;;AASA,SAAgB,iBACf,OACA,UACsB;CACtB,OAAO,MAAM,iBAAkB;AAChC"}