{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/scaffoldvuer/src/components/TreeControls.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/scaffoldvuer/src/components/TreeControls.vue","mtime":499162500000},{"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/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ci8qIGVzbGludC1kaXNhYmxlIG5vLWFsZXJ0LCBuby1jb25zb2xlICovCmltcG9ydCBWdWUgZnJvbSAidnVlIjsKaW1wb3J0IHsgQ2hlY2tib3gsIENoZWNrYm94R3JvdXAsIENvbG9yUGlja2VyLCBSb3csIFRyZWUgfSBmcm9tICJlbGVtZW50LXVpIjsKaW1wb3J0IGxhbmcgZnJvbSAiZWxlbWVudC11aS9saWIvbG9jYWxlL2xhbmcvZW4iOwppbXBvcnQgbG9jYWxlIGZyb20gImVsZW1lbnQtdWkvbGliL2xvY2FsZSI7CmltcG9ydCB7IGNyZWF0ZUxpc3RGcm9tUHJpbWl0aXZlcywgZXh0cmFjdEFsbElkcywgZmluZE9iamVjdHNXaXRoTmFtZXMgfSBmcm9tICIuLi9zY3JpcHRzL3V0aWxpdGllcy5qcyI7Cgpjb25zdCBvcmRlckJ5ID0gcmVxdWlyZSgibG9kYXNoL29yZGVyQnkiKTsKY29uc3QgdW5pcSA9IHJlcXVpcmUoImxvZGFzaC91bmlxIik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ICB3YXRjaDogewogICAgc2hvd0NvbG91clBpY2tlcjogewogICAgICBpbW1lZGlhdGU6IHRydWUsCiAgICAgIGhhbmRsZXI6IGZ1bmN0aW9uICgpIHsKICAgICAgICBpZiAodGhpcy5zaG93Q29sb3VyUGlja2VyKSB0aGlzLm15UG9wcGVyQ2xhc3MgPSAic2hvd1BpY2tlciI7CiAgICAgICAgZWxzZSB0aGlzLm15UG9wcGVyQ2xhc3MgPSAiaGlkZS1zY2FmZm9sZC1jb2xvdXItcG9wdXAiOwogICAgICB9LAogICAgfSwKICB9LAogIGRlc3Ryb3llZDogZnVuY3Rpb24gKCkgewogICAgdGhpcy5zb3J0ZWRQcmltaXRpdmVHcm91cHMgPSB1bmRlZmluZWQ7CiAgfSwKICBtZXRob2RzOiB7CiAgICBhZGRUcmVlSXRlbTogZnVuY3Rpb24gKHBhcmVudENvbnRhaW5lciwgaXRlbSkgewogICAgICAvL1RoZSBmb2xsb3dpbmcgYmxvY2sgcHJldmVudCBkdXBsaWNhdGUgZ3JhcGhpY3Mgd2l0aCB0aGUgc2FtZSBuYW1lCiAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgcGFyZW50Q29udGFpbmVyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgaWYgKHBhcmVudENvbnRhaW5lcltpXS5pZCA9PT0gaXRlbS5pZCkgewogICAgICAgICAgaWYgKGl0ZW0uaXNQcmltaXRpdmVzICYmIHBhcmVudENvbnRhaW5lcltpXS5pc1ByaW1pdGl2ZXMpIHsKICAgICAgICAgICAgcmV0dXJuOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgICBwYXJlbnRDb250YWluZXIucHVzaChpdGVtKTsKICAgICAgcGFyZW50Q29udGFpbmVyLnNvcnQoKGEsIGIpID0+IHsKICAgICAgICByZXR1cm4gbmFtZVNvcnRpbmcoYSwgYik7CiAgICAgIH0pOwogICAgICB0aGlzLl9fbm9kZU51bWJlcnMrKzsKICAgICAgdGhpcy4kbmV4dFRp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IHVuZGVmaW5lZCkpIHsKICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAogICAgLyoqCiAgICAgKiBUaGlzIGlzIGNhbGxlZCB3aGVuIGEgbmV3IHppbmMgb2JqZWN0IGlzIHJlYWQgaW50byB0aGUgc2NlbmUuCiAgICAgKi8KICAgIHppbmNPYmplY3RBZGRlZDogZnVuY3Rpb24gKHppbmNPYmplY3QpIHsKICAgICAgY29uc3QgcmVnaW9uID0gemluY09iamVjdC5yZWdpb247CiAgICAgIGlmIChyZWdpb24pIHsKICAgICAgICBjb25zdCBwYXRocyA9IHJlZ2lvbi5nZXRGdWxsU2VwYXJhdGVkUGF0aCgpOwogICAgICAgIGNvbnN0IHJlZ2lvbkRhdGEgPSB0aGlzLmZpbmRPckNyZWF0ZVJlZ2lvbih0aGlzLnRyZWVEYXRhWzBdLCBwYXRocywgIiIpOwogICAgICAgIGlmICh6aW5jT2JqZWN0Lmdyb3VwTmFtZSkgewogICAgICAgICAgaWYgKHJlZ2lvbkRhdGEpIHsKICAgICAgICAgICAgaWYgKCFyZWdpb25EYXRhLmNoaWxkcmVuKSB7CiAgICAgICAgICAgICAgcmVnaW9uRGF0YS5jaGlsZHJlbiA9IFtdOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGxldCBpZCA9CiAgICAgICAgICAgICAgcmVnaW9uRGF0YS5pZC5yZXBsYWNlKCJfX3IvIiwgIiIpICsgIi8iICsgemluY09iamVjdC5ncm91cE5hbWU7CiAgICAgICAgICAgIGNvbnN0IGNoaWxkID0gewogICAgICAgICAgICAgIGxhYmVsOiB6aW5jT2JqZWN0Lmdyb3VwTmFtZSwKICAgICAgICAgICAgICBpZDogaWQsCiAgICAgICAgICAgICAgaXNQcmltaXRpdmVzOiB0cnVlLAogICAgICAgICAgICAgIHJlZ2lvblBhdGg6IHppbmNPYmplY3QucmVnaW9uLmdldEZ1bGxQYXRoKCksCiAgICA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cm4geyBjaGVja0FsbDogdHJ1ZSwgdmVyc2lvbjogIjIuMCIgfTsKICAgICAgcmV0dXJuIHsgY2hlY2tlZEl0ZW1zOiBjaGVja2VkSXRlbXMsIHZlcnNpb246ICIyLjAiIH07CiAgICB9LAogICAgc2V0U3RhdGU6IGZ1bmN0aW9uIChzdGF0ZSkgewogICAgICBpZiAoc3RhdGUpIHsKICAgICAgICBpZiAoc3RhdGUuY2hlY2tBbGwpIHsKICAgICAgICAgIHRoaXMuY2hlY2tBbGxLZXlzKCk7IAogICAgICAgIH0gZWxzZSBpZiAoc3RhdGUuY2hlY2tlZEl0ZW1zKSB7CiAgICAgICAgICBsZXQgbGlzdCA9IFtdOwogICAgICAgICAgaWYgKHN0YXRlLnZlcnNpb24gIT09ICIyLjAiKSB7CiAgICAgICAgICAgIGxpc3QgPSBzdGF0ZS5jaGVja2VkSXRlbXMubWFwKGl0ZW0gPT4gIi8iICsgaXRlbSk7CiAgICAgICAgICAgIGxpc3Quc2hpZnQoIl9fci8iKTsKICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIGxpc3QucHVzaCguLi5zdGF0ZS5jaGVja2VkSXRlbXMpOwogICAgICAgICAgfQogICAgICAgICAgdGhpcy5zZXRUcmVlVmlzaWJpbGl0eSh0aGlzLnRyZWVEYXRhWzBdLCBsaXN0KTsKICAgICAgICAgIHRoaXMuJHJlZnMucmVnaW9uVHJlZS5zZXRDaGVja2VkS2V5cyhsaXN0KTsKICAgICAgICB9CiAgICAgIH0KICAgIH0sCiAgfSwKfTsK"},{"version":3,"sources":["TreeControls.vue"],"names":[],"mappings":";AA0DA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"TreeControls.vue","sourceRoot":"node_modules/@abi-software/scaffoldvuer/src/components","sourcesContent":["\n \n \n \n \n \n Regions\n \n \n \n \n \n \n \n {{ node.label }}\n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n"]}]}