{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js!/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":1702261489675},{"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/thread-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:aW1wb3J0IF9zbGljZWRUb0FycmF5IGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9zbGljZWRUb0FycmF5LmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMuYXJyYXkuZmluZC5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL2VzLm9iamVjdC50by1zdHJpbmcuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5mdW5jdGlvbi5uYW1lLmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMub2JqZWN0LmVudHJpZXMuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5hcnJheS5pdGVyYXRvci5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL3dlYi5kb20tY29sbGVjdGlvbnMuaXRlcmF0b3IuanMiOwovKiBlc2xpbnQtZGlzYWJsZSBuby1hbGVydCwgbm8tY29uc29sZSAqLwoKdmFyIHN0YXRlID0gZnVuY3Rpb24gc3RhdGUoKSB7CiAgcmV0dXJuIHsKICAgIGFjdGl2ZVZpZXc6ICJzaW5nbGVwYW5lbCIsCiAgICBzbG90SW5mbzogW3sKICAgICAgbmFtZTogImZpcnN0IiwKICAgICAgaWQ6IDEsCiAgICAgIGFjdGl2YXRpb246IDEKICAgIH0sIHsKICAgICAgbmFtZTogInNlY29uZCIsCiAgICAgIGlkOiAwLAogICAgICBhY3RpdmF0aW9uOiAyCiAgICB9LCB7CiAgICAgIG5hbWU6ICJ0aGlyZCIsCiAgICAgIGlkOiAwLAogICAgICBhY3RpdmF0aW9uOiAzCiAgICB9LCB7CiAgICAgIG5hbWU6ICJmb3VydGgiLAogICAgICBpZDogMCwKICAgICAgYWN0aXZhdGlvbjogNAogICAgfV0sCiAgICB2aWV3SWNvbnM6IFt7CiAgICAgIGljb246ICJzaW5nbGVwYW5lbCIsCiAgICAgIG5hbWU6ICJTaW5nbGUgdmlldyIsCiAgICAgIG1pbjogMQogICAgfSwgewogICAgICBpY29uOiAiMmhvcnBhbmVsIiwKICAgICAgbmFtZTogIkhvcml6b250YWwgc3BsaXQiLAogICAgICBtaW46IDIKICAgIH0sIHsKICAgICAgaWNvbjogIjJ2ZXJ0cGFuZWwiLAogICAgICBuYW1lOiAiVmVydGljYWwgc3BsaXQiLAogICAgICBtaW46IDIKICAgIH0sIHsKICAgICAgaWNvbjogIjNwYW5lbCIsCiAgICAgIG5hbWU6ICJUaHJlZSBwYW5lcyIsCiAgICAgIG1pbjogMwogICAgfSwgewogICAgICBpY29uOiAiNHBhbmVsIiwKICAgICAgbmFtZTogIkZvdXIgcGFuZXMiLAogICAgICBtaW46IDQKICAgIH1dLAogIC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29wID0gZnVuY3Rpb24gX2xvb3AoaSkgewogICAgICAgICAgLy9GaW5kIHRoZSBlbnRyeSBub3QgY3VycmVudGx5IGluIHVzZQogICAgICAgICAgaWYgKHN0YXRlLnNsb3RJbmZvLmZpbmQoZnVuY3Rpb24gKHNsb3QpIHsKICAgICAgICAgICAgcmV0dXJuIHNsb3QuaWQgPT09IHBheWxvYWQuZW50cmllc1tpXS5pZDsKICAgICAgICAgIH0pID09PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgYXZhaWxhYmxlSWQgPSBwYXlsb2FkLmVudHJpZXNbaV0uaWQ7CiAgICAgICAgICB9CiAgICAgICAgfTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHBheWxvYWQuZW50cmllcy5sZW5ndGggJiYgYXZhaWxhYmxlSWQgPT0gMDsgaSsrKSB7CiAgICAgICAgICBfbG9vcChpKTsKICAgICAgICB9CiAgICAgIH0KICAgICAgdmFyIHNsb3QgPSBzdGF0ZS5zbG90SW5mby5maW5kKGZ1bmN0aW9uIChzbG90SW5mbykgewogICAgICAgIHJldHVybiBzbG90SW5mby5pZCA9PT0gcGF5bG9hZC5pZDsKICAgICAgfSk7CiAgICAgIHZhciBzZWNvbmRTbG90ID0gc3RhdGUuc2xvdEluZm8uZmluZChmdW5jdGlvbiAoc2xvdEluZm8pIHsKICAgICAgICByZXR1cm4gc2xvdEluZm8ubmFtZSA9PT0gInNlY29uZCI7CiAgICAgIH0pOwogICAgICB2YXIgdGhpcmRTbG90ID0gc3RhdGUuc2xvdEluZm8uZmluZChmdW5jdGlvbiAoc2xvdEluZm8pIHsKICAgICAgICByZXR1cm4gc2xvdEluZm8ubmFtZSA9PT0gInRoaXJkIjsKICAgICAgfSk7CiAgICAgIHZhciBmb3VydGhTbG90ID0gc3RhdGUuc2xvdEluZm8uZmluZChmdW5jdGlvbiAoc2xvdEluZm8pIHsKICAgICAgICByZXR1cm4gc2xvdEluZm8ubmFtZSA9PT0gImZvdXJ0aCI7CiAgICAgIH0pOwogICAgICAvLyBUaGUgZm9sbG93aW5nIG1vdmUgdGhlIGVudHJ5IGlkIHRvIHRoZSBhcHByb3ByaWF0ZSBzbG90CiAgICAgIC8vIGFuZCByZW1vdmUgdGhlIHRhcmdldCBpZAogICAgICBzd2l0Y2ggKHNsb3QubmFtZSkgewogICAgICAgIGNhc2UgImZpcnN0IjoKICAgICAgICAgIHsKICAgICAgICAgICAgc3dpdGNoIChzdGF0ZS5hY3RpdmVWaWV3KSB7CiAgICAgICAgICAgICAgY2FzZSAiMmhvcnBhbmVsIjoKICAgICAgICAgICAgICBjYXNlICIydmVydHBhbmVsIjoKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgc2xvdC5pZCA9IHNlY29uZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHNlY29uZFNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGNhc2UgIjNwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBzZWNvbmRTbG90LmlkOwogICAgICAgICAgICAgICAgICBzZWNvbmRTbG90LmlkID0gdGhpcmRTbG90LmlkOwogICAgICAgICAgICAgICAgICB0aGlyZFNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGNhc2UgIjRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBzZWNvbmRTbG90LmlkOwogICAgICAgICAgICAgICAgICBzZWNvbmRTbG90LmlkID0gdGhpcmRTbG90LmlkOwogICAgICAgICAgICAgICAgICB0aGlyZFNsb3QuaWQgPSBmb3VydGhTbG90LmlkOwogICAgICAgICAgICAgICAgICBmb3VydGhTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgInNlY29uZCI6CiAgICAgICAgICB7CiAgICAgICAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgICAgICAgIGNhc2UgIjJob3JwYW5lbCI6CiAgICAgICAgICAgICAgY2FzZSAiMnZlcnRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGNhc2UgIjNwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSB0aGlyZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHRoaXJkU2xvdC5pZCA9IGZvdXJ0aFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIGZvdXJ0aFNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGNhc2UgIjRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSB0aGlyZFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIHRoaXJkU2xvdC5pZCA9IGZvdXJ0aFNsb3QuaWQ7CiAgICAgICAgICAgICAgICAgIGZvdXJ0aFNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAidGhpcmQiOgogICAgICAgICAgewogICAgICAgICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICAgICAgICBjYXNlICIzcGFuZWwiOgogICAgICAgICAgICAgIGNhc2UgIjRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBmb3VydGhTbG90LmlkOwogICAgICAgICAgICAgICAgICBmb3VydGhTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgImZvdXJ0aCI6CiAgICAgICAgICB7CiAgICAgICAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgICAgICAgIGNhc2UgIjRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBhdmFpbGFibGVJZDsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgICAgYnJlYWs7CiAgICAgICAgZGVmYXVsdDoKICAgICAgICAgIGJyZWFrOwogICAgICB9CiAgICAgIC8vVGhlbiBzd2l0Y2ggdGhlIHZpZXcKICAgICAgc3dpdGNoIChzdGF0ZS5hY3RpdmVWaWV3KSB7CiAgICAgICAgY2FzZSAiMmhvcnBhbmVsIjoKICAgICAgICBjYXNlICIydmVydHBhbmVsIjoKICAgICAgICAgIHN0YXRlLmFjdGl2ZVZpZXcgPSAic2luZ2xlcGFuZWwiOwogICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAiM3BhbmVsIjoKICAgICAgICAgIHN0YXRlLmFjdGl2ZVZpZXcgPSAiMnZlcnRwYW5lbCI7CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgc3RhdGUuYWN0aXZlVmlldyA9ICIzcGFuZWwiOwogICAgICAgICAgYnJlYWs7CiAgICAgICAgZGVmYXVsdDoKICAgICAgICAgIGJyZWFrOwogICAgICB9CiAgICB9CiAgfQp9OwpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZXNwYWNlZDogdHJ1ZSwKICBzdGF0ZTogc3RhdGUsCiAgZ2V0dGVyczogZ2V0dGVycywKICBtdXRhdGlvbnM6IG11dGF0aW9ucwp9Ow=="},{"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","assignOrSwapSlotWithIds","sourceSlot","source","targetSlot","target","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","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 assignOrSwapSlotWithIds(state, payload) {\n let sourceSlot = state.slotInfo.find(slot => slot.id === payload.source);\n let targetSlot = state.slotInfo.find(slot => slot.id === payload.target);\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\" && sourceSlot.name == \"second\") ||\n (targetSlot.name == \"second\" && sourceSlot.name == \"first\"))) {\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n }\n if (targetSlot)\n targetSlot.id = payload.source;\n sourceSlot.id = payload.target;\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.id === payload.id);\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,GAAG,SAARA,KAAKA,CAAA;EAAA,OAAU;IACnBC,UAAU,EAAE,aAAa;IACzBC,QAAQ,EAAE,CACR;MAAEC,IAAI,EAAE,OAAO;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,EACvC;MAAEF,IAAI,EAAE,QAAQ;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,EACxC;MAAEF,IAAI,EAAE,OAAO;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,EACvC;MAAEF,IAAI,EAAE,QAAQ;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,CACzC;IACDC,SAAS,EAAE,CACT;MAAEC,IAAI,EAAE,aAAa;MAAEJ,IAAI,EAAE,aAAa;MAAEK,GAAG,EAAE;IAAE,CAAC,EACpD;MAAED,IAAI,EAAE,WAAW;MAAEJ,IAAI,EAAE,kBAAkB;MAAEK,GAAG,EAAE;IAAE,CAAC,EACvD;MAAED,IAAI,EAAE,YAAY;MAAEJ,IAAI,EAAE,gBAAgB;MAAEK,GAAG,EAAE;IAAE,CAAC,EACtD;MAAED,IAAI,EAAE,QAAQ;MAAEJ,IAAI,EAAE,aAAa;MAAEK,GAAG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