{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js??ref--14-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/splitFlow.js","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/splitFlow.js","mtime":1684261475137},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/babel.config.js","mtime":1684261475125},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9zbGljZWRUb0FycmF5IGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9zbGljZWRUb0FycmF5LmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMuYXJyYXkuZmluZC5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL2VzLm9iamVjdC50by1zdHJpbmcuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5mdW5jdGlvbi5uYW1lLmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMub2JqZWN0LmVudHJpZXMuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy93ZWIuZG9tLWNvbGxlY3Rpb25zLml0ZXJhdG9yLmpzIjsKLyogZXNsaW50LWRpc2FibGUgbm8tYWxlcnQsIG5vLWNvbnNvbGUgKi8KCnZhciBzdGF0ZSA9IGZ1bmN0aW9uIHN0YXRlKCkgewogIHJldHVybiB7CiAgICBhY3RpdmVWaWV3OiAic2luZ2xlcGFuZWwiLAogICAgc2xvdEluZm86IFt7CiAgICAgIG5hbWU6ICJmaXJzdCIsCiAgICAgIGlkOiAxLAogICAgICBhY3RpdmF0aW9uOiAxCiAgICB9LCB7CiAgICAgIG5hbWU6ICJzZWNvbmQiLAogICAgICBpZDogMCwKICAgICAgYWN0aXZhdGlvbjogMgogICAgfSwgewogICAgICBuYW1lOiAidGhpcmQiLAogICAgICBpZDogMCwKICAgICAgYWN0aXZhdGlvbjogMwogICAgfSwgewogICAgICBuYW1lOiAiZm91cnRoIiwKICAgICAgaWQ6IDAsCiAgICAgIGFjdGl2YXRpb246IDQKICAgIH1dLAogICAgdmlld0ljb25zOiBbewogICAgICBpY29uOiAic2luZ2xlcGFuZWwiLAogICAgICBuYW1lOiAiU2luZ2xlIHZpZXciLAogICAgICBtaW46IDEKICAgIH0sIHsKICAgICAgaWNvbjogIjJob3JwYW5lbCIsCiAgICAgIG5hbWU6ICJIb3Jpem9udGFsIHNwbGl0IiwKICAgICAgbWluOiAyCiAgICB9LCB7CiAgICAgIGljb246ICIydmVydHBhbmVsIiwKICAgICAgbmFtZTogIlZlcnRpY2FsIHNwbGl0IiwKICAgICAgbWluOiAyCiAgICB9LCB7CiAgICAgIGljb246ICIzcGFuZWwiLAogICAgICBuYW1lOiAiVGhyZWUgcGFuZXMiLAogICAgICBtaW46IDMKICAgIH0sIHsKICAgICAgaWNvbjogIjRwYW5lbCIsCiAgICAgIG5hbWU6ICJGb3VyIHBhbmVzIiwKICAgICAgbWluOiA0CiAgICB9XSwKICAgIHNwbGl0dGVyczogewogICAgICAiZmlyc3QiOiA1MCwKICAgICAgInNlY29uZCI6IDUwLAogICAgICAidGhpcmQiOiA1MAogICAgfSwKICAgIGdsb2JhbENhbGxiYWNrOiBmYWxzZSwKICAgIHN5bmNNb2RlOiBmYWxzZQogIH07Cn07CnZhciBnZXR0ZXJzID0gewog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dDsKICAgIH07CiAgfSwKICBpc1Nsb3RBY3RpdmU6IGZ1bmN0aW9uIGlzU2xvdEFjdGl2ZShzdGF0ZSkgewogICAgcmV0dXJuIGZ1bmN0aW9uIChzbG90KSB7CiAgICAgIGlmIChzbG90KSB7CiAgICAgICAgdmFyIHZpZXcgPSBzdGF0ZS52aWV3SWNvbnMuZmluZChmdW5jdGlvbiAodmlldykgewogICAgICAgICAgcmV0dXJuIHN0YXRlLmFjdGl2ZVZpZXcgPT09IHZpZXcuaWNvbjsKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gdmlldy5taW4gPj0gc2xvdC5hY3RpdmF0aW9uOwogICAgICB9CiAgICAgIHJldHVybiBmYWxzZTsKICAgIH07CiAgfSwKICBpc0VudHJ5QWN0aXZlOiBmdW5jdGlvbiBpc0VudHJ5QWN0aXZlKHN0YXRlKSB7CiAgICByZXR1cm4gZnVuY3Rpb24gKGVudHJ5KSB7CiAgICAgIHZhciBzbG90ID0gc3RhdGUuc2xvdEluZm8uZmluZChmdW5jdGlvbiAoc2xvdCkgewogICAgICAgIHJldHVybiBzbG90LmlkID09PSBlbnRyeS5pZDsKICAgICAgfSk7CiAgICAgIGlmIChzbG90KSB7CiAgICAgICAgdmFyIHZpZXcgPSBzdGF0ZS52aWV3SWNvbnMuZmluZChmdW5jdGlvbiAodmlldykgewogICAgICAgICAgcmV0dXJuIHN0YXRlLmFjdGl2ZVZpZXcgPT09IHZpZXcuaWNvbjsKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gdmlldy5taW4gPj0gc2xvdC5hY3RpdmF0aW9uOwogICAgICB9CiAgICAgIHJldHVybiBmYWxzZTsKICAgIH07CiAgfSwKICBnZXRTdGF0ZTogZnVuY3Rpb24gZ2V0U3RhdGUoc3RhdGUpIHsKICAgIHJldHVybiBmdW5jdGlvbiAoKSB7CiAgICAgIHJldHVybiB7CiAgICAgICAgYWN0aXZlVmlldzogc3RhdGUuYWN0aXZlVmlldywKICAgICAgICBzbG90SW5m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AgICAgICAgfTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHBheWxvYWQuZW50cmllcy5sZW5ndGggJiYgYXZhaWxhYmxlSWQgPT0gMDsgaSsrKSB7CiAgICAgICAgICBfbG9vcChpKTsKICAgICAgICB9CiAgICAgIH0KICAgICAgdmFyIHNsb3QgPSBzdGF0ZS5zbG90SW5mby5maW5kKGZ1bmN0aW9uIChzbG90SW5mbykgewogICAgICAgIHJldHVybiBzbG90SW5mby5uYW1lID09PSBwYXlsb2FkLnNsb3ROYW1lOwogICAgICB9KTsKICAgICAgdmFyIHNlY29uZFNsb3QgPSBzdGF0ZS5zbG90SW5mby5maW5kKGZ1bmN0aW9uIChzbG90SW5mbykgewogICAgICAgIHJldHVybiBzbG90SW5mby5uYW1lID09PSAic2Vjb25kIjsKICAgICAgfSk7CiAgICAgIHZhciB0aGlyZFNsb3QgPSBzdGF0ZS5zbG90SW5mby5maW5kKGZ1bmN0aW9uIChzbG90SW5mbykgewogICAgICAgIHJldHVybiBzbG90SW5mby5uYW1lID09PSAidGhpcmQiOwogICAgICB9KTsKICAgICAgdmFyIGZvdXJ0aFNsb3QgPSBzdGF0ZS5zbG90SW5mby5maW5kKGZ1bmN0aW9uIChzbG90SW5mbykgewogICAgICAgIHJldHVybiBzbG90SW5mby5uYW1lID09PSAiZm91cnRoIjsKICAgICAgfSk7CiAgICAgIC8vIFRoZSBmb2xsb3dpbmcgbW92ZSB0aGUgZW50cnkgaWQgdG8gdGhlIGFwcHJvcHJpYXRlIHNsb3QKICAgICAgLy8gYW5kIHJlbW92ZSB0aGUgdGFyZ2V0IGlkCiAgICAgIHN3aXRjaCAoc2xvdC5uYW1lKSB7CiAgICAgICAgY2FzZSAiZmlyc3QiOgogICAgICAgICAgewogICAgICAgICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICAgICAgICBjYXNlICIyaG9ycGFuZWwiOgogICAgICAgICAgICAgIGNhc2UgIjJ2ZXJ0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gc2Vjb25kU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgc2Vjb25kU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgY2FzZSAiM3BhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IHNlY29uZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHNlY29uZFNsb3QuaWQgPSB0aGlyZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHRoaXJkU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgY2FzZSAiNHBhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IHNlY29uZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHNlY29uZFNsb3QuaWQgPSB0aGlyZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHRoaXJkU2xvdC5pZCA9IGZvdXJ0aFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIGZvdXJ0aFNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAic2Vjb25kIjoKICAgICAgICAgIHsKICAgICAgICAgICAgc3dpdGNoIChzdGF0ZS5hY3RpdmVWaWV3KSB7CiAgICAgICAgICAgICAgY2FzZSAiMmhvcnBhbmVsIjoKICAgICAgICAgICAgICBjYXNlICIydmVydHBhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgY2FzZSAiM3BhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IHRoaXJkU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgdGhpcmRTbG90LmlkID0gZm91cnRoU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgZm91cnRoU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgY2FzZSAiNHBhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IHRoaXJkU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgdGhpcmRTbG90LmlkID0gZm91cnRoU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgZm91cnRoU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICJ0aGlyZCI6CiAgICAgICAgICB7CiAgICAgICAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgICAgICAgIGNhc2UgIjNwYW5lbCI6CiAgICAgICAgICAgICAgY2FzZSAiNHBhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IGZvdXJ0aFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIGZvdXJ0aFNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAiZm91cnRoIjoKICAgICAgICAgIHsKICAgICAgICAgICAgc3dpdGNoIChzdGF0ZS5hY3RpdmVWaWV3KSB7CiAgICAgICAgICAgICAgY2FzZSAiNHBhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgICBicmVhazsKICAgICAgICBkZWZhdWx0OgogICAgICAgICAgYnJlYWs7CiAgICAgIH0KICAgICAgLy9UaGVuIHN3aXRjaCB0aGUgdmlldwogICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICBjYXNlICIyaG9ycGFuZWwiOgogICAgICAgIGNhc2UgIjJ2ZXJ0cGFuZWwiOgogICAgICAgICAgc3RhdGUuYWN0aXZlVmlldyA9ICJzaW5nbGVwYW5lbCI7CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICIzcGFuZWwiOgogICAgICAgICAgc3RhdGUuYWN0aXZlVmlldyA9ICIydmVydHBhbmVsIjsKICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgIjRwYW5lbCI6CiAgICAgICAgICBzdGF0ZS5hY3RpdmVWaWV3ID0gIjNwYW5lbCI7CiAgICAgICAgICBicmVhazsKICAgICAgICBkZWZhdWx0OgogICAgICAgICAgYnJlYWs7CiAgICAgIH0KICAgIH0KICB9Cn07CmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lc3BhY2VkOiB0cnVlLAogIHN0YXRlOiBzdGF0ZSwKICBnZXR0ZXJzOiBnZXR0ZXJzLAogIG11dGF0aW9uczogbXV0YXRpb25zCn07"},{"version":3,"names":["state","activeView","slotInfo","name","id","activation","viewIcons","icon","min","splitters","globalCallback","syncMode","getters","getFirstAvailableSlot","find","slot","getIdbySlotName","undefined","getSlotById","getSlotByName","isSlotActive","view","isEntryActive","entry","getState","mutations","assignIdToSlot","payload","assignOrSwapIdToSlot","targetSlot","changeViewByAvailabilty","count","i","length","toggleGlobalCallback","flag","updateActiveView","view1","view2","setSplitter","value","setState","newState","_i","_Object$entries","Object","entries","_Object$entries$_i","_slicedToArray","key","setIdToPrimarySlot","availableSlot","primarySlot","setSyncMode","secondSlot","firstSlot","firstSlotId","originalSlot","newId","layout","closeSlot","availableId","_loop","slotName","thirdSlot","fourthSlot","namespaced"],"sources":["/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/splitFlow.js"],"sourcesContent":["/* eslint-disable no-alert, no-console */\n\nconst state = () => ({\n activeView: \"singlepanel\",\n slotInfo: [\n { name: \"first\", id: 1, activation: 1 },\n { name: \"second\", id: 0, activation: 2 },\n { name: \"third\", id: 0, activation: 3 },\n { name: \"fourth\", id: 0, activation: 4 }\n ],\n viewIcons: [\n { icon: \"singlepanel\", name: \"Single view\", min: 1 },\n { icon: \"2horpanel\", name: \"Horizontal split\", min: 2 },\n { icon: \"2vertpanel\", name: \"Vertical split\", min: 2 },\n { icon: \"3panel\", name: \"Three panes\", min: 3 },\n { icon: \"4panel\", name: \"Four panes\", min: 4 }\n ],\n splitters: { \"first\": 50, \"second\": 50, \"third\": 50 },\n globalCallback: false,\n syncMode: false,\n});\n\nconst getters = {\n getFirstAvailableSlot: (state) => () => {\n return state.slotInfo.find(slot => slot.id === 0);\n },\n getIdbySlotName: (state) => (name) => {\n let slot = state.slotInfo.find(slot => slot.name === name);\n return slot !== undefined ? slot.id : undefined;\n },\n getSlotById: (state) => (id) => {\n let slot = state.slotInfo.find(slot => slot.id === id);\n return slot;\n },\n getSlotByName: (state) => (name) => {\n let slot = state.slotInfo.find(slot => slot.name === name);\n return slot;\n },\n isSlotActive: (state) => (slot) => {\n if (slot) {\n let view = state.viewIcons.find(view => state.activeView === view.icon);\n return (view.min >= slot.activation);\n }\n return false;\n },\n isEntryActive: (state) => (entry) => {\n let slot = state.slotInfo.find(slot => slot.id === entry.id);\n if (slot) {\n let view = state.viewIcons.find(view => state.activeView === view.icon);\n return (view.min >= slot.activation);\n }\n return false;\n },\n getState: (state) => () => {\n return {\n activeView: state.activeView, slotInfo: state.slotInfo,\n splitters: state.splitters,\n globalCallback: state.globalCallback,\n syncMode: state.syncMode,\n };\n },\n}\n\nconst mutations = {\n assignIdToSlot(state, payload) {\n state.slotInfo.find(\n slotInfo => slotInfo.name === payload.slot.name).id = payload.id;\n },\n assignOrSwapIdToSlot(state, payload) {\n let targetSlot = state.slotInfo.find(slot => slot.id === payload.id);\n // Check if it is on syncMode\n if (state.syncMode) {\n if (targetSlot) {\n //exit syncMod if the two panel in sync mode are not swapping\n if (!((targetSlot.name == \"first\" && payload.slot.name == \"second\") ||\n (targetSlot.name == \"second\" && payload.slot.name == \"first\"))) {\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n }\n if (targetSlot)\n targetSlot.id = payload.slot.id;\n payload.slot.id = payload.id;\n },\n changeViewByAvailabilty(state) {\n let count = 0;\n for (let i = 0; i < state.slotInfo.length; i++) {\n if (state.slotInfo[i].id > 0)\n count++;\n }\n let view = state.viewIcons.find(view => view.min === count);\n if (view)\n state.activeView = view.icon;\n },\n toggleGlobalCallback(state, flag) {\n state.globalCallback = flag;\n },\n updateActiveView(state, activeView) {\n //Deactivate sync mode if current or future view\n //is not in 2 split panels/\n if (state.syncMode) {\n const view1 = state.viewIcons.find(\n view => state.activeView === view.icon);\n const view2 = state.viewIcons.find(\n view => activeView === view.icon);\n if (!(view1.min == 2 && view2.min == 2)) {\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n state.activeView = activeView;\n },\n setSplitter(state, payload) {\n if (state.splitters[payload.name])\n state.splitters[payload.name] = payload.value;\n },\n setState(state, newState) {\n if (newState) {\n if (newState.activeView)\n state.activeView = newState.activeView;\n if (newState.globalCallback)\n state.globalCallback = newState.globalCallback;\n for (let i = 0; i < state.slotInfo.length; i++) {\n state.slotInfo[i].id = newState.slotInfo[i].id;\n }\n for (const [key, value] of Object.entries(newState.splitters)) {\n state.splitters[key] = value;\n }\n if (newState.syncMode)\n state.syncMode = newState.syncMode;\n }\n },\n setIdToPrimarySlot(state, id) {\n let availableSlot = state.slotInfo.find(slot => slot.id === id);\n if (!availableSlot)\n availableSlot = state.slotInfo.find(slot => slot.id === 0);\n let primarySlot = state.slotInfo.find(slotInfo => slotInfo.name === \"first\");\n if (availableSlot) {\n availableSlot.id = primarySlot.id;\n }\n primarySlot.id = id;\n },\n setSyncMode(state, payload) {\n if (payload) {\n //Force the second slot to be the new viewer in payload and change the \n //view to the payload's layout\n let secondSlot = state.slotInfo.find(slot => slot.name === \"second\");\n if (payload.flag === true) {\n let firstSlot = state.slotInfo.find(slot => slot.name === \"first\");\n let firstSlotId = firstSlot.id;\n let originalSlot = state.slotInfo.find(slot => slot.id === 1);\n secondSlot.id = payload.newId;\n if (originalSlot.name !== \"first\")\n originalSlot.id = firstSlotId;\n firstSlot.id = 1;\n state.syncMode = true;\n state.activeView = payload.layout;\n state.globalCallback = true;\n } else {\n state.activeView = \"singlepanel\";\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n },\n closeSlot(state, payload) {\n if (payload) {\n state.syncMode = false;\n state.globalCallback = false;\n let availableId = 0;\n //Primary id cannot be changed\n if (payload.id === 1) {\n availableId = 1;\n } else if (payload.entries) {\n for (let i = 0; i < payload.entries.length &&\n availableId == 0; i++) {\n //Find the entry not currently in use\n if (state.slotInfo.find(slot => slot.id ===\n payload.entries[i].id) === undefined) {\n availableId = payload.entries[i].id;\n }\n }\n }\n let slot = state.slotInfo.find(\n slotInfo => slotInfo.name === payload.slotName);\n let secondSlot = state.slotInfo.find(\n slotInfo => slotInfo.name === \"second\");\n let thirdSlot = state.slotInfo.find(\n slotInfo => slotInfo.name === \"third\");\n let fourthSlot = state.slotInfo.find(\n slotInfo => slotInfo.name === \"fourth\");\n // The following move the entry id to the appropriate slot\n // and remove the target id\n switch (slot.name) {\n case \"first\": {\n switch (state.activeView) {\n case \"2horpanel\":\n case \"2vertpanel\": {\n slot.id = secondSlot.id;\n secondSlot.id = availableId;\n } break;\n case \"3panel\": {\n slot.id = secondSlot.id;\n secondSlot.id = thirdSlot.id;\n thirdSlot.id = availableId;\n } break;\n case \"4panel\": {\n slot.id = secondSlot.id;\n secondSlot.id = thirdSlot.id;\n thirdSlot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n case \"second\": {\n switch (state.activeView) {\n case \"2horpanel\":\n case \"2vertpanel\": {\n slot.id = availableId;\n } break;\n case \"3panel\": {\n slot.id = thirdSlot.id;\n thirdSlot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n case \"4panel\": {\n slot.id = thirdSlot.id;\n thirdSlot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n case \"third\": {\n switch (state.activeView) {\n case \"3panel\":\n case \"4panel\": {\n slot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n case \"fourth\": {\n switch (state.activeView) {\n case \"4panel\": {\n slot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n default:\n break;\n }\n //Then switch the view\n switch (state.activeView) {\n case \"2horpanel\":\n case \"2vertpanel\":\n state.activeView = \"singlepanel\";\n break;\n case \"3panel\":\n state.activeView = \"2vertpanel\";\n break;\n case \"4panel\":\n state.activeView = \"3panel\";\n break;\n default:\n break;\n }\n }\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations\n}\n"],"mappings":";;;;;;AAAA;;AAEA,IAAMA,KAAK,G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